diff --git a/docs/index.html b/docs/index.html index 71e3eda8..12c5cb9e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -116,6 +116,6 @@ })(document, window, 'Chatra'); - + \ No newline at end of file diff --git a/docs/main-es2015.7533b710fffc0ccbd61e.js b/docs/main-es2015.2492cb84966228878c41.js similarity index 66% rename from docs/main-es2015.7533b710fffc0ccbd61e.js rename to docs/main-es2015.2492cb84966228878c41.js index f7145c73..fed2c4e1 100644 --- a/docs/main-es2015.7533b710fffc0ccbd61e.js +++ b/docs/main-es2015.2492cb84966228878c41.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return l});const l="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return r});let l=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){l=e},get useDeprecatedSynchronousErrorHandling(){return l}}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var l=n("ZUHj"),r=n("l7GE"),i=n("51Dv"),o=n("lJxs"),s=n("Cfvw");function a(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?l=>l.pipe(a((n,l)=>Object(s.a)(e(n,l)).pipe(Object(o.a)((e,r)=>t(n,e,l,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new u(e,n)))}class u{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new c(e,this.project,this.concurrent))}}class c extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("7o/Q");class r extends l.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"7LN8":function(e,t,n){var l=n("mrSG").__decorate,r=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var i=n("8Y7J"),o=n("SVse"),s=n("8Y7J"),a=function(){return l([s.Component({selector:"p-header",template:""})],function(){})}();t.Header=a;var u=function(){return l([s.Component({selector:"p-footer",template:""})],function(){})}();t.Footer=u;var c=function(){function e(e){this.template=e}return e.prototype.getType=function(){return this.name},l([i.Input(),r("design:type",String)],e.prototype,"type",void 0),l([i.Input("pTemplate"),r("design:type",String)],e.prototype,"name",void 0),l([i.Directive({selector:"[pTemplate]",host:{}})],e)}();t.PrimeTemplate=c;var d=function(){function e(){this.filterType="text",this.exportable=!0,this.resizable=!0,this.sortFunction=new i.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"body":e.bodyTemplate=t.template;break;case"footer":e.footerTemplate=t.template;break;case"filter":e.filterTemplate=t.template;break;case"editor":e.editorTemplate=t.template;break;default:e.bodyTemplate=t.template}})},l([i.Input(),r("design:type",String)],e.prototype,"field",void 0),l([i.Input(),r("design:type",String)],e.prototype,"colId",void 0),l([i.Input(),r("design:type",String)],e.prototype,"sortField",void 0),l([i.Input(),r("design:type",String)],e.prototype,"filterField",void 0),l([i.Input(),r("design:type",String)],e.prototype,"header",void 0),l([i.Input(),r("design:type",String)],e.prototype,"footer",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"sortable",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"editable",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"filter",void 0),l([i.Input(),r("design:type",String)],e.prototype,"filterMatchMode",void 0),l([i.Input(),r("design:type",String)],e.prototype,"filterType",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"excludeGlobalFilter",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"rowspan",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"colspan",void 0),l([i.Input(),r("design:type",String)],e.prototype,"scope",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"style",void 0),l([i.Input(),r("design:type",String)],e.prototype,"styleClass",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"exportable",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"headerStyle",void 0),l([i.Input(),r("design:type",String)],e.prototype,"headerStyleClass",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"bodyStyle",void 0),l([i.Input(),r("design:type",String)],e.prototype,"bodyStyleClass",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"footerStyle",void 0),l([i.Input(),r("design:type",String)],e.prototype,"footerStyleClass",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"hidden",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"expander",void 0),l([i.Input(),r("design:type",String)],e.prototype,"selectionMode",void 0),l([i.Input(),r("design:type",String)],e.prototype,"filterPlaceholder",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"filterMaxlength",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"frozen",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"resizable",void 0),l([i.Output(),r("design:type",i.EventEmitter)],e.prototype,"sortFunction",void 0),l([i.ContentChildren(c),r("design:type",i.QueryList)],e.prototype,"templates",void 0),l([i.ContentChild(i.TemplateRef),r("design:type",i.TemplateRef)],e.prototype,"template",void 0),l([s.Component({selector:"p-column",template:""})],e)}();t.Column=d;var h=function(){function e(){}return l([i.ContentChildren(d),r("design:type",i.QueryList)],e.prototype,"columns",void 0),l([s.Component({selector:"p-row",template:""})],e)}();t.Row=h;var p=function(){function e(){}return l([i.Input(),r("design:type",Boolean)],e.prototype,"frozen",void 0),l([i.ContentChildren(h),r("design:type",i.QueryList)],e.prototype,"rows",void 0),l([s.Component({selector:"p-headerColumnGroup",template:""})],e)}();t.HeaderColumnGroup=p;var f=function(){function e(){}return l([i.Input(),r("design:type",Boolean)],e.prototype,"frozen",void 0),l([i.ContentChildren(h),r("design:type",i.QueryList)],e.prototype,"rows",void 0),l([s.Component({selector:"p-footerColumnGroup",template:""})],e)}();t.FooterColumnGroup=f,t.SharedModule=function(){return l([i.NgModule({imports:[o.CommonModule],exports:[a,u,d,c,h,p,f],declarations:[a,u,d,c,h,p,f]})],function(){})}()},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var l=n("n6bG"),r=n("gRHU"),i=n("quSY"),o=n("2QA8"),s=n("2fFW"),a=n("NJ4a");class u extends i.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof u?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,e,t,n)}}[o.a](){return this}static create(e,t,n){const l=new u(e,t,n);return l.syncErrorThrowable=!1,l}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class c extends u{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let s=this;Object(l.a)(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==r.a&&(s=Object.create(t),Object(l.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(a.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(a.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(a.a)(n)}}__tryOrSetError(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(l){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=l,e.syncErrorThrown=!0,!0):(Object(a.a)(l),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8Y7J":function(e,t,n){"use strict";n.r(t);var l=n("XNiG"),r=n("quSY"),i=n("HDdC"),o=n("VRyK"),s=n("oB13"),a=n("x+ZX");function u(){return new l.a}n.d(t,"\u0275angular_packages_core_core_r",function(){return Ky}),n.d(t,"\u0275angular_packages_core_core_o",function(){return qy}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Wy}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Gy}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Zy}),n.d(t,"\u0275angular_packages_core_core_f",function(){return av}),n.d(t,"\u0275angular_packages_core_core_m",function(){return Wd}),n.d(t,"\u0275angular_packages_core_core_n",function(){return Xd}),n.d(t,"\u0275angular_packages_core_core_l",function(){return Dy}),n.d(t,"\u0275angular_packages_core_core_k",function(){return Ey}),n.d(t,"\u0275angular_packages_core_core_a",function(){return De}),n.d(t,"\u0275angular_packages_core_core_b",function(){return $}),n.d(t,"\u0275angular_packages_core_core_c",function(){return ht}),n.d(t,"\u0275angular_packages_core_core_d",function(){return et}),n.d(t,"\u0275angular_packages_core_core_e",function(){return ot}),n.d(t,"\u0275angular_packages_core_core_j",function(){return cm}),n.d(t,"\u0275angular_packages_core_core_t",function(){return Lv}),n.d(t,"\u0275angular_packages_core_core_v",function(){return Ov}),n.d(t,"\u0275angular_packages_core_core_u",function(){return Rv}),n.d(t,"\u0275angular_packages_core_core_y",function(){return Mv}),n.d(t,"\u0275angular_packages_core_core_w",function(){return Nv}),n.d(t,"\u0275angular_packages_core_core_x",function(){return Pv}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return vf}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return jr}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return fl}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Dl}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return zl}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return oo}),n.d(t,"\u0275angular_packages_core_core_bp",function(){return Tr}),n.d(t,"\u0275angular_packages_core_core_bo",function(){return Hn}),n.d(t,"\u0275angular_packages_core_core_g",function(){return kd}),n.d(t,"\u0275angular_packages_core_core_h",function(){return Ad}),n.d(t,"\u0275angular_packages_core_core_i",function(){return Td}),n.d(t,"\u0275angular_packages_core_core_bh",function(){return Ki}),n.d(t,"\u0275angular_packages_core_core_bn",function(){return At}),n.d(t,"\u0275angular_packages_core_core_bk",function(){return g}),n.d(t,"\u0275angular_packages_core_core_bl",function(){return m}),n.d(t,"\u0275angular_packages_core_core_bq",function(){return I}),n.d(t,"\u0275angular_packages_core_core_z",function(){return ef}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return Dh}),n.d(t,"createPlatform",function(){return sy}),n.d(t,"assertPlatform",function(){return uy}),n.d(t,"destroyPlatform",function(){return cy}),n.d(t,"getPlatform",function(){return dy}),n.d(t,"PlatformRef",function(){return hy}),n.d(t,"ApplicationRef",function(){return fy}),n.d(t,"createPlatformFactory",function(){return ay}),n.d(t,"NgProbeToken",function(){return oy}),n.d(t,"enableProdMode",function(){return fi}),n.d(t,"isDevMode",function(){return pi}),n.d(t,"APP_ID",function(){return sv}),n.d(t,"PACKAGE_ROOT_URL",function(){return fv}),n.d(t,"PLATFORM_INITIALIZER",function(){return dv}),n.d(t,"PLATFORM_ID",function(){return hv}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return pv}),n.d(t,"APP_INITIALIZER",function(){return iv}),n.d(t,"ApplicationInitStatus",function(){return ov}),n.d(t,"DebugElement",function(){return By}),n.d(t,"DebugEventListener",function(){return Iy}),n.d(t,"DebugNode",function(){return Vy}),n.d(t,"asNativeElements",function(){return xy}),n.d(t,"getDebugNode",function(){return Ly}),n.d(t,"Testability",function(){return Qv}),n.d(t,"TestabilityRegistry",function(){return Yv}),n.d(t,"setTestabilityGetter",function(){return Xv}),n.d(t,"TRANSLATIONS",function(){return Uy}),n.d(t,"TRANSLATIONS_FORMAT",function(){return zy}),n.d(t,"LOCALE_ID",function(){return Hy}),n.d(t,"MissingTranslationStrategy",function(){return $y}),n.d(t,"ApplicationModule",function(){return Qy}),n.d(t,"wtfCreateScope",function(){return Fv}),n.d(t,"wtfLeave",function(){return Vv}),n.d(t,"wtfStartTimeRange",function(){return Bv}),n.d(t,"wtfEndTimeRange",function(){return jv}),n.d(t,"Type",function(){return Q}),n.d(t,"EventEmitter",function(){return Mg}),n.d(t,"ErrorHandler",function(){return ei}),n.d(t,"Sanitizer",function(){return Bi}),n.d(t,"SecurityContext",function(){return Vi}),n.d(t,"Attribute",function(){return S}),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return pt}),n.d(t,"ContentChild",function(){return mt}),n.d(t,"ContentChildren",function(){return gt}),n.d(t,"Query",function(){return ft}),n.d(t,"ViewChild",function(){return yt}),n.d(t,"ViewChildren",function(){return vt}),n.d(t,"Component",function(){return $m}),n.d(t,"Directive",function(){return zm}),n.d(t,"HostBinding",function(){return Km}),n.d(t,"HostListener",function(){return Zm}),n.d(t,"Input",function(){return Wm}),n.d(t,"Output",function(){return Gm}),n.d(t,"Pipe",function(){return qm}),n.d(t,"NgModule",function(){return nv}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return ti}),n.d(t,"NO_ERRORS_SCHEMA",function(){return ni}),n.d(t,"ViewEncapsulation",function(){return kt}),n.d(t,"Version",function(){return $d}),n.d(t,"VERSION",function(){return qd}),n.d(t,"InjectFlags",function(){return _}),n.d(t,"\u0275\u0275defineInjectable",function(){return D}),n.d(t,"defineInjectable",function(){return x}),n.d(t,"\u0275\u0275defineInjector",function(){return k}),n.d(t,"forwardRef",function(){return M}),n.d(t,"resolveForwardRef",function(){return L}),n.d(t,"Injectable",function(){return ye}),n.d(t,"INJECTOR",function(){return Ee}),n.d(t,"Injector",function(){return xe}),n.d(t,"\u0275\u0275inject",function(){return q}),n.d(t,"inject",function(){return W}),n.d(t,"ReflectiveInjector",function(){return dt}),n.d(t,"ResolvedReflectiveFactory",function(){return lt}),n.d(t,"ReflectiveKey",function(){return Ze}),n.d(t,"InjectionToken",function(){return we}),n.d(t,"Inject",function(){return v}),n.d(t,"Optional",function(){return y}),n.d(t,"Self",function(){return b}),n.d(t,"SkipSelf",function(){return C}),n.d(t,"Host",function(){return w}),n.d(t,"NgZone",function(){return zv}),n.d(t,"\u0275NoopNgZone",function(){return Zv}),n.d(t,"RenderComponentType",function(){return Md}),n.d(t,"Renderer",function(){return Fd}),n.d(t,"Renderer2",function(){return Hd}),n.d(t,"RendererFactory2",function(){return Bd}),n.d(t,"RendererStyleFlags2",function(){return jd}),n.d(t,"RootRenderer",function(){return Vd}),n.d(t,"COMPILER_OPTIONS",function(){return xv}),n.d(t,"Compiler",function(){return Dv}),n.d(t,"CompilerFactory",function(){return kv}),n.d(t,"ModuleWithComponentFactories",function(){return mv}),n.d(t,"ComponentFactory",function(){return fd}),n.d(t,"\u0275ComponentFactory",function(){return fd}),n.d(t,"ComponentRef",function(){return pd}),n.d(t,"ComponentFactoryResolver",function(){return yd}),n.d(t,"ElementRef",function(){return Od}),n.d(t,"NgModuleFactory",function(){return Sd}),n.d(t,"NgModuleRef",function(){return wd}),n.d(t,"NgModuleFactoryLoader",function(){return im}),n.d(t,"getModuleFactory",function(){return hm}),n.d(t,"QueryList",function(){return Lg}),n.d(t,"SystemJsNgModuleLoader",function(){return Cy}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return yy}),n.d(t,"TemplateRef",function(){return ch}),n.d(t,"ViewContainerRef",function(){return ph}),n.d(t,"EmbeddedViewRef",function(){return _y}),n.d(t,"ViewRef",function(){return Sy}),n.d(t,"ChangeDetectionStrategy",function(){return bt}),n.d(t,"ChangeDetectorRef",function(){return rh}),n.d(t,"DefaultIterableDiffer",function(){return Kd}),n.d(t,"IterableDiffers",function(){return nh}),n.d(t,"KeyValueDiffers",function(){return lh}),n.d(t,"SimpleChange",function(){return Lc}),n.d(t,"WrappedValue",function(){return Ru}),n.d(t,"platformCore",function(){return jy}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return iy}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return uv}),n.d(t,"\u0275defaultIterableDiffers",function(){return ah}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return uh}),n.d(t,"\u0275devModeEqual",function(){return Tu}),n.d(t,"\u0275isListLikeIterable",function(){return Ou}),n.d(t,"\u0275ChangeDetectorStatus",function(){return Ct}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return wt}),n.d(t,"\u0275Console",function(){return gv}),n.d(t,"\u0275setCurrentInjector",function(){return U}),n.d(t,"\u0275getInjectableDef",function(){return A}),n.d(t,"\u0275APP_ROOT",function(){return Wc}),n.d(t,"\u0275ivyEnabled",function(){return vy}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return bd}),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",function(){return Dt}),n.d(t,"\u0275resolveComponentResources",function(){return St}),n.d(t,"\u0275ReflectionCapabilities",function(){return ne}),n.d(t,"\u0275RenderDebugInfo",function(){return Ld}),n.d(t,"\u0275_sanitizeHtml",function(){return Li}),n.d(t,"\u0275_sanitizeStyle",function(){return Ui}),n.d(t,"\u0275_sanitizeUrl",function(){return yi}),n.d(t,"\u0275global",function(){return V}),n.d(t,"\u0275looseIdentical",function(){return Au}),n.d(t,"\u0275stringify",function(){return N}),n.d(t,"\u0275makeDecorator",function(){return p}),n.d(t,"\u0275isObservable",function(){return vu}),n.d(t,"\u0275isPromise",function(){return mu}),n.d(t,"\u0275clearOverrides",function(){return EC}),n.d(t,"\u0275initServicesIfNeeded",function(){return jb}),n.d(t,"\u0275overrideComponentView",function(){return IC}),n.d(t,"\u0275overrideProvider",function(){return _C}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return af}),n.d(t,"\u0275\u0275defineBase",function(){return Wt}),n.d(t,"\u0275\u0275defineComponent",function(){return Bt}),n.d(t,"\u0275\u0275defineDirective",function(){return Gt}),n.d(t,"\u0275\u0275definePipe",function(){return Kt}),n.d(t,"\u0275\u0275defineNgModule",function(){return zt}),n.d(t,"\u0275detectChanges",function(){return da}),n.d(t,"\u0275renderComponent",function(){return Tc}),n.d(t,"\u0275Render3ComponentFactory",function(){return yf}),n.d(t,"\u0275Render3ComponentRef",function(){return bf}),n.d(t,"\u0275\u0275directiveInject",function(){return Ua}),n.d(t,"\u0275\u0275injectAttribute",function(){return za}),n.d(t,"\u0275\u0275getFactoryOf",function(){return Zr}),n.d(t,"\u0275\u0275getInheritedFactory",function(){return Qr}),n.d(t,"\u0275\u0275setComponentScope",function(){return jt}),n.d(t,"\u0275\u0275setNgModuleScope",function(){return $t}),n.d(t,"\u0275\u0275templateRefExtractor",function(){return rm}),n.d(t,"\u0275\u0275ProvidersFeature",function(){return hd}),n.d(t,"\u0275\u0275InheritDefinitionFeature",function(){return Uc}),n.d(t,"\u0275\u0275NgOnChangesFeature",function(){return Fc}),n.d(t,"\u0275LifecycleHooksFeature",function(){return Pc}),n.d(t,"\u0275Render3NgModuleRef",function(){return fg}),n.d(t,"\u0275markDirty",function(){return ha}),n.d(t,"\u0275NgModuleFactory",function(){return gg}),n.d(t,"\u0275NO_CHANGE",function(){return lo}),n.d(t,"\u0275\u0275container",function(){return Na}),n.d(t,"\u0275\u0275nextContext",function(){return _u}),n.d(t,"\u0275\u0275elementStart",function(){return ou}),n.d(t,"\u0275\u0275namespaceHTML",function(){return Yl}),n.d(t,"\u0275\u0275namespaceMathML",function(){return Ql}),n.d(t,"\u0275\u0275namespaceSVG",function(){return Zl}),n.d(t,"\u0275\u0275element",function(){return au}),n.d(t,"\u0275\u0275listener",function(){return yu}),n.d(t,"\u0275\u0275text",function(){return cc}),n.d(t,"\u0275\u0275embeddedViewStart",function(){return pu}),n.d(t,"\u0275\u0275projection",function(){return Du}),n.d(t,"\u0275\u0275bind",function(){return Hu}),n.d(t,"\u0275\u0275interpolation1",function(){return qu}),n.d(t,"\u0275\u0275interpolation2",function(){return Wu}),n.d(t,"\u0275\u0275interpolation3",function(){return Gu}),n.d(t,"\u0275\u0275interpolation4",function(){return Ku}),n.d(t,"\u0275\u0275interpolation5",function(){return Zu}),n.d(t,"\u0275\u0275interpolation6",function(){return Qu}),n.d(t,"\u0275\u0275interpolation7",function(){return Yu}),n.d(t,"\u0275\u0275interpolation8",function(){return Ju}),n.d(t,"\u0275\u0275interpolationV",function(){return $u}),n.d(t,"\u0275\u0275pipeBind1",function(){return kg}),n.d(t,"\u0275\u0275pipeBind2",function(){return Ag}),n.d(t,"\u0275\u0275pipeBind3",function(){return Tg}),n.d(t,"\u0275\u0275pipeBind4",function(){return Rg}),n.d(t,"\u0275\u0275pipeBindV",function(){return Og}),n.d(t,"\u0275\u0275pureFunction0",function(){return vg}),n.d(t,"\u0275\u0275pureFunction1",function(){return yg}),n.d(t,"\u0275\u0275pureFunction2",function(){return bg}),n.d(t,"\u0275\u0275pureFunction3",function(){return Cg}),n.d(t,"\u0275\u0275pureFunction4",function(){return wg}),n.d(t,"\u0275\u0275pureFunction5",function(){return Sg}),n.d(t,"\u0275\u0275pureFunction6",function(){return _g}),n.d(t,"\u0275\u0275pureFunction7",function(){return Ig}),n.d(t,"\u0275\u0275pureFunction8",function(){return Eg}),n.d(t,"\u0275\u0275pureFunctionV",function(){return Dg}),n.d(t,"\u0275\u0275getCurrentView",function(){return gu}),n.d(t,"\u0275getDirectives",function(){return bc}),n.d(t,"\u0275getHostElement",function(){return wc}),n.d(t,"\u0275\u0275restoreView",function(){return El}),n.d(t,"\u0275\u0275containerRefreshStart",function(){return Ma}),n.d(t,"\u0275\u0275containerRefreshEnd",function(){return La}),n.d(t,"\u0275\u0275queryRefresh",function(){return Yg}),n.d(t,"\u0275\u0275viewQuery",function(){return Xg}),n.d(t,"\u0275\u0275staticViewQuery",function(){return Jg}),n.d(t,"\u0275\u0275staticContentQuery",function(){return nm}),n.d(t,"\u0275\u0275loadViewQuery",function(){return em}),n.d(t,"\u0275\u0275contentQuery",function(){return tm}),n.d(t,"\u0275\u0275loadContentQuery",function(){return lm}),n.d(t,"\u0275\u0275elementEnd",function(){return su}),n.d(t,"\u0275\u0275elementProperty",function(){return Uu}),n.d(t,"\u0275\u0275property",function(){return ju}),n.d(t,"\u0275\u0275propertyInterpolate",function(){return Xu}),n.d(t,"\u0275\u0275propertyInterpolate1",function(){return ec}),n.d(t,"\u0275\u0275propertyInterpolate2",function(){return tc}),n.d(t,"\u0275\u0275propertyInterpolate3",function(){return nc}),n.d(t,"\u0275\u0275propertyInterpolate4",function(){return lc}),n.d(t,"\u0275\u0275propertyInterpolate5",function(){return rc}),n.d(t,"\u0275\u0275propertyInterpolate6",function(){return ic}),n.d(t,"\u0275\u0275propertyInterpolate7",function(){return oc}),n.d(t,"\u0275\u0275propertyInterpolate8",function(){return sc}),n.d(t,"\u0275\u0275propertyInterpolateV",function(){return ac}),n.d(t,"\u0275\u0275componentHostSyntheticProperty",function(){return zu}),n.d(t,"\u0275\u0275componentHostSyntheticListener",function(){return bu}),n.d(t,"\u0275\u0275projectionDef",function(){return Eu}),n.d(t,"\u0275\u0275reference",function(){return ja}),n.d(t,"\u0275\u0275enableBindings",function(){return hl}),n.d(t,"\u0275\u0275disableBindings",function(){return pl}),n.d(t,"\u0275\u0275allocHostVars",function(){return ca}),n.d(t,"\u0275\u0275elementAttribute",function(){return uu}),n.d(t,"\u0275\u0275elementContainerStart",function(){return du}),n.d(t,"\u0275\u0275elementContainerEnd",function(){return hu}),n.d(t,"\u0275\u0275elementStyling",function(){return $a}),n.d(t,"\u0275\u0275elementStylingMap",function(){return Xa}),n.d(t,"\u0275\u0275elementStyleProp",function(){return Ga}),n.d(t,"\u0275\u0275elementStylingApply",function(){return tu}),n.d(t,"\u0275\u0275elementClassProp",function(){return Qa}),n.d(t,"\u0275\u0275elementHostAttrs",function(){return cu}),n.d(t,"\u0275\u0275elementHostStyling",function(){return qa}),n.d(t,"\u0275\u0275elementHostStylingMap",function(){return eu}),n.d(t,"\u0275\u0275elementHostStyleProp",function(){return Ka}),n.d(t,"\u0275\u0275elementHostClassProp",function(){return Ya}),n.d(t,"\u0275\u0275elementHostStylingApply",function(){return nu}),n.d(t,"\u0275\u0275select",function(){return uc}),n.d(t,"\u0275\u0275textBinding",function(){return dc}),n.d(t,"\u0275\u0275template",function(){return Pa}),n.d(t,"\u0275\u0275embeddedViewEnd",function(){return fu}),n.d(t,"\u0275store",function(){return Ba}),n.d(t,"\u0275\u0275load",function(){return Ha}),n.d(t,"\u0275\u0275pipe",function(){return xg}),n.d(t,"\u0275whenRendered",function(){return Mc}),n.d(t,"\u0275\u0275i18n",function(){return Jf}),n.d(t,"\u0275\u0275i18nAttributes",function(){return Xf}),n.d(t,"\u0275\u0275i18nExp",function(){return ng}),n.d(t,"\u0275\u0275i18nStart",function(){return $f}),n.d(t,"\u0275\u0275i18nEnd",function(){return Kf}),n.d(t,"\u0275\u0275i18nApply",function(){return lg}),n.d(t,"\u0275\u0275i18nPostprocess",function(){return Gf}),n.d(t,"\u0275i18nConfigureLocalize",function(){return cg}),n.d(t,"\u0275\u0275i18nLocalize",function(){return hg}),n.d(t,"\u0275setClassMetadata",function(){return mg}),n.d(t,"\u0275\u0275resolveWindow",function(){return ln}),n.d(t,"\u0275\u0275resolveDocument",function(){return rn}),n.d(t,"\u0275\u0275resolveBody",function(){return on}),n.d(t,"\u0275compileComponent",function(){return Tm}),n.d(t,"\u0275compileDirective",function(){return Rm}),n.d(t,"\u0275compileNgModule",function(){return Cm}),n.d(t,"\u0275compileNgModuleDefs",function(){return wm}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Dm}),n.d(t,"\u0275resetCompiledComponents",function(){return Im}),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",function(){return ym}),n.d(t,"\u0275transitiveScopesFor",function(){return xm}),n.d(t,"\u0275compilePipe",function(){return Um}),n.d(t,"\u0275\u0275sanitizeHtml",function(){return zi}),n.d(t,"\u0275\u0275sanitizeStyle",function(){return $i}),n.d(t,"\u0275\u0275defaultStyleSanitizer",function(){return Qi}),n.d(t,"\u0275\u0275sanitizeScript",function(){return Gi}),n.d(t,"\u0275\u0275sanitizeUrl",function(){return qi}),n.d(t,"\u0275\u0275sanitizeResourceUrl",function(){return Wi}),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",function(){return Zi}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return ii}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return oi}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return si}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return ai}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return ui}),n.d(t,"\u0275getLContext",function(){return tr}),n.d(t,"\u0275NG_ELEMENT_ID",function(){return Ft}),n.d(t,"\u0275NG_COMPONENT_DEF",function(){return Ot}),n.d(t,"\u0275NG_DIRECTIVE_DEF",function(){return Nt}),n.d(t,"\u0275NG_PIPE_DEF",function(){return Pt}),n.d(t,"\u0275NG_MODULE_DEF",function(){return Mt}),n.d(t,"\u0275NG_BASE_DEF",function(){return Lt}),n.d(t,"\u0275NG_INJECTABLE_DEF",function(){return R}),n.d(t,"\u0275NG_INJECTOR_DEF",function(){return O}),n.d(t,"\u0275bindPlayerFactory",function(){return io}),n.d(t,"\u0275addPlayer",function(){return hc}),n.d(t,"\u0275getPlayers",function(){return pc}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return ny}),n.d(t,"\u0275isBoundToModule__POST_R3__",function(){return ry}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Qm}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Ym}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Jm}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return lv}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return My}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return be}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return my}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return ih}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return yv}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return Cv}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return Sv}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return Iv}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return Nd}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return dh}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return fh}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Ud}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return dm}),n.d(t,"\u0275registerNgModuleType",function(){return um}),n.d(t,"\u0275publishGlobalUtil",function(){return Ac}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return kc}),n.d(t,"\u0275createInjector",function(){return Jc}),n.d(t,"\u0275registerModuleFactory",function(){return sm}),n.d(t,"\u0275EMPTY_ARRAY",function(){return cp}),n.d(t,"\u0275EMPTY_MAP",function(){return dp}),n.d(t,"\u0275and",function(){return Yy}),n.d(t,"\u0275ccf",function(){return Dp}),n.d(t,"\u0275cmf",function(){return DC}),n.d(t,"\u0275crt",function(){return Ph}),n.d(t,"\u0275did",function(){return Yp}),n.d(t,"\u0275eld",function(){return Jy}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return xp}),n.d(t,"\u0275inlineInterpolate",function(){return ap}),n.d(t,"\u0275interpolate",function(){return sp}),n.d(t,"\u0275mod",function(){return vp}),n.d(t,"\u0275mpd",function(){return mp}),n.d(t,"\u0275ncd",function(){return ab}),n.d(t,"\u0275nov",function(){return Vp}),n.d(t,"\u0275pid",function(){return Jp}),n.d(t,"\u0275prd",function(){return Xp}),n.d(t,"\u0275pad",function(){return db}),n.d(t,"\u0275pod",function(){return hb}),n.d(t,"\u0275ppd",function(){return cb}),n.d(t,"\u0275qud",function(){return lb}),n.d(t,"\u0275ted",function(){return fb}),n.d(t,"\u0275unv",function(){return Rh}),n.d(t,"\u0275vid",function(){return vb});const c="__annotations__",d="__parameters__",h="__prop__metadata__";function p(e,t,n,l,r){const i=f(t);function o(...e){if(this instanceof o)return i.call(this,...e),this;const t=new o(...e);return function(n){return r&&r(n,...e),(n.hasOwnProperty(c)?n[c]:Object.defineProperty(n,c,{value:[]})[c]).push(t),l&&l(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function f(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function g(e,t,n){const l=f(t);function r(...e){if(this instanceof r)return l.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,l){const r=e.hasOwnProperty(d)?e[d]:Object.defineProperty(e,d,{value:[]})[d];for(;r.length<=l;)r.push(null);return(r[l]=r[l]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}function m(e,t,n,l){const r=f(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return function(n,r){const i=n.constructor,o=i.hasOwnProperty(h)?i[h]:Object.defineProperty(i,h,{value:{}})[h];o[r]=o.hasOwnProperty(r)&&o[r]||[],o[r].unshift(t),l&&l(n,r,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}const v=g("Inject",e=>({token:e})),y=g("Optional"),b=g("Self"),C=g("SkipSelf"),w=g("Host"),S=g("Attribute",e=>({attributeName:e}));var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function I(e){for(let t in e)if(e[t]===I)return t;throw Error("Could not find renamed property on target object.")}function E(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function D(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const x=D;function k(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function A(e){return e&&e.hasOwnProperty(R)?e[R]:null}function T(e){return e&&e.hasOwnProperty(O)?e[O]:null}const R=I({ngInjectableDef:I}),O=I({ngInjectorDef:I});function N(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(N).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const P=I({__forward_ref__:I});function M(e){return e.__forward_ref__=M,e.toString=function(){return N(this())},e}function L(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(P)&&t.__forward_ref__===M?t():e}function F(){const e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,l="undefined"!=typeof global&&global;return e||l||t||n}const V=F();function B(){const e=V.ng;if(!e||!e.\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 e.\u0275compilerFacade}let j,H=void 0;function U(e){const t=H;return H=e,t}function z(e){const t=j;return j=e,t}function $(e,t=_.Default){if(void 0===H)throw new Error("inject() must be called from an injection context");return null===H?G(e,void 0,t):H.get(e,t&_.Optional?null:void 0,t)}function q(e,t=_.Default){return(j||$)(e,t)}const W=q;function G(e,t,n){const l=A(e);if(l&&"root"==l.providedIn)return void 0===l.value?l.value=l.factory():l.value;if(n&_.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${N(e)}]`)}function K(e){const t=[];for(let n=0;nnew e(...t)}_zipTypesAndAnnotations(e,t){let n;n=void 0===e?new Array(t.length):new Array(e.length);for(let l=0;le&&e.type),n=e.map(e=>e&&le(e.decorators));return this._zipTypesAndAnnotations(t,n)}const r=e.hasOwnProperty(d)&&e[d],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return i||r?this._zipTypesAndAnnotations(i,r):new Array(e.length).fill(void 0)}parameters(e){if(!Y(e))return[];const t=re(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?le(e.decorators):e.hasOwnProperty(c)?e[c]:null}annotations(e){if(!Y(e))return[];const t=re(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=le(t[e])}),n}return e.hasOwnProperty(h)?e[h]:null}propMetadata(e){if(!Y(e))return{};const t=re(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const l=this._ownPropMetadata(e,t);return l&&Object.keys(l).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...l[e]),n[e]=t}),n}ownPropMetadata(e){return Y(e)&&this._ownPropMetadata(e,re(e))||{}}hasLifecycleHook(e,t){return e instanceof Q&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:`./${N(e)}`}resourceUri(e){return`./${N(e)}`}resolveIdentifier(e,t,n,l){return l}resolveEnum(e,t){return e[t]}}function le(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function re(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}let ie=null;function oe(){return ie=ie||new ne}function se(e){return ae(oe().parameters(e))}function ae(e){const t=B();return e.map(e=>(function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function l(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(let r=0;r{if(null===n){const l=t||{providedIn:null},r=de(l)||pe(l)||he(l)||fe(l),i={name:e.name,type:e,typeArgumentCount:0,providedIn:l.providedIn,ctorDeps:se(e),userDeps:void 0};if((de(l)||pe(l))&&void 0!==l.deps&&(i.userDeps=ae(l.deps)),r)if(de(l))i.useClass=l.useClass;else if(he(l))i.useValue=l.useValue;else if(pe(l))i.useFactory=l.useFactory;else{if(!fe(l))throw new Error("Unreachable state.");i.useExisting=l.useExisting}else i.useClass=e;n=B().compileInjectable(Z,`ng:///${e.name}/ngInjectableDef.js`,i)}return n}})}const ce=I({provide:String,useValue:I});function de(e){return void 0!==e.useClass}function he(e){return ce in e}function pe(e){return void 0!==e.useFactory}function fe(e){return void 0!==e.useExisting}const ge=I({provide:String,useValue:I}),me=[];function ve(e,t){if(!t){const t=(new ne).parameters(e);return()=>new e(...K(t))}if(ge in t){const e=t;return()=>e.useValue}if(t.useExisting){const e=t;return()=>q(e.useExisting)}if(t.useFactory){const e=t;return()=>e.useFactory(...K(e.deps||me))}if(t.useClass){const n=t;let l=t.deps;if(!l){const t=new ne;l=t.parameters(e)}return()=>new n.useClass(...K(l))}{let n=t.deps;if(!n){const t=new ne;n=t.parameters(e)}return()=>new e(...K(n))}}const ye=p("Injectable",void 0,void 0,void 0,(e,t)=>Ce(e,t)),be=ue,Ce=function(e,t){t&&void 0!==t.providedIn&&!A(e)&&(e.ngInjectableDef=D({providedIn:t.providedIn,factory:ve(e,t)}))};class we{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=D({providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Se="__source",_e=new Object,Ie=_e,Ee=new we("INJECTOR",-1);class De{get(e,t=_e){if(t===_e){const t=new Error(`NullInjectorError: No provider for ${N(e)}!`);throw t.name="NullInjectorError",t}return t}}const xe=(()=>{class e{static create(e,t){return Array.isArray(e)?new Fe(e,t):new Fe(e.providers,e.parent,e.name||null)}}return e.THROW_IF_NOT_FOUND=_e,e.NULL=new De,e.ngInjectableDef=D({providedIn:"any",factory:()=>q(Ee)}),e.__NG_ELEMENT_ID__=-1,e})(),ke=function(e){return e},Ae=[],Te=ke,Re=function(){return Array.prototype.slice.call(arguments)},Oe=I({provide:String,useValue:I}),Ne="ngTokenPath",Pe="ngTempTokenPath",Me=/\n/gm,Le="\u0275";class Fe{constructor(e,t=xe.NULL,n=null){this.parent=t,this.source=n;const l=this._records=new Map;l.set(xe,{token:xe,fn:ke,deps:Ae,value:this,useNew:!1}),l.set(Ee,{token:Ee,fn:ke,deps:Ae,value:this,useNew:!1}),function e(t,n){if(n)if((n=L(n))instanceof Array)for(let l=0;le.push(N(n))),`StaticInjector[${e.join(", ")}]`}}function Ve(e){return He("Cannot mix multi providers and regular providers",e)}function Be(e,t,n,l){const r=e[Pe];throw t[Se]&&r.unshift(t[Se]),e.message=je("\n"+e.message,r,n,l),e[Ne]=r,e[Pe]=null,e}function je(e,t,n,l=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Le?e.substr(2):e;let r=N(t);if(t instanceof Array)r=t.map(N).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let l=t[n];e.push(n+":"+("string"==typeof l?JSON.stringify(l):N(l)))}r=`{${e.join(", ")}}`}return`${n}${l?"("+l+")":""}[${r}]: ${e.replace(Me,"\n ")}`}function He(e,t){return new Error(je(e,t,"StaticInjectorError"))}const Ue="ngDebugContext",ze="ngOriginalError",$e="ngErrorLogger";function qe(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>N(e.token)).join(" -> ")+")":""}function We(e,t,n,l){const r=[t],i=n(r),o=l?function(e,t){const n=`${i} caused by: ${t instanceof Error?t.message:t}`,l=Error(n);return l[ze]=t,l}(0,l):Error(i);return o.addKey=Ge,o.keys=r,o.injectors=[e],o.constructResolvingMessage=n,o[ze]=l,o}function Ge(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Ke(e,t){const n=[];for(let l=0,r=t.length;le),n=[et.fromKey(Ze.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>at(e,t,n))}return st(e)}(e.useFactory,e.deps)):(t=(()=>e.useValue),n=tt);return new lt(t,n)}function it(e){return new nt(Ze.get(e.provide),[rt(e)],e.multi||!1)}function ot(e){const t=function(e,t){for(let n=0;n{if(t instanceof Q)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`)}();e(t,n)}}),n}(e,[]).map(it),new Map);return Array.from(t.values())}function st(e){const t=Xe.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw Ke(e,t);return t.map(n=>at(e,n,t))}function at(e,t,n){let l=null,r=!1;if(!Array.isArray(t))return ut(t instanceof v?t.token:t,r,null);let i=null;for(let o=0;o{class e{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(let l=0;l=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw We(this,e.key,function(e){return`Cannot instantiate cyclic dependency!${qe(e)}`});return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=new Array(e.resolvedFactories.length);for(let n=0;nthis._getByReflectiveDependency(e))}catch(o){throw o.addKey&&o.addKey(this,e.key),o}try{r=n(...l)}catch(o){throw We(this,e.key,function(e){const t=N(e[0].token);return`${i.message}: Error during instantiation of ${t}!${qe(e)}.`},i=o)}var i;return r}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Ie)}_getByKey(t,n,l){return t===e.INJECTOR_KEY?this:n instanceof b?this._getByKeySelf(t,l):this._getByKeyDefault(t,l,n)}_getObjByKeyId(e){for(let t=0;t' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=Ze.get(xe),e})(),pt=new we("AnalyzeForEntryComponents");class ft{}const gt=m("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1},t),ft),mt=m("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),ft),vt=m("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0},t),ft),yt=m("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),ft),bt=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),Ct=function(){var e={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};return e[e.CheckOnce]="CheckOnce",e[e.Checked]="Checked",e[e.CheckAlways]="CheckAlways",e[e.Detached]="Detached",e[e.Errored]="Errored",e[e.Destroyed]="Destroyed",e}();function wt(e){return null==e||e===bt.Default}function St(e){const t=[],n=new Map;function l(t){let l=n.get(t);if(!l){const r=e(t);n.set(t,l=r.then(xt))}return l}return _t.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(l(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;i&&i.forEach((t,n)=>{o.push(""),r.push(l(t).then(l=>{o[s+n]=l,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const a=Promise.all(r).then(()=>(function(e){It.delete(e)})(n));t.push(a)}),Dt(),Promise.all(t).then(()=>void 0)}let _t=new Map;const It=new Set;function Et(e){return!!(e.templateUrl&&!e.template||e.styleUrls&&e.styleUrls.length)}function Dt(){const e=_t;return _t=new Map,e}function xt(e){return"string"==typeof e?e:e.text()}const kt=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}();function At(e){return""+{toString:e}}const Tt={},Rt=[],Ot=I({ngComponentDef:I}),Nt=I({ngDirectiveDef:I}),Pt=I({ngPipeDef:I}),Mt=I({ngModuleDef:I}),Lt=I({ngBaseDef:I}),Ft=I({__NG_ELEMENT_ID__:I});let Vt=0;function Bt(e){const t=e.type,n=t.prototype,l={},r={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,declaredInputs:l,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===bt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||kt.Emulated,id:"c",styles:e.styles||Rt,_:null,setInput:null,schemas:e.schemas||null};return r._=At(()=>{const n=e.directives,i=e.features,o=e.pipes;r.id+=Vt++,r.inputs=qt(e.inputs,l),r.outputs=qt(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(Ht):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ut):null,t.hasOwnProperty(R)||(t[R]=D({factory:e.factory}))}),r}function jt(e,t,n){const l=e.ngComponentDef;l.directiveDefs=(()=>t.map(Ht)),l.pipeDefs=(()=>n.map(Ut))}function Ht(e){return Zt(e)||Qt(e)}function Ut(e){return Yt(e)}function zt(e){return{type:e.type,bootstrap:e.bootstrap||Rt,declarations:e.declarations||Rt,imports:e.imports||Rt,exports:e.exports||Rt,transitiveCompileScopes:null,schemas:e.schemas||null}}function $t(e,t){return At(()=>{const n=Xt(e,!0);n.declarations=t.declarations||Rt,n.imports=t.imports||Rt,n.exports=t.exports||Rt})}function qt(e,t){if(null==e)return Tt;const n={};for(const l in e)if(e.hasOwnProperty(l)){let r=e[l],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=l,t&&(t[r]=i)}return n}function Wt(e){const t={};return{inputs:qt(e.inputs,t),declaredInputs:t,outputs:qt(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null}}const Gt=Bt;function Kt(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Zt(e){return e[Ot]||null}function Qt(e){return e[Nt]||null}function Yt(e){return e[Pt]||null}function Jt(e){return e[Lt]||null}function Xt(e,t){const n=e[Mt]||null;if(!n&&!0===t)throw new Error(`Type ${N(e)} does not have 'ngModuleDef' property.`);return n}function en(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function tn(e){return"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type:en(e)}const nn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))();function ln(e){return{name:"window",target:e.ownerDocument.defaultView}}function rn(e){return{name:"document",target:e.ownerDocument}}function on(e){return{name:"body",target:e.ownerDocument.body}}const sn="\ufffd";function an(e){return e.indexOf(sn)>=0}function un(e){return e instanceof Function?e():e}const cn=0,dn=1,hn=2,pn=3,fn=4,gn=5,mn=6,vn=7,yn=8,bn=9,Cn=10,wn=11,Sn=12,_n=13,In=14,En=15,Dn=16,xn=17,kn=18,An=20,Tn=1,Rn=2,On=7,Nn=8,Pn="__ngContext__";function Mn(e){for(;Array.isArray(e);)e=e[cn];return e}function Ln(e){return Array.isArray(e)&&"object"==typeof e[Tn]}function Fn(e){return Array.isArray(e)&&!0===e[Tn]}function Vn(e,t){return Mn(t[e+An])}function Bn(e,t){return Mn(t[e.index])}function jn(e,t){return t[dn].data[e+An]}function Hn(e,t){return e[t+An]}function Un(e,t){const n=t[e];return Ln(n)?n:n[cn]}function zn(e){return 1==(1&e.flags)}function $n(e){return null!==e.template}function qn(e){return 0!=(512&e[hn])}function Wn(e){return e[Pn]}function Gn(e){const t=Wn(e);return t?Array.isArray(t)?t:t.lView:null}function Kn(e){return Fn(e[pn])}function Zn(e){e[kn]=0}const Qn=8,Yn=8,Jn=9,Xn=-1;class el{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function tl(e,t,n,l,r,i){const{onChanges:o,onInit:s,doCheck:a}=t;r>=0&&(!n.preOrderHooks||r===n.preOrderHooks.length)&&(o||s||a)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(l),i>=0&&(!n.preOrderCheckHooks||i===n.preOrderCheckHooks.length)&&(o||a)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(l),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,s),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}function nl(e,t){if(e.firstTemplatePass)for(let n=t.directiveStart,l=t.directiveEnd;n=l)break}else t[o]<0&&(e[kn]+=65536),(i>10>16&&(3&e[hn])===t&&(e[hn]+=1024,i.call(o)):i.call(o)}let ol,sl=null;function al(e){sl=e}let ul,cl=null;function dl(e){cl=e}function hl(){ul=!0}function pl(){ul=!1}function fl(){return yl}const gl=1;let ml,vl,yl,bl=gl,Cl=0,wl=0;function Sl(e=null){ql!==e&&(Gl(null==e?-1:e),bl=gl,Cl=0,wl=0)}function _l(){bl+=1+wl,Cl=0,wl=0}function Il(e){Cl+=e,wl=Math.max(wl,Cl)}function El(e){Ol=e}function Dl(){return ml}function xl(e){ml=e}function kl(e,t){ml=e,yl=t}function Al(){return vl}function Tl(e){vl=e}function Rl(e=yl){return 4==(4&e[hn])}let Ol=null,Nl=!1;function Pl(){return Nl}function Ml(e){Nl=e}let Ll=-1;function Fl(){return Ll}function Vl(e){Ll=e}let Bl=0;function jl(){return Bl}function Hl(e){Bl=e}function Ul(e,t){const n=yl;return e&&(Ll=e[dn].bindingStartIndex),ml=t,vl=!0,yl=Ol=e,n}function zl(e=1){return(Ol=function(e,t){for(;e>0;)t=t[xn],e--;return t}(e,Ol))[bn]}function $l(e){const t=yl[dn];if(Rl(yl))yl[hn]&=-5;else try{Zn(yl),rl(yl,t.viewHooks,t.viewCheckHooks,Nl,2,void 0)}finally{yl[hn]&=-73,yl[vn]=t.bindingStartIndex}al(null),Ul(e,null)}let ql=-1;function Wl(){return ql}function Gl(e){ql=e,al(null)}let Kl=null;function Zl(){Kl="http://www.w3.org/2000/svg"}function Ql(){Kl="http://www.w3.org/1998/MathML/"}function Yl(){Kl=null}const Jl=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function Xl(e){return!!e.listen}const er={createRenderer:(e,t)=>document};function tr(e){let t=Wn(e);if(t){if(Array.isArray(t)){const l=t;let r,i=void 0,o=void 0;if((n=e)&&n.constructor&&n.constructor.ngComponentDef){if(-1==(r=sr(l,e)))throw new Error("The provided component was not found in the application");i=e}else if(e&&e.constructor&&e.constructor.ngDirectiveDef){if(-1==(r=function(e,t){let n=e[dn].firstChild;for(;n;){const l=n.directiveEnd;for(let r=n.directiveStart;r=0){const e=Mn(l[r]),n=nr(l,r,e);rr(e,n),t=n;break}}}}var n;return t||null}function nr(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function lr(e){let t,n=Wn(e);if(Array.isArray(n)){const l=sr(n,e),r=nr(n,l,(t=Un(l,n))[cn]);r.component=e,rr(e,r),rr(r.native,r)}else t=Un(n.nodeIndex,n.lView);return t}function rr(e,t){e[Pn]=t}function ir(e,t){let n=e[dn].firstChild;for(;n;){if(Bn(n,e)===t)return n.index;n=or(n)}return-1}function or(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function sr(e,t){const n=e[dn].components;if(n)for(let l=0;l=0&&-1===r[s]&&(r[s]=n,r[i+1]=l||null)}function fr(e,t){let n=e,l=t[n],r=t;for(;Array.isArray(l);)r=l,l=l[cn];if(i=r,Array.isArray(i)&&"number"==typeof i[Tn])return r;{const i=jn(e-An,t).stylingTemplate;return r!==t&&(n=cn),r[n]=i?function(e,t){const n=t.slice();for(let l=0;l<10;l++){const e=t[l];Array.isArray(e)&&(n[l]=e.slice())}return n[0]=e,n[1]|=16,n}(l,i):hr(l)}var i}function gr(e){return e[0]===dr}function mr(e){return 0!=(8&e.flags)}function vr(e){return 0!=(16&e.flags)}function yr(e,t,n,l,r,i){return i=i||n,r?e[r]=l:e.push(l),!!l&&(l.addEventListener(200,()=>{const t=e.indexOf(l);t&&(t>16}function xr(e,t){let n=Dr(e),l=t;for(;n>0;)l=l[xn],n--;return l}function kr(e){const t=e[pn];return Fn(t)?t[pn]:t}function Ar(e){let t=e[mn];for(;t&&2===t.type;)t=(e=e[xn])[mn];return e}function Tr(e){return function(e){let t=Ln(e)?e:Gn(e);for(;t&&!(512&t[hn]);)t=kr(t);return t}(e)[bn]}let Rr=!0;function Or(e){const t=Rr;return Rr=e,t}const Nr=255;let Pr=0;function Mr(e,t){const n=Fr(e,t);if(-1!==n)return n;const l=t[dn];l.firstTemplatePass&&(e.injectorIndex=t.length,Lr(l.data,e),Lr(t,null),Lr(l.blueprint,null));const r=Vr(e,t),i=Er(r),o=xr(r,t),s=e.injectorIndex;if(Ir(r)){const e=o[dn].data;for(let n=0;n<8;n++)t[s+n]=o[i+n]|e[i+n]}return t[s+Yn]=r,s}function Lr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Fr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Yn]?-1:e.injectorIndex}function Vr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[mn],l=1;for(;n&&-1===n.injectorIndex;)n=(t=t[xn])?t[mn]:null,l++;return n?n.injectorIndex|l<<16:-1}function Br(e,t,n){!function(e,t,n){let l="string"!=typeof n?n[Ft]:n.charCodeAt(0)||0;null==l&&(l=n[Ft]=Pr++);const r=l&Nr,i=1<0?t&Nr:t}(n);if("function"==typeof r){const i=Dl(),o=fl();kl(e,t);try{const e=r();if(null!=e||l&_.Optional)return e;throw new Error(`No provider for ${tn(n)}!`)}finally{kl(i,o)}}else if("number"==typeof r){if(-1===r)return new Kr(e,t);let i=null,o=Fr(e,t),s=Xn,a=l&_.Host?Ar(t)[mn]:null;for((-1===o||l&_.SkipSelf)&&(s=-1===o?Vr(e,t):t[o+Yn],Gr(l,!1)?(i=t[dn],o=Er(s),t=xr(s,t)):o=-1);-1!==o;){s=t[o+Yn];const e=t[dn];if(Wr(r,o,e.data)){const e=zr(o,t,n,i,l,a);if(e!==Ur)return e}Gr(l,t[dn].data[o+Qn]===a)&&Wr(r,o,t)?(i=e,o=Er(s),t=xr(s,t)):o=-1}}}if(l&_.Optional&&void 0===r&&(r=null),0==(l&(_.Self|_.Host))){const e=t[Cn],i=z(void 0);try{return e?e.get(n,r,l&_.Optional):G(n,r,l&_.Optional)}finally{z(i)}}if(l&_.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${tn(n)}]`)}const Ur={};function zr(e,t,n,l,r,i){const o=t[dn],s=o.data[e+Qn],a=$r(s,t,n,null==l?zn(s)&&Rr:l!=o&&3===s.type,r&_.Host&&i===s);return null!==a?qr(o.data,t,a,s):Ur}function $r(e,t,n,l,r){const i=e.providerIndexes,o=t[dn].data,s=65535&i,a=e.directiveStart,u=i>>16,c=r?s+u:e.directiveEnd;for(let d=l?s:s+u;d=a&&e.type===n)return d}if(r){const e=o[a];if(e&&$n(e)&&e.type===n)return a}return null}function qr(e,t,n,l){let r=t[n];if(null!==(i=r)&&"object"==typeof i&&Object.getPrototypeOf(i)==el.prototype){const i=r;if(i.resolving)throw new Error(`Circular dep for ${tn(e[n])}`);const o=Or(i.canSeeViewProviders);let s;i.resolving=!0,i.injectImpl&&(s=z(i.injectImpl));const a=Dl(),u=fl();kl(l,t);try{r=t[n]=i.factory(null,e,t,l)}finally{i.injectImpl&&z(s),Or(o),i.resolving=!1,kl(a,u)}}var i;return r}function Wr(e,t,n){const l=64&e,r=32&e;let i;return!!((i=128&e?l?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:l?r?n[t+3]:n[t+2]:r?n[t+1]:n[t])&1<new e}function Yr(e){return e[Ue]}function Jr(e){return e[ze]}function Xr(e,...t){e.error(...t)}class ei{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),l=function(e){return e[$e]||Xr}(e);l(this._console,"ERROR",e),t&&l(this._console,"ORIGINAL ERROR",t),n&&l(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Yr(e)?Yr(e):this._findContext(Jr(e)):null}_findOriginalError(e){let t=Jr(e);for(;t&&Jr(t);)t=Jr(t);return t}}const ti={name:"custom-elements"},ni={name:"no-errors-schema"},li="__SANITIZER_TRUSTED_BRAND__";function ri(e,t){return e instanceof String&&e[li]===t}function ii(e){return ci(e,"Html")}function oi(e){return ci(e,"Style")}function si(e){return ci(e,"Script")}function ai(e){return ci(e,"Url")}function ui(e){return ci(e,"ResourceUrl")}function ci(e,t){const n=new String(e);return n[li]=t,n}let di=!0,hi=!1;function pi(){return hi=!0,di}function fi(){if(hi)throw new Error("Cannot enable prod mode after platform setup.");di=!1}class gi{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e=""+e+"";try{e=encodeURI(e)}catch(l){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e=""+e+"";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let l=t.length-1;0yi(e.trim())).join(", ")}function Ci(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function wi(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Si=Ci("area,br,col,hr,img,wbr"),_i=Ci("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ii=Ci("rp,rt"),Ei=wi(Ii,_i),Di=wi(Si,wi(_i,Ci("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")),wi(Ii,Ci("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")),Ei),xi=Ci("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ki=Ci("srcset"),Ai=wi(xi,ki,Ci("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"),Ci("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Ti=Ci("script,style,template");class Ri{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Di.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ti.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let l=0;l"),!0}endElement(e){const t=e.nodeName.toLowerCase();Di.hasOwnProperty(t)&&!Si.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(Pi(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Oi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ni=/([^\#-~ |!])/g;function Pi(e){return e.replace(/&/g,"&").replace(Oi,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Ni,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Mi;function Li(e,t){let n=null;try{Mi=Mi||new gi(e);let l=t?String(t):"";n=Mi.getInertBodyElement(l);let r=5,i=l;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,l=i,i=n.innerHTML,n=Mi.getInertBodyElement(l)}while(l!==i);const o=new Ri,s=o.sanitizeChildren(Fi(n)||n);return pi()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const e=Fi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Fi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Vi=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class Bi{}const ji=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"),Hi=/^url\(([^)]+)\)$/;function Ui(e){if(!(e=String(e).trim()))return"";const t=e.match(Hi);return t&&yi(t[1])===t[1]||e.match(ji)&&function(e){let t=!0,n=!0;for(let l=0;lt)return n;return e.length}(r,t);r.splice(i,0,t,n,l)}function io(e,t){return new oo(e,t)}class oo{constructor(e,t){this.fn=e,this.value=t}}function so(e,t,n=0){const l=hr();return ao(l,e,t,n),l}function ao(e,t,n,l){if(16&e[1])return;pr(e,l);let r=null,i=null,o=-1;for(let s=n;s=h;for(let l=y;l=10?t+0:t;n?e[l]|=1:e[l]&=-2}function So(e,t){return 1==(1&e[t>=10?t+0:t])}function _o(e,t){return 2==(2&e[t>=10?t+0:t])}function Io(e,t){return 4==(4&e[t>=10?t+0:t])}function Eo(e,t,n){return 31&e|t<<5|n<<19}function Do(e,t){const n=xo(t);return(2&t?e[4]:e[3])[n]}function xo(e){return e>>5&16383}function ko(e){const t=e>>19&16383;return t>=10?t:-1}function Ao(e){return e[7][2]}function To(e,t,n){e[t+1]=n}function Ro(e,t,n){e[t+2]=n}function Oo(e,t,n){const l=e[9];if(t){if(!l||0===n)return!0}else if(!l)return!1;return l[n]!==t}function No(e,t,n){let l=e[9]||Cr(e);return n>0?l[n]=t:(l.splice(n=l[0],0,t,null),l[0]+=2),n}function Po(e,t,n,l){const r=function(e,t){return n<<16|e}(l);e[t+3]=r}function Mo(e,t){return e[t+3]>>16&65535}function Lo(e,t){const n=Mo(e,t);if(n){const t=e[9];if(t)return t[n]}return null}function Fo(e,t,n){e[1===t?t:t+0]=n}function Vo(e,t){return e[1===t?t:t+0]}function Bo(e,t){return e[t+2]}function jo(e,t){return e[t+1]}function Ho(e,t){wo(e,1,t)}function Uo(e,t){t?e[1]|=8:e[1]&=-9}function zo(e,t,n){if(t===n)return;const l=Bo(e,t),r=jo(e,t),i=Vo(e,t),o=Mo(e,t),s=Qo(e,t);let a=i,u=Vo(e,n);const c=ko(a);if(c>=0){const t=Vo(e,c);Fo(e,c,Eo(t,xo(t),n))}const d=ko(u);if(d>=0){const n=Vo(e,d);Fo(e,d,Eo(n,xo(n),t))}Ro(e,t,Bo(e,n)),To(e,t,jo(e,n)),Fo(e,t,Vo(e,n)),Po(e,t,Mo(e,n),Qo(e,n)),Ro(e,n,l),To(e,n,r),Fo(e,n,i),Po(e,n,o,s)}function $o(e,t,n,l,r,i,o,s){const a=t0){const n=xo(Vo(e,t));Fo(e,t,Eo((So(e,t)?1:0)|(_o(e,t)?2:0)|(Io(e,t)?4:0),n,l))}}}(e)}function qo(e,t){return null!==e}function Wo(e,t,n,l){let r,i=l&&l(t)?4:0;return n?(i|=2,r=Yo(e[4],t)):r=Yo(e[3],t),Eo(i,r=r>0?r+1:0,0)}function Go(e,t,n){const l=Do(e,t);return!l||Ko(t,l,n)}function Ko(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}class Zo{constructor(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)}buildPlayer(e,t){if(this._dirty){const n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}}}function Qo(e,t){return 65535&e[t+3]}function Yo(e,t){for(let n=2;n`${e.charAt(0)}-${e.charAt(1).toLowerCase()}`)}function rs(e,t,n,l,r=0){const i=e[n?6:7];if(t>0){const e=1+4*t;for(;i.length0&&" "!==e[l-1]||ri?"":r[c+1];const t=8&l?e:null;if(t&&!ss(t,u)||2&l&&u!==e){if(cs(l))return!1;o=!0}}}}else{if(!o&&!cs(l)&&!cs(a))return!1;if(o&&cs(a))continue;o=!1,l=a|1&l}}return cs(l)||o}function cs(e){return 0==(1&e)}function ds(e){return e.stylingTemplate?es(e.stylingTemplate):""}function hs(e,t,n,l){if(null===t)return-1;let r=0;if(l||!n){let n=!1;for(;r-1)for(n++;nPromise.resolve(null))();function ms(e){const t=e[dn],n=Rl(e);if(t.firstTemplatePass=!1,e[vn]=t.bindingStartIndex,!n){const n=Pl();ll(e,t,n,void 0),function(e){for(let t=e[In];null!==t;t=t[fn])if(t.length=0&&(t.stylingTemplate=so(n,e))}}function xs(e,t,n){if(function(e){return 0!=(4&e.flags)}(t)){const l=t.directiveEnd;for(let r=t.directiveStart;rr){const e=0===t,o=n.data;for(let t=r;t=i.length)&&(i=function(e,t,n){const l=n.initialInputs||(n.initialInputs=[]);l[e]=null;const r=n.attrs;let i=0;for(;it=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Qs(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=gs,t(null)})}}function Qs(e){for(let t=0;t=2&&l[r-2]===t.hostBindings?l[r-1]=l[r-1]+n:l.push(t.hostBindings,n)}(n,cl,e),function(e,t,n){for(let l=0;l0&&(l[n-1][fn]=e),n0&&(n[t-1][fn]=l[fn]),n.splice(t,1),ba(l,!1),128&l[hn]&&!(256&l[hn])&&l[gn]&&l[gn].removeView(),l[pn]=null,l[fn]=null,l[hn]&=-129),l}function Sa(e,t){const n=e[Nn][t];n&&(wa(e,t),_a(n))}function _a(e){if(!(256&e[hn])){const t=e[Sn];Xl(t)&&t.destroyNode&&ma(e,2,t,null),function(e){let t=e[In];if(!t)return Ea(e);for(;t;){let n=null;if(Ln(t))n=t[In];else{const e=t[Nn];e.length>0&&(n=e[0])}if(!n){for(;t&&!t[fn]&&t!==e;)Ea(t),t=Ia(t,e);Ea(t||e),n=t&&t[fn]}t=n}}(e)}}function Ia(e,t){let n;return Ln(e)&&(n=e[mn])&&2===n.type?pa(n,e):e[pn]===t?null:e[pn]}function Ea(e){if(Ln(e)&&!(256&e[hn])){e[hn]&=-129,e[hn]|=256,function(e){const t=e[dn];let n;if(null!=t&&null!=(n=t.destroyHooks))for(let l=0;l=0?n[s]():n[-s].unsubscribe(),l+=2}else t[l].call(n[t[l+1]]);e[yn]=null}}(e);const t=e[mn];t&&3===t.type&&Xl(e[Sn])&&e[Sn].destroy(),Kn(e)&&e[gn]&&e[gn].removeView()}}function Da(e,t,n,l){Xl(e)?e.insertBefore(t,n,l):t.insertBefore(n,l,!0)}function xa(e,t,n,l){l?Da(e,t,n,l):function(e,t,n){Xl(e)?e.appendChild(t,n):t.appendChild(n)}(e,t,n)}function ka(e,t){return Xl(e)?e.parentNode(t):t.parentNode}function Aa(e,t,n){const l=function(e,t){if(qn(t))return ka(t[Sn],Bn(e,t));const n=function(e){for(;null!=e.parent&&(4===e.parent.type||5===e.parent.type);)e=e.parent;return e}(e).parent;if(null==n){const e=t[mn];return 2===e.type?fa(e,t):function(e){const t=e[mn];return t&&3===t.type?Bn(t,kr(e)):null}(t)}if(1&n.flags){const e=t[dn].data,l=e[e[n.index].directiveStart].encapsulation;if(l!==kt.ShadowDom&&l!==kt.Native)return null}return Bn(n,t)}(t,n);if(null!=l){const r=n[Sn],i=function(e,t){if(2===e.type){const n=pa(e,t),l=n[Nn];return Ta(l.indexOf(t),l,n[On])}return 4===e.type||5===e.type?Bn(e,t):null}(t.parent||n[mn],n);if(Array.isArray(e))for(let t of e)xa(r,l,t,i);else xa(r,l,e,i)}}function Ta(e,t,n){if(e+1=l.data.length&&(l.data[r]=null,l.blueprint[r]=null),n[r]=t}function ja(e){return Hn(Ol,e)}function Ha(e){return Hn(fl(),e)}function Ua(e,t=_.Default){e=L(e);const n=fl();return null==n?q(e,t):Hr(Dl(),n,e,t)}function za(e){return jr(Dl(),e)}function $a(e,t,n){const l=Dl();l.stylingTemplate||(l.stylingTemplate=hr()),Wa(l,e,t,n,cr)}function qa(e,t,n){const l=Dl();l.stylingTemplate||(l.stylingTemplate=hr());const r=ru();pr(l.stylingTemplate,r),(l.onElementCreationFns=l.onElementCreationFns||[]).push(()=>{Wa(l,e,t,n,r),function(e,t){let n=e[8];n||(n=e[8]=[cr]),n[0]=t}(l.stylingTemplate,r)})}function Wa(e,t,n,l,r){!function(e,t,n,l,r){if(16&e[1])return;if(!function(e,t,n,l){const r=e[2],i=2*t;return!(i=0||(pr(e,t,e[5].length,l),0))}(e,t,0,r))return;l&&(l=function(e){const t=[];for(let n=0;n=h,n=D>=(t?p:d),l=Vo(e,D),r=xo(l);let i=ko(l);Fo(e,D,Eo(l,r,i+=t?n?4*m.length:0:4*b+4*(n?m.length:0)))}for(let D=0;D<4*m.length;D++)e.splice(p,0,null),e.splice(d,0,null),d++,h++,p+=2;for(let D=0;D<4*v.length;D++)e.splice(h,0,null),e.push(null),h++,p++;const C=e[4],w=e[3];for(let D=0;D=m.length,l=n?D-m.length:D,i=n?v[l]:m[l];let a,u;n?(a=p+4*(o+l),u=d+4*(o+l)):(a=h+4*(s+l),u=10+4*(s+l));let c=n?C:w,f=Yo(c,i);-1===f?f=is(null,c,i,!n&&null,t)+1:f+=1;const g=Wo(e,i,n,r||null);Fo(e,u,Eo(g,f,a)),To(e,u,i),Ro(e,u,null),Po(e,u,0,t),Fo(e,a,Eo(g,f,u)),To(e,a,i),Ro(e,a,null),Po(e,a,0,t)}i[1]=o+v.length,i[0]=s+m.length,a[0]+=v.length,u[0]+=m.length;const S=4*m.length,_=4*v.length,I=u.length;rs(e,t,!1,h+4*s,m.length);for(let D=1;D0&&Zs(Tr(n),2),al(null)}function ru(){return bl+Cl}function iu(e,t){let n=sl;return n||al(n=fr(e+An,t)),n}function ou(e,t,n,l){const r=fl(),i=r[dn],o=ys(t),s=r[Sn],a=Cs(e,3,o,t,n||null);let u=0,c=0;if(n&&(Ds(i,a,n,wr(o,n)),a.stylingTemplate&&(u=ho(o,a.stylingTemplate,s),c=co(o,a.stylingTemplate,s))),Aa(o,a,r),ks(i,r,l),0===ol&&rr(o,r),ol++,i.firstTemplatePass){const e=la(a);e&&e.hasOwnProperty("class")&&(a.flags|=8),e&&e.hasOwnProperty("style")&&(a.flags|=16)}a.stylingTemplate&&(co(o,a.stylingTemplate,s,c),ho(o,a.stylingTemplate,s,u));const d=r[gn];d&&(d.addNode(a),r[gn]=d.clone()),xs(i,a,r)}function su(){let e=Dl();Al()?Tl(!1):xl(e=e.parent),e.onElementCreationFns&&ua(e);const t=fl(),n=t[gn];n&&(t[gn]=n.parent),nl(fl()[dn],e),ol--;let l=null;mr(e)&&(l=fr(e.index,t),aa(t,e.inputs.class,es(l))),vr(e)&&(l=l||fr(e.index,t),aa(t,e.inputs.style,function(e){const t=l[3];let n=t[1];if(null===n){n="";for(let e=2;e=0){const n=ru();l.stylingTemplate?ao(l.stylingTemplate,e,t,n):l.stylingTemplate=so(e,t,n)}}}function du(e,t,n){const l=fl(),r=l[dn],i=l[Sn].createComment(""),o=Cs(e,4,i,"ng-container",t||null);t&&Ds(r,o,t,0),Aa(i,o,l),ks(r,l,n),rr(i,l);const s=l[gn];s&&(s.addNode(o),l[gn]=s.clone()),xs(r,o,l)}function hu(){let e=Dl();const t=fl(),n=t[dn];Al()?Tl(!1):xl(e=e.parent);const l=t[gn];l&&(t[gn]=l.parent),e.onElementCreationFns&&ua(e),nl(n,e)}function pu(e,t,n){const l=fl(),r=Dl(),i=2===r.type?r.parent:r,o=l[i.index];let s=function(e,t,n){const l=e[Nn];for(let r=t;r=i.length||null==i[e])&&(i[e]=Ts(e,null,t,n,r.directiveRegistry,r.pipeRegistry,null,null)),i[e]}(e,t,n,i),null,16,null,null),o[gn]&&(s[gn]=o[gn].createView());const a=Al()?r:r&&r.parent;ws(s[dn],a,e,s),Ul(s,s[dn].node)}return o&&(Rl(s)&&Ca(s,o,o[Rn]),o[Rn]++),Rl(s)?3:2}function fu(){const e=fl(),t=e[mn];Rl(e)&&(ms(e),e[hn]&=-5),Zn(e),ms(e),$l(e[pn][pn]),xl(t),Tl(!1)}function gu(){return fl()}function mu(e){return!!e&&"function"==typeof e.then}function vu(e){return!!e&&"function"==typeof e.subscribe}function yu(e,t,n=!1,l){Cu(e,t,n,l)}function bu(e,t,n=!1,l){Cu(e,t,n,l,oa)}function Cu(e,t,n=!1,l,r){const i=fl(),o=Dl(),s=i[dn],a=s.firstTemplatePass&&(s.cleanup||(s.cleanup=[]));let u=!0;if(3===o.type){const s=Bn(o,i),c=l?l(s):{},d=c.target||s,h=r?r(o,i):i[Sn],p=ra(i),f=p.length,g=l?e=>l(Mn(e[o.index])).target:o.index;if(Xl(h)){let n=null;if(!l&&function(e){return e.directiveEnd>e.directiveStart}(o)&&(n=function(e,t,n){const l=e[dn].cleanup;if(null!=l)for(let r=0;rn?t[n]:null}"string"==typeof i&&(r+=2)}return null}(i,e,o.index)),null!==n)t.__ngNextListenerFn__=n.__ngNextListenerFn__,n.__ngNextListenerFn__=t,u=!1;else{t=Su(o,i,t,!1);const n=h.listen(c.name||d,e,t);p.push(t,n),a&&a.push(e,g,f,f+1)}}else t=Su(o,i,t,!0),d.addEventListener(e,t,n),p.push(t),a&&a.push(e,g,f,n)}void 0===o.outputs&&(o.outputs=Ns(o,1));const c=o.outputs;let d;if(u&&c&&(d=c[e])){const n=d.length;if(n){const l=ra(i);for(let r=0;r=0)&&null;e==u&&r.push({element:e,name:a,callback:c,useCapture:h})}}return r.sort(Ec),r}function Ec(e,t){return e.name==t.name?0:e.namee(o,t)),t.contentQueries&&t.contentQueries(1,o,n.length-1);const s=Dl();if(i.firstTemplatePass&&t.hostBindings&&(Sl(s.index-An),Ls(t,i.expandoInstructions,o,s,i.firstTemplatePass),s.onElementCreationFns&&ua(s),Sl(null)),s.stylingTemplate){const t=e[cn];co(t,s.stylingTemplate,e[Sn]),ho(t,s.stylingTemplate,e[Sn])}return o}function Nc(e,t){return{components:[],scheduler:e||nn,clean:na,playerHandler:t||null,flags:0}}function Pc(e,t){const n=Gn(e)[dn],l=n.data.length-1;tl(l,t,n,-1,-1,-1),nl(n,{directiveStart:l,directiveEnd:l+1})}function Mc(e){return Tr(e).clean}class Lc{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Fc(){return Vc.ngInherit=!0,Vc}function Vc(e){e.type.prototype.ngOnChanges&&(e.setInput=Bc,e.onChanges=function(){const e=Hc(this),t=e&&e.current;if(t){const n=e.previous;if(n===Tt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function Bc(e,t,n,l){const r=Hc(e)||function(e,t){return e[jc]={previous:Tt,current:null}}(e),i=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],a=o[s];i[s]=new Lc(a&&a.currentValue,t,o===Tt),e[l]=t}const jc="__ngSimpleChanges__";function Hc(e){return e[jc]||null}function Uc(e){let t=Object.getPrototypeOf(e.type.prototype).constructor;for(;t;){let n=void 0;if($n(e))n=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");n=t.ngDirectiveDef}const l=t.ngBaseDef;if(l||n){const t=e;t.inputs=zc(e.inputs),t.declaredInputs=zc(e.declaredInputs),t.outputs=zc(e.outputs)}if(l){const t=l.viewQuery,n=l.contentQueries;t&&$c(e,t),n&&qc(e,n),E(e.inputs,l.inputs),E(e.declaredInputs,l.declaredInputs),E(e.outputs,l.outputs)}if(n){const t=e.hostBindings,l=n.hostBindings;l&&(e.hostBindings=t?(e,n,r)=>{Il(1);try{l(e,n,r)}finally{Il(-1)}t(e,n,r)}:l);const r=n.viewQuery,i=n.contentQueries;r&&$c(e,r),i&&qc(e,i),E(e.inputs,n.inputs),E(e.declaredInputs,n.declaredInputs),E(e.outputs,n.outputs),e.afterContentChecked=e.afterContentChecked||n.afterContentChecked,e.afterContentInit=e.afterContentInit||n.afterContentInit,e.afterViewChecked=e.afterViewChecked||n.afterViewChecked,e.afterViewInit=e.afterViewInit||n.afterViewInit,e.doCheck=e.doCheck||n.doCheck,e.onDestroy=e.onDestroy||n.onDestroy,e.onInit=e.onInit||n.onInit;const o=n.features;if(o)for(const n of o)n&&n.ngInherit&&n(e)}else{const n=t.prototype;n&&(e.afterContentChecked=e.afterContentChecked||n.ngAfterContentChecked,e.afterContentInit=e.afterContentInit||n.ngAfterContentInit,e.afterViewChecked=e.afterViewChecked||n.ngAfterViewChecked,e.afterViewInit=e.afterViewInit||n.ngAfterViewInit,e.doCheck=e.doCheck||n.ngDoCheck,e.onDestroy=e.onDestroy||n.ngOnDestroy,e.onInit=e.onInit||n.ngOnInit,n.ngOnChanges&&Fc()(e))}t=Object.getPrototypeOf(t)}}function zc(e){return e===Tt?{}:e===Rt?[]:e}function $c(e,t){const n=e.viewQuery;e.viewQuery=n?(e,l)=>{t(e,l),n(e,l)}:t}function qc(e,t){const n=e.contentQueries;e.contentQueries=n?(e,l,r)=>{t(e,l,r),n(e,l,r)}:t}const Wc=new we("The presence of this token marks an injector as being the root injector."),Gc={},Kc={},Zc=[];let Qc=void 0;function Yc(){return void 0===Qc&&(Qc=new De),Qc}function Jc(e,t=null,n=null,l){return t=t||Yc(),new Xc(e,n,t,l)}class Xc{constructor(e,t,n,l=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];ld([e],e=>this.processInjectorType(e,[],r)),t&&ld(t,n=>this.processProvider(n,e,t)),this.records.set(Ee,nd(void 0,this)),this.isRootInjector=this.records.has(Wc),this.injectorDefTypes.forEach(e=>this.get(e)),this.source=l||(e instanceof Array?null:N(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=xe.THROW_IF_NOT_FOUND,n=_.Default){this.assertNotDestroyed();const l=U(this);try{if(!(n&_.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof we)&&A(e);n&&this.injectableDefInScope(n)&&(t=nd(ed(e),Gc),this.records.set(e,t))}if(void 0!==t)return this.hydrate(e,t)}return(n&_.Self?Yc():this.parent).get(e,n&_.Optional?null:t)}catch(i){if("NullInjectorError"===i.name){if((i[Pe]=i[Pe]||[]).unshift(N(e)),l)throw i;return Be(i,e,"R3InjectorError",this.source)}throw i}finally{U(l)}var r}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=L(e)))return;let l=T(e);const r=null==l&&e.ngModule||void 0,i=void 0===r?e:r,o=-1!==n.indexOf(i),s=void 0!==r&&e.providers||Zc;if(void 0!==r&&(l=T(r)),null==l)return;if(this.injectorDefTypes.add(i),this.records.set(i,nd(l.factory,Gc)),null!=l.imports&&!o){n.push(i);try{ld(l.imports,e=>this.processInjectorType(e,t,n))}finally{}}const a=l.providers;if(null!=a&&!o){const t=e;ld(a,e=>this.processProvider(e,t,a))}const u=e.ngModule;ld(s,e=>this.processProvider(e,u,s))}processProvider(e,t,n){let l=id(e=L(e))?e:L(e&&e.provide);const r=function(e,t,n){let l=td(e,t,n);return rd(e)?nd(void 0,e.useValue):nd(l,Gc)}(e,t,n);if(id(e)||!0!==e.multi){const e=this.records.get(l);if(e&&void 0!==e.multi)throw new Error(`Mixed multi-provider for ${N(l)}`)}else{let t=this.records.get(l);if(t){if(void 0===t.multi)throw new Error(`Mixed multi-provider for ${l}.`)}else(t=nd(void 0,Gc,!0)).factory=(()=>K(t.multi)),this.records.set(l,t);l=e,t.multi.push(e)}this.records.set(l,r)}hydrate(e,t){if(t.value===Kc)throw new Error(`Cannot instantiate cyclic dependency! ${N(e)}`);var n;return t.value===Gc&&(t.value=Kc,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))}}function ed(e){const t=A(e);if(null===t){const t=T(e);if(null!==t)return t.factory;if(e instanceof we)throw new Error(`Token ${N(e)} is missing an ngInjectableDef definition.`);if(e instanceof Function){const t=e.length;if(t>0){const n=new Array(t).fill("?");throw new Error(`Can't resolve all parameters for ${N(e)}: (${n.join(", ")}).`)}return()=>new e}throw new Error("unreachable")}return t.factory}function td(e,t,n){let l=void 0;if(id(e))return ed(L(e));if(rd(e))l=(()=>L(e.useValue));else if((r=e)&&r.useExisting)l=(()=>q(L(e.useExisting)));else if(e&&e.useFactory)l=(()=>e.useFactory(...K(e.deps||[])));else{const r=L(e&&(e.useClass||e.provide));if(!r){let l="";throw t&&n&&(l=` - only instances of Provider and Type are allowed, got: [${n.map(t=>t==e?"?"+e+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${N(t)}'`+l)}if(!e.deps)return ed(r);l=(()=>new r(...K(e.deps)))}var r;return l}function nd(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ld(e,t){e.forEach(e=>Array.isArray(e)?ld(e,t):t(e))}function rd(e){return null!==e&&"object"==typeof e&&Oe in e}function id(e){return"function"==typeof e}function od(e,t,n,l,r){if(e=L(e),Array.isArray(e))for(let i=0;i>16;if(e.useClass||id(e)){const n=(e.useClass||e).prototype.ngOnDestroy;if(n){const e=i[dn];(e.destroyHooks||(e.destroyHooks=[])).push(t.length,n)}}if(id(e)||!e.multi){const e=new el(s,r,Ua),l=ad(o,t,r?u:u+d,c);-1==l?(Br(Mr(a,i),i,o),t.push(o),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=65536),n.push(e),i.push(e)):(n[l]=e,i[l]=e)}else{const e=ad(o,t,u+d,c),h=ad(o,t,u,u+d),p=e>=0&&n[e],f=h>=0&&n[h];if(r&&!f||!r&&!p){Br(Mr(a,i),i,o);const e=function(e,t,n,l,r){const i=new el(e,n,Ua);return i.multi=[],i.index=t,i.componentProviders=0,sd(i,r,l&&!n),i}(r?cd:ud,n.length,r,l,s);!r&&f&&(n[h].providerFactory=e),t.push(o),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=65536),n.push(e),i.push(e)}else sd(n[r?h:e],s,!r&&l);!r&&l&&f&&n[h].componentProviders++}}}function sd(e,t,n){e.multi.push(t),n&&e.componentProviders++}function ad(e,t,n,l){for(let r=n;r{n.providersResolver=((n,l)=>(function(e,t,n){const l=fl()[dn];if(l.firstTemplatePass){const r=$n(e);od(n,l.data,l.blueprint,r,!0),od(t,l.data,l.blueprint,r,!1)}})(n,l?l(e):e,t))}}class pd{}class fd{}function gd(e){const t=Error(`No component factory found for ${N(e)}. Did you add it to @NgModule.entryComponents?`);return t[md]=e,t}const md="ngComponent";class vd{resolveComponentFactory(e){throw gd(e)}}const yd=(()=>{class e{}return e.NULL=new vd,e})();class bd{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let l=0;l-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}_a(this._lView)}onDestroy(e){var t,n;n=e,ra(t=this._lView).push(n),t[dn].firstTemplatePass&&ia(t).push(t[yn].length-1,null)}markForCheck(){Ks(this._lView)}detach(){this._lView[hn]&=-129}reattach(){this._lView[hn]|=128}detectChanges(){Ys(this._lView,this.context)}checkNoChanges(){!function(e,t){Ml(!0);try{Ys(e,t)}finally{Ml(!1)}}(this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ma(e=this._lView,1,e[Sn],null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}_lookUpContext(){return this._context=kr(this._lView)[this._componentIndex]}}class Id extends _d{constructor(e){super(e,null,-1),this._view=e}detectChanges(){Js(this._view)}checkNoChanges(){!function(e){Ml(!0);try{Js(e)}finally{Ml(!1)}}(this._view)}get context(){return null}}let Ed,Dd,xd;function kd(e,t,n){return Ed||(Ed=class extends e{}),new Ed(Bn(t,n))}function Ad(e,t,n,l){if(Dd||(Dd=class extends e{constructor(e,t,n,l,r){super(),this._declarationParentView=e,this.elementRef=t,this._tView=n,this._hostLContainer=l,this._injectorIndex=r}createEmbeddedView(e,t,n){const l=this._declarationParentView[gn];l&&null==this._hostLContainer[gn]&&(this._hostLContainer[gn]=l.container());const r=function(e,t,n,l,r){const i=Al(),o=Dl();Tl(!0),xl(null);const s=bs(n,e,t,16,null,null);return s[xn]=n,l&&(s[gn]=l.createView()),ws(e,null,-1,s),e.firstTemplatePass&&(e.node.injectorIndex=r),Tl(i),xl(o),s}(this._tView,e,this._declarationParentView,this._hostLContainer[gn],this._injectorIndex);t&&Ca(r,t,n),Ss(r,this._tView,e);const i=new _d(r,e,-1);return i._tViewNode=r[mn],i}}),0===n.type){const e=l[n.index];return new Dd(l,kd(t,n,l),n.tViews,e,n.injectorIndex)}return null}function Td(e,t,n){if(zn(e)){const l=e.directiveStart,r=Un(e.index,t);return new _d(r,n,l)}if(3===e.type||0===e.type||4===e.type){const e=Ar(t);return new _d(e,e[bn],-1)}return null}function Rd(...e){}const Od=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=(()=>Pd(e)),e})(),Nd=function(e){return kd(e,Dl(),fl())},Pd=Rd;class Md{constructor(e,t,n,l,r,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=l,this.styles=r,this.animations=i}}class Ld{}class Fd{}class Vd{}class Bd{}const jd=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Hd=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>zd()),e})(),Ud=function(){return function(e){const t=fl()[Sn];if(Xl(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},zd=Rd;class $d{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const qd=new $d("8.0.3");class Wd{constructor(){}supports(e){return Ou(e)}create(e){return new Kd(e)}}const Gd=(e,t)=>t;class Kd{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Gd}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,l=0,r=null;for(;t||n;){const i=!n||t&&t.currentIndex{l=this._trackByFn(t,e),null!==r&&Au(r.trackById,l)?(i&&(r=this._verifyReinsertion(r,e,l,t)),Au(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,l,t),i=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,l){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,l))?(Au(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,l)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Au(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,l)):e=this._addAfter(new Zd(t,n),r,l),e}_verifyReinsertion(e,t,n,l){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,l):e.currentIndex!=l&&(e.currentIndex=l,this._addToMoves(e,l)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const l=e._prevRemoved,r=e._nextRemoved;return null===l?this._removalsHead=r:l._nextRemoved=r,null===r?this._removalsTail=l:r._prevRemoved=l,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const l=null===t?this._itHead:t._next;return e._next=l,e._prev=t,null===l?this._itTail=e:l._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Yd),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yd),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Zd{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Qd{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Au(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Yd{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Qd,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Jd(e,t,n){const l=e.previousIndex;if(null===l)return l;let r=0;return n&&l{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const l=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,l)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const l=n._prev,r=n._next;return l&&(l._next=r),r&&(r._prev=l),n._next=null,n._prev=null,n}const n=new th(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Au(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class th{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}const nh=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new y]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=D({providedIn:"root",factory:()=>new e([new Wd])}),e})(),lh=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new y]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=D({providedIn:"root",factory:()=>new e([new Xd])}),e})(),rh=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>oh()),e})(),ih=function(){return Td(Dl(),fl(),null)},oh=(...e)=>{},sh=[new Xd],ah=new nh([new Wd]),uh=new lh(sh),ch=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>hh(e,Od)),e})(),dh=function(e,t){return Ad(e,t,Dl(),fl())},hh=Rd,ph=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>gh(e,Od)),e})(),fh=function(e,t){return function(e,t,n,l){let r;xd||(xd=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n,this._viewRefs=[]}get element(){return kd(t,this._hostTNode,this._hostView)}get injector(){return new Kr(this._hostTNode,this._hostView)}get parentInjector(){const e=Vr(this._hostTNode,this._hostView),t=xr(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.injectorIndex;)t=t.parent;return t}let l=Dr(e),r=t,i=t[mn];for(;l>1;)i=(r=r[xn])[mn],l--;return i}(e,this._hostView,this._hostTNode);return Ir(e)&&null!=n?new Kr(n,t):new Kr(null,this._hostView)}clear(){for(;this._lContainer[Nn].length;)this.remove(0)}get(e){return this._viewRefs[e]||null}get length(){return this._lContainer[Nn].length}createEmbeddedView(e,t,n){const l=this._adjustIndex(n),r=e.createEmbeddedView(t||{},this._lContainer,l);return r.attachToViewContainerRef(this),this._viewRefs.splice(l,0,r),r}createComponent(e,t,n,l,r){const i=n||this.parentInjector;!r&&null==e.ngModule&&i&&(r=i.get(wd,null));const o=e.create(i,l,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e._lView,l=this._adjustIndex(t);return Kn(n)?this.move(e,l):(Ca(n,this._lContainer,l),ba(n,!0,Ta(l,this._lContainer[Nn],this._lContainer[On])),e.attachToViewContainerRef(this),this._viewRefs.splice(l,0,e),e)}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this.indexOf(e);return-1!==n&&this.detach(n),this.insert(e,t),e}indexOf(e){return this._viewRefs.indexOf(e)}remove(e){const t=this._adjustIndex(e,-1);Sa(this._lContainer,t),this._viewRefs.splice(t,1)}detach(e){const t=this._adjustIndex(e,-1),n=wa(this._lContainer,t);return n&&null!=this._viewRefs.splice(t,1)[0]?new _d(n,n[bn],-1):null}_adjustIndex(e,t=0){return null==e?this._lContainer[Nn].length+t:e}});const i=l[n.index];if(Fn(i))(r=i)[Rn]=-1;else{const e=l[Sn].createComment("");if(qn(l)){const t=l[Sn],r=Bn(n,l);Da(t,ka(t,r),e,function(e,t){return Xl(e)?e.nextSibling(t):t.nextSibling}(t,r))}else Aa(e,n,l);l[n.index]=r=qs(i,l,e,n,!0),Gs(l,r)}return new xd(r,n,l)}(e,t,Dl(),fl())},gh=Rd;function mh(e,t,n,l){let r=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return l&&(r+=" 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(e,t){const n=new Error(e);return vh(n,t),n}(r,e)}function vh(e,t){e[Ue]=t,e[$e]=t.logError.bind(t)}function yh(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function bh(e,t,n){const l=e.state,r=1792&l;return r===t?(e.state=-1793&l|n,e.initIndex=-1,!0):r===n}function Ch(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function wh(e,t){return e.nodes[t]}function Sh(e,t){return e.nodes[t]}function _h(e,t){return e.nodes[t]}function Ih(e,t){return e.nodes[t]}function Eh(e,t){return e.nodes[t]}class Dh{}const 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},kh=()=>{},Ah=new Map;function Th(e){let t=Ah.get(e);return t||(t=N(e)+"_"+Ah.size,Ah.set(e,t)),t}function Rh(e,t,n,l){if(Ru.isWrapped(l)){l=Ru.unwrap(l);const r=e.def.nodes[t].bindingIndex+n,i=Ru.unwrap(e.oldValues[r]);e.oldValues[r]=new Ru(i)}return l}const Oh="$$undefined",Nh="$$empty";function Ph(e){return{id:Oh,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Mh=0;function Lh(e,t,n,l){return!(!(2&e.state)&&Au(e.oldValues[t.bindingIndex+n],l))}function Fh(e,t,n,l){return!!Lh(e,t,n,l)&&(e.oldValues[t.bindingIndex+n]=l,!0)}function Vh(e,t,n,l){const r=e.oldValues[t.bindingIndex+n];if(1&e.state||!Tu(r,l)){const i=t.bindings[n].name;throw mh(xh.createDebugContext(e,t.nodeIndex),`${i}: ${r}`,`${i}: ${l}`,0!=(1&e.state))}}function Bh(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function jh(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Hh(e,t,n,l){try{return Bh(33554432&e.def.nodes[t].flags?Sh(e,t).componentView:e),xh.handleEvent(e,t,n,l)}catch(r){e.root.errorHandler.handleError(r)}}function Uh(e){return e.parent?Sh(e.parent,e.parentNodeDef.nodeIndex):null}function zh(e){return e.parent?e.parentNodeDef.parent:null}function $h(e,t){switch(201347067&t.flags){case 1:return Sh(e,t.nodeIndex).renderElement;case 2:return wh(e,t.nodeIndex).renderText}}function qh(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Wh(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Gh(e){return 1<{"number"==typeof e?(t[e]=r,n|=Gh(e)):l[e]=r}),{matchedQueries:t,references:l,matchedQueryIds:n}}function Zh(e,t){return e.map(e=>{let n,l;return Array.isArray(e)?[l,n]=e:(l=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Se,{value:t,configurable:!0}),{flags:l,token:n,tokenKey:Th(n)}})}function Qh(e,t,n){let l=n.renderParent;return l?0==(1&l.flags)||0==(33554432&l.flags)||l.element.componentRendererType&&l.element.componentRendererType.encapsulation===kt.Native?Sh(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Yh=new WeakMap;function Jh(e){let t=Yh.get(e);return t||((t=e(()=>kh)).factory=e,Yh.set(e,t)),t}function Xh(e,t,n,l,r){3===t&&(n=e.renderer.parentNode($h(e,e.def.lastRenderRootNode))),ep(e,t,0,e.def.nodes.length-1,n,l,r)}function ep(e,t,n,l,r,i,o){for(let s=n;s<=l;s++){const n=e.def.nodes[s];11&n.flags&&np(e,n,t,r,i,o),s+=n.childCount}}function tp(e,t,n,l,r,i){let o=e;for(;o&&!qh(o);)o=o.parent;const s=o.parent,a=zh(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=s.def.nodes[c];e.ngContentIndex===t&&np(s,e,n,l,r,i),c+=e.childCount}if(!s.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t-1}(r)||"root"===i.providedIn&&r._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=hp,e._providers[n]=bp(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{U(l)}var r,i}function bp(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const l=n.length;switch(l){case 0:return new t;case 1:return new t(yp(e,n[0]));case 2:return new t(yp(e,n[0]),yp(e,n[1]));case 3:return new t(yp(e,n[0]),yp(e,n[1]),yp(e,n[2]));default:const r=new Array(l);for(let t=0;t=n.length)&&(t=n.length-1),t<0)return null;const l=n[t];return l.viewContainerParent=null,Ip(n,t),xh.dirtyParentQueries(l),Sp(l),l}function wp(e,t,n){const l=t?$h(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(l),i=n.renderer.nextSibling(l);Xh(n,2,r,i,void 0)}function Sp(e){Xh(e,3,null,null,void 0)}function _p(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ip(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const Ep=new Object;function Dp(e,t,n,l,r,i){return new kp(e,t,n,l,r,i)}function xp(e){return e.viewDefFactory}class kp extends fd{constructor(e,t,n,l,r,i){super(),this.selector=e,this.componentType=t,this._inputs=l,this._outputs=r,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,l){if(!l)throw new Error("ngModule should be provided");const r=Jh(this.viewDefFactory),i=r.nodes[0].element.componentProvider.nodeIndex,o=xh.createRootView(e,t||[],n,r,l,Ep),s=_h(o,i).instance;return n&&o.renderer.setAttribute(Sh(o,0).renderElement,"ng-version",qd.full),new Ap(o,new Np(o),s)}}class Ap extends pd{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Od(Sh(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Fp(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Tp(e,t,n){return new Rp(e,t,n)}class Rp{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Od(this._data.renderElement)}get injector(){return new Fp(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=zh(e),e=e.parent;return e?new Fp(e,t):new Fp(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Cp(this._data,e);xh.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Np(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const l=e.createEmbeddedView(t||{});return this.insert(l,n),l}createComponent(e,t,n,l,r){const i=n||this.parentInjector;r||e instanceof Cd||(r=i.get(wd));const o=e.create(i,l,void 0,r);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,l){let r=t.viewContainer._embeddedViews;null==n&&(n=r.length),l.viewContainerParent=e,_p(r,n,l),function(e,t){const n=Uh(t);if(!n||n===e||16&t.state)return;t.state|=16;let l=n.template._projectedViews;l||(l=n.template._projectedViews=[]),l.push(t),function(e,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let l=n.parent;for(;l;)l.childFlags|=4,l=l.parent}(0,t.parentNodeDef)}(t,l),xh.dirtyParentQueries(l),wp(t,n>0?r[n-1]:null,l)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,l){const r=e.viewContainer._embeddedViews,i=r[n];Ip(r,n),null==l&&(l=r.length),_p(r,l,i),xh.dirtyParentQueries(i),Sp(i),wp(e,l>0?r[l-1]:null,i)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Cp(this._data,e);t&&xh.destroyView(t)}detach(e){const t=Cp(this._data,e);return t?new Np(t):null}}function Op(e){return new Np(e)}class Np{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Xh(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Bh(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{xh.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){xh.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),xh.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Sp(this._view),xh.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Pp(e,t){return new Mp(e,t)}class Mp extends ch{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Np(xh.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Od(Sh(this._parentView,this._def.nodeIndex).renderElement)}}function Lp(e,t){return new Fp(e,t)}class Fp{constructor(e,t){this.view=e,this.elDef=t}get(e,t=xe.THROW_IF_NOT_FOUND){return xh.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Th(e)},t)}}function Vp(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Sh(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return wh(e,n.nodeIndex).renderText;if(20240&n.flags)return _h(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function Bp(e){return new jp(e.renderer)}class jp{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,l]=ip(t),r=this.delegate.createElement(l,n);return e&&this.delegate.appendChild(e,r),r}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;ne())}onDestroy(e){this._destroyListeners.push(e)}}const zp=Th(Fd),$p=Th(Hd),qp=Th(Od),Wp=Th(ph),Gp=Th(ch),Kp=Th(rh),Zp=Th(xe),Qp=Th(Ee);function Yp(e,t,n,l,r,i,o,s){const a=[];if(o)for(let c in o){const[e,t]=o[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(s)for(let c in s)u.push({type:1,propName:c,target:null,eventName:s[c]});return ef(e,t|=16384,n,l,r,r,i,a,u)}function Jp(e,t,n){return ef(-1,e|=16,null,0,t,t,n)}function Xp(e,t,n,l,r){return ef(-1,e,t,0,n,l,r)}function ef(e,t,n,l,r,i,o,s,a){const{matchedQueries:u,references:c,matchedQueryIds:d}=Kh(n);a||(a=[]),s||(s=[]),i=L(i);const h=Zh(o,N(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:l,bindings:s,bindingFlags:op(s),outputs:a,element:null,provider:{token:r,value:i,deps:h},text:null,query:null,ngContent:null}}function tf(e,t){return of(e,t)}function nf(e,t){let n=e;for(;n.parent&&!qh(n);)n=n.parent;return sf(n.parent,zh(n),!0,t.provider.value,t.provider.deps)}function lf(e,t){const n=sf(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let l=0;lHh(e,t,n,l)}function of(e,t){const n=(8192&t.flags)>0,l=t.provider;switch(201347067&t.flags){case 512:return sf(e,t.parent,n,l.value,l.deps);case 1024:return function(e,t,n,l,r){const i=r.length;switch(i){case 0:return l();case 1:return l(uf(e,t,n,r[0]));case 2:return l(uf(e,t,n,r[0]),uf(e,t,n,r[1]));case 3:return l(uf(e,t,n,r[0]),uf(e,t,n,r[1]),uf(e,t,n,r[2]));default:const o=Array(i);for(let l=0;lNc(q(vf))}),vf=new we("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>nn});class yf extends fd{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors[0][0],this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return gf(this.componentDef.inputs)}get outputs(){return gf(this.componentDef.outputs)}create(e,t,n,l){const r=void 0===n,i=(l=l||this.ngModule)?function(e,t){return{get:(n,l,r)=>{const i=e.get(n,af,r);return i!==af||l===af?i:t.get(n,l,r)}}}(e,l.injector):e,o=i.get(Bd,er),s=i.get(Bi,null),a=r?ys(this.selector,o.createRenderer(null,this.componentDef)):Rs(o,n),u=this.componentDef.onPush?576:528,c="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d=r||c?Nc():i.get(mf),h=o.createRenderer(a,this.componentDef);n&&a&&(Xl(h)?h.setAttribute(a,"ng-version",qd.full):a.setAttribute("ng-version",qd.full));const p=bs(null,Ts(-1,null,1,0,null,null,null,null),d,u,null,null,o,h,s,i),f=Ul(p,null);let g,m;try{const e=Rc(a,this.componentDef,p,o,h);m=jn(0,p),t&&(m.projection=t.map(e=>Array.from(e))),g=Oc(e,this.componentDef,p,d,[Pc]),Gs(p,e),ms(p)}finally{$l(f)}const v=new bf(this.componentType,g,kd(Od,m,p),p,m);return r&&(v.hostView._tViewNode.child=m),v}}class bf extends pd{constructor(e,t,n,l,r){super(),this.location=n,this._rootLView=l,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Id(l),this.hostView._tViewNode=ws(l[dn],null,-1,l),this.componentType=e}get injector(){return new Kr(this._tNode,this._rootLView)}destroy(){this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy()}onDestroy(e){this.destroyCbs.push(e)}}function Cf(e,t){for(let n=0;n0&&o!==s&&c.push(o.index<<3|0);const d=[],h=[],p=function(e,t){if("number"!=typeof t)return Ff(e);{const n=e.indexOf(`:${t}${Sf}`)+2+t.toString().length,l=e.search(new RegExp(`${Sf}\\/\\*\\d+:${t}${Sf}`));return Ff(e.substring(n,l))}}(n,l).split(Ef);for(let f=0;f{const i=l||r;if(!e[i]){const t=[];i.split("|").forEach(e=>{const n=e.match(Pf),l=n?parseInt(n[1],10):kf,r=Nf.test(e);t.push([l,r,e])}),e[i]=t}if(!e[i].length)throw new Error(`i18n postprocess: unmatched placeholder - ${i}`);const o=t[t.length-1],s=e[i];let a=0;for(let e=0;e!!e[t].length))throw new Error(`i18n postprocess: unmatched values - ${JSON.stringify(e)}`)}return Object.keys(t).length?n=(n=n.replace(Rf,(e,n,l,r,i,o)=>t.hasOwnProperty(l)?`${n}${t[l]}${o}`:e)).replace(Of,(e,n)=>{if(t.hasOwnProperty(n)){const l=t[n];if(!l.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return l.shift()}return e}):n}function Kf(){!function(e){const t=fl(),n=jf[Hf--],l=e.data[n+An];let r=Dl();const i=Qf(n,l.create,0,t);for(let o=n+1;o<=r.index-An;o++)-1===i.indexOf(o)&&Yf(o,t)}(fl()[dn])}function Zf(e,t,n,l){const r=Dl(),i=Cs(e,t,n,l,null);return r.next===i&&(r.next=null),i}function Qf(e,t,n,l){const r=fl()[Sn];let i=null,o=null;const s=[];for(let a=0;a>>17;let u;o=Wf(i,u=r===e?l[mn]:jn(r,l),o);break;case 0:const c=n>>>3;s.push(c),o=i,(i=jn(c,l))&&(xl(i),3===i.type&&Tl(!0));break;case 5:o=i=jn(n>>>3,l),xl(i),Tl(!1);break;case 4:uu(n>>>3,t[++a],t[++a]);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}else switch(n){case to:const e=t[++a],u=t[++a],c=r.createComment(e);o=i,i=Zf(u,5,c,null),s.push(u),rr(c,l),i.activeCaseIndex=null,Tl(!1);break;case eo:const d=t[++a],h=t[++a];o=i,i=Zf(h,3,r.createElement(d),d),s.push(h);break;default:throw new Error(`Unable to determine the type of mutate operation for "${n}"`)}}return Tl(!1),s}function Yf(e,t){const n=jn(e,t),l=Vn(e,t);l&&Ra(t[Sn],l);const r=Ha(e);if(Fn(r)){const e=r;0!==n.type&&Ra(t[Sn],e[On])}}function Jf(e,t,n){$f(e,t,n),Kf()}function Xf(e,t){const n=fl()[dn];n.firstTemplatePass&&null===n.data[e+An]&&function(e,t,n){const l=Dl().index-An,r=[];for(let i=0;i>>2;let d,h,p;switch(3&a){case 1:uu(c,t[++u],o,t[++u]);break;case 0:dc(c,o);break;case 2:if(h=n[d=t[++u]],null!==(p=jn(c,i)).activeCaseIndex){const e=h.remove[p.activeCaseIndex];for(let t=0;t>>3,i);break;case 6:const r=jn(e[t+1]>>>3,i).activeCaseIndex;null!==r&&Cf(n[l>>>3].remove[r],e)}}}const f=ig(h,o);p.activeCaseIndex=-1!==f?f:null,Qf(-1,h.create[f],0,i),s=!0;break;case 3:h=n[d=t[++u]],p=jn(c,i),e(h.update[p.activeCaseIndex],n,l,r,i,s)}}}}a+=c}}(l,r,t[vn]-tg-1,eg,t),eg=0,tg=0}}const rg=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}();function ig(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const l=function(e,n){switch(function(e,t){"string"==typeof t&&(t=parseInt(t,10));const n=t,l=n.toString().replace(/^[^.]*\.?/,""),r=Math.floor(Math.abs(n)),i=l.length,o=parseInt(l,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.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?rg.One:rg.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?rg.One:rg.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?rg.One:rg.Other;case"ar":return 0===n?rg.Zero:1===n?rg.One:2===n?rg.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?rg.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?rg.Many:rg.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===r&&0===i?rg.One:rg.Other;case"be":return n%10==1&&n%100!=11?rg.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?rg.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?rg.Many:rg.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?rg.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?rg.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)?rg.Few:0!==n&&n%1e6==0?rg.Many:rg.Other;case"bs":case"hr":case"sr":return 0===i&&r%10==1&&r%100!=11||o%10==1&&o%100!=11?rg.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?rg.Few:rg.Other;case"cs":case"sk":return 1===r&&0===i?rg.One:r===Math.floor(r)&&r>=2&&r<=4&&0===i?rg.Few:0!==i?rg.Many:rg.Other;case"cy":return 0===n?rg.Zero:1===n?rg.One:2===n?rg.Two:3===n?rg.Few:6===n?rg.Many:rg.Other;case"da":return 1===n||0!==s&&(0===r||1===r)?rg.One:rg.Other;case"dsb":case"hsb":return 0===i&&r%100==1||o%100==1?rg.One:0===i&&r%100==2||o%100==2?rg.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4?rg.Few:rg.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?rg.One:rg.Other;case"fil":return 0===i&&(1===r||2===r||3===r)||0===i&&r%10!=4&&r%10!=6&&r%10!=9||0!==i&&o%10!=4&&o%10!=6&&o%10!=9?rg.One:rg.Other;case"ga":return 1===n?rg.One:2===n?rg.Two:n===Math.floor(n)&&n>=3&&n<=6?rg.Few:n===Math.floor(n)&&n>=7&&n<=10?rg.Many:rg.Other;case"gd":return 1===n||11===n?rg.One:2===n||12===n?rg.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?rg.Few:rg.Other;case"gv":return 0===i&&r%10==1?rg.One:0===i&&r%10==2?rg.Two:0!==i||r%100!=0&&r%100!=20&&r%100!=40&&r%100!=60&&r%100!=80?0!==i?rg.Many:rg.Other:rg.Few;case"he":return 1===r&&0===i?rg.One:2===r&&0===i?rg.Two:0!==i||n>=0&&n<=10||n%10!=0?rg.Other:rg.Many;case"is":return 0===s&&r%10==1&&r%100!=11||0!==s?rg.One:rg.Other;case"ksh":return 0===n?rg.Zero:1===n?rg.One:rg.Other;case"kw":case"naq":case"se":case"smn":return 1===n?rg.One:2===n?rg.Two:rg.Other;case"lag":return 0===n?rg.Zero:0!==r&&1!==r||0===n?rg.Other:rg.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)?rg.Few:0!==o?rg.Many:rg.Other:rg.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=19?rg.Zero:n%10==1&&n%100!=11||2===i&&o%10==1&&o%100!=11||2!==i&&o%10==1?rg.One:rg.Other;case"mk":return 0===i&&r%10==1||o%10==1?rg.One:rg.Other;case"mt":return 1===n?rg.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?rg.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?rg.Many:rg.Other;case"pl":return 1===r&&0===i?rg.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?rg.Few:0===i&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?rg.Many:rg.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?rg.One:rg.Other;case"ro":return 1===r&&0===i?rg.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?rg.Few:rg.Other;case"ru":case"uk":return 0===i&&r%10==1&&r%100!=11?rg.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?rg.Few:0===i&&r%10==0||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?rg.Many:rg.Other;case"shi":return 0===r||1===n?rg.One:n===Math.floor(n)&&n>=2&&n<=10?rg.Few:rg.Other;case"si":return 0===n||1===n||0===r&&1===o?rg.One:rg.Other;case"sl":return 0===i&&r%100==1?rg.One:0===i&&r%100==2?rg.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==i?rg.Few:rg.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?rg.One:rg.Other;default:return rg.Other}}("en-US",t)){case rg.Zero:return"zero";case rg.One:return"one";case rg.Two:return"two";case rg.Few:return"few";case rg.Many:return"many";default:return"other"}}();-1===(n=e.cases.indexOf(l))&&"other"!==l&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return n}function og(e,t,n,l){const r=[],i=[],o=[],s=[],a=[];for(let u=0;ut[n]||""):e}const pg={provide:yd,useClass:class extends yd{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Zt(e);return new yf(t,this.ngModule)}},deps:[wd]};class fg extends wd{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const n=Xt(e);this._bootstrapComponents=un(n.bootstrap),this._r3Injector=Jc(e,t,[{provide:wd,useValue:this},pg],N(e)),this.instance=this.get(e)}get(e,t=xe.THROW_IF_NOT_FOUND,n=_.Default){return e===xe||e===wd||e===Ee?this:this._r3Injector.get(e,t,n)}get componentFactoryResolver(){return this.get(yd)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class gg extends Sd{constructor(e){super(),this.moduleType=e}create(e){return new fg(this.moduleType,e)}}function mg(e,t,n,l){return At(()=>{const r=e,i=r.prototype?Object.getPrototypeOf(r.prototype):null,o=i&&i.constructor;null!==t&&(void 0===r.decorators||o&&o.decorators===r.decorators?r.decorators=t:r.decorators.push(...t)),null!==n&&(r.ctorParameters=n),null!==l&&(r.propDecorators=void 0===r.propDecorators||o&&o.propDecorators===r.propDecorators?l:Object.assign({},r.propDecorators,l))})}function vg(e,t,n){const l=Fl()+e,r=fl();return Rl()?Pu(r,l,n?t.call(n):t()):Mu(r,l)}function yg(e,t,n,l){const r=fl(),i=Fl()+e;return Lu(r,i,n)?Pu(r,i+1,l?t.call(l,n):t(n)):Mu(r,i+1)}function bg(e,t,n,l,r){const i=Fl()+e,o=fl();return Fu(o,i,n,l)?Pu(o,i+2,r?t.call(r,n,l):t(n,l)):Mu(o,i+2)}function Cg(e,t,n,l,r,i){const o=Fl()+e,s=fl();return Vu(s,o,n,l,r)?Pu(s,o+3,i?t.call(i,n,l,r):t(n,l,r)):Mu(s,o+3)}function wg(e,t,n,l,r,i,o){const s=Fl()+e,a=fl();return Bu(a,s,n,l,r,i)?Pu(a,s+4,o?t.call(o,n,l,r,i):t(n,l,r,i)):Mu(a,s+4)}function Sg(e,t,n,l,r,i,o,s){const a=Fl()+e,u=fl(),c=Bu(u,a,n,l,r,i);return Lu(u,a+4,o)||c?Pu(u,a+5,s?t.call(s,n,l,r,i,o):t(n,l,r,i,o)):Mu(u,a+5)}function _g(e,t,n,l,r,i,o,s,a){const u=Fl()+e,c=fl(),d=Bu(c,u,n,l,r,i);return Fu(c,u+4,o,s)||d?Pu(c,u+6,a?t.call(a,n,l,r,i,o,s):t(n,l,r,i,o,s)):Mu(c,u+6)}function Ig(e,t,n,l,r,i,o,s,a,u){const c=Fl()+e,d=fl();let h=Bu(d,c,n,l,r,i);return Vu(d,c+4,o,s,a)||h?Pu(d,c+7,u?t.call(u,n,l,r,i,o,s,a):t(n,l,r,i,o,s,a)):Mu(d,c+7)}function Eg(e,t,n,l,r,i,o,s,a,u,c){const d=Fl()+e,h=fl(),p=Bu(h,d,n,l,r,i);return Bu(h,d+4,o,s,a,u)||p?Pu(h,d+8,c?t.call(c,n,l,r,i,o,s,a,u):t(n,l,r,i,o,s,a,u)):Mu(h,d+8)}function Dg(e,t,n,l){let r=Fl()+e,i=!1;const o=fl();for(let s=0;s=0;n--){const l=t[n];if(e===l.name)return l}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=l,l.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,l.onDestroy)):l=n.data[r];const i=l.factory(null);return Ba(e,i),i}function kg(e,t,n){const l=Ha(e);return Pg(Ng(e)?yg(t,l.transform,n,l):l.transform(n))}function Ag(e,t,n,l){const r=Ha(e);return Pg(Ng(e)?bg(t,r.transform,n,l,r):r.transform(n,l))}function Tg(e,t,n,l,r){const i=Ha(e);return Pg(Ng(e)?Cg(t,i.transform,n,l,r,i):i.transform(n,l,r))}function Rg(e,t,n,l,r,i){const o=Ha(e);return Pg(Ng(e)?wg(t,o.transform,n,l,r,i,o):o.transform(n,l,r,i))}function Og(e,t,n){const l=Ha(e);return Pg(Ng(e)?Dg(t,l.transform,n,l):l.transform.apply(l,n))}function Ng(e){return fl()[dn].data[e+An].pure}function Pg(e){if(Ru.isWrapped(e)){e=Ru.unwrap(e);const t=fl();t[t[vn]]=lo}return e}class Mg extends l.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let l,i=e=>null,o=()=>null;e&&"object"==typeof e?(l=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(l=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(l,i,o);return e instanceof r.a&&e.add(s),s}}class Lg{constructor(){this.dirty=!0,this._results=[],this.changes=new Mg,this.length=0}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}[ku()](){return this._results[ku()]()}toString(){return this._results.toString()}reset(e){this._results=wf(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Fg{constructor(e,t,n){this.parent=e,this.shallow=t,this.deep=n}track(e,t,n,l){n?this.deep=Zg(this.deep,e,t,null!=l?l:null):this.shallow=Zg(this.shallow,e,t,null!=l?l:null)}clone(){return new Fg(this,null,this.deep)}container(){const e=Vg(this.shallow),t=Vg(this.deep);return e||t?new Fg(this,e,t):null}createView(){const e=Bg(this.shallow),t=Bg(this.deep);return e||t?new Fg(this,e,t):null}insertView(e){jg(e,this.shallow),jg(e,this.deep)}addNode(e){Wg(this.deep,e,!1),Wg(this.shallow,e,!1)}insertNodeBeforeViews(e){Wg(this.deep,e,!0),Wg(this.shallow,e,!0)}removeView(){Hg(this.shallow),Hg(this.deep)}}function Vg(e){let t=null;for(;e;){const n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function Bg(e){let t=null;for(;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function jg(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t.values.length&&t.list.setDirty(),t=t.next}function Hg(e){for(;e;){const t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function Ug(e,t){const n=e.localNames;if(n)for(let l=0;l-1?qr(t[dn].data,t,l,e):function(e,t){return 3===e.type||4===e.type?kd(Od,e,t):0===e.type?Ad(ch,Od,e,t):null}(e,t)}function Wg(e,t,n){const l=fl();for(;e;){const r=e.predicate,i=r.type;if(i){let o=null;if(i===ch)o=$g(i,t,l,r.read);else{const e=$r(t,l,i,!1,!1);null!==e&&(o=qg(t,l,r.read,e))}null!==o&&Gg(e,o,n)}else{const i=r.selector;for(let o=0;o({"\u0275\u0275defineBase":Wt,"\u0275\u0275defineComponent":Bt,"\u0275\u0275defineDirective":Gt,"\u0275\u0275defineInjectable":D,"\u0275\u0275defineInjector":k,"\u0275\u0275defineNgModule":zt,"\u0275\u0275definePipe":Kt,"\u0275\u0275directiveInject":Ua,"\u0275\u0275getFactoryOf":Zr,"\u0275\u0275getInheritedFactory":Qr,"\u0275\u0275inject":q,"\u0275\u0275injectAttribute":za,"\u0275\u0275templateRefExtractor":rm,"\u0275\u0275NgOnChangesFeature":Fc,"\u0275\u0275ProvidersFeature":hd,"\u0275\u0275InheritDefinitionFeature":Uc,"\u0275\u0275elementAttribute":uu,"\u0275\u0275bind":Hu,"\u0275\u0275container":Na,"\u0275\u0275nextContext":_u,"\u0275\u0275containerRefreshStart":Ma,"\u0275\u0275containerRefreshEnd":La,"\u0275\u0275namespaceHTML":Yl,"\u0275\u0275namespaceMathML":Ql,"\u0275\u0275namespaceSVG":Zl,"\u0275\u0275enableBindings":hl,"\u0275\u0275disableBindings":pl,"\u0275\u0275allocHostVars":ca,"\u0275\u0275elementStart":ou,"\u0275\u0275elementEnd":su,"\u0275\u0275element":au,"\u0275\u0275elementContainerStart":du,"\u0275\u0275elementContainerEnd":hu,"\u0275\u0275pureFunction0":vg,"\u0275\u0275pureFunction1":yg,"\u0275\u0275pureFunction2":bg,"\u0275\u0275pureFunction3":Cg,"\u0275\u0275pureFunction4":wg,"\u0275\u0275pureFunction5":Sg,"\u0275\u0275pureFunction6":_g,"\u0275\u0275pureFunction7":Ig,"\u0275\u0275pureFunction8":Eg,"\u0275\u0275pureFunctionV":Dg,"\u0275\u0275getCurrentView":gu,"\u0275\u0275restoreView":El,"\u0275\u0275interpolation1":qu,"\u0275\u0275interpolation2":Wu,"\u0275\u0275interpolation3":Gu,"\u0275\u0275interpolation4":Ku,"\u0275\u0275interpolation5":Zu,"\u0275\u0275interpolation6":Qu,"\u0275\u0275interpolation7":Yu,"\u0275\u0275interpolation8":Ju,"\u0275\u0275interpolationV":$u,"\u0275\u0275listener":yu,"\u0275\u0275load":Ha,"\u0275\u0275projection":Du,"\u0275\u0275elementProperty":Uu,"\u0275\u0275componentHostSyntheticProperty":zu,"\u0275\u0275componentHostSyntheticListener":bu,"\u0275\u0275pipeBind1":kg,"\u0275\u0275pipeBind2":Ag,"\u0275\u0275pipeBind3":Tg,"\u0275\u0275pipeBind4":Rg,"\u0275\u0275pipeBindV":Og,"\u0275\u0275projectionDef":Eu,"\u0275\u0275property":ju,"\u0275\u0275propertyInterpolate":Xu,"\u0275\u0275propertyInterpolate1":ec,"\u0275\u0275propertyInterpolate2":tc,"\u0275\u0275propertyInterpolate3":nc,"\u0275\u0275propertyInterpolate4":lc,"\u0275\u0275propertyInterpolate5":rc,"\u0275\u0275propertyInterpolate6":ic,"\u0275\u0275propertyInterpolate7":oc,"\u0275\u0275propertyInterpolate8":sc,"\u0275\u0275propertyInterpolateV":ac,"\u0275\u0275pipe":xg,"\u0275\u0275queryRefresh":Yg,"\u0275\u0275viewQuery":Xg,"\u0275\u0275staticViewQuery":Jg,"\u0275\u0275staticContentQuery":nm,"\u0275\u0275loadViewQuery":em,"\u0275\u0275contentQuery":tm,"\u0275\u0275loadContentQuery":lm,"\u0275\u0275reference":ja,"\u0275\u0275elementHostAttrs":cu,"\u0275\u0275elementStyling":$a,"\u0275\u0275elementStylingMap":Xa,"\u0275\u0275elementStyleProp":Ga,"\u0275\u0275elementStylingApply":tu,"\u0275\u0275elementClassProp":Qa,"\u0275\u0275elementHostStyling":qa,"\u0275\u0275elementHostStylingMap":eu,"\u0275\u0275elementHostStyleProp":Ka,"\u0275\u0275elementHostStylingApply":nu,"\u0275\u0275elementHostClassProp":Ya,"\u0275\u0275select":uc,"\u0275\u0275template":Pa,"\u0275\u0275text":cc,"\u0275\u0275textBinding":dc,"\u0275\u0275embeddedViewStart":pu,"\u0275\u0275embeddedViewEnd":fu,"\u0275\u0275i18n":Jf,"\u0275\u0275i18nAttributes":Xf,"\u0275\u0275i18nExp":ng,"\u0275\u0275i18nStart":$f,"\u0275\u0275i18nEnd":Kf,"\u0275\u0275i18nApply":lg,"\u0275\u0275i18nPostprocess":Gf,"\u0275\u0275i18nLocalize":hg,"\u0275\u0275resolveWindow":ln,"\u0275\u0275resolveDocument":rn,"\u0275\u0275resolveBody":on,"\u0275\u0275setComponentScope":jt,"\u0275\u0275setNgModuleScope":$t,"\u0275\u0275sanitizeHtml":zi,"\u0275\u0275sanitizeStyle":$i,"\u0275\u0275defaultStyleSanitizer":Qi,"\u0275\u0275sanitizeResourceUrl":Wi,"\u0275\u0275sanitizeScript":Gi,"\u0275\u0275sanitizeUrl":qi,"\u0275\u0275sanitizeUrlOrResourceUrl":Zi,"\u0275registerNgModuleType":um}))(),gm=[],mm=[];let vm=!1;function ym(){if(!vm){vm=!0;try{for(let e=mm.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=mm[e];n.declarations&&n.declarations.every(bm)&&(mm.splice(e,1),Em(t,n))}}finally{vm=!1}}}function bm(e){return Array.isArray(e)?e.every(bm):!!L(e)}function Cm(e,t={}){wm(e,t),function(e,t){mm.push({moduleType:e,ngModule:t})}(e,t)}function wm(e,t){const n=wf(t.declarations||gm);let l=null;Object.defineProperty(e,Mt,{configurable:!0,get:()=>(null===l&&(l=B().compileNgModule(fm,`ng:///${e.name}/ngModuleDef.js`,{type:e,bootstrap:wf(t.bootstrap||gm).map(L),declarations:n.map(L),imports:wf(t.imports||gm).map(L).map(km),exports:wf(t.exports||gm).map(L).map(km),emitInline:!0,schemas:t.schemas?wf(t.schemas):null})),l)}),t.id&&um(t.id,e);let r=null;Object.defineProperty(e,O,{get:()=>{if(null===r){const n={name:e.name,type:e,deps:se(e),providers:t.providers||gm,imports:[(t.imports||gm).map(L),(t.exports||gm).map(L)]};r=B().compileInjector(fm,`ng:///${e.name}/ngInjectorDef.js`,n)}return r},configurable:!1})}let Sm=new Map,_m=new Map;function Im(){Sm=new Map,_m=new Map,mm.length=0}function Em(e,t){const n=wf(t.declarations||gm),l=xm(e);n.forEach(t=>{t.hasOwnProperty(Ot)?Dm(Zt(t),l):t.hasOwnProperty(Nt)||t.hasOwnProperty(Pt)||(t.ngSelectorScope=e)})}function Dm(e,t){e.directiveDefs=(()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(Ot)?Zt(e):Qt(e)).filter(e=>!!e)),e.pipeDefs=(()=>Array.from(t.compilation.pipes).map(e=>Yt(e))),e.schemas=t.schemas,e.template.ngPrivateData=void 0}function xm(e,t){if(!Am(e))throw new Error(`${e.name} does not have an ngModuleDef`);const n=Xt(e);if(null!==n.transitiveCompileScopes)return n.transitiveCompileScopes;const l={schemas:n.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return un(n.declarations).forEach(e=>{Yt(e)?l.compilation.pipes.add(e):l.compilation.directives.add(e)}),un(n.imports).forEach(e=>{const n=e;if(!Am(n))throw new Error(`Importing ${n.name} which does not have an ngModuleDef`);t&&t(n);const r=xm(n,t);r.exported.directives.forEach(e=>l.compilation.directives.add(e)),r.exported.pipes.forEach(e=>l.compilation.pipes.add(e))}),un(n.exports).forEach(e=>{const n=e;if(Am(n)){const e=xm(n,t);e.exported.directives.forEach(e=>{l.compilation.directives.add(e),l.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{l.compilation.pipes.add(e),l.exported.pipes.add(e)})}else Yt(n)?l.exported.pipes.add(n):l.exported.directives.add(n)}),n.transitiveCompileScopes=l,l}function km(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Am(e){return!!Xt(e)}function Tm(e,t){let n=null;!function(e,t){Et(t)&&(_t.set(e,t),It.add(e))}(e,t),Object.defineProperty(e,Ot,{get:()=>{const l=B();if(null===n){if(Et(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=t.templateUrl||`ng:///${e.name}/template.html`,i=Object.assign({},Nm(e,t),{typeSourceSpan:l.createParseSourceSpan("Component",e.name,r),template:t.template||"",preserveWhitespaces:t.preserveWhitespaces||!1,styles:t.styles||Rt,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:t.encapsulation||kt.Emulated,interpolation:t.interpolation,viewProviders:t.viewProviders||null});if(i.usesInheritance&&Pm(e),n=l.compileComponent(fm,r,i),ym(),function(t){return void 0!==e.ngSelectorScope}()){const t=xm(e.ngSelectorScope);Dm(n,t)}}return n},configurable:!1}),ue(e)}function Rm(e,t){let n=null;Object.defineProperty(e,Nt,{get:()=>{if(null===n){const l=e&&e.name,r=`ng:///${l}/ngDirectiveDef.js`,i=B(),o=Nm(e,t);o.typeSourceSpan=i.createParseSourceSpan("Directive",l,r),o.usesInheritance&&Pm(e),n=i.compileDirective(fm,r,o)}return n},configurable:!1}),ue(e)}function Om(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Nm(e,t){const n=oe().ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:se(e),host:t.host||Tt,propMetadata:n,inputs:t.inputs||Rt,outputs:t.outputs||Rt,queries:Vm(e,n,Bm),lifecycle:{usesOnChanges:e.prototype.hasOwnProperty("ngOnChanges")},typeSourceSpan:null,usesInheritance:!Om(e),exportAs:(l=t.exportAs,void 0===l?null:l.split(",").map(e=>e.trim())),providers:t.providers||null,viewQueries:Vm(e,n,jm)};var l}function Pm(e){const t=Object.prototype;let n=Object.getPrototypeOf(e);for(;n&&n!==t;){if(!Qt(n)&&!Zt(n)&&!Jt(n)){const e=Lm(n);e&&Mm(n,e)}n=Object.getPrototypeOf(n)}}function Mm(e,t){let n=null;Object.defineProperty(e,Lt,{get:()=>{if(null===n){const l=`ng://${e&&e.name}/ngBaseDef.js`,r=B();n=r.compileBase(fm,l,t)}return n},configurable:!1})}function Lm(e){const t=oe().ownPropMetadata(e),n=Vm(e,t,jm),l=Vm(e,t,Bm);let r,i;for(const o in t)t[o].forEach(e=>{"Input"===e.ngMetadataName?(r=r||{})[o]=e.bindingPropertyName?[e.bindingPropertyName,o]:o:"Output"===e.ngMetadataName&&((i=i||{})[o]=e.bindingPropertyName||o)});return r||i||n.length||l.length?{inputs:r,outputs:i,viewQueries:n,queries:l}:null}function Fm(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?n.split(",").map(e=>e.trim()):L(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static};var n}function Vm(e,t,n){const l=[];for(const r in t)if(t.hasOwnProperty(r)){const i=t[r];i.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of `+`"${tn(e)}" since the query selector wasn't defined.`);if(i.some(Hm))throw new Error("Cannot combine @Input decorators with query decorators");l.push(Fm(r,t))}})}return l}function Bm(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function jm(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Hm(e){return"Input"===e.ngMetadataName}function Um(e,t){let n=null;Object.defineProperty(e,Pt,{get:()=>{if(null===n){const l=e.name;n=B().compilePipe(fm,`ng:///${l}/ngPipeDef.js`,{type:e,typeArgumentCount:0,name:l,deps:se(e),pipeName:t.name,pure:void 0===t.pure||t.pure})}return n},configurable:!1})}const zm=p("Directive",(e={})=>e,void 0,void 0,(e,t)=>ev(e,t)),$m=p("Component",(e={})=>Object.assign({changeDetection:bt.Default},e),zm,void 0,(e,t)=>Xm(e,t)),qm=p("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>tv(e,t)),Wm=m("Input",e=>({bindingPropertyName:e})),Gm=m("Output",e=>({bindingPropertyName:e})),Km=m("HostBinding",e=>({hostPropertyName:e})),Zm=m("HostListener",(e,t)=>({eventName:e,args:t})),Qm=Tm,Ym=Rm,Jm=Um,Xm=Rd,ev=Rd,tv=Rd,nv=p("NgModule",e=>e,void 0,void 0,(e,t)=>rv(e,t)),lv=Cm,rv=function(e,t){let n=t&&t.imports||[];t&&t.exports&&(n=[...n,t.exports]),e.ngInjectorDef=k({factory:ve(e,{useClass:e}),providers:t&&t.providers,imports:n})},iv=new we("Application Initializer"),ov=(()=>(class{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))(),sv=new we("AppId");function av(){return`${cv()}${cv()}${cv()}`}const uv={provide:sv,useFactory:av,deps:[]};function cv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const dv=new we("Platform Initializer"),hv=new we("Platform ID"),pv=new we("appBootstrapListener"),fv=new we("Application Packages Root URL"),gv=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();class mv{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}function vv(){throw new Error("Runtime compiler is not loaded")}const yv=function(e){return new gg(e)},bv=vv,Cv=function(e){return Promise.resolve(yv(e))},wv=vv,Sv=function(e){const t=yv(e),n=un(Xt(e).declarations).reduce((e,t)=>{const n=Zt(t);return n&&e.push(new yf(n)),e},[]);return new mv(t,n)},_v=vv,Iv=function(e){return Promise.resolve(Sv(e))},Ev=vv,Dv=(()=>(class{constructor(){this.compileModuleSync=bv,this.compileModuleAsync=wv,this.compileModuleAndAllComponentsSync=_v,this.compileModuleAndAllComponentsAsync=Ev}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))(),xv=new we("compilerOptions");class kv{}let Av,Tv;function Rv(){const e=V.wtf;return!(!e||!(Av=e.trace)||(Tv=Av.events,0))}function Ov(e,t=null){return Tv.createScope(e,t)}function Nv(e,t){return Av.leaveScope(e,t),t}function Pv(e,t){return Av.beginTimeRange(e,t)}function Mv(e){Av.endTimeRange(e)}const Lv=Rv(),Fv=Lv?Ov:(e,t)=>(function(e,t){return null}),Vv=Lv?Nv:(e,t)=>t,Bv=Lv?Pv:(e,t)=>null,jv=Lv?Mv:e=>null,Hv=(()=>Promise.resolve(0))();function Uv(e){"undefined"==typeof Zone?Hv.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zv{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mg(!1),this.onMicrotaskEmpty=new Mg(!1),this.onStable=new Mg(!1),this.onError=new Mg(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;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)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,l,r,i,o)=>{try{return Gv(t),e.invokeTask(l,r,i,o)}finally{Kv(t)}},onInvoke:(e,n,l,r,i,o,s)=>{try{return Gv(t),e.invoke(l,r,i,o,s)}finally{Kv(t)}},onHasTask:(e,n,l,r)=>{e.hasTask(l,r),n===l&&("microTask"==r.change?(t.hasPendingMicrotasks=r.microTask,Wv(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,l,r)=>(e.handleError(l,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zv.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zv.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,l){const r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+l,e,qv,$v,$v);try{return r.runTask(i,t,n)}finally{r.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function $v(){}const qv={};function Wv(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Gv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kv(e){e._nesting--,Wv(e)}class Zv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mg,this.onMicrotaskEmpty=new Mg,this.onStable=new Mg,this.onError=new Mg}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}const Qv=(()=>(class{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zv.assertNotInAngularZone(),Uv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Uv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let l=-1;t&&t>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==l),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:l,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}))(),Yv=(()=>{class e{constructor(){this._applications=new Map,ty.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return ty.findTestabilityInTree(this,e,t)}}return e.ctorParameters=(()=>[]),e})();class Jv{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Xv(e){ty=e}let ey,ty=new Jv;function ny(e,t,n){const l=new gg(n);if(0===_t.size)return Promise.resolve(l);const r=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(e.get(xv,[]).concat(t).map(e=>e.providers));if(0===r.length)return Promise.resolve(l);const i=B(),o=xe.create({providers:r}).get(i.ResourceLoader);return St(e=>Promise.resolve(o.get(e))).then(()=>l)}let ly=function(e){return e instanceof Cd};function ry(e){return e.isBoundToModule}const iy=new we("AllowMultipleToken");class oy{constructor(e,t){this.name=e,this.token=t}}function sy(e){if(ey&&!ey.destroyed&&!ey.injector.get(iy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ey=e.get(hy);const t=e.get(dv,null);return t&&t.forEach(e=>e()),ey}function ay(e,t,n=[]){const l=`Platform: ${t}`,r=new we(l);return(t=[])=>{let i=dy();if(!i||i.injector.get(iy,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0});sy(xe.create({providers:e,name:l}))}return uy(r)}}function uy(e){const t=dy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function cy(){ey&&!ey.destroyed&&ey.destroy()}function dy(){return ey&&!ey.destroyed?ey:null}const hy=(()=>(class{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(r=t?t.ngZone:void 0)?new Zv:("zone.js"===r?void 0:r)||new zv({enableLongStackTrace:pi()}),l=[{provide:zv,useValue:n}];var r;return n.run(()=>{const t=xe.create({providers:l,parent:this.injector,name:e.moduleType.name}),r=e.create(t),i=r.injector.get(ei,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>gy(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return mu(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(l){throw t.runOutsideAngular(()=>e.handleError(l)),l}}(i,n,()=>{const e=r.injector.get(ov);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=py({},t);return function(e,t,n){return e.get(kv).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(fy);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${N(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}))();function py(e,t){return Array.isArray(t)?t.reduce(py,e):Object.assign({},e,t)}const fy=(()=>{class e{constructor(e,t,n,l,r,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=l,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=pi(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const d=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),h=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{zv.assertNotInAngularZone(),Uv(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{zv.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(d,h.pipe(e=>Object(a.a)()(Object(s.a)(u)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof fd?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const l=ly(n)?null:this._injector.get(wd),r=n.create(xe.NULL,[],t||n.selector,l);r.onDestroy(()=>{this._unloadComponent(r)});const i=r.injector.get(Qv,null);return i&&r.injector.get(Yv).registerApplication(r.location.nativeElement,i),this._loadComponent(r),pi()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Vv(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;gy(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(pv,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),gy(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Fv("ApplicationRef#tick()"),e})();function gy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const my=!0,vy=!1;class yy{}const by={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Cy=(()=>(class{constructor(e,t){this._compiler=e,this._config=t||by}load(e){return!vy&&this._compiler instanceof Dv?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,l]=e.split("#");return void 0===l&&(l="default"),n("crnd")(t).then(e=>e[l]).then(e=>wy(e,t,l)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,l]=e.split("#"),r="NgFactory";return void 0===l&&(l="default",r=""),n("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[l+r]).then(e=>wy(e,t,l))}}))();function wy(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class Sy extends rh{}class _y extends Sy{}class Iy{constructor(e,t){this.name=e,this.callback=t}}class Ey{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Dy&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Dy extends Ey{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,l){t.childNodes.forEach(t=>{t instanceof Dy&&(n(t)&&l.push(t),e(t,n,l))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,l){t instanceof Dy&&t.childNodes.forEach(t=>{n(t)&&l.push(t),t instanceof Dy&&e(t,n,l)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Dy)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function xy(e){return e.map(e=>e.nativeElement)}class ky{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new Ay(e):null}get injector(){return yc(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(fc(e)||mc(e))}get context(){return gc(this.nativeNode)}get listeners(){return Ic(this.nativeNode).filter(_c)}get references(){return function(e){const t=Cc(e);return void 0===t.localRefs&&(t.localRefs=function(e,n){const l=e[dn].data[t.nodeIndex];if(l&&l.localNames){const t={};let n=l.index+1;for(let r=0;r{n.name===e&&n.callback(t)})}}function Ty(e,t,n,l){const r=Cc(e.nativeNode);Ry(r.lView[dn].data[r.nodeIndex],r.lView,t,n,l,e.nativeNode)}function Ry(e,t,n,l,r,i){if(3===e.type||4===e.type){if(Ny(Bn(e,t),n,l,r,i),zn(e)){const o=Un(e.index,t);o&&o[dn].firstChild&&Ry(o[dn].firstChild,o,n,l,r,i)}else e.child&&Ry(e.child,t,n,l,r,i);const o=t[e.index];Fn(o)&&Oy(o,n,l,r,i)}else if(0===e.type){const o=t[e.index];Ny(o[On],n,l,r,i),Oy(o,n,l,r,i)}else if(1===e.type){const o=Ar(t),s=o[mn].projection[e.projection];if(Array.isArray(s))for(let e of s)Ny(e,n,l,r,i);else if(s){const e=o[pn];Ry(e[dn].data[s.index],e,n,l,r,i)}}else e.child&&Ry(e.child,t,n,l,r,i);const o=2&e.flags?e.projectionNext:e.next;o&&Ry(o,t,n,l,r,i)}function Oy(e,t,n,l,r){for(let i=0;i{for(;t.length;)t.pop()()}),function(e){t.push(e)}}const Qy=(()=>(class{constructor(e){}}))();function Yy(e,t,n,l,r,i){e|=1;const{matchedQueries:o,references:s,matchedQueryIds:a}=Kh(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:a,references:s,ngContentIndex:n,childCount:l,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Jh(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||kh},provider:null,text:null,query:null,ngContent:null}}function Jy(e,t,n,l,r,i,o=[],s,a,u,c,d){u||(u=kh);const{matchedQueries:h,references:p,matchedQueryIds:f}=Kh(n);let g=null,m=null;i&&([g,m]=ip(i)),s=s||[];const v=new Array(s.length);for(let C=0;C{const[n,l]=ip(e);return[n,l,t]});return d=function(e){if(e&&e.id===Oh){const t=null!=e.encapsulation&&e.encapsulation!==kt.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Mh++}`:Nh}return e&&e.id===Nh&&(e=null),e||null}(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:l,childCount:r,bindings:v,bindingFlags:op(v),outputs:y,element:{ns:g,name:m,attrs:b,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||kh},provider:null,text:null,query:null,ngContent:null}}function Xy(e,t,n){const l=n.element,r=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!r){o=l.name?i.createElement(l.name,l.ns):i.createComment("");const r=Qh(e,t,n);r&&i.appendChild(r,o)}else o=i.selectRootElement(r,!!l.componentRendererType&&l.componentRendererType.encapsulation===kt.ShadowDom);if(l.attrs)for(let s=0;sHh(e,t,n,l)}function nb(e,t,n,l){if(!Fh(e,t,n,l))return!1;const r=t.bindings[n],i=Sh(e,t.nodeIndex),o=i.renderElement,s=r.name;switch(15&r.flags){case 1:!function(e,t,n,l,r,i){const o=t.securityContext;let s=o?e.root.sanitizer.sanitize(o,i):i;s=null!=s?s.toString():null;const a=e.renderer;null!=i?a.setAttribute(n,r,s,l):a.removeAttribute(n,r,l)}(e,r,o,r.ns,s,l);break;case 2:!function(e,t,n,l){const r=e.renderer;l?r.addClass(t,n):r.removeClass(t,n)}(e,o,s,l);break;case 4:!function(e,t,n,l,r){let i=e.root.sanitizer.sanitize(Vi.STYLE,r);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const o=e.renderer;null!=i?o.setStyle(n,l,i):o.removeStyle(n,l)}(e,r,o,s,l);break;case 8:!function(e,t,n,l,r){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,r):r;e.renderer.setProperty(n,l,o)}(33554432&t.flags&&32&r.flags?i.componentView:e,r,o,s,l)}return!0}function lb(e,t,n){let l=[];for(let r in n)l.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,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:t,filterId:Gh(t),bindings:l},ngContent:null}}function rb(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Wh(e);){let n=e.parentNodeDef;e=e.parent;const l=n.nodeIndex+n.childCount;for(let r=0;r<=l;r++){const l=e.def.nodes[r];67108864&l.flags&&536870912&l.flags&&(l.query.filterId&t)===l.query.filterId&&Eh(e,r).setDirty(),!(1&l.flags&&r+l.childCount0)u=e,yb(e)||(c=e);else for(;u&&f===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&yb(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||kh,updateRenderer:l||kh,handleEvent:(e,n,l,r)=>t[n].element.handleEvent(e,l,r),bindingCount:r,outputCount:i,lastRenderRootNode:p}}function yb(e){return 0!=(1&e.flags)&&null===e.element.name}function bb(e,t,n){const l=t.element&&t.element.template;if(l){if(!l.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(l.lastRenderRootNode&&16777216&l.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const l=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=l&&t.nodeIndex+t.childCount>l)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Cb(e,t,n,l){const r=_b(e.root,e.renderer,e,t,n);return Ib(r,e.component,l),Eb(r),r}function wb(e,t,n){const l=_b(e,e.renderer,null,null,t);return Ib(l,n,n),Eb(l),l}function Sb(e,t,n,l){const r=t.element.componentRendererType;let i;return i=r?e.root.rendererFactory.createRenderer(l,r):e.root.renderer,_b(e.root,i,e,t.element.componentProvider,n)}function _b(e,t,n,l,r){const i=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:l,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function Ib(e,t,n){e.component=t,e.context=n}function Eb(e){let t;qh(e)&&(t=Sh(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,l=e.nodes;for(let r=0;r0&&nb(e,t,0,n)&&(p=!0),h>1&&nb(e,t,1,l)&&(p=!0),h>2&&nb(e,t,2,r)&&(p=!0),h>3&&nb(e,t,3,i)&&(p=!0),h>4&&nb(e,t,4,o)&&(p=!0),h>5&&nb(e,t,5,s)&&(p=!0),h>6&&nb(e,t,6,a)&&(p=!0),h>7&&nb(e,t,7,u)&&(p=!0),h>8&&nb(e,t,8,c)&&(p=!0),h>9&&nb(e,t,9,d)&&(p=!0),p}(e,t,n,l,r,i,o,s,a,u,c,d);case 2:return function(e,t,n,l,r,i,o,s,a,u,c,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&Fh(e,t,0,n)&&(h=!0),f>1&&Fh(e,t,1,l)&&(h=!0),f>2&&Fh(e,t,2,r)&&(h=!0),f>3&&Fh(e,t,3,i)&&(h=!0),f>4&&Fh(e,t,4,o)&&(h=!0),f>5&&Fh(e,t,5,s)&&(h=!0),f>6&&Fh(e,t,6,a)&&(h=!0),f>7&&Fh(e,t,7,u)&&(h=!0),f>8&&Fh(e,t,8,c)&&(h=!0),f>9&&Fh(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=mb(n,p[0])),f>1&&(h+=mb(l,p[1])),f>2&&(h+=mb(r,p[2])),f>3&&(h+=mb(i,p[3])),f>4&&(h+=mb(o,p[4])),f>5&&(h+=mb(s,p[5])),f>6&&(h+=mb(a,p[6])),f>7&&(h+=mb(u,p[7])),f>8&&(h+=mb(c,p[8])),f>9&&(h+=mb(d,p[9]));const g=wh(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,l,r,i,o,s,a,u,c,d);case 16384:return function(e,t,n,l,r,i,o,s,a,u,c,d){const h=_h(e,t.nodeIndex),p=h.instance;let f=!1,g=void 0;const m=t.bindings.length;return m>0&&Lh(e,t,0,n)&&(f=!0,g=df(e,h,t,0,n,g)),m>1&&Lh(e,t,1,l)&&(f=!0,g=df(e,h,t,1,l,g)),m>2&&Lh(e,t,2,r)&&(f=!0,g=df(e,h,t,2,r,g)),m>3&&Lh(e,t,3,i)&&(f=!0,g=df(e,h,t,3,i,g)),m>4&&Lh(e,t,4,o)&&(f=!0,g=df(e,h,t,4,o,g)),m>5&&Lh(e,t,5,s)&&(f=!0,g=df(e,h,t,5,s,g)),m>6&&Lh(e,t,6,a)&&(f=!0,g=df(e,h,t,6,a,g)),m>7&&Lh(e,t,7,u)&&(f=!0,g=df(e,h,t,7,u,g)),m>8&&Lh(e,t,8,c)&&(f=!0,g=df(e,h,t,8,c,g)),m>9&&Lh(e,t,9,d)&&(f=!0,g=df(e,h,t,9,d,g)),g&&p.ngOnChanges(g),65536&t.flags&&Ch(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,l,r,i,o,s,a,u,c,d);case 32:case 64:case 128:return function(e,t,n,l,r,i,o,s,a,u,c,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&Fh(e,t,0,n)&&(p=!0),f>1&&Fh(e,t,1,l)&&(p=!0),f>2&&Fh(e,t,2,r)&&(p=!0),f>3&&Fh(e,t,3,i)&&(p=!0),f>4&&Fh(e,t,4,o)&&(p=!0),f>5&&Fh(e,t,5,s)&&(p=!0),f>6&&Fh(e,t,6,a)&&(p=!0),f>7&&Fh(e,t,7,u)&&(p=!0),f>8&&Fh(e,t,8,c)&&(p=!0),f>9&&Fh(e,t,9,d)&&(p=!0),p){const p=Ih(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=l),f>2&&(g[2]=r),f>3&&(g[3]=i),f>4&&(g[4]=o),f>5&&(g[5]=s),f>6&&(g[6]=a),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[h[0].name]=n),f>1&&(g[h[1].name]=l),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=i),f>4&&(g[h[4].name]=o),f>5&&(g[h[5].name]=s),f>6&&(g[h[6].name]=a),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(f){case 1:g=e.transform(n);break;case 2:g=e.transform(l);break;case 3:g=e.transform(l,r);break;case 4:g=e.transform(l,r,i);break;case 5:g=e.transform(l,r,i,o);break;case 6:g=e.transform(l,r,i,o,s);break;case 7:g=e.transform(l,r,i,o,s,a);break;case 8:g=e.transform(l,r,i,o,s,a,u);break;case 9:g=e.transform(l,r,i,o,s,a,u,c);break;case 10:g=e.transform(l,r,i,o,s,a,u,c,d)}}p.value=g}return p}(e,t,n,l,r,i,o,s,a,u,c,d);default:throw"unreachable"}}(e,t,l,r,i,o,s,a,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let l=!1;for(let r=0;r0&&Vh(e,t,0,n),h>1&&Vh(e,t,1,l),h>2&&Vh(e,t,2,r),h>3&&Vh(e,t,3,i),h>4&&Vh(e,t,4,o),h>5&&Vh(e,t,5,s),h>6&&Vh(e,t,6,a),h>7&&Vh(e,t,7,u),h>8&&Vh(e,t,8,c),h>9&&Vh(e,t,9,d)}(e,t,l,r,i,o,s,a,u,c,d,h):function(e,t,n){for(let l=0;lnew vC(e,t),handleEvent:cC,updateDirectives:dC,updateRenderer:hC}:{setCurrentNode:()=>{},createRootView:Hb,createEmbeddedView:Cb,createComponentView:Sb,createNgModuleRef:Hp,overrideProvider:kh,overrideComponentView:kh,clearOverrides:kh,checkAndUpdateView:xb,checkNoChangesView:Db,destroyView:Ob,createDebugContext:(e,t)=>new vC(e,t),handleEvent:(e,t,n,l)=>e.def.handleEvent(e,t,n,l),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?eC:tC,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?eC:tC,e)};xh.setCurrentNode=e.setCurrentNode,xh.createRootView=e.createRootView,xh.createEmbeddedView=e.createEmbeddedView,xh.createComponentView=e.createComponentView,xh.createNgModuleRef=e.createNgModuleRef,xh.overrideProvider=e.overrideProvider,xh.overrideComponentView=e.overrideComponentView,xh.clearOverrides=e.clearOverrides,xh.checkAndUpdateView=e.checkAndUpdateView,xh.checkNoChangesView=e.checkNoChangesView,xh.destroyView=e.destroyView,xh.resolveDep=uf,xh.createDebugContext=e.createDebugContext,xh.handleEvent=e.handleEvent,xh.updateDirectives=e.updateDirectives,xh.updateRenderer=e.updateRenderer,xh.dirtyParentQueries=rb}function Hb(e,t,n,l,r,i){const o=r.injector.get(Bd);return wb(zb(e,r,o,t,n),l,i)}function Ub(e,t,n,l,r,i){const o=r.injector.get(Bd),s=zb(e,r,new wC(o),t,n),a=Xb(l);return bC(iC.create,wb,null,[s,a,i])}function zb(e,t,n,l,r){const i=t.injector.get(Bi),o=t.injector.get(ei),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:l,selectorOrNode:r,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:o}}function $b(e,t,n,l){const r=Xb(n);return bC(iC.create,Cb,null,[e,t,r,l])}function qb(e,t,n,l){return n=Zb.get(t.element.componentProvider.provider.token)||Xb(n),bC(iC.create,Sb,null,[e,t,n,l])}function Wb(e,t,n,l){return Hp(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Gb.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const l=Gb.get(e.token);3840&e.flags&&l&&(t=!0,n=n||l.deprecatedBehavior)}),e.modules.forEach(e=>{Kb.forEach((l,r)=>{A(r).providedIn===e&&(t=!0,n=n||l.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t0){let t=new Set(e.modules);Kb.forEach((l,r)=>{if(t.has(A(r).providedIn)){let t={token:r,flags:l.flags|(n?4096:0),deps:Zh(l.deps),value:l.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Th(r)]=t}})}}(e=e.factory(()=>kh)),e):e}(l))}const Gb=new Map,Kb=new Map,Zb=new Map;function Qb(e){let t;Gb.set(e.token,e),"function"==typeof e.token&&(t=A(e.token))&&"function"==typeof t.providedIn&&Kb.set(e.token,e)}function Yb(e,t){const n=Jh(xp(t)),l=Jh(n.nodes[0].element.componentView);Zb.set(e,l)}function Jb(){Gb.clear(),Kb.clear(),Zb.clear()}function Xb(e){if(0===Gb.size)return e;const t=function(e){const t=[];let n=null;for(let l=0;lkh);for(let l=0;l"-"+e[1].toLowerCase())}`)]=Xi(s))}const l=t.parent,s=Sh(e,l.nodeIndex).renderElement;if(l.element.name)for(let t in n){const l=n[t];null!=l?e.renderer.setAttribute(s,t,l):e.renderer.removeAttribute(s,t)}else e.renderer.setValue(s,`bindings=${JSON.stringify(n,null,2)}`)}}var r,i}function fC(e,t,n,l){Tb(e,t,n,...l)}function gC(e,t){for(let n=t;n++i===r?e.error.bind(e,...t):kh),i{const l=new i.a;return l.add(t.schedule(()=>{const r=e[o.a]();l.add(r.subscribe({next(e){l.add(t.schedule(()=>n.next(e)))},error(e){l.add(t.schedule(()=>n.error(e)))},complete(){l.add(t.schedule(()=>n.complete()))}}))})),l})}(e,t);if(Object(u.a)(e))return function(e,t){return new l.a(n=>{const l=new i.a;return l.add(t.schedule(()=>e.then(e=>{l.add(t.schedule(()=>{n.next(e),l.add(t.schedule(()=>n.complete()))}))},e=>{l.add(t.schedule(()=>n.error(e)))}))),l})}(e,t);if(Object(c.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new l.a(n=>{const l=new i.a;let r;return l.add(()=>{r&&"function"==typeof r.return&&r.return()}),l.add(t.schedule(()=>{r=e[a.a](),l.add(t.schedule(function(){if(n.closed)return;let e,t;try{const i=r.next();e=i.value,t=i.done}catch(l){return void n.error(l)}t?n.complete():(n.next(e),this.schedule())}))})),l})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof l.a?e:new l.a(Object(r.a)(e))}n.d(t,"a",function(){return d})},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return l});const l=Array.isArray||(e=>e&&"number"==typeof e.length)},HDdC:function(e,t,n){"use strict";var l=n("7o/Q"),r=n("2QA8"),i=n("gRHU"),o=n("kJWO"),s=n("mCNh"),a=n("2fFW");n.d(t,"a",function(){return u});const u=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:o}=this,s=function(e,t,n){if(e){if(e instanceof l.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new l.a(e,t,n):new l.a(i.a)}(e,t,n);if(s.add(o?o.call(s,this.source):this.source||a.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),a.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){a.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof l.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=c(t))((t,n)=>{let l;l=this.subscribe(t=>{try{e(t)}catch(r){n(r),l&&l.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[o.a](){return this}pipe(...e){return 0===e.length?this:Object(s.b)(e)(this)}toPromise(e){return new(e=c(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=(t=>new e(t)),e})();function c(e){if(e||(e=a.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return l});const l=e=>e&&"number"==typeof e.length&&"function"!=typeof e},KqfI:function(e,t,n){"use strict";function l(){}n.d(t,"a",function(){return l})},Lhse:function(e,t,n){"use strict";function l(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return r});const r=l()},NJ4a:function(e,t,n){"use strict";function l(e){setTimeout(()=>{throw e},0)}n.d(t,"a",function(){return l})},SVse:function(e,t,n){"use strict";n.r(t),n.d(t,"\u0275angular_packages_common_common_e",function(){return yt}),n.d(t,"\u0275angular_packages_common_common_j",function(){return qe}),n.d(t,"\u0275angular_packages_common_common_i",function(){return ze}),n.d(t,"\u0275angular_packages_common_common_h",function(){return Ue}),n.d(t,"\u0275angular_packages_common_common_m",function(){return pt}),n.d(t,"\u0275angular_packages_common_common_l",function(){return dt}),n.d(t,"\u0275angular_packages_common_common_k",function(){return ct}),n.d(t,"\u0275angular_packages_common_common_d",function(){return $}),n.d(t,"\u0275angular_packages_common_common_a",function(){return ke}),n.d(t,"\u0275angular_packages_common_common_b",function(){return Oe}),n.d(t,"\u0275angular_packages_common_common_g",function(){return Ut}),n.d(t,"\u0275angular_packages_common_common_f",function(){return dn}),n.d(t,"\u0275registerLocaleData",function(){return g}),n.d(t,"registerLocaleData",function(){return g}),n.d(t,"formatDate",function(){return ee}),n.d(t,"formatCurrency",function(){return _e}),n.d(t,"formatNumber",function(){return Ee}),n.d(t,"formatPercent",function(){return Ie}),n.d(t,"NgLocaleLocalization",function(){return Re}),n.d(t,"NgLocalization",function(){return Ae}),n.d(t,"Plural",function(){return y}),n.d(t,"NumberFormatStyle",function(){return v}),n.d(t,"FormStyle",function(){return b}),n.d(t,"TranslationWidth",function(){return C}),n.d(t,"FormatWidth",function(){return w}),n.d(t,"NumberSymbol",function(){return S}),n.d(t,"WeekDay",function(){return _}),n.d(t,"getNumberOfCurrencyDigits",function(){return G}),n.d(t,"getCurrencySymbol",function(){return q}),n.d(t,"getLocaleDayPeriods",function(){return E}),n.d(t,"getLocaleDayNames",function(){return D}),n.d(t,"getLocaleMonthNames",function(){return x}),n.d(t,"getLocaleId",function(){return I}),n.d(t,"getLocaleEraNames",function(){return k}),n.d(t,"getLocaleWeekEndRange",function(){return T}),n.d(t,"getLocaleFirstDayOfWeek",function(){return A}),n.d(t,"getLocaleDateFormat",function(){return R}),n.d(t,"getLocaleDateTimeFormat",function(){return N}),n.d(t,"getLocaleExtraDayPeriodRules",function(){return j}),n.d(t,"getLocaleExtraDayPeriods",function(){return H}),n.d(t,"getLocalePluralCase",function(){return V}),n.d(t,"getLocaleTimeFormat",function(){return O}),n.d(t,"getLocaleNumberSymbol",function(){return P}),n.d(t,"getLocaleNumberFormat",function(){return M}),n.d(t,"getLocaleCurrencyName",function(){return F}),n.d(t,"getLocaleCurrencySymbol",function(){return L}),n.d(t,"\u0275parseCookieValue",function(){return Ne}),n.d(t,"CommonModule",function(){return hn}),n.d(t,"DeprecatedI18NPipesModule",function(){return pn}),n.d(t,"NgClass",function(){return Ke}),n.d(t,"NgClassBase",function(){return Ge}),n.d(t,"NgForOf",function(){return Ye}),n.d(t,"NgForOfContext",function(){return Qe}),n.d(t,"NgIf",function(){return Xe}),n.d(t,"NgIfContext",function(){return et}),n.d(t,"NgPlural",function(){return ot}),n.d(t,"NgPluralCase",function(){return st}),n.d(t,"NgStyle",function(){return mt}),n.d(t,"NgStyleBase",function(){return gt}),n.d(t,"NgSwitch",function(){return lt}),n.d(t,"NgSwitchCase",function(){return rt}),n.d(t,"NgSwitchDefault",function(){return it}),n.d(t,"NgTemplateOutlet",function(){return vt}),n.d(t,"NgComponentOutlet",function(){return Ze}),n.d(t,"DOCUMENT",function(){return fn}),n.d(t,"AsyncPipe",function(){return Gt}),n.d(t,"DatePipe",function(){return Jt}),n.d(t,"I18nPluralPipe",function(){return en}),n.d(t,"I18nSelectPipe",function(){return tn}),n.d(t,"JsonPipe",function(){return nn}),n.d(t,"LowerCasePipe",function(){return Kt}),n.d(t,"CurrencyPipe",function(){return sn}),n.d(t,"DecimalPipe",function(){return rn}),n.d(t,"PercentPipe",function(){return on}),n.d(t,"SlicePipe",function(){return cn}),n.d(t,"UpperCasePipe",function(){return Yt}),n.d(t,"TitleCasePipe",function(){return Qt}),n.d(t,"KeyValuePipe",function(){return ln}),n.d(t,"DeprecatedDatePipe",function(){return Lt}),n.d(t,"DeprecatedCurrencyPipe",function(){return Ht}),n.d(t,"DeprecatedDecimalPipe",function(){return Bt}),n.d(t,"DeprecatedPercentPipe",function(){return jt}),n.d(t,"\u0275PLATFORM_BROWSER_ID",function(){return gn}),n.d(t,"\u0275PLATFORM_SERVER_ID",function(){return mn}),n.d(t,"\u0275PLATFORM_WORKER_APP_ID",function(){return vn}),n.d(t,"\u0275PLATFORM_WORKER_UI_ID",function(){return yn}),n.d(t,"isPlatformBrowser",function(){return bn}),n.d(t,"isPlatformServer",function(){return Cn}),n.d(t,"isPlatformWorkerApp",function(){return wn}),n.d(t,"isPlatformWorkerUi",function(){return Sn}),n.d(t,"VERSION",function(){return _n}),n.d(t,"ViewportScroller",function(){return In}),n.d(t,"\u0275NullViewportScroller",function(){return Dn}),n.d(t,"\u0275NgClassImplProvider__POST_R3__",function(){return $e}),n.d(t,"\u0275NgClassR2Impl",function(){return He}),n.d(t,"\u0275NgClassImpl",function(){return je}),n.d(t,"\u0275NgStyleImplProvider__POST_R3__",function(){return ht}),n.d(t,"\u0275NgStyleR2Impl",function(){return ut}),n.d(t,"\u0275NgStyleImpl",function(){return at}),n.d(t,"\u0275ngStyleDirectiveDef__POST_R3__",function(){return ft}),n.d(t,"\u0275ngClassDirectiveDef__POST_R3__",function(){return We}),n.d(t,"PlatformLocation",function(){return r}),n.d(t,"LOCATION_INITIALIZED",function(){return i}),n.d(t,"LocationStrategy",function(){return o}),n.d(t,"APP_BASE_HREF",function(){return s}),n.d(t,"HashLocationStrategy",function(){return c}),n.d(t,"PathLocationStrategy",function(){return d}),n.d(t,"Location",function(){return a});var l=n("8Y7J");class r{}const i=new l.InjectionToken("Location Initialized");class o{}const s=new l.InjectionToken("appBaseHref"),a=(()=>{class e{constructor(t,n){this._subject=new l.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;const r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=e.stripTrailingSlash(u(r)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+e.normalizeQueryParams(n))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(t,n="",l=null){this._platformStrategy.pushState(l,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),l)}replaceState(t,n="",l=null){this._platformStrategy.replaceState(l,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),l)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}return e})();function u(e){return e.replace(/\/index.html$/,"")}const c=(()=>(class extends o{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=a.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,l){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(l));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,l){let r=this.prepareExternalUrl(n+a.normalizeQueryParams(l));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),d=(()=>(class extends o{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return a.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+a.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,l){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(l));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,l){const r=this.prepareExternalUrl(n+a.normalizeQueryParams(l));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),h=void 0;var p=["en",[["a","p"],["AM","PM"],h],[["AM","PM"],h,h],[["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"]],h,[["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"]],h,[["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}",h,"{1} 'at' {0}",h],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];const f={};function g(e,t,n){"string"!=typeof t&&(n=t,t=e[0]),t=t.toLowerCase().replace(/_/g,"-"),f[t]=e,n&&(f[t][19]=n)}const m={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",0],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",0],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},v=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),y=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),b=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),C=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),w=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),S=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}(),_=function(){var e={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};return e[e.Sunday]="Sunday",e[e.Monday]="Monday",e[e.Tuesday]="Tuesday",e[e.Wednesday]="Wednesday",e[e.Thursday]="Thursday",e[e.Friday]="Friday",e[e.Saturday]="Saturday",e}();function I(e){return $(e)[0]}function E(e,t,n){const l=$(e),r=U([l[1],l[2]],t);return U(r,n)}function D(e,t,n){const l=$(e),r=U([l[3],l[4]],t);return U(r,n)}function x(e,t,n){const l=$(e),r=U([l[5],l[6]],t);return U(r,n)}function k(e,t){return U($(e)[7],t)}function A(e){return $(e)[8]}function T(e){return $(e)[9]}function R(e,t){return U($(e)[10],t)}function O(e,t){return U($(e)[11],t)}function N(e,t){return U($(e)[12],t)}function P(e,t){const n=$(e),l=n[13][t];if(void 0===l){if(t===S.CurrencyDecimal)return n[13][S.Decimal];if(t===S.CurrencyGroup)return n[13][S.Group]}return l}function M(e,t){return $(e)[14][t]}function L(e){return $(e)[15]||null}function F(e){return $(e)[16]||null}function V(e){return $(e)[18]}function B(e){if(!e[19])throw new Error(`Missing extra locale data for the locale "${e[0]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function j(e){const t=$(e);return B(t),(t[19][2]||[]).map(e=>"string"==typeof e?z(e):[z(e[0]),z(e[1])])}function H(e,t,n){const l=$(e);B(l);const r=U([l[19][0],l[19][1]],t)||[];return U(r,n)||[]}function U(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function z(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function $(e){const t=e.toLowerCase().replace(/_/g,"-");let n=f[t];if(n)return n;const l=t.split("-")[0];if(n=f[l])return n;if("en"===l)return p;throw new Error(`Missing locale data for the locale "${e}".`)}function q(e,t,n="en"){const l=function(e){return $(e)[17]}(n)[e]||m[e]||[],r=l[1];return"narrow"===t&&"string"==typeof r?r:l[0]||e}const W=2;function G(e){let t;const n=m[e];return n&&(t=n[2]),"number"==typeof t?t:W}const K=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z={},Q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Y=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),J=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),X=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function ee(e,t,n,l){let r=function(e){if(he(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,l]=e.split("-").map(e=>+e);return new Date(t,n-1,l)}let n;if(n=e.match(K))return de(n)}const t=new Date(e);if(!he(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const l=I(t);if(Z[l]=Z[l]||{},Z[l][n])return Z[l][n];let r="";switch(n){case"shortDate":r=R(t,w.Short);break;case"mediumDate":r=R(t,w.Medium);break;case"longDate":r=R(t,w.Long);break;case"fullDate":r=R(t,w.Full);break;case"shortTime":r=O(t,w.Short);break;case"mediumTime":r=O(t,w.Medium);break;case"longTime":r=O(t,w.Long);break;case"fullTime":r=O(t,w.Full);break;case"short":const l=e(t,"shortTime"),i=e(t,"shortDate");r=te(N(t,w.Short),[l,i]);break;case"medium":const o=e(t,"mediumTime"),s=e(t,"mediumDate");r=te(N(t,w.Medium),[o,s]);break;case"long":const a=e(t,"longTime"),u=e(t,"longDate");r=te(N(t,w.Long),[a,u]);break;case"full":const c=e(t,"fullTime"),d=e(t,"fullDate");r=te(N(t,w.Full),[c,d])}return r&&(Z[l][n]=r),r}(n,t)||t;let i,o=[];for(;t;){if(!(i=Q.exec(t))){o.push(t);break}{const e=(o=o.concat(i.slice(1))).pop();if(!e)break;t=e}}let s=r.getTimezoneOffset();l&&(s=ce(l,s),r=function(e,t,n){const l=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ce(t,l)-l))}(r,l));let a="";return o.forEach(e=>{const t=function(e){if(ue[e])return ue[e];let t;switch(e){case"G":case"GG":case"GGG":t=re(X.Eras,C.Abbreviated);break;case"GGGG":t=re(X.Eras,C.Wide);break;case"GGGGG":t=re(X.Eras,C.Narrow);break;case"y":t=le(J.FullYear,1,0,!1,!0);break;case"yy":t=le(J.FullYear,2,0,!0,!0);break;case"yyy":t=le(J.FullYear,3,0,!1,!0);break;case"yyyy":t=le(J.FullYear,4,0,!1,!0);break;case"M":case"L":t=le(J.Month,1,1);break;case"MM":case"LL":t=le(J.Month,2,1);break;case"MMM":t=re(X.Months,C.Abbreviated);break;case"MMMM":t=re(X.Months,C.Wide);break;case"MMMMM":t=re(X.Months,C.Narrow);break;case"LLL":t=re(X.Months,C.Abbreviated,b.Standalone);break;case"LLLL":t=re(X.Months,C.Wide,b.Standalone);break;case"LLLLL":t=re(X.Months,C.Narrow,b.Standalone);break;case"w":t=ae(1);break;case"ww":t=ae(2);break;case"W":t=ae(1,!0);break;case"d":t=le(J.Date,1);break;case"dd":t=le(J.Date,2);break;case"E":case"EE":case"EEE":t=re(X.Days,C.Abbreviated);break;case"EEEE":t=re(X.Days,C.Wide);break;case"EEEEE":t=re(X.Days,C.Narrow);break;case"EEEEEE":t=re(X.Days,C.Short);break;case"a":case"aa":case"aaa":t=re(X.DayPeriods,C.Abbreviated);break;case"aaaa":t=re(X.DayPeriods,C.Wide);break;case"aaaaa":t=re(X.DayPeriods,C.Narrow);break;case"b":case"bb":case"bbb":t=re(X.DayPeriods,C.Abbreviated,b.Standalone,!0);break;case"bbbb":t=re(X.DayPeriods,C.Wide,b.Standalone,!0);break;case"bbbbb":t=re(X.DayPeriods,C.Narrow,b.Standalone,!0);break;case"B":case"BB":case"BBB":t=re(X.DayPeriods,C.Abbreviated,b.Format,!0);break;case"BBBB":t=re(X.DayPeriods,C.Wide,b.Format,!0);break;case"BBBBB":t=re(X.DayPeriods,C.Narrow,b.Format,!0);break;case"h":t=le(J.Hours,1,-12);break;case"hh":t=le(J.Hours,2,-12);break;case"H":t=le(J.Hours,1);break;case"HH":t=le(J.Hours,2);break;case"m":t=le(J.Minutes,1);break;case"mm":t=le(J.Minutes,2);break;case"s":t=le(J.Seconds,1);break;case"ss":t=le(J.Seconds,2);break;case"S":t=le(J.FractionalSeconds,1);break;case"SS":t=le(J.FractionalSeconds,2);break;case"SSS":t=le(J.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ie(Y.Short);break;case"ZZZZZ":t=ie(Y.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ie(Y.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ie(Y.Long);break;default:return null}return ue[e]=t,t}(e);a+=t?t(r,n,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}function te(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function ne(e,t,n="-",l,r){let i="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length0||s>-n)&&(s+=n),e===J.Hours)0===s&&-12===n&&(s=12);else if(e===J.FractionalSeconds)return a=t,ne(s,3).substr(0,a);var a;const u=P(o,S.MinusSign);return ne(s,t,u,l,r)}}function re(e,t,n=b.Format,l=!1){return function(r,i){return function(e,t,n,l,r,i){switch(n){case X.Months:return x(t,r,l)[e.getMonth()];case X.Days:return D(t,r,l)[e.getDay()];case X.DayPeriods:const o=e.getHours(),s=e.getMinutes();if(i){const e=j(t),n=H(t,r,l);let i;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:l,minutes:r}=e[0],{hours:a,minutes:u}=e[1];o>=l&&s>=r&&(o0?Math.floor(r/60):Math.ceil(r/60);switch(e){case Y.Short:return(r>=0?"+":"")+ne(o,2,i)+ne(Math.abs(r%60),2,i);case Y.ShortGMT:return"GMT"+(r>=0?"+":"")+ne(o,1,i);case Y.Long:return"GMT"+(r>=0?"+":"")+ne(o,2,i)+":"+ne(Math.abs(r%60),2,i);case Y.Extended:return 0===l?"Z":(r>=0?"+":"")+ne(o,2,i)+":"+ne(Math.abs(r%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}const oe=0,se=4;function ae(e,t=!1){return function(n,l){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,oe,1).getDay();return new Date(e,0,1+(t<=se?se:se+7)-t)}(n.getFullYear()),t=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(se-i.getDay()))).getTime()-e.getTime();r=1+Math.round(t/6048e5)}var i;return ne(r,e,P(l,S.MinusSign))}}const ue={};function ce(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function de(e){const t=new Date(0);let n=0,l=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),l=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,s=Number(e[5]||0)-l,a=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,s,a,u),t}function he(e){return e instanceof Date&&!isNaN(e.valueOf())}const pe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,fe=22,ge=".",me="0",ve=";",ye=",",be="#",Ce="\xa4",we="%";function Se(e,t,n,l,r,i,o=!1){let s="",a=!1;if(isFinite(e)){let u=function(t){let n,l,r,i,o,s=Math.abs(e)+"",a=0;for((l=s.indexOf(ge))>-1&&(s=s.replace(ge,"")),(r=s.search(/e/i))>0?(l<0&&(l=r),l+=+s.slice(r+1),s=s.substring(0,r)):l<0&&(l=s.length),r=0;s.charAt(r)===me;r++);if(r===(o=s.length))n=[0],l=1;else{for(o--;s.charAt(o)===me;)o--;for(l-=r,n=[],i=0;r<=o;r++,i++)n[i]=Number(s.charAt(r))}return l>fe&&(n=n.splice(0,fe-1),a=l-1,l=1),{digits:n,exponent:a,integerLen:l}}();o&&(u=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));let c=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){const e=i.match(pe);if(null===e)throw new Error(`${i} is not a valid digit info`);const t=e[1],n=e[3],l=e[5];null!=t&&(c=xe(t)),null!=n&&(d=xe(n)),null!=l?h=xe(l):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let l=e.digits,r=l.length-e.integerLen;const i=Math.min(Math.max(t,r),n);let o=i+e.integerLen,s=l[o];if(o>0){l.splice(Math.max(e.integerLen,o));for(let e=o;e=5)if(o-1<0){for(let t=0;t>o;t--)l.unshift(0),e.integerLen++;l.unshift(1),e.integerLen++}else l[o-1]++;for(;r=u?l.pop():a=!1),t>=10?1:0},0);c&&(l.unshift(c),e.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const g=u.exponent;let m=[];for(a=p.every(e=>!e);f0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=t.lgSize&&v.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)v.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),s=v.join(P(n,l)),m.length&&(s+=P(n,r)+m.join("")),g&&(s+=P(n,S.Exponential)+"+"+g)}else s=P(n,S.Infinity);return e<0&&!a?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function _e(e,t,n,l,r){const i=De(M(t,v.Currency),P(t,S.MinusSign));return i.minFrac=G(l),i.maxFrac=i.minFrac,Se(e,i,t,S.CurrencyGroup,S.CurrencyDecimal,r).replace(Ce,n).replace(Ce,"")}function Ie(e,t,n){return Se(e,De(M(t,v.Percent),P(t,S.MinusSign)),t,S.Group,S.Decimal,n,!0).replace(new RegExp(we,"g"),P(t,S.PercentSign))}function Ee(e,t,n){return Se(e,De(M(t,v.Decimal),P(t,S.MinusSign)),t,S.Group,S.Decimal,n)}function De(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},l=e.split(ve),r=l[0],i=l[1],o=-1!==r.indexOf(ge)?r.split(ge):[r.substring(0,r.lastIndexOf(me)+1),r.substring(r.lastIndexOf(me)+1)],s=o[0],a=o[1]||"";n.posPre=s.substr(0,s.indexOf(be));for(let c=0;c-1)return r;if(r=n.getPluralCategory(e,l),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}const Re=(()=>(class extends Ae{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):V(t||this.locale)(e)){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"}}}))();function Oe(e,t){"string"==typeof t&&(t=parseInt(t,10));const n=t,l=n.toString().replace(/^[^.]*\.?/,""),r=Math.floor(Math.abs(n)),i=l.length,o=parseInt(l,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.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?y.One:y.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?y.One:y.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===r||1===n?y.One:y.Other;case"ar":return 0===n?y.Zero:1===n?y.One:2===n?y.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?y.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?y.Many:y.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===r&&0===i?y.One:y.Other;case"be":return n%10==1&&n%100!=11?y.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?y.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?y.Many:y.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?y.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?y.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)?y.Few:0!==n&&n%1e6==0?y.Many:y.Other;case"bs":case"hr":case"sr":return 0===i&&r%10==1&&r%100!=11||o%10==1&&o%100!=11?y.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)||o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?y.Few:y.Other;case"cs":case"sk":return 1===r&&0===i?y.One:r===Math.floor(r)&&r>=2&&r<=4&&0===i?y.Few:0!==i?y.Many:y.Other;case"cy":return 0===n?y.Zero:1===n?y.One:2===n?y.Two:3===n?y.Few:6===n?y.Many:y.Other;case"da":return 1===n||0!==s&&(0===r||1===r)?y.One:y.Other;case"dsb":case"hsb":return 0===i&&r%100==1||o%100==1?y.One:0===i&&r%100==2||o%100==2?y.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4?y.Few:y.Other;case"ff":case"fr":case"hy":case"kab":return 0===r||1===r?y.One:y.Other;case"fil":return 0===i&&(1===r||2===r||3===r)||0===i&&r%10!=4&&r%10!=6&&r%10!=9||0!==i&&o%10!=4&&o%10!=6&&o%10!=9?y.One:y.Other;case"ga":return 1===n?y.One:2===n?y.Two:n===Math.floor(n)&&n>=3&&n<=6?y.Few:n===Math.floor(n)&&n>=7&&n<=10?y.Many:y.Other;case"gd":return 1===n||11===n?y.One:2===n||12===n?y.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?y.Few:y.Other;case"gv":return 0===i&&r%10==1?y.One:0===i&&r%10==2?y.Two:0!==i||r%100!=0&&r%100!=20&&r%100!=40&&r%100!=60&&r%100!=80?0!==i?y.Many:y.Other:y.Few;case"he":return 1===r&&0===i?y.One:2===r&&0===i?y.Two:0!==i||n>=0&&n<=10||n%10!=0?y.Other:y.Many;case"is":return 0===s&&r%10==1&&r%100!=11||0!==s?y.One:y.Other;case"ksh":return 0===n?y.Zero:1===n?y.One:y.Other;case"kw":case"naq":case"se":case"smn":return 1===n?y.One:2===n?y.Two:y.Other;case"lag":return 0===n?y.Zero:0!==r&&1!==r||0===n?y.Other:y.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)?y.Few:0!==o?y.Many:y.Other:y.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=19?y.Zero:n%10==1&&n%100!=11||2===i&&o%10==1&&o%100!=11||2!==i&&o%10==1?y.One:y.Other;case"mk":return 0===i&&r%10==1||o%10==1?y.One:y.Other;case"mt":return 1===n?y.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?y.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?y.Many:y.Other;case"pl":return 1===r&&0===i?y.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?y.Few:0===i&&1!==r&&r%10===Math.floor(r%10)&&r%10>=0&&r%10<=1||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=12&&r%100<=14?y.Many:y.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?y.One:y.Other;case"ro":return 1===r&&0===i?y.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?y.Few:y.Other;case"ru":case"uk":return 0===i&&r%10==1&&r%100!=11?y.One:0===i&&r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?y.Few:0===i&&r%10==0||0===i&&r%10===Math.floor(r%10)&&r%10>=5&&r%10<=9||0===i&&r%100===Math.floor(r%100)&&r%100>=11&&r%100<=14?y.Many:y.Other;case"shi":return 0===r||1===n?y.One:n===Math.floor(n)&&n>=2&&n<=10?y.Few:y.Other;case"si":return 0===n||1===n||0===r&&1===o?y.One:y.Other;case"sl":return 0===i&&r%100==1?y.One:0===i&&r%100==2?y.Two:0===i&&r%100===Math.floor(r%100)&&r%100>=3&&r%100<=4||0!==i?y.Few:y.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?y.One:y.Other;default:return y.Other}}function Ne(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[l,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(l.trim()===t)return decodeURIComponent(r)}return null}class Pe{constructor(e,t){this._name=e,this._options=t,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}setValue(e){if(Array.isArray(e))this._lastSetValueType=4;else if(e instanceof Set)this._lastSetValueType=8;else if(e&&"string"==typeof e){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=e?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=e||null}hasValueChanged(){let e=this._lastSetValueIdentityChange;if(!(e||14&this._lastSetValueType))return!1;let t=null;const n=!!(1&this._options),l=!!(8&this._options),r=!!(2&this._options);switch(this._lastSetValueType){case 1:const i=this._lastSetValue.split(/\s+/g);16&this._options?(t={},i.forEach((e,n)=>t[e]=!0)):t=i.reduce((e,t,n)=>e+(n?" ":"")+t);break;case 2:const o=this._lastSetValue,s=Object.keys(o);e||(e=!this.value||function(e,t,n){const l=e;if(!Be(Object.keys(t),l))return!0;for(let r=0;r0){const r=t.split(/\s+/g);for(let t=0;t0){const l=e.substr(n+1);e=e.substring(0,n),null!=t&&(t+=l)}return{key:e,value:t}}(t,n);n=e.value,t=e.key}e[t]=n}function Be(e,t){if(e&&t){if(e.length!==t.length)return!1;for(let n=0;n(class{constructor(e,t,n,l){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=l,this._initialClasses=[]}getValue(){return null}setClass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}setNgClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(l["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}applyChanges(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(l["\u0275stringify"])(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}))(),Ue=(()=>(class{constructor(){this._value=null,this._ngClassDiffer=new Pe("NgClass",23),this._classStringDiffer=null}getValue(){return this._value}setClass(e){(e||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new Pe("class",20),this._classStringDiffer.setValue(e))}setNgClass(e){this._ngClassDiffer.setValue(e)}applyChanges(){const e=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),t=this._ngClassDiffer.hasValueChanged();if(e||t){let e=this._ngClassDiffer.value;if(this._classStringDiffer){let t=this._classStringDiffer.value;t&&(e=e?Object.assign({},t,e):t)}this._value=e}}}))(),ze={provide:je,useClass:He},$e={provide:je,useClass:Ue},qe=ze,We=Object(l["\u0275\u0275defineDirective"])({type:function(){},selectors:null,factory:()=>{},hostBindings:function(e,t,n){1&e&&Object(l["\u0275\u0275elementHostStyling"])(),2&e&&(Object(l["\u0275\u0275elementHostStylingMap"])(t.getValue()),Object(l["\u0275\u0275elementHostStylingApply"])())}}),Ge=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})(),Ke=(()=>(class extends Ge{constructor(e){super(e)}set klass(e){this._delegate.setClass(e)}set ngClass(e){this._delegate.setNgClass(e)}ngDoCheck(){this._delegate.applyChanges()}}))(),Ze=(()=>(class{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(l.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(l.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}))();class Qe{constructor(e,t,n,l){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=l}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}const Ye=(()=>(class{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(l.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,l)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Qe(null,this._ngForOf,-1,-1),l),r=new Je(e,n);t.push(r)}else if(null==l)this._viewContainer.remove(n);else{const r=this._viewContainer.get(n);this._viewContainer.move(r,l);const i=new Je(e,r);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}))();class Je{constructor(e,t){this.record=e,this.view=t}}const Xe=(()=>(class{constructor(e,t){this._viewContainer=e,this._context=new et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tt("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tt("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateGuard_ngIf(e,t){return!0}}))();class et{constructor(){this.$implicit=null,this.ngIf=null}}function tt(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(l["\u0275stringify"])(t)}'.`)}class nt{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}const lt=(()=>(class{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t(class{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new nt(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}))(),it=(()=>(class{constructor(e,t,n){n._addDefault(new nt(e,t))}}))(),ot=(()=>(class{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=Te(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}))(),st=(()=>(class{constructor(e,t,n,l){this.value=e;const r=!isNaN(Number(e));l.addCase(r?`=${e}`:e,new nt(n,t))}}))();class at{}const ut=(()=>(class{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}getValue(){return null}setNgStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}applyChanges(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}_setStyle(e,t){const[n,l]=e.split(".");null!=(t=null!=t&&l?`${t}${l}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}}))(),ct=(()=>(class{constructor(){this._differ=new Pe("NgStyle",8),this._value=null}getValue(){return this._value}setNgStyle(e){this._differ.setValue(e)}applyChanges(){this._differ.hasValueChanged()&&(this._value=this._differ.value)}}))(),dt={provide:at,useClass:ut},ht={provide:at,useClass:ct},pt=dt,ft=Object(l["\u0275\u0275defineDirective"])({type:function(){},selectors:null,factory:()=>{},hostBindings:function(e,t,n){1&e&&Object(l["\u0275\u0275elementHostStyling"])(),2&e&&(Object(l["\u0275\u0275elementHostStylingMap"])(null,t.getValue()),Object(l["\u0275\u0275elementHostStylingApply"])())}}),gt=(()=>{class e{constructor(e){this._delegate=e}getValue(){return this._delegate.getValue()}}return e.ngDirectiveDef=void 0,e})(),mt=(()=>(class extends gt{constructor(e){super(e)}set ngStyle(e){this._delegate.setNgStyle(e)}ngDoCheck(){this._delegate.applyChanges()}}))(),vt=(()=>(class{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}))(),yt=[Ke,Ze,Ye,Xe,vt,mt,lt,rt,it,ot,st];function bt(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(l["\u0275stringify"])(e)}'`)}class Ct{static format(e,t,n,l={}){const{minimumIntegerDigits:r,minimumFractionDigits:i,maximumFractionDigits:o,currency:s,currencyAsSymbol:a=!1}=l,u={minimumIntegerDigits:r,minimumFractionDigits:i,maximumFractionDigits:o,style:v[n].toLowerCase()};return n==v.Currency&&(u.currency="string"==typeof s?s:void 0,u.currencyDisplay=a?"symbol":"code"),new Intl.NumberFormat(t,u).format(e)}}const wt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,St={yMMMdjms:Nt(Ot([Tt("year",1),Rt("month",3),Tt("day",1),Tt("hour",1),Tt("minute",1),Tt("second",1)])),yMdjm:Nt(Ot([Tt("year",1),Tt("month",1),Tt("day",1),Tt("hour",1),Tt("minute",1)])),yMMMMEEEEd:Nt(Ot([Tt("year",1),Rt("month",4),Rt("weekday",4),Tt("day",1)])),yMMMMd:Nt(Ot([Tt("year",1),Rt("month",4),Tt("day",1)])),yMMMd:Nt(Ot([Tt("year",1),Rt("month",3),Tt("day",1)])),yMd:Nt(Ot([Tt("year",1),Tt("month",1),Tt("day",1)])),jms:Nt(Ot([Tt("hour",1),Tt("second",1),Tt("minute",1)])),jm:Nt(Ot([Tt("hour",1),Tt("minute",1)]))},_t={yyyy:Nt(Tt("year",4)),yy:Nt(Tt("year",2)),y:Nt(Tt("year",1)),MMMM:Nt(Rt("month",4)),MMM:Nt(Rt("month",3)),MM:Nt(Tt("month",2)),M:Nt(Tt("month",1)),LLLL:Nt(Rt("month",4)),L:Nt(Rt("month",1)),dd:Nt(Tt("day",2)),d:Nt(Tt("day",1)),HH:It(Dt(Nt(At(Tt("hour",2),!1)))),H:Dt(Nt(At(Tt("hour",1),!1))),hh:It(Dt(Nt(At(Tt("hour",2),!0)))),h:Dt(Nt(At(Tt("hour",1),!0))),jj:Nt(Tt("hour",2)),j:Nt(Tt("hour",1)),mm:It(Nt(Tt("minute",2))),m:Nt(Tt("minute",1)),ss:It(Nt(Tt("second",2))),s:Nt(Tt("second",1)),sss:Nt(Tt("second",3)),EEEE:Nt(Rt("weekday",4)),EEE:Nt(Rt("weekday",3)),EE:Nt(Rt("weekday",2)),E:Nt(Rt("weekday",1)),a:Et(Nt(At(Tt("hour",1),!0))),Z:kt("short"),z:kt("long"),ww:Nt({}),w:Nt({}),G:Nt(Rt("era",1)),GG:Nt(Rt("era",2)),GGG:Nt(Rt("era",3)),GGGG:Nt(Rt("era",4))};function It(e){return function(t,n){const l=e(t,n);return 1==l.length?"0"+l:l}}function Et(e){return function(t,n){return e(t,n).split(" ")[1]}}function Dt(e){return function(t,n){return e(t,n).split(" ")[0]}}function xt(e,t,n){return new Intl.DateTimeFormat(t,n).format(e).replace(/[\u200e\u200f]/g,"")}function kt(e){const t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,n){const l=xt(e,n,t);return l?l.substring(3):""}}function At(e,t){return e.hour12=t,e}function Tt(e,t){const n={};return n[e]=2===t?"2-digit":"numeric",n}function Rt(e,t){const n={};return n[e]=t<4?t>1?"short":"narrow":"long",n}function Ot(e){return e.reduce((e,t)=>Object.assign({},e,t),{})}function Nt(e){return(t,n)=>xt(t,n,e)}const Pt=new Map;class Mt{static format(e,t,n){return function(e,t,n){const l=St[e];if(l)return l(t,n);const r=e;let i=Pt.get(r);if(!i){let t;i=[],wt.exec(e);let n=e;for(;n;)(t=wt.exec(n))?n=(i=i.concat(t.slice(1))).pop():(i.push(n),n=null);Pt.set(r,i)}return i.reduce((e,l)=>{const r=_t[l];return e+(r?r(t,n):function(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(l))},"")}(n,e,t)}}const Lt=(()=>{class e{constructor(e){this._locale=e}transform(t,n="mediumDate"){if(null==t||""===t||t!=t)return null;let l;if("string"==typeof t&&(t=t.trim()),Ft(t))l=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,r]=t.split("-").map(e=>parseInt(e,10));l=new Date(e,n-1,r)}else l=new Date(t);else l=new Date(parseFloat(t));if(!Ft(l)){let n;if("string"!=typeof t||!(n=t.match(K)))throw bt(e,t);l=de(n)}return Mt.format(l,this._locale,e._ALIASES[n]||n)}}return e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},e})();function Ft(e){return e instanceof Date&&!isNaN(e.valueOf())}function Vt(e,t,n,l,r,i=null,o=!1){if(null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw bt(e,n);let s,a,u;if(l!==v.Currency&&(s=1,a=0,u=3),r){const e=r.match(pe);if(null===e)throw new Error(`${r} is not a valid digit info for number pipes`);null!=e[1]&&(s=xe(e[1])),null!=e[3]&&(a=xe(e[3])),null!=e[5]&&(u=xe(e[5]))}return Ct.format(n,t,l,{minimumIntegerDigits:s,minimumFractionDigits:a,maximumFractionDigits:u,currency:i,currencyAsSymbol:o})}const Bt=(()=>{class e{constructor(e){this._locale=e}transform(t,n){return Vt(e,this._locale,t,v.Decimal,n)}}return e})(),jt=(()=>{class e{constructor(e){this._locale=e}transform(t,n){return Vt(e,this._locale,t,v.Percent,n)}}return e})(),Ht=(()=>{class e{constructor(e){this._locale=e}transform(t,n="USD",l=!1,r){return Vt(e,this._locale,t,v.Currency,r,n,l)}}return e})(),Ut=[Bt,jt,Ht,Lt];class zt{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class $t{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const qt=new $t,Wt=new zt,Gt=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(l["\u0275looseIdentical"])(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(l["\u0275isPromise"])(t))return qt;if(Object(l["\u0275isObservable"])(t))return Wt;throw bt(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e})(),Kt=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw bt(e,t);return t.toLowerCase()}}return e})(),Zt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Qt=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw bt(e,t);return t.replace(Zt,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e})(),Yt=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw bt(e,t);return t.toUpperCase()}}return e})(),Jt=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",l,r){if(null==t||""===t||t!=t)return null;try{return ee(t,n,r||this.locale,l)}catch(i){throw bt(e,i.message)}}}return e})(),Xt=/#/g,en=(()=>{class e{constructor(e){this._localization=e}transform(t,n,l){if(null==t)return"";if("object"!=typeof n||null===n)throw bt(e,n);return n[Te(t,Object.keys(n),this._localization,l)].replace(Xt,t.toString())}}return e})(),tn=(()=>{class e{transform(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw bt(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}return e})(),nn=(()=>(class{transform(e){return JSON.stringify(e,null,2)}}))(),ln=(()=>(class{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=function(e,t){const n=e.key,l=t.key;if(n===l)return 0;if(void 0===n)return 1;if(void 0===l)return-1;if(null===n)return 1;if(null===l)return-1;if("string"==typeof n&&"string"==typeof l)return n{this.keyValues.push(function(t,n){return{key:e.key,value:e.currentValue}}())}),this.keyValues.sort(t)),this.keyValues}}))(),rn=(()=>{class e{constructor(e){this._locale=e}transform(t,n,l){if(an(t))return null;l=l||this._locale;try{return Ee(un(t),l,n)}catch(r){throw bt(e,r.message)}}}return e})(),on=(()=>{class e{constructor(e){this._locale=e}transform(t,n,l){if(an(t))return null;l=l||this._locale;try{return Ie(un(t),l,n)}catch(r){throw bt(e,r.message)}}}return e})(),sn=(()=>{class e{constructor(e){this._locale=e}transform(t,n,l="symbol",r,i){if(an(t))return null;i=i||this._locale,"boolean"==typeof l&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),l=l?"symbol":"code");let o=n||"USD";"code"!==l&&(o="symbol"===l||"symbol-narrow"===l?q(o,"symbol"===l?"wide":"narrow",i):l);try{return _e(un(t),i,o,n,r)}catch(s){throw bt(e,s.message)}}}return e})();function an(e){return null==e||""===e||e!=e}function un(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}const cn=(()=>{class e{transform(t,n,l){if(null==t)return t;if(!this.supports(t))throw bt(e,t);return t.slice(n,l)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e})(),dn=[Gt,Yt,Kt,nn,cn,rn,on,Qt,sn,Jt,en,tn,ln],hn=(()=>(class{}))(),pn=(()=>(class{}))(),fn=new l.InjectionToken("DocumentToken"),gn="browser",mn="server",vn="browserWorkerApp",yn="browserWorkerUi";function bn(e){return e===gn}function Cn(e){return e===mn}function wn(e){return e===vn}function Sn(e){return e===yn}const _n=new l.Version("8.0.3"),In=(()=>{class e{}return e.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({providedIn:"root",factory:()=>new En(Object(l["\u0275\u0275inject"])(fn),window,Object(l["\u0275\u0275inject"])(l.ErrorHandler))}),e})();class En{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=(()=>[0,0])}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const n=this.document.querySelector(`#${e}`);if(n)return void this.scrollToElement(n);const l=this.document.querySelector(`[name='${e}']`);if(l)return void this.scrollToElement(l)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,l=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],l-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}class Dn{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}},SeVD:function(e,t,n){"use strict";var l=n("ngJS"),r=n("NJ4a"),i=n("Lhse"),o=n("kJWO"),s=n("I55L"),a=n("c2HN"),u=n("XoHu");n.d(t,"a",function(){return c});const c=e=>{if(e&&"function"==typeof e[o.a])return(e=>t=>{const n=e[o.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)})(e);if(Object(s.a)(e))return Object(l.a)(e);if(Object(a.a)(e))return(e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t))(e);if(e&&"function"==typeof e[i.a])return(e=>t=>{const n=e[i.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t})(e);{const t=Object(u.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}}},SpAZ:function(e,t,n){"use strict";function l(e){return e}n.d(t,"a",function(){return l})},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var l=n("HDdC"),r=n("z+Ro"),i=n("bHdf"),o=n("yCtX");function s(...e){let t=Number.POSITIVE_INFINITY,n=null,s=e[e.length-1];return Object(r.a)(s)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof s&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof l.a?e[0]:Object(i.a)(t)(Object(o.a)(e,n))}},XNiG:function(e,t,n){"use strict";var l=n("HDdC"),r=n("7o/Q"),i=n("quSY"),o=n("9ppp");class s extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}var a=n("2QA8");n.d(t,"b",function(){return u}),n.d(t,"a",function(){return c});class u extends r.a{constructor(e){super(e),this.destination=e}}const c=(()=>{class e extends l.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[a.a](){return new u(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:t}=this,n=t.length,l=t.slice();for(let r=0;rnew d(e,t)),e})();class d extends c{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):i.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function l(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return l})},YROV:function(e,t){e.exports=function(e){var t={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"},n={className:"number",begin:"#[0-9A-Fa-f]+"};return{case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},t,{className:"attribute",begin:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[t,n,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@",end:"[{;]",keywords:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",contains:[t,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,n,e.CSS_NUMBER_MODE,{begin:"\\s[A-Za-z0-9_.-]+",relevance:0}]}]}}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("51Dv"),r=n("SeVD"),i=n("HDdC");function o(e,t,n,o,s=new l.a(e,n,o)){if(!s.closed)return t instanceof i.a?t.subscribe(s):Object(r.a)(t)(s)}},aCrv:function(e,t,n){var l,r=function(){this._tweens={},this._tweensAddedDuringUpdate={}};r.prototype={getAll:function(){return Object.keys(this._tweens).map((function(e){return this._tweens[e]}).bind(this))},removeAll:function(){this._tweens={}},add:function(e){this._tweens[e.getId()]=e,this._tweensAddedDuringUpdate[e.getId()]=e},remove:function(e){delete this._tweens[e.getId()],delete this._tweensAddedDuringUpdate[e.getId()]},update:function(e,t){var n=Object.keys(this._tweens);if(0===n.length)return!1;for(e=void 0!==e?e:o.now();n.length>0;){this._tweensAddedDuringUpdate={};for(var l=0;l1?1:n),this._valuesEnd)if(void 0!==this._valuesStart[t]){var r=this._valuesStart[t]||0,i=this._valuesEnd[t];i instanceof Array?this._object[t]=this._interpolationFunction(i,l):("string"==typeof i&&(i="+"===i.charAt(0)||"-"===i.charAt(0)?r+parseFloat(i):parseFloat(i)),"number"==typeof i&&(this._object[t]=r+(i-r)*l))}if(null!==this._onUpdateCallback&&this._onUpdateCallback(this._object,n),1===n){if(this._repeat>0){for(t in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat){if("string"==typeof this._valuesEnd[t]&&(this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(this._valuesEnd[t])),this._yoyo){var o=this._valuesStartRepeat[t];this._valuesStartRepeat[t]=this._valuesEnd[t],this._valuesEnd[t]=o}this._valuesStart[t]=this._valuesStartRepeat[t]}return this._yoyo&&(this._reversed=!this._reversed),this._startTime=void 0!==this._repeatDelayTime?e+this._repeatDelayTime:e+this._delayTime,null!==this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}null!==this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var s=0,a=this._chainedTweens.length;s1?i(e[n],e[n-1],n-l):i(e[r],e[r+1>n?n:r+1],l-r)},Bezier:function(e,t){for(var n=0,l=e.length-1,r=Math.pow,i=o.Interpolation.Utils.Bernstein,s=0;s<=l;s++)n+=r(1-t,l-s)*r(t,s)*e[s]*i(l,s);return n},CatmullRom:function(e,t){var n=e.length-1,l=n*t,r=Math.floor(l),i=o.Interpolation.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(r=Math.floor(l=n*(1+t))),i(e[(r-1+n)%n],e[r],e[(r+1)%n],e[(r+2)%n],l-r)):t<0?e[0]-(i(e[0],e[0],e[1],e[1],-l)-e[0]):t>1?e[n]-(i(e[n],e[n],e[n-1],e[n-1],l-n)-e[n]):i(e[r?r-1:0],e[r],e[n1;n--)t*=n;return i[e]=t,t}),CatmullRom:function(e,t,n,l,r){var i=.5*(n-e),o=.5*(l-t),s=r*r;return(2*t-2*n+i+o)*(r*s)+(-3*t+3*n-2*i-o)*s+i*r+t}}},void 0===(l=(function(){return o}).apply(t,[]))||(e.exports=l)},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("5+tZ"),r=n("SpAZ");function i(e=Number.POSITIVE_INFINITY){return Object(l.a)(r.a,e)}},c2HN:function(e,t,n){"use strict";function l(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return l})},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},g4HV:function(e,t,n){var l=n("mrSG").__decorate,r=n("mrSG").__metadata;Object.defineProperty(t,"__esModule",{value:!0});var i=n("8Y7J"),o=n("SVse"),s=n("sdDj"),a=function(){function e(e,t,n){this.el=e,this.domHandler=t,this.zone=n,this.tooltipPosition="right",this.tooltipEvent="hover",this.appendTo="body",this.tooltipZIndex="auto",this.escape=!0}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){"hover"===e.tooltipEvent?(e.mouseEnterListener=e.onMouseEnter.bind(e),e.mouseLeaveListener=e.onMouseLeave.bind(e),e.clickListener=e.onClick.bind(e),e.el.nativeElement.addEventListener("mouseenter",e.mouseEnterListener),e.el.nativeElement.addEventListener("mouseleave",e.mouseLeaveListener),e.el.nativeElement.addEventListener("click",e.clickListener)):"focus"===e.tooltipEvent&&(e.focusListener=e.onFocus.bind(e),e.blurListener=e.onBlur.bind(e),e.el.nativeElement.addEventListener("focus",e.focusListener),e.el.nativeElement.addEventListener("blur",e.blurListener))})},e.prototype.onMouseEnter=function(e){this.container||this.showTimeout||this.activate()},e.prototype.onMouseLeave=function(e){this.deactivate()},e.prototype.onFocus=function(e){this.activate()},e.prototype.onBlur=function(e){this.deactivate()},e.prototype.onClick=function(e){this.deactivate()},e.prototype.activate=function(){var e=this;this.active=!0,this.clearHideTimeout(),this.showDelay?this.showTimeout=setTimeout(function(){e.show()},this.showDelay):this.show(),this.life&&(this.hideTimeout=setTimeout(function(){e.hide()},this.showDelay?this.life+this.showDelay:this.life))},e.prototype.deactivate=function(){var e=this;this.active=!1,this.clearShowTimeout(),this.hideDelay?(this.clearHideTimeout(),this.hideTimeout=setTimeout(function(){e.hide()},this.hideDelay)):this.hide()},Object.defineProperty(e.prototype,"text",{get:function(){return this._text},set:function(e){this._text=e,this.active&&(this._text?this.container&&this.container.offsetParent?this.updateText():this.show():this.hide())},enumerable:!0,configurable:!0}),e.prototype.create=function(){this.container=document.createElement("div");var e=document.createElement("div");e.className="ui-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="ui-tooltip-text ui-shadow ui-corner-all",this.updateText(),this.positionStyle&&(this.container.style.position=this.positionStyle),this.container.appendChild(this.tooltipText),"body"===this.appendTo?document.body.appendChild(this.container):this.domHandler.appendChild(this.container,"target"===this.appendTo?this.el.nativeElement:this.appendTo),this.container.style.display="inline-block"},e.prototype.show=function(){this.text&&!this.disabled&&(this.create(),this.align(),this.domHandler.fadeIn(this.container,250),this.container.style.zIndex="auto"===this.tooltipZIndex?++s.DomHandler.zindex:this.tooltipZIndex,this.bindDocumentResizeListener())},e.prototype.hide=function(){this.remove()},e.prototype.updateText=function(){this.escape?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this._text))):this.tooltipText.innerHTML=this._text},e.prototype.align=function(){switch(this.tooltipPosition){case"top":this.alignTop(),this.isOutOfBounds()&&this.alignBottom();break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&this.alignTop();break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}},e.prototype.getHostOffset=function(){if("body"===this.appendTo||"target"===this.appendTo){var e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+this.domHandler.getWindowScrollLeft(),top:e.top+this.domHandler.getWindowScrollTop()}}return{left:0,top:0}},e.prototype.alignRight=function(){this.preAlign("right");var e=this.getHostOffset(),t=e.left+this.domHandler.getOuterWidth(this.el.nativeElement),n=e.top+(this.domHandler.getOuterHeight(this.el.nativeElement)-this.domHandler.getOuterHeight(this.container))/2;this.container.style.left=t+"px",this.container.style.top=n+"px"},e.prototype.alignLeft=function(){this.preAlign("left");var e=this.getHostOffset(),t=e.left-this.domHandler.getOuterWidth(this.container),n=e.top+(this.domHandler.getOuterHeight(this.el.nativeElement)-this.domHandler.getOuterHeight(this.container))/2;this.container.style.left=t+"px",this.container.style.top=n+"px"},e.prototype.alignTop=function(){this.preAlign("top");var e=this.getHostOffset(),t=e.left+(this.domHandler.getOuterWidth(this.el.nativeElement)-this.domHandler.getOuterWidth(this.container))/2,n=e.top-this.domHandler.getOuterHeight(this.container);this.container.style.left=t+"px",this.container.style.top=n+"px"},e.prototype.alignBottom=function(){this.preAlign("bottom");var e=this.getHostOffset(),t=e.left+(this.domHandler.getOuterWidth(this.el.nativeElement)-this.domHandler.getOuterWidth(this.container))/2,n=e.top+this.domHandler.getOuterHeight(this.el.nativeElement);this.container.style.left=t+"px",this.container.style.top=n+"px"},e.prototype.preAlign=function(e){this.container.style.left="-999px",this.container.style.top="-999px";var t="ui-tooltip ui-widget ui-tooltip-"+e;this.container.className=this.tooltipStyleClass?t+" "+this.tooltipStyleClass:t},e.prototype.isOutOfBounds=function(){var e=this.container.getBoundingClientRect(),t=e.top,n=e.left,l=this.domHandler.getOuterWidth(this.container),r=this.domHandler.getOuterHeight(this.container),i=this.domHandler.getViewport();return n+l>i.width||n<0||t<0||t+r>i.height},e.prototype.onWindowResize=function(e){this.hide()},e.prototype.bindDocumentResizeListener=function(){var e=this;this.zone.runOutsideAngular(function(){e.resizeListener=e.onWindowResize.bind(e),window.addEventListener("resize",e.resizeListener)})},e.prototype.unbindDocumentResizeListener=function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},e.prototype.unbindEvents=function(){"hover"===this.tooltipEvent?(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)):"focus"===this.tooltipEvent&&(this.el.nativeElement.removeEventListener("focus",this.focusListener),this.el.nativeElement.removeEventListener("blur",this.blurListener)),this.unbindDocumentResizeListener()},e.prototype.remove=function(){this.container&&this.container.parentElement&&("body"===this.appendTo?document.body.removeChild(this.container):"target"===this.appendTo?this.el.nativeElement.removeChild(this.container):this.domHandler.removeChild(this.container,this.appendTo)),this.unbindDocumentResizeListener(),this.clearTimeouts(),this.container=null},e.prototype.clearShowTimeout=function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)},e.prototype.clearHideTimeout=function(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)},e.prototype.clearTimeouts=function(){this.clearShowTimeout(),this.clearHideTimeout()},e.prototype.ngOnDestroy=function(){this.unbindEvents(),this.remove()},l([i.Input(),r("design:type",String)],e.prototype,"tooltipPosition",void 0),l([i.Input(),r("design:type",String)],e.prototype,"tooltipEvent",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"appendTo",void 0),l([i.Input(),r("design:type",String)],e.prototype,"positionStyle",void 0),l([i.Input(),r("design:type",String)],e.prototype,"tooltipStyleClass",void 0),l([i.Input(),r("design:type",String)],e.prototype,"tooltipZIndex",void 0),l([i.Input("tooltipDisabled"),r("design:type",Boolean)],e.prototype,"disabled",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"escape",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"showDelay",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"hideDelay",void 0),l([i.Input(),r("design:type",Number)],e.prototype,"life",void 0),l([i.Input("pTooltip"),r("design:type",String),r("design:paramtypes",[String])],e.prototype,"text",null),l([i.Directive({selector:"[pTooltip]",providers:[s.DomHandler]})],e)}();t.Tooltip=a,t.TooltipModule=function(){return l([i.NgModule({imports:[o.CommonModule],exports:[a],declarations:[a]})],function(){})}()},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("2fFW"),r=n("NJ4a");const i={closed:!0,next(e){},error(e){if(l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var l=n("HDdC"),r=n("quSY");function i(e,t){return new l.a(n=>{const l=new r.a;let i=0;return l.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||l.add(this.schedule())):n.complete()})),l})}},jctj:function(e,t){e.exports=function(e){var t={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"|$)",end:">",keywords:{name:"style"},contains:[t],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"|$)",end:">",keywords:{name:"script"},contains:[t],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},t]}]}}},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return l});const l="function"==typeof Symbol&&Symbol.observable||"@@observable"},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("7o/Q");class r extends l.a{notifyNext(e,t,n,l,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new o(e,this.project,this.thisArg))}}class o extends l.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},mCNh:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var l=n("KqfI");function r(...e){return i(e)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:l.a}},mrSG:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return r}),n.d(t,"__assign",function(){return i}),n.d(t,"__rest",function(){return o}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return a}),n.d(t,"__metadata",function(){return u}),n.d(t,"__awaiter",function(){return c}),n.d(t,"__generator",function(){return d}),n.d(t,"__exportStar",function(){return h}),n.d(t,"__values",function(){return p}),n.d(t,"__read",function(){return f}),n.d(t,"__spread",function(){return g}),n.d(t,"__await",function(){return m}),n.d(t,"__asyncGenerator",function(){return v}),n.d(t,"__asyncDelegator",function(){return y}),n.d(t,"__asyncValues",function(){return b}),n.d(t,"__makeTemplateObject",function(){return C}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return S});var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function r(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,l=arguments.length;n=0;s--)(r=e[s])&&(o=(i<3?r(o):i>3?r(t,n,o):r(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function a(e,t){return function(n,l){t(n,l,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,l){return new(n||(n=Promise))(function(r,i){function o(e){try{a(l.next(e))}catch(t){i(t)}}function s(e){try{a(l.throw(e))}catch(t){i(t)}}function a(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(o,s)}a((l=l.apply(e,t||[])).next())})}function d(e,t){var n,l,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[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(;o;)try{if(n=1,l&&(r=2&i[0]?l.return:i[0]?l.throw||((r=l.return)&&r.call(l),0):l.next)&&!(r=r.call(l,i[1])).done)return r;switch(l=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,l=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(r=(r=o.trys).length>0&&r[r.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var l,r,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(l=i.next()).done;)o.push(l.value)}catch(s){r={error:s}}finally{try{l&&!l.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}function g(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=r[e](t)).value instanceof m?Promise.resolve(n.value.v).then(a,u):c(i[0][2],n)}catch(l){c(i[0][3],l)}var n}function a(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function y(e){var t,n;return t={},l("next"),l("throw",function(e){throw e}),l("return"),t[Symbol.iterator]=function(){return this},t;function l(l,r){t[l]=e[l]?function(t){return(n=!n)?{value:m(e[l](t)),done:"return"===l}:r?r(t):t}:r}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},l("next"),l("throw"),l("return"),t[Symbol.asyncIterator]=function(){return this},t);function l(n){t[n]=e[n]&&function(t){return new Promise(function(l,r){!function(e,t,n,l){Promise.resolve(l).then(function(t){e({value:t,done:n})},t)}(l,r,(t=e[n](t)).done,t.value)})}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}},n6bG:function(e,t,n){"use strict";function l(e){return"function"==typeof e}n.d(t,"a",function(){return l})},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return l});const l=e=>t=>{for(let n=0,l=e.length;n\n

  • \n \n \n \n {{tab.header}}\n \n \n \n \n \n \n \n
  • \n \n '})],e)}();t.TabViewNav=c;var d=function(){function e(e){this.viewContainer=e,this.cache=!0,this.id="ui-tabpanel-"+u++}return e.prototype.ngAfterContentInit=function(){var e=this;this.templates.forEach(function(t){switch(t.getType()){case"header":e.headerTemplate=t.template;break;case"content":default:e.contentTemplate=t.template}})},Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},set:function(e){this._selected=e,this.loaded=!0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.view=null},l([i.Input(),r("design:type",String)],e.prototype,"header",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"disabled",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"closable",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"headerStyle",void 0),l([i.Input(),r("design:type",String)],e.prototype,"headerStyleClass",void 0),l([i.Input(),r("design:type",String)],e.prototype,"leftIcon",void 0),l([i.Input(),r("design:type",String)],e.prototype,"rightIcon",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"cache",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"tooltip",void 0),l([i.ContentChildren(a.PrimeTemplate),r("design:type",i.QueryList)],e.prototype,"templates",void 0),l([i.Input(),r("design:type",Boolean),r("design:paramtypes",[Boolean])],e.prototype,"selected",null),l([i.Component({selector:"p-tabPanel",template:'\n
    \n \n \n \n \n
    \n '})],e)}();t.TabPanel=d;var h=function(){function e(e){this.el=e,this.orientation="top",this.onChange=new i.EventEmitter,this.onClose=new i.EventEmitter,this.activeIndexChange=new i.EventEmitter}return e.prototype.ngAfterContentInit=function(){var e=this;this.initTabs(),this.tabPanels.changes.subscribe(function(t){e.initTabs()})},e.prototype.initTabs=function(){this.tabs=this.tabPanels.toArray(),!this.findSelectedTab()&&this.tabs.length&&(null!=this.activeIndex&&this.tabs.length>this.activeIndex?this.tabs[this.activeIndex].selected=!0:this.tabs[0].selected=!0)},e.prototype.open=function(e,t){if(t.disabled)e&&e.preventDefault();else{if(!t.selected){var n=this.findSelectedTab();n&&(n.selected=!1),t.selected=!0;var l=this.findTabIndex(t);this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(l),this.onChange.emit({originalEvent:e,index:l})}e&&e.preventDefault()}},e.prototype.close=function(e,t){var n=this;this.controlClose?this.onClose.emit({originalEvent:e,index:this.findTabIndex(t),close:function(){n.closeTab(t)}}):(this.closeTab(t),this.onClose.emit({originalEvent:e,index:this.findTabIndex(t)})),e.stopPropagation()},e.prototype.closeTab=function(e){if(!e.disabled){if(e.selected){e.selected=!1;for(var t=0;tthis._activeIndex&&(this.findSelectedTab().selected=!1,this.tabs[this._activeIndex].selected=!0)},enumerable:!0,configurable:!0}),l([i.Input(),r("design:type",String)],e.prototype,"orientation",void 0),l([i.Input(),r("design:type",Object)],e.prototype,"style",void 0),l([i.Input(),r("design:type",String)],e.prototype,"styleClass",void 0),l([i.Input(),r("design:type",Boolean)],e.prototype,"controlClose",void 0),l([i.ContentChildren(d),r("design:type",i.QueryList)],e.prototype,"tabPanels",void 0),l([i.Output(),r("design:type",i.EventEmitter)],e.prototype,"onChange",void 0),l([i.Output(),r("design:type",i.EventEmitter)],e.prototype,"onClose",void 0),l([i.Output(),r("design:type",i.EventEmitter)],e.prototype,"activeIndexChange",void 0),l([i.Input(),r("design:type",Number),r("design:paramtypes",[Number])],e.prototype,"activeIndex",null),l([i.Component({selector:"p-tabView",template:'\n
    \n
      \n
      \n \n
      \n
        \n
        \n '})],e)}();t.TabView=h,t.TabViewModule=function(){return l([i.NgModule({imports:[o.CommonModule,a.SharedModule,s.TooltipModule],exports:[h,d,c,a.SharedModule],declarations:[h,d,c]})],function(){})}()},pw5m:function(e,t,n){"object"==typeof window&&window||"object"==typeof self&&self,function(e){var t,n=[],l=Object.keys,r={},i={},o=/^(no-?highlight|plain|text)$/i,s=/\blang(?:uage)?-([\w-]+)\b/i,a=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,u="",c={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function d(e){return e.replace(/&/g,"&").replace(//g,">")}function h(e){return e.nodeName.toLowerCase()}function p(e,t){var n=e&&e.exec(t);return n&&0===n.index}function f(e){return o.test(e)}function g(e){var t,n={},l=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return l.forEach(function(e){for(t in e)n[t]=e[t]}),n}function m(e){var t=[];return function e(n,l){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?l+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:l,node:r}),l=e(r,l),h(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:l,node:r}));return l}(e,0),t}function v(e){if(t&&!e.langApiRestored){for(var n in e.langApiRestored=!0,t)e[n]&&(e[t[n]]=e[n]);(e.contains||[]).concat(e.variants||[]).forEach(v)}}function y(e,t,n,i){function o(e,t){var n=m.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function s(e,t,n,l){var r='')+t+(n?"":u):t}function a(){S+=null!=C.subLanguage?function(){var e="string"==typeof C.subLanguage;if(e&&!r[C.subLanguage])return d(I);var t=e?y(C.subLanguage,I,!0,w[C.subLanguage]):b(I,C.subLanguage.length?C.subLanguage:void 0);return C.relevance>0&&(E+=t.relevance),e&&(w[C.subLanguage]=t.top),s(t.language,t.value,!1,!0)}():function(){var e,t,n,l;if(!C.keywords)return d(I);for(l="",t=0,C.lexemesRe.lastIndex=0,n=C.lexemesRe.exec(I);n;)l+=d(I.substring(t,n.index)),(e=o(C,n))?(E+=e[1],l+=s(e[0],d(n[0]))):l+=d(n[0]),t=C.lexemesRe.lastIndex,n=C.lexemesRe.exec(I);return l+d(I.substr(t))}(),I=""}function h(e){S+=e.className?s(e.className,"",!0):"",C=Object.create(e,{parent:{value:C}})}function f(e,t){if(I+=e,null==t)return a(),0;var l=function(e,t){var n,l,r;for(n=0,l=t.contains.length;n")+'"');return I+=t,t.length||1}var m=_(e);if(!m)throw new Error('Unknown language: "'+e+'"');!function(e){function t(e){return e&&e.source||e}function n(n,l){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}!function r(i,o){if(!i.compiled){if(i.compiled=!0,i.keywords=i.keywords||i.beginKeywords,i.keywords){var s={},a=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach(function(e){var n=e.split("|");s[n[0]]=[t,n[1]?Number(n[1]):1]})};"string"==typeof i.keywords?a("keyword",i.keywords):l(i.keywords).forEach(function(e){a(e,i.keywords[e])}),i.keywords=s}i.lexemesRe=n(i.lexemes||/\w+/,!0),o&&(i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")\\b"),i.begin||(i.begin=/\B|\b/),i.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=n(i.end)),i.terminator_end=t(i.end)||"",i.endsWithParent&&o.terminator_end&&(i.terminator_end+=(i.end?"|":"")+o.terminator_end)),i.illegal&&(i.illegalRe=n(i.illegal)),null==i.relevance&&(i.relevance=1),i.contains||(i.contains=[]),i.contains=Array.prototype.concat.apply([],i.contains.map(function(e){return function(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(t){return g(e,{variants:null},t)})),e.cached_variants||e.endsWithParent&&[g(e)]||[e]}("self"===e?i:e)})),i.contains.forEach(function(e){r(e,i)}),i.starts&&r(i.starts,o);var u=i.contains.map(function(e){return e.beginKeywords?"\\.?(?:"+e.begin+")\\.?":e.begin}).concat([i.terminator_end,i.illegal]).map(t).filter(Boolean);i.terminators=u.length?n(function(e,n){for(var l=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,i="",o=0;o0&&(i+="|");a.length>0;){var u=l.exec(a);if(null==u){i+=a;break}i+=a.substring(0,u.index),a=a.substring(u.index+u[0].length),"\\"==u[0][0]&&u[1]?i+="\\"+String(Number(u[1])+s):(i+=u[0],"("==u[0]&&r++)}}return i}(u),!0):{exec:function(){return null}}}}(e)}(m);var v,C=i||m,w={},S="";for(v=C;v!==m;v=v.parent)v.className&&(S=s(v.className,"",!0)+S);var I="",E=0;try{for(var D,x,k=0;C.terminators.lastIndex=k,D=C.terminators.exec(t);)x=f(t.substring(k,D.index),D[0]),k=D.index+x;for(f(t.substr(k)),v=C;v.parent;v=v.parent)v.className&&(S+=u);return{relevance:E,value:S,language:e,top:C}}catch(A){if(A.message&&-1!==A.message.indexOf("Illegal"))return{relevance:0,value:d(t)};throw A}}function b(e,t){t=t||c.languages||l(r);var n={relevance:0,value:d(e)},i=n;return t.filter(_).filter(I).forEach(function(t){var l=y(t,e,!1);l.language=t,l.relevance>i.relevance&&(i=l),l.relevance>n.relevance&&(i=n,n=l)}),i.language&&(n.second_best=i),n}function C(e){return c.tabReplace||c.useBR?e.replace(a,function(e,t){return c.useBR&&"\n"===e?"
        ":c.tabReplace?t.replace(/\t/g,c.tabReplace):""}):e}function w(e){var t,l,r,o,a,u=function(e){var t,n,l,r,i=e.className+" ";if(n=s.exec(i+=e.parentNode?e.parentNode.className:""))return _(n[1])?n[1]:"no-highlight";for(t=0,l=(i=i.split(/\s+/)).length;t/g,"\n"):t=e,a=t.textContent,r=u?y(u,a,!0):b(a),(l=m(t)).length&&((o=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=r.value,r.value=function(e,t,l){var r=0,i="",o=[];function s(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function u(e){i+=""}function c(e){("start"===e.event?a:u)(e.node)}for(;e.length||t.length;){var p=s();if(i+=d(l.substring(r,p[0].offset)),r=p[0].offset,p===e){o.reverse().forEach(u);do{c(p.splice(0,1)[0]),p=s()}while(p===e&&p.length&&p[0].offset===r);o.reverse().forEach(a)}else"start"===p[0].event?o.push(p[0].node):o.pop(),c(p.splice(0,1)[0])}return i+d(l.substr(r))}(l,m(o),a)),r.value=C(r.value),e.innerHTML=r.value,e.className=function(e,t,n){var l=t?i[t]:n,r=[e.trim()];return e.match(/\bhljs\b/)||r.push("hljs"),-1===e.indexOf(l)&&r.push(l),r.join(" ").trim()}(e.className,u,r.language),e.result={language:r.language,re:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance}))}function S(){if(!S.called){S.called=!0;var e=document.querySelectorAll("pre code");n.forEach.call(e,w)}}function _(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}function I(e){var t=_(e);return t&&!t.disableAutodetect}e.highlight=y,e.highlightAuto=b,e.fixMarkup=C,e.highlightBlock=w,e.configure=function(e){c=g(c,e)},e.initHighlighting=S,e.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",S,!1),addEventListener("load",S,!1)},e.registerLanguage=function(t,n){var l=r[t]=n(e);v(l),l.aliases&&l.aliases.forEach(function(e){i[e]=t})},e.listLanguages=function(){return l(r)},e.getLanguage=_,e.autoDetection=I,e.inherit=g,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,l){var r=e.inherit({className:"comment",begin:t,end:n,contains:[]},l||{});return r.contains.push(e.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0}}(t)},quSY:function(e,t,n){"use strict";var l=n("DH7j"),r=n("XoHu"),i=n("n6bG");function o(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}o.prototype=Object.create(Error.prototype);const s=o;n.d(t,"a",function(){return a});const a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:o,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;ee.concat(t instanceof s?t.errors:t),[])}},r0Rl:function(e,t){e.exports=function(e){var t={keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract as from extends async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void Promise"},n={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},l={begin:"\\(",end:/\)/,keywords:t,contains:["self",e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.NUMBER_MODE]},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,l]};return{aliases:["ts"],keywords:t,contains:[{className:"meta",begin:/^\s*['"]use strict['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+e.IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.IDENT_RE},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}]}],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",e.inherit(e.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),r],illegal:/%/,relevance:0},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0,contains:["self",r]},{begin:/module\./,keywords:{built_in:"module"},relevance:0},{beginKeywords:"module",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0},n,l]}}},sdDj:function(e,t,n){var l=n("mrSG").__decorate;Object.defineProperty(t,"__esModule",{value:!0});var r=n("8Y7J");t.DomHandler=function(){function e(){this.calculatedScrollbarWidth=null}return e.prototype.addClass=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},e.prototype.addMultipleClasses=function(e,t){if(e.classList)for(var n=t.split(" "),l=0;la.height?s.top+(n=-1*r.height)<0&&(n=0):n=i,l=s.left+r.width>a.width?o-r.width:0,e.style.top=n+"px",e.style.left=l+"px"},e.prototype.absolutePosition=function(e,t){var n,l,r=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),i=r.height,o=r.width,s=t.offsetHeight,a=t.offsetWidth,u=t.getBoundingClientRect(),c=this.getWindowScrollTop(),d=this.getWindowScrollLeft(),h=this.getViewport();u.top+s+i>h.height?(n=u.top+c-i)<0&&(n=0+c):n=s+u.top+c,l=u.left+a+o>h.width?u.left+d+a-o:u.left+d,e.style.top=n+"px",e.style.left=l+"px"},e.prototype.getHiddenElementOuterHeight=function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t},e.prototype.getHiddenElementOuterWidth=function(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t},e.prototype.getHiddenElementDimensions=function(e){var t={};return e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",t},e.prototype.scrollInView=function(e,t){var n=getComputedStyle(e).getPropertyValue("borderTopWidth"),l=n?parseFloat(n):0,r=getComputedStyle(e).getPropertyValue("paddingTop"),i=r?parseFloat(r):0,o=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-l-i,a=e.scrollTop,u=e.clientHeight,c=this.getOuterHeight(t);s<0?e.scrollTop=a+s:s+c>u&&(e.scrollTop=a+s-u+c)},e.prototype.fadeIn=function(e,t){e.style.opacity=0;var n=+new Date,l=0,r=function(){l=+e.style.opacity.replace(",",".")+((new Date).getTime()-n)/t,e.style.opacity=l,n=+new Date,+l<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()},e.prototype.fadeOut=function(e,t){var n=1,l=50/t,r=setInterval(function(){(n-=l)<=0&&(n=0,clearInterval(r)),e.style.opacity=n},50)},e.prototype.getWindowScrollTop=function(){var e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)},e.prototype.getWindowScrollLeft=function(){var e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)},e.prototype.matches=function(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(e){return-1!==[].indexOf.call(document.querySelectorAll(e),this)}).call(e,t)},e.prototype.getOuterWidth=function(e,t){var n=e.offsetWidth;if(t){var l=getComputedStyle(e);n+=parseFloat(l.marginLeft)+parseFloat(l.marginRight)}return n},e.prototype.getHorizontalPadding=function(e){var t=getComputedStyle(e);return parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)},e.prototype.getHorizontalMargin=function(e){var t=getComputedStyle(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)},e.prototype.innerWidth=function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+(parseFloat(n.paddingLeft)+parseFloat(n.paddingRight))},e.prototype.width=function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-(parseFloat(n.paddingLeft)+parseFloat(n.paddingRight))},e.prototype.getInnerHeight=function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom))},e.prototype.getOuterHeight=function(e,t){var n=e.offsetHeight;if(t){var l=getComputedStyle(e);n+=parseFloat(l.marginTop)+parseFloat(l.marginBottom)}return n},e.prototype.getHeight=function(e){var t=e.offsetHeight,n=getComputedStyle(e);return t-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth))},e.prototype.getWidth=function(e){var t=e.offsetWidth,n=getComputedStyle(e);return t-(parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth))},e.prototype.getViewport=function(){var e=window,t=document,n=t.documentElement,l=t.getElementsByTagName("body")[0];return{width:e.innerWidth||n.clientWidth||l.clientWidth,height:e.innerHeight||n.clientHeight||l.clientHeight}},e.prototype.getOffset=function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},e.prototype.replaceElementWith=function(e,t){var n=e.parentNode;if(!n)throw"Can't replace element";return n.replaceChild(t,e)},e.prototype.getUserAgent=function(){return navigator.userAgent},e.prototype.isIE=function(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)},e.prototype.appendChild=function(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}},e.prototype.removeChild=function(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}},e.prototype.isElement=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName},e.prototype.calculateScrollbarWidth=function(){if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var e=document.createElement("div");e.className="ui-scrollbar-measure",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),this.calculatedScrollbarWidth=t,t},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.clearSelection=function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}},e.prototype.getBrowser=function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},e.prototype.resolveUserAgent=function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.prototype.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},e.zindex=1e3,l([r.Injectable()],e)}()},"x+ZX":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var l=n("7o/Q");function r(){return function(e){return e.lift(new i(e))}}class i{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const l=new o(e,n),r=t.subscribe(l);return l.closed||(l.connection=n.connect()),r}}class o extends l.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,l=e._connection;this.connection=null,!l||n&&l!==n||l.unsubscribe()}}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n("HDdC"),r=n("ngJS"),i=n("jZKg");function o(e,t){return t?Object(i.a)(e,t):new l.a(Object(r.a)(e))}},"z+Ro":function(e,t,n){"use strict";function l(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return l})},zUnb:function(e,t,n){"use strict";n.r(t);var l=n("8Y7J"),r=n("jctj"),i=n.n(r),o=n("YROV"),s=n.n(o),a=n("r0Rl"),u=n.n(a);function c(){return[{name:"typescript",func:u.a},{name:"scss",func:s.a},{name:"xml",func:i.a}]}class d{}var h=n("HDdC"),p=n("quSY");class f extends p.a{constructor(e,t){super()}schedule(e,t=0){return this}}class g extends f{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,l=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(l,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(l,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,l=void 0;try{this.work(e)}catch(r){n=!0,l=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),l}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,l=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&n.splice(l,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}const m=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=(()=>Date.now()),e})();class v extends m{constructor(e,t=m.now){super(e,()=>v.delegate&&v.delegate!==this?v.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return v.delegate&&v.delegate!==this?v.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const y=new v(g);var b=n("DH7j");function C(e){const{subscriber:t,counter:n,period:l}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:l},l)}var w=n("z+Ro"),S=n("yCtX"),_=n("jZKg");function I(...e){let t=e[e.length-1];return Object(w.a)(t)?(e.pop(),Object(_.a)(e,t)):Object(S.a)(e)}var E=n("bHdf");function D(){return Object(E.a)(1)}function x(...e){return D()(I(...e))}function k(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}k.prototype=Object.create(Error.prototype);const A=k;var T=n("7o/Q");function R(e,t){return function(n){return n.lift(new O(e,t))}}class O{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new N(e,this.predicate,this.thisArg))}}class N extends T.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}function P(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}P.prototype=Object.create(Error.prototype);const M=P,L=new h.a(e=>e.complete());function F(e){return e?function(e){return new h.a(t=>e.schedule(()=>t.complete()))}(e):L}function V(e){return t=>0===e?F():t.lift(new B(e))}class B{constructor(e){if(this.total=e,this.total<0)throw new M}call(e,t){return t.subscribe(new j(e,this.total))}}class j extends T.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function H(e=null){return t=>t.lift(new U(e))}class U{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new z(e,this.defaultValue))}}class z extends T.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function $(e=function(){return new A}){return t=>t.lift(new q(e))}class q{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new W(e,this.errorFactory))}}class W extends T.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}var G=n("SpAZ");function K(e,t){const n=arguments.length>=2;return l=>l.pipe(e?R((t,n)=>e(t,n,l)):G.a,V(1),n?H(t):$(()=>new A))}class Z{constructor(e,t){x(e.isStable.pipe(K(e=>!0===e)),function(e=0,t=y){var n;return n=e,(Object(b.a)(n)||!(n-parseFloat(n)+1>=0)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=y),new h.a(n=>(n.add(t.schedule(C,e,{subscriber:n,counter:0,period:e})),n))}(864e5)).subscribe(()=>{console.log("checking for update"),t.checkForUpdate()})}}class Q{constructor(e,t){this.updates=e,this.checkForUpdateService=t,this.title="app works!",this.singleSelectionList=[],this.singleSelectionselectedItems=[],this.singleSelectionSettings={},this.basicExampleList=[],this.basicExampleSelectedItems=[],this.basicExampleSettings={},this.selectedItems3=[],this.dropdownSettings3={},this.limitSelectionSelectedItems=[],this.limitSelectionSettings={},this.disableModeSelectedItems=[],this.disableModeSettings={},this.placeholderExampleList=[],this.placeholderExampleSelectedItems=[],this.placeholderExampleSettings={},this.resetExampleList=[],this.resetExampleSelectedItems=[],this.resetExampleSettings={},this.groupByExampleList=[],this.groupByExampleSelectedItems=[],this.groupByExampleSettings={},this.templatingExampleList=[],this.templatingExampleSelectedItems=[],this.templatingExampleSettings={},this.updates.available.subscribe(e=>{this.updateToLatest()}),this.updates.activated.subscribe(e=>{console.log("old version was",e.previous),console.log("new version is",e.current)})}updateToLatest(){console.log("Updating to latest version."),this.updates.activateUpdate().then(()=>document.location.reload())}ngOnInit(){this.singleSelectionList=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"},{id:5,itemName:"South Korea"}],this.singleSelectionselectedItems=[{id:2,itemName:"Singapore"}],this.singleSelectionSettings={singleSelection:!0,text:"Select Country"},this.basicExampleList=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"},{id:5,itemName:"South Korea"},{id:6,itemName:"Brazil"}],this.basicExampleSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"}],this.basicExampleSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!0,classes:"myclass custom-class"},this.selectedItems3=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:4,itemName:"Canada"},{id:5,itemName:"South Korea"}],this.dropdownSettings3={singleSelection:!1,text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!0,badgeShowLimit:3},this.limitSelectionSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"}],this.limitSelectionSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!1,classes:"myclass custom-class",limitSelection:4},this.disableModeSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"}],this.disableModeSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!1,classes:"myclass custom-class",limitSelection:2,disabled:!0},this.placeholderExampleList=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"},{id:5,itemName:"South Korea"}],this.placeholderExampleSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"}],this.placeholderExampleSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!0,classes:"myclass custom-class",searchPlaceholderText:"Custom Placeholder text"},this.resetExampleList=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"},{id:5,itemName:"South Korea"}],this.resetExampleSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Australia"},{id:4,itemName:"Canada"}],this.resetExampleSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!1,classes:"myclass custom-class"},this.groupByExampleList=[{id:1,itemName:"India",category:"asia"},{id:2,itemName:"Singapore",category:"asia pacific"},{id:3,itemName:"Germany",category:"Europe"},{id:4,itemName:"France",category:"Europe"},{id:5,itemName:"South Korea",category:"asia"},{id:6,itemName:"Sweden",category:"Europe"}],this.groupByExampleSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"Germany"},{id:4,itemName:"France"}],this.groupByExampleSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!0,classes:"myclass custom-class",groupBy:"category"},this.groupByExampleSettings={singleSelection:!1,text:"Select Fields",selectAllText:"Select All",unSelectAllText:"UnSelect All",searchPlaceholderText:"Search Fields",enableSearchFilter:!0,badgeShowLimit:5,groupBy:"category"},this.templatingExampleList=[{id:1,itemName:"India",capital:"Delhi",image:"http://www.sciencekids.co.nz/images/pictures/flags96/India.jpg"},{id:2,itemName:"Singapore",capital:"Singapore",image:"http://www.sciencekids.co.nz/images/pictures/flags96/Singapore.jpg"},{id:3,itemName:"United Kingdom",capital:"London",image:"http://www.sciencekids.co.nz/images/pictures/flags96/United_Kingdom.jpg"},{id:4,itemName:"Canada",capital:"Ottawa",image:"http://www.sciencekids.co.nz/images/pictures/flags96/Canada.jpg"},{id:5,itemName:"South Korea",capital:"Seoul",image:"http://www.sciencekids.co.nz/images/pictures/flags96/South_Korea.jpg"},{id:6,itemName:"Brazil",capital:"Brasilia",image:"http://www.sciencekids.co.nz/images/pictures/flags96/Brazil.jpg"}],this.templatingExampleSelectedItems=[{id:1,itemName:"India"},{id:2,itemName:"Singapore"},{id:3,itemName:"United Kingdom"},{id:4,itemName:"Canada"}],this.templatingExampleSettings={text:"Select Countries",selectAllText:"Select All",unSelectAllText:"UnSelect All",enableSearchFilter:!0,classes:"myclass custom-class",showCheckbox:!0}}onItemSelect(e){console.log(e),console.log(this.basicExampleSelectedItems)}OnItemDeSelect(e){console.log(e),console.log(this.basicExampleSelectedItems)}onSelectAll(e){console.log(e)}onDeSelectAll(e){console.log(e)}showModel(){console.log(this.singleSelectionselectedItems)}changeData(){this.resetExampleSelectedItems=[]}}var Y=n("SVse"),J=n("Cfvw"),X=n("XNiG"),ee=n("9ppp");class te extends X.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ee.a;return this._value}next(e){super.next(this._value=e)}}var ne=n("l7GE"),le=n("ZUHj");const re={};class ie{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new oe(e,this.resultSelector))}}class oe extends ne.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(re),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n{let n;try{n=e()}catch(l){return void t.error(l)}return(n?Object(J.a)(n):F()).subscribe(t)})}var ae=n("lJxs");function ue(e){return function(t){return 0===e?F():t.lift(new ce(e))}}class ce{constructor(e){if(this.total=e,this.total<0)throw new M}call(e,t){return t.subscribe(new de(e,this.total))}}class de extends T.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,l=this.count++;t.length0){const n=this.count>=this.total?this.total:this.count,l=this.ring;for(let r=0;r=2;return l=>l.pipe(e?R((t,n)=>e(t,n,l)):G.a,ue(1),n?H(t):$(()=>new A))}var pe=n("51Dv");function fe(e){return function(t){const n=new ge(e),l=t.lift(n);return n.caught=l}}class ge{constructor(e){this.selector=e}call(e,t){return t.subscribe(new me(e,this.selector,this.caught))}}class me extends ne.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const l=new pe.a(this,void 0,void 0);this.add(l),Object(le.a)(this,n,void 0,void 0,l)}}}var ve=n("5+tZ");class ye{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new be(e,this.predicate,this.thisArg,this.source))}}class be extends T.a{constructor(e,t,n,l){super(e),this.predicate=t,this.thisArg=n,this.source=l,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ce(e,t){return"function"==typeof t?n=>n.pipe(Ce((n,l)=>Object(J.a)(e(n,l)).pipe(Object(ae.a)((e,r)=>t(n,e,l,r))))):t=>t.lift(new we(e))}class we{constructor(e){this.project=e}call(e,t){return t.subscribe(new Se(e,this.project))}}class Se extends ne.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(l){return void this.destination.error(l)}this._innerSub(t,e,n)}_innerSub(e,t,n){const l=this.innerSubscription;l&&l.unsubscribe();const r=new pe.a(this,void 0,void 0);this.destination.add(r),this.innerSubscription=Object(le.a)(this,e,t,n,r)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,l,r){this.destination.next(t)}}function _e(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(l){return l.lift(new Ie(e,t,n))}}class Ie{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Ee(e,this.accumulator,this.seed,this.hasSeed))}}class Ee extends T.a{constructor(e,t,n,l){super(e),this.accumulator=t,this._seed=n,this.hasSeed=l,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(l){this.destination.error(l)}this.seed=n,this.destination.next(n)}}function De(e,t){return Object(ve.a)(e,t,1)}var xe=n("mCNh"),ke=n("KqfI"),Ae=n("n6bG");function Te(e,t,n){return function(l){return l.lift(new Re(e,t,n))}}class Re{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Oe(e,this.nextOrObserver,this.error,this.complete))}}class Oe extends T.a{constructor(e,t,n,l){super(e),this._tapNext=ke.a,this._tapError=ke.a,this._tapComplete=ke.a,this._tapError=n||ke.a,this._tapComplete=l||ke.a,Object(Ae.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||ke.a,this._tapError=t.error||ke.a,this._tapComplete=t.complete||ke.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class Ne{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Pe(e,this.callback))}}class Pe extends T.a{constructor(e,t){super(e),this.add(new p.a(t))}}let Me=null;function Le(){return Me}class Fe{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class Ve extends Fe{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const Be={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},je=3,He={"\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"},Ue={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"},ze=(()=>{if(l["\u0275global"].Node)return l["\u0275global"].Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class $e extends Ve{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new $e,Me||(Me=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return Be}contains(e,t){return ze.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let l=0;le.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const l=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return l.setAttribute(e,t),l}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const l=this.getStyle(e,t)||"";return n?l==n:l.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let l=0;l{class e extends Y.PlatformLocation{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Le().getLocation(),this._history=Le().getHistory()}getBaseHrefFromDOM(){return Le().getBaseHref(this._doc)}onPopState(e){Le().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Le().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){Ge()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Ge()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=(()=>[{type:void 0,decorators:[{type:l.Inject,args:[Y.DOCUMENT]}]}]),e})(),Ze=new l.InjectionToken("TRANSITION_ID");function Qe(e,t,n){return()=>{n.get(l.ApplicationInitStatus).donePromise.then(()=>{const n=Le();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}}const Ye=[{provide:l.APP_INITIALIZER,useFactory:Qe,deps:[Ze,Y.DOCUMENT,l.Injector],multi:!0}];class Je{static init(){Object(l.setTestabilityGetter)(new Je)}addToWindow(e){l["\u0275global"].getAngularTestability=((t,n=!0)=>{const l=e.findTestabilityInTree(t,n);if(null==l)throw new Error("Could not find testability for element.");return l}),l["\u0275global"].getAllAngularTestabilities=(()=>e.getAllTestabilities()),l["\u0275global"].getAllAngularRootElements=(()=>e.getAllRootElements()),l["\u0275global"].frameworkStabilizers||(l["\u0275global"].frameworkStabilizers=[]),l["\u0275global"].frameworkStabilizers.push(e=>{const t=l["\u0275global"].getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const l=e.getTestability(t);return null!=l?l:n?Le().isShadowRoot(t)?this.findTestabilityInTree(e,Le().getHost(t),!0):this.findTestabilityInTree(e,Le().parentElement(t),!0):null}}function Xe(e,t){"undefined"!=typeof COMPILED&&COMPILED||((l["\u0275global"].ng=l["\u0275global"].ng||{})[e]=t)}const et=(()=>({ApplicationRef:l.ApplicationRef,NgZone:l.NgZone}))();function tt(e){return Object(l.getDebugNode)(e)}const nt=new l.InjectionToken("EventManagerPlugins"),lt=(()=>(class{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let l=0;l(class{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}))(),ot=(()=>(class extends it{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Le().remove(e))}}))(),st={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/"},at=/%COMP%/g,ut="_nghost-%COMP%",ct="_ngcontent-%COMP%";function dt(e,t,n){for(let l=0;l{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}const pt=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ft(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case l.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new vt(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case l.ViewEncapsulation.Native:case l.ViewEncapsulation.ShadowDom:return new yt(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=dt(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class ft{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(st[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,l){if(l){t=`${l}:${t}`;const r=st[l];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const l=st[n];l?e.removeAttributeNS(l,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&l.RendererStyleFlags2.DashCase?e.style.setProperty(t,n,r&l.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&l.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){mt(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return mt(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ht(n)):this.eventManager.addEventListener(e,t,ht(n))}}const gt=(()=>"@".charCodeAt(0))();function mt(e,t){if(e.charCodeAt(0)===gt)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class vt extends ft{constructor(e,t,n,l){super(e),this.component=n;const r=dt(l+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr=ct.replace(at,l+"-"+n.id),this.hostAttr=ut.replace(at,l+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class yt extends ft{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===l.ViewEncapsulation.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=dt(r.id,r.styles,[]);for(let l=0;l"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Ct=bt("addEventListener"),wt=bt("removeEventListener"),St={},_t="__zone_symbol__propagationStopped",It=(()=>{const e="undefined"!=typeof Zone&&Zone[bt("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Et=function(e){return!!It&&It.hasOwnProperty(e)},Dt=function(e){const t=St[e.type];if(!t)return;const n=this[t];if(!n)return;const l=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,l):e.handler.apply(this,l)}{const t=n.slice();for(let n=0;n(class extends rt{constructor(e,t,n){super(e),this.ngZone=t,n&&Object(Y.isPlatformServer)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[_t]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Ct]||l.NgZone.isInAngularZone()&&!Et(t))e.addEventListener(t,r,!1);else{let n=St[t];n||(n=St[t]=bt("ANGULAR"+t+"FALSE"));let l=e[n];const i=l&&l.length>0;l||(l=e[n]=[]);const o=Et(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:o,handler:r});else{let e=!1;for(let t=0;tthis.removeEventListener(e,t,r)}removeEventListener(e,t,n){let l=e[wt];if(!l)return e.removeEventListener.apply(e,[t,n,!1]);let r=St[t],i=r&&e[r];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);let o=!1;for(let s=0;s(class{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}))(),Ot=(()=>(class extends rt{constructor(e,t,n,l){super(e),this._config=t,this.console=n,this.loader=l}supports(e){return!(!kt.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const l=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let l=!1,r=()=>{l=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(r=(()=>{}));l||(r=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),r=(()=>{})}),()=>{r()}}return l.runOutsideAngular(()=>{const r=this._config.buildHammer(e),i=function(e){l.runGuarded(function(){n(e)})};return r.on(t,i),()=>{r.off(t,i),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))(),Nt=["alt","control","meta","shift"],Pt={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Mt=(()=>{class e extends rt{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,l){const r=e.parseEventName(n),i=e.eventCallback(r.fullKey,l,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Le().onAndCancel(t,r.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),l=n.shift();if(0===n.length||"keydown"!==l&&"keyup"!==l)return null;const r=e._normalizeKey(n.pop());let i="";if(Nt.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=l,o.fullKey=i,o}static getEventFullKey(e){let t="",n=Le().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Nt.forEach(l=>{l!=n&&(0,Pt[l])(e)&&(t+=l+".")}),t+=n}static eventCallback(t,n,l){return r=>{e.getEventFullKey(r)===t&&l.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class Lt{}const Ft=(()=>(class extends Lt{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case l.SecurityContext.NONE:return t;case l.SecurityContext.HTML:return t instanceof Bt?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(l["\u0275_sanitizeHtml"])(this._doc,String(t)));case l.SecurityContext.STYLE:return t instanceof jt?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(l["\u0275_sanitizeStyle"])(t));case l.SecurityContext.SCRIPT:if(t instanceof Ht)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case l.SecurityContext.URL:return t instanceof zt||t instanceof Ut?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(l["\u0275_sanitizeUrl"])(String(t)));case l.SecurityContext.RESOURCE_URL:if(t instanceof zt)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof Vt)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new Bt(e)}bypassSecurityTrustStyle(e){return new jt(e)}bypassSecurityTrustScript(e){return new Ht(e)}bypassSecurityTrustUrl(e){return new Ut(e)}bypassSecurityTrustResourceUrl(e){return new zt(e)}}))();class Vt{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Bt extends Vt{getTypeName(){return"HTML"}}class jt extends Vt{getTypeName(){return"Style"}}class Ht extends Vt{getTypeName(){return"Script"}}class Ut extends Vt{getTypeName(){return"URL"}}class zt extends Vt{getTypeName(){return"ResourceURL"}}const $t=[{provide:l.PLATFORM_ID,useValue:Y["\u0275PLATFORM_BROWSER_ID"]},{provide:l.PLATFORM_INITIALIZER,useValue:function(){$e.makeCurrent(),Je.init()},multi:!0},{provide:Y.PlatformLocation,useClass:Ke,deps:[Y.DOCUMENT]},{provide:Y.DOCUMENT,useFactory:function(){return document},deps:[]}],qt=Object(l.createPlatformFactory)(l.platformCore,"browser",$t);function Wt(){return new l.ErrorHandler}const Gt=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:l.APP_ID,useValue:t.appId},{provide:Ze,useExisting:l.APP_ID},Ye]}}}return e})();function Kt(){return new Zt(Object(l["\u0275\u0275inject"])(Y.DOCUMENT))}const Zt=(()=>{class e{constructor(e){this._doc=e,this._dom=Le()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._dom.querySelector(this._doc,`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._dom.querySelectorAll(this._doc,`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);const l=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(l,n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>this._dom.setAttribute(t,n,e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>this._dom.getAttribute(t,n)===e[n])}}return e.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({factory:Kt,token:e,providedIn:"root"}),e})();function Qt(){return new Yt(Object(l["\u0275\u0275inject"])(Y.DOCUMENT))}const Yt=(()=>{class e{constructor(e){this._doc=e}getTitle(){return Le().getTitle(this._doc)}setTitle(e){Le().setTitle(this._doc,e)}}return e.ngInjectableDef=Object(l["\u0275\u0275defineInjectable"])({factory:Qt,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window;class Jt{constructor(e,t){this.id=e,this.url=t}}class Xt extends Jt{constructor(e,t,n="imperative",l=null){super(e,t),this.navigationTrigger=n,this.restoredState=l}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class en extends Jt{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tn extends Jt{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class nn extends Jt{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ln extends Jt{constructor(e,t,n,l){super(e,t),this.urlAfterRedirects=n,this.state=l}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rn extends Jt{constructor(e,t,n,l){super(e,t),this.urlAfterRedirects=n,this.state=l}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class on extends Jt{constructor(e,t,n,l,r){super(e,t),this.urlAfterRedirects=n,this.state=l,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class sn extends Jt{constructor(e,t,n,l){super(e,t),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class an extends Jt{constructor(e,t,n,l){super(e,t),this.urlAfterRedirects=n,this.state=l}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class un{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class cn{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dn{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hn{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pn{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gn{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const mn=(()=>(class{}))(),vn="primary";class yn{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function bn(e){return new yn(e)}const Cn="ngNavigationCancelingError";function wn(e){const t=Error("NavigationCancelingError: "+e);return t[Cn]=!0,t}function Sn(e,t,n){const l=n.path.split("/");if(l.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||l.length0?e[e.length-1]:null}function Rn(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function On(e){return Object(l["\u0275isObservable"])(e)?e:Object(l["\u0275isPromise"])(e)?Object(J.a)(Promise.resolve(e)):I(e)}function Nn(e,t,n){return n?function(e,t){return kn(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Fn(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const l in n.children){if(!t.children[l])return!1;if(!e(t.children[l],n.children[l]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,l,r){if(n.segments.length>r.length){return!!Fn(n.segments.slice(0,r.length),r)&&!l.hasChildren()}if(n.segments.length===r.length){if(!Fn(n.segments,r))return!1;for(const t in l.children){if(!n.children[t])return!1;if(!e(n.children[t],l.children[t]))return!1}return!0}{const e=r.slice(0,n.segments.length),i=r.slice(n.segments.length);return!!Fn(n.segments,e)&&!!n.children[vn]&&t(n.children[vn],l,i)}}(t,n,n.segments)}(e.root,t.root)}class Pn{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return Hn.serialize(this)}}class Mn{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Rn(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Un(this)}}class Ln{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=bn(this.parameters)),this._parameterMap}toString(){return Kn(this)}}function Fn(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function Vn(e,t){let n=[];return Rn(e.children,(e,l)=>{l===vn&&(n=n.concat(t(e,l)))}),Rn(e.children,(e,l)=>{l!==vn&&(n=n.concat(t(e,l)))}),n}class Bn{}class jn{parse(e){const t=new Xn(e);return new Pn(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return Un(t);if(n){const n=t.children[vn]?e(t.children[vn],!1):"",l=[];return Rn(t.children,(t,n)=>{n!==vn&&l.push(`${n}:${e(t,!1)}`)}),l.length>0?`${n}(${l.join("//")})`:n}{const n=Vn(t,(n,l)=>l===vn?[e(t.children[vn],!1)]:[`${l}:${e(n,!1)}`]);return`${Un(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${$n(t)}=${$n(e)}`).join("&"):`${$n(t)}=${$n(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Hn=new jn;function Un(e){return e.segments.map(e=>Kn(e)).join("/")}function zn(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $n(e){return zn(e).replace(/%3B/gi,";")}function qn(e){return zn(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Wn(e){return decodeURIComponent(e)}function Gn(e){return Wn(e.replace(/\+/g,"%20"))}function Kn(e){return`${qn(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${qn(e)}=${qn(t[e])}`).join("")}`;var t}const Zn=/^[^\/()?;=#]+/;function Qn(e){const t=e.match(Zn);return t?t[0]:""}const Yn=/^[^=?&#]+/,Jn=/^[^?&#]+/;class Xn{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Mn([],{}):new Mn([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[vn]=new Mn(e,t)),n}parseSegment(){const e=Qn(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ln(Wn(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Qn(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Qn(this.remaining);e&&this.capture(n=e)}e[Wn(t)]=Wn(n)}parseQueryParam(e){const t=function(e){const t=e.match(Yn);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Jn);return t?t[0]:""}(this.remaining);e&&this.capture(n=e)}const l=Gn(t),r=Gn(n);if(e.hasOwnProperty(l)){let t=e[l];Array.isArray(t)||(e[l]=t=[t]),t.push(r)}else e[l]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Qn(this.remaining),l=this.remaining[n.length];if("/"!==l&&")"!==l&&";"!==l)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=vn);const i=this.parseChildren();t[r]=1===Object.keys(i).length?i[vn]:new Mn([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class el{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=tl(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=tl(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=nl(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return nl(e,this._root).map(e=>e.value)}}function tl(e,t){if(e===t.value)return t;for(const n of t.children){const t=tl(e,n);if(t)return t}return null}function nl(e,t){if(e===t.value)return[t];for(const n of t.children){const l=nl(e,n);if(l.length)return l.unshift(t),l}return[]}class ll{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function rl(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class il extends el{constructor(e,t){super(e),this.snapshot=t,dl(this,e)}toString(){return this.snapshot.toString()}}function ol(e,t){const n=function(e,t){const n=new ul([],{},{},"",{},vn,t,null,e.root,-1,{});return new cl("",new ll(n,[]))}(e,t),l=new te([new Ln("",{})]),r=new te({}),i=new te({}),o=new te({}),s=new te(""),a=new sl(l,r,o,s,i,vn,t,n.root);return a.snapshot=n.root,new il(new ll(a,[]),n)}class sl{constructor(e,t,n,l,r,i,o,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=l,this.data=r,this.outlet=i,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(ae.a)(e=>bn(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(ae.a)(e=>bn(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function al(e,t="emptyOnly"){const n=e.pathFromRoot;let l=0;if("always"!==t)for(l=n.length-1;l>=1;){const e=n[l],t=n[l-1];if(e.routeConfig&&""===e.routeConfig.path)l--;else{if(t.component)break;l--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(l))}class ul{constructor(e,t,n,l,r,i,o,s,a,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=l,this.data=r,this.outlet=i,this.component=o,this.routeConfig=s,this._urlSegment=a,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=bn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cl extends el{constructor(e,t){super(t),this.url=e,dl(this,t)}toString(){return hl(this._root)}}function dl(e,t){t.value._routerState=e,t.children.forEach(t=>dl(e,t))}function hl(e){const t=e.children.length>0?` { ${e.children.map(hl).join(", ")} } `:"";return`${e.value}${t}`}function pl(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,kn(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),kn(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nkn(e.parameters,l[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||fl(e.parent,t.parent))}function gl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ml(e,t,n,l,r){let i={};return l&&Rn(l,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Pn(n.root===e?t:function e(t,n,l){const r={};return Rn(t.children,(t,i)=>{r[i]=t===n?l:e(t,n,l)}),new Mn(t.segments,r)}(n.root,e,t),i,r)}class vl{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&gl(n[0]))throw new Error("Root segment cannot have matrix parameters");const l=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(l&&l!==Tn(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class yl{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function bl(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[vn]:`${e}`}function Cl(e,t,n){if(e||(e=new Mn([],{})),0===e.segments.length&&e.hasChildren())return wl(e,t,n);const l=function(e,t,n){let l=0,r=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return i;const t=e.segments[r],o=bl(n[l]),s=l0&&void 0===o)break;if(o&&s&&"object"==typeof s&&void 0===s.outlets){if(!El(o,s,t))return i;l+=2}else{if(!El(o,{},t))return i;l++}r++}return{match:!0,pathIndex:r,commandIndex:l}}(e,t,n),r=n.slice(l.commandIndex);if(l.match&&l.pathIndex{null!==n&&(r[l]=Cl(e.children[l],t,n))}),Rn(e.children,(e,t)=>{void 0===l[t]&&(r[t]=e)}),new Mn(e.segments,r)}}function Sl(e,t,n){const l=e.segments.slice(0,t);let r=0;for(;r{null!==e&&(t[n]=Sl(new Mn([],{}),0,e))}),t}function Il(e){const t={};return Rn(e,(e,n)=>t[n]=`${e}`),t}function El(e,t,n){return e==n.path&&kn(t,n.parameters)}const Dl=(e,t,n)=>Object(ae.a)(l=>(new xl(t,l.targetRouterState,l.currentRouterState,n).activate(e),l));class xl{constructor(e,t,n,l){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=l}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),pl(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const l=rl(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,l[t],n),delete l[t]}),Rn(l,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const l=e.value,r=t?t.value:null;if(l===r)if(l.component){const r=n.getContext(l.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),l=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:l})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const l=rl(e),r=e.value.component?n.children:t;Rn(l,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const l=rl(t);e.children.forEach(e=>{this.activateRoutes(e,l[e.value.outlet],n),this.forwardEvent(new fn(e.value.snapshot))}),e.children.length&&this.forwardEvent(new hn(e.value.snapshot))}activateRoutes(e,t,n){const l=e.value,r=t?t.value:null;if(pl(l),l===r)if(l.component){const r=n.getOrCreateContext(l.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(l.component){const t=n.getOrCreateContext(l.outlet);if(this.routeReuseStrategy.shouldAttach(l.snapshot)){const e=this.routeReuseStrategy.retrieve(l.snapshot);this.routeReuseStrategy.store(l.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),kl(e.route)}else{const n=function(e){for(let t=l.snapshot.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=l,t.resolver=r,t.outlet&&t.outlet.activateWith(l,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function kl(e){pl(e.value),e.children.forEach(kl)}function Al(e){return"function"==typeof e}function Tl(e){return e instanceof Pn}class Rl{constructor(e){this.segmentGroup=e||null}}class Ol{constructor(e){this.urlTree=e}}function Nl(e){return new h.a(t=>t.error(new Rl(e)))}function Pl(e){return new h.a(t=>t.error(new Ol(e)))}function Ml(e){return new h.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Ll{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(l.NgModuleRef)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vn).pipe(Object(ae.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(fe(e=>{if(e instanceof Ol)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Rl)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,vn).pipe(Object(ae.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(fe(e=>{if(e instanceof Rl)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const l=e.segments.length>0?new Mn([],{[vn]:e}):e;return new Pn(l,t,n)}expandSegmentGroup(e,t,n,l){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(ae.a)(e=>new Mn([],e))):this.expandSegment(e,n,t,n.segments,l,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return I({});const n=[],l=[],r={};return Rn(e,(e,i)=>{const o=t(i,e).pipe(Object(ae.a)(e=>r[i]=e));i===vn?n.push(o):l.push(o)}),I.apply(null,n.concat(l)).pipe(D(),he(),Object(ae.a)(()=>r))}(n.children,(n,l)=>this.expandSegmentGroup(e,t,l,n))}expandSegment(e,t,n,l,r,i){return I(...n).pipe(Object(ae.a)(o=>this.expandSegmentAgainstRoute(e,t,n,o,l,r,i).pipe(fe(e=>{if(e instanceof Rl)return I(null);throw e}))),D(),K(e=>!!e),fe((e,n)=>{if(e instanceof A||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,l,r))return I(new Mn([],{}));throw new Rl(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,l,r,i,o){return jl(l)!==i?Nl(t):void 0===l.redirectTo?this.matchSegmentAgainstRoute(e,t,l,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,l,r,i):Nl(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,l,r,i){return"**"===l.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,l,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,l,r,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,l){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Pl(r):this.lineralizeSegments(n,r).pipe(Object(ve.a)(n=>{const r=new Mn(n,{});return this.expandSegment(e,r,t,n,l,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,l,r,i){const{matched:o,consumedSegments:s,lastChild:a,positionalParamSegments:u}=Fl(t,l,r);if(!o)return Nl(t);const c=this.applyRedirectCommands(s,l.redirectTo,u);return l.redirectTo.startsWith("/")?Pl(c):this.lineralizeSegments(l,c).pipe(Object(ve.a)(l=>this.expandSegment(e,t,n,l.concat(r.slice(a)),i,!1)))}matchSegmentAgainstRoute(e,t,n,l){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(ae.a)(e=>(n._loadedConfig=e,new Mn(l,{})))):I(new Mn(l,{}));const{matched:r,consumedSegments:i,lastChild:o}=Fl(t,n,l);if(!r)return Nl(t);const s=l.slice(o);return this.getChildConfig(e,n,l).pipe(Object(ve.a)(e=>{const n=e.module,l=e.routes,{segmentGroup:r,slicedSegments:o}=function(e,t,n,l){return n.length>0&&function(e,t,n){return l.some(n=>Bl(e,t,n)&&jl(n)!==vn)}(e,n)?{segmentGroup:Vl(new Mn(t,function(e,t){const n={};n[vn]=t;for(const l of e)""===l.path&&jl(l)!==vn&&(n[jl(l)]=new Mn([],{}));return n}(l,new Mn(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return l.some(n=>Bl(e,t,n))}(e,n)?{segmentGroup:Vl(new Mn(e.segments,function(e,t,n,l){const r={};for(const i of n)Bl(e,t,i)&&!l[jl(i)]&&(r[jl(i)]=new Mn([],{}));return Object.assign({},l,r)}(e,n,l,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,s,l);return 0===o.length&&r.hasChildren()?this.expandChildren(n,l,r).pipe(Object(ae.a)(e=>new Mn(i,e))):0===l.length&&0===o.length?I(new Mn(i,{})):this.expandSegment(n,r,l,o,vn,!0).pipe(Object(ae.a)(e=>new Mn(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?I(new _n(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?I(t._loadedConfig):function(e,t,n){const l=t.canLoad;return l&&0!==l.length?Object(J.a)(l).pipe(Object(ae.a)(l=>{const r=e.get(l);let i;if(function(e){return e&&Al(e.canLoad)}(r))i=r.canLoad(t,n);else{if(!Al(r))throw new Error("Invalid CanLoad guard");i=r(t,n)}return On(i)})).pipe(D(),(r=(e=>!0===e),e=>e.lift(new ye(r,void 0,e)))):I(!0);var r}(e.injector,t,n).pipe(Object(ve.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(ae.a)(e=>(t._loadedConfig=e,e))):function(e){return new h.a(t=>t.error(wn(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):I(new _n([],e))}lineralizeSegments(e,t){let n=[],l=t.root;for(;;){if(n=n.concat(l.segments),0===l.numberOfChildren)return I(n);if(l.numberOfChildren>1||!l.children[vn])return Ml(e.redirectTo);l=l.children[vn]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,l){const r=this.createSegmentGroup(e,t.root,n,l);return new Pn(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Rn(e,(e,l)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[l]=t[r]}else n[l]=e}),n}createSegmentGroup(e,t,n,l){const r=this.createSegments(e,t.segments,n,l);let i={};return Rn(t.children,(t,r)=>{i[r]=this.createSegmentGroup(e,t,n,l)}),new Mn(r,i)}createSegments(e,t,n,l){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,l):this.findOrReturn(t,n))}findPosParam(e,t,n){const l=n[t.path.substring(1)];if(!l)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return l}findOrReturn(e,t){let n=0;for(const l of t){if(l.path===e.path)return t.splice(n),l;n++}return e}}function Fl(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const l=(t.matcher||Sn)(n,e,t);return l?{matched:!0,consumedSegments:l.consumed,lastChild:l.consumed.length,positionalParamSegments:l.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Vl(e){if(1===e.numberOfChildren&&e.children[vn]){const t=e.children[vn];return new Mn(e.segments.concat(t.segments),t.children)}return e}function Bl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function jl(e){return e.outlet||vn}class Hl{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ul{constructor(e,t){this.component=e,this.route=t}}function zl(e,t,n){const l=e._root;return function e(t,n,l,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=rl(n);return t.children.forEach(t=>{!function(t,n,l,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,a=l?l.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Fn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Fn(e.url,t.url)||!kn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fl(e,t)||!kn(e.queryParams,t.queryParams);case"paramsChange":default:return!fl(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);if(u?i.canActivateChecks.push(new Hl(r)):(o.data=s.data,o._resolvedData=s._resolvedData),e(t,n,o.component?a?a.children:null:l,r,i),u){i.canDeactivateChecks.push(new Ul(a&&a.outlet&&a.outlet.component||null,s))}}else s&&ql(n,a,i),i.canActivateChecks.push(new Hl(r)),e(t,null,o.component?a?a.children:null:l,r,i)}(t,o[t.value.outlet],l,r.concat([t.value]),i),delete o[t.value.outlet]}),Rn(o,(e,t)=>ql(e,l.getContext(t),i)),i}(l,t?t._root:null,n,[l.value])}function $l(e,t,n){const l=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(l?l.module.injector:n).get(e)}function ql(e,t,n){const l=rl(e),r=e.value;Rn(l,(e,l)=>{ql(e,r.component?t?t.children.getContext(l):null:t,n)}),n.canDeactivateChecks.push(new Ul(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const Wl=Symbol("INITIAL_VALUE");function Gl(){return Ce(e=>(function(...e){let t=null,n=null;return Object(w.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(b.a)(e[0])&&(e=e[0]),Object(S.a)(e,n).lift(new ie(t))})(...e.map(e=>e.pipe(V(1),function(...e){const t=e[e.length-1];return Object(w.a)(t)?(e.pop(),n=>x(e,n,t)):t=>x(e,t)}(Wl)))).pipe(_e((e,t)=>{let n=!1;return t.reduce((e,l,r)=>{if(e!==Wl)return e;if(l===Wl&&(n=!0),!n){if(!1===l)return l;if(r===t.length-1||Tl(l))return l}return e},e)},Wl),R(e=>e!==Wl),Object(ae.a)(e=>Tl(e)?e:!0===e),V(1)))}function Kl(e,t){return null!==e&&t&&t(new pn(e)),I(!0)}function Zl(e,t){return null!==e&&t&&t(new dn(e)),I(!0)}function Ql(e,t,n){const l=t.routeConfig?t.routeConfig.canActivate:null;return l&&0!==l.length?I(l.map(l=>se(()=>{const r=$l(l,t,n);let i;if(function(e){return e&&Al(e.canActivate)}(r))i=On(r.canActivate(t,e));else{if(!Al(r))throw new Error("Invalid CanActivate guard");i=On(r(t,e))}return i.pipe(K())}))).pipe(Gl()):I(!0)}function Yl(e,t,n){const l=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>(function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null})(e)).filter(e=>null!==e).map(t=>se(()=>I(t.guards.map(r=>{const i=$l(r,t.node,n);let o;if(function(e){return e&&Al(e.canActivateChild)}(i))o=On(i.canActivateChild(l,e));else{if(!Al(i))throw new Error("Invalid CanActivateChild guard");o=On(i(l,e))}return o.pipe(K())})).pipe(Gl())));return I(r).pipe(Gl())}class Jl{}class Xl{constructor(e,t,n,l,r,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=l,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=i}recognize(){try{const t=nr(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,vn),l=new ul([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vn,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ll(l,n),i=new cl(this.url,r);return this.inheritParamsAndData(i._root),I(i)}catch(e){return new h.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=al(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=Vn(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};n.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),l=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${l}'.`)}t[e.value.outlet]=e.value})}(),n.sort((e,t)=>e.value.outlet===vn?-1:t.value.outlet===vn?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,l){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,l)}catch(r){if(!(r instanceof Jl))throw r}if(this.noLeftoversInUrl(t,n,l))return[];throw new Jl}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,l){if(e.redirectTo)throw new Jl;if((e.outlet||vn)!==l)throw new Jl;let r,i=[],o=[];if("**"===e.path){const i=n.length>0?Tn(n).parameters:{};r=new ul(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ir(e),l,e.component,e,er(t),tr(t)+n.length,or(e))}else{const s=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Jl;return{consumedSegments:[],lastChild:0,parameters:{}}}const l=(t.matcher||Sn)(n,e,t);if(!l)throw new Jl;const r={};Rn(l.posParams,(e,t)=>{r[t]=e.path});const i=l.consumed.length>0?Object.assign({},r,l.consumed[l.consumed.length-1].parameters):r;return{consumedSegments:l.consumed,lastChild:l.consumed.length,parameters:i}}(t,e,n);i=s.consumedSegments,o=n.slice(s.lastChild),r=new ul(i,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ir(e),l,e.component,e,er(t),tr(t)+i.length,or(e))}const s=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:a,slicedSegments:u}=nr(t,i,o,s,this.relativeLinkResolution);if(0===u.length&&a.hasChildren()){const e=this.processChildren(s,a);return[new ll(r,e)]}if(0===s.length&&0===u.length)return[new ll(r,[])];const c=this.processSegment(s,a,u,vn);return[new ll(r,c)]}}function er(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function tr(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function nr(e,t,n,l,r){if(n.length>0&&function(e,t,n){return l.some(n=>lr(e,t,n)&&rr(n)!==vn)}(e,n)){const r=new Mn(t,function(e,t,n,l){const r={};r[vn]=l,l._sourceSegment=e,l._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&rr(i)!==vn){const n=new Mn([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[rr(i)]=n}return r}(e,t,l,new Mn(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return l.some(n=>lr(e,t,n))}(e,n)){const i=new Mn(e.segments,function(e,t,n,l,r,i){const o={};for(const s of l)if(lr(e,n,s)&&!r[rr(s)]){const n=new Mn([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[rr(s)]=n}return Object.assign({},r,o)}(e,t,n,l,e.children,r));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Mn(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function lr(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function rr(e){return e.outlet||vn}function ir(e){return e.data||{}}function or(e){return e.resolve||{}}function sr(e,t,n,l){const r=$l(e,t,l);return On(r.resolve?r.resolve(t,n):r(t,n))}function ar(e){return function(t){return t.pipe(Ce(t=>{const n=e(t);return n?Object(J.a)(n).pipe(Object(ae.a)(()=>t)):Object(J.a)([t])}))}}class ur{}class cr{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const dr=new l.InjectionToken("ROUTES");class hr{constructor(e,t,n,l){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=l}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(ae.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const l=n.create(e);return new _n(An(l.injector.get(dr)).map(xn),l)}))}loadModuleFactory(e){return"string"==typeof e?Object(J.a)(this.loader.load(e)):On(e()).pipe(Object(ve.a)(e=>e instanceof l.NgModuleFactory?I(e):Object(J.a)(this.compiler.compileModuleAsync(e))))}}class pr{}class fr{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function gr(e){throw e}function mr(e,t,n){return t.parse("/")}function vr(e,t){return I(null)}class yr{constructor(e,t,n,r,i,o,s,a){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new X.a,this.errorHandler=gr,this.malformedUriErrorHandler=mr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vr,afterPreactivation:vr},this.urlHandlingStrategy=new fr,this.routeReuseStrategy=new cr,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(l.NgModuleRef),this.console=i.get(l["\u0275Console"]);const u=i.get(l.NgZone);this.isNgZoneEnabled=u instanceof l.NgZone,this.resetConfig(a),this.currentUrlTree=new Pn(new Mn([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new hr(o,s,e=>this.triggerEvent(new un(e)),e=>this.triggerEvent(new cn(e))),this.routerState=ol(this.currentUrlTree,this.rootComponentType),this.transitions=new te({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",restoredState: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()}setupNavigations(e){const t=this.events;return e.pipe(R(e=>0!==e.id),Object(ae.a)(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Ce(e=>{let n=!1,l=!1;return I(e).pipe(Te(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Ce(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return I(e).pipe(Ce(e=>{const n=this.transitions.getValue();return t.next(new Xt(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?L:[e]}),Ce(e=>Promise.resolve(e)),function(e,t,n,l){return function(r){return r.pipe(Ce(r=>(function(e,t,n,l,i){return new Ll(e,t,n,r.extractedUrl,i).apply()})(e,t,n,0,l).pipe(Object(ae.a)(e=>Object.assign({},r,{urlAfterRedirects:e})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Te(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,l,r){return function(i){return i.pipe(Object(ve.a)(i=>(function(e,t,n,l,r="emptyOnly",i="legacy"){return new Xl(e,t,n,l,r,i).recognize()})(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),l,r).pipe(Object(ae.a)(e=>Object.assign({},i,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Te(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Te(e=>{const n=new ln(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:l,source:r,restoredState:i,extras:o}=e,s=new Xt(n,this.serializeUrl(l),r,i);t.next(s);const a=ol(l,this.rootComponentType).snapshot;return I(Object.assign({},e,{targetSnapshot:a,urlAfterRedirects:l,extras:Object.assign({},o,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),L}),ar(e=>{const{targetSnapshot:t,id:n,extractedUrl:l,rawUrl:r,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:l,rawUrlTree:r,skipLocationChange:!!i,replaceUrl:!!o})}),Te(e=>{const t=new rn(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(ae.a)(e=>Object.assign({},e,{guards:zl(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(ve.a)(n=>{const{targetSnapshot:l,currentSnapshot:r,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?I(Object.assign({},n,{guardsResult:!0})):function(e,t,n,l){return Object(J.a)(e).pipe(Object(ve.a)(e=>(function(e,t,n,l,r){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?I(i.map(i=>{const o=$l(i,t,r);let s;if(function(e){return e&&Al(e.canDeactivate)}(o))s=On(o.canDeactivate(e,t,n,l));else{if(!Al(o))throw new Error("Invalid CanDeactivate guard");s=On(o(e,t,n,l))}return s.pipe(K())})).pipe(Gl()):I(!0)})(e.component,e.route,n,t,l)),K(e=>!0!==e,!0))}(o,l,r,e).pipe(Object(ve.a)(n=>n&&function(e){return"boolean"==typeof n}()?function(e,t,n,l){return Object(J.a)(t).pipe(De(t=>Object(J.a)([Zl(t.route.parent,l),Kl(t.route,l),Yl(e,t.path,n),Ql(e,t.route,n)]).pipe(D(),K(e=>!0!==e,!0))),K(e=>!0!==e,!0))}(l,i,e,t):I(n)),Object(ae.a)(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Te(e=>{if(Tl(e.guardsResult)){const t=wn(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Te(e=>{const t=new on(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),R(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new tn(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),ar(e=>{if(e.guards.canActivateChecks.length)return I(e).pipe(Te(e=>{const t=new sn(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),function(e,t){return function(n){return n.pipe(Object(ve.a)(n=>{const{targetSnapshot:l,guards:{canActivateChecks:r}}=n;return r.length?Object(J.a)(r).pipe(De(n=>(function(e,t,n,r){return function(e,t,n,l){const r=Object.keys(e);if(0===r.length)return I({});if(1===r.length){const i=r[0];return sr(e[i],t,n,l).pipe(Object(ae.a)(e=>({[i]:e})))}const i={};return Object(J.a)(r).pipe(Object(ve.a)(r=>sr(e[r],t,n,l).pipe(Object(ae.a)(e=>(i[r]=e,e))))).pipe(he(),Object(ae.a)(()=>i))}(e._resolve,e,l,r).pipe(Object(ae.a)(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,al(e,n).resolve),null)))})(n.route,0,e,t)),function(e,t){return arguments.length>=2?function(t){return Object(xe.a)(_e(e,void 0),ue(1),H(void 0))(t)}:function(t){return Object(xe.a)(_e((t,n,l)=>e(t)),ue(1))(t)}}((e,t)=>e),Object(ae.a)(e=>n)):I(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Te(e=>{const t=new an(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),ar(e=>{const{targetSnapshot:t,id:n,extractedUrl:l,rawUrl:r,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:l,rawUrlTree:r,skipLocationChange:!!i,replaceUrl:!!o})}),Object(ae.a)(e=>{const t=function(e,t,n){const l=function e(t,n,l){if(l&&t.shouldReuseRoute(n.value,l.value.snapshot)){const r=l.value;r._futureSnapshot=n.value;const i=function(t,n,l){return n.children.map(n=>{for(const r of l.children)if(t.shouldReuseRoute(r.value.snapshot,n.value))return e(t,n,r);return e(t,n)})}(t,n,l);return new ll(r,i)}{const l=t.retrieve(n.value);if(l){const e=l.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let l=0;le(t,n));return new ll(l,i)}}var r}(e,t._root,n?n._root:void 0);return new il(l,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),Te(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Dl(this.rootContexts,this.routeReuseStrategy,e=>this.triggerEvent(e)),Te({next(){n=!0},complete(){n=!0}}),function(e){return t=>t.lift(new Ne(e))}(()=>{if(!n&&!l){this.resetUrlToCurrentUrlTree();const n=new tn(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),fe(n=>{if(l=!0,function(e){return n&&n[Cn]}()){const l=Tl(n.url);l||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new tn(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),e.resolve(!1),l&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const l=new nn(e.id,this.serializeUrl(e.extractedUrl),n);t.next(l);try{e.resolve(this.errorHandler(n))}catch(r){e.reject(r)}}return L}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign({},this.getTransition(),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",l=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,l,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){In(e),this.config=e.map(xn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:i,preserveQueryParams:o,queryParamsHandling:s,preserveFragment:a}=t;Object(l.isDevMode)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=a?this.currentUrlTree.fragment:i;let d=null;if(s)switch(s){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=o?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,l,r){if(0===n.length)return ml(t.root,t.root,t,l,r);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new vl(!0,0,e);let t=0,n=!1;const l=e.reduce((e,l,r)=>{if("object"==typeof l&&null!=l){if(l.outlets){const t={};return Rn(l.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(l.segmentPath)return[...e,l.segmentPath]}return"string"!=typeof l?[...e,l]:0===r?(l.split("/").forEach((l,r)=>{0==r&&"."===l||(0==r&&""===l?n=!0:".."===l?t++:""!=l&&e.push(l))}),e):[...e,l]},[]);return new vl(n,t,l)}(n);if(i.toRoot())return ml(t.root,new Mn([],{}),t,l,r);const o=function(e,n,l){if(e.isAbsolute)return new yl(t.root,!0,0);if(-1===l.snapshot._lastPathIndex)return new yl(l.snapshot._urlSegment,!0,0);const r=gl(e.commands[0])?0:1;return function(t,n,i){let o=l.snapshot._urlSegment,s=l.snapshot._lastPathIndex+r,a=e.numberOfDoubleDots;for(;a>s;){if(a-=s,!(o=o.parent))throw new Error("Invalid number of '../'");s=o.segments.length}return new yl(o,!1,s-a)}()}(i,0,e),s=o.processChildren?wl(o.segmentGroup,o.index,i.commands):Cl(o.segmentGroup,o.index,i.commands);return ml(o.segmentGroup,s,t,l,r)}(u,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){Object(l.isDevMode)()&&this.isNgZoneEnabled&&!l.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Tl(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const l=e[n];return null!=l&&(t[n]=l),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new en(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,l){const r=this.getTransition();if(r&&"imperative"!==t&&"imperative"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"hashchange"==t&&"popstate"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"popstate"==t&&"hashchange"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);let i=null,o=null;const s=new Promise((e,t)=>{i=e,o=t}),a=++this.navigationId;return this.setTransition({id:a,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:l,resolve:i,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,l){const r=this.urlSerializer.serialize(e);l=l||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign({},l,{navigationId:n})):this.location.go(r,"",Object.assign({},l,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}const br=(()=>(class{constructor(e,t,n,l,r){this.router=e,this.route=t,this.commands=[],null==n&&l.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(l.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:wr(this.skipLocationChange),replaceUrl:wr(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:wr(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:wr(this.preserveFragment)})}}))(),Cr=(()=>(class{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof en&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(l.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,l){if(0!==e||t||n||l)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:wr(this.skipLocationChange),replaceUrl:wr(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:wr(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:wr(this.preserveFragment)})}}))();function wr(e){return""===e||!!e}const Sr=(()=>(class{constructor(e,t,n,l,r){this.router=e,this.element=t,this.renderer=n,this.link=l,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof en&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}))();class _r{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ir,this.attachRef=null}}class Ir{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new _r,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}const Er=(()=>(class{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new l.EventEmitter,this.deactivateEvents=new l.EventEmitter,this.name=r||vn,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),l=this.parentContexts.getOrCreateContext(this.name).children,r=new Dr(e,l,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}))();class Dr{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===sl?this.route:e===Ir?this.childContexts:this.parent.get(e,t)}}class xr{}class kr{preload(e,t){return t().pipe(fe(()=>I(null)))}}class Ar{preload(e,t){return I(null)}}const Tr=(()=>(class{constructor(e,t,n,l,r){this.router=e,this.injector=l,this.preloadingStrategy=r,this.loader=new hr(t,n,t=>e.triggerEvent(new un(t)),t=>e.triggerEvent(new cn(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(R(e=>e instanceof en),De(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(l.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const l of t)if(l.loadChildren&&!l.canLoad&&l._loadedConfig){const e=l._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else l.loadChildren&&!l.canLoad?n.push(this.preloadConfig(e,l)):l.children&&n.push(this.processRoutes(e,l.children));return Object(J.a)(n).pipe(Object(E.a)(),Object(ae.a)(e=>void 0))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(ve.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}))();class Rr{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Xt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof en&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof gn&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new gn(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Or=new l.InjectionToken("ROUTER_CONFIGURATION"),Nr=new l.InjectionToken("ROUTER_FORROOT_GUARD"),Pr=[Y.Location,{provide:Bn,useClass:jn},{provide:yr,useFactory:Hr,deps:[l.ApplicationRef,Bn,Ir,Y.Location,l.Injector,l.NgModuleFactoryLoader,l.Compiler,dr,Or,[pr,new l.Optional],[ur,new l.Optional]]},Ir,{provide:sl,useFactory:Ur,deps:[yr]},{provide:l.NgModuleFactoryLoader,useClass:l.SystemJsNgModuleLoader},Tr,Ar,kr,{provide:Or,useValue:{enableTracing:!1}}];function Mr(){return new l.NgProbeToken("Router",yr)}const Lr=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Pr,jr(t),{provide:Nr,useFactory:Br,deps:[[yr,new l.Optional,new l.SkipSelf]]},{provide:Or,useValue:n||{}},{provide:Y.LocationStrategy,useFactory:Vr,deps:[Y.PlatformLocation,[new l.Inject(Y.APP_BASE_HREF),new l.Optional],Or]},{provide:Rr,useFactory:Fr,deps:[yr,Y.ViewportScroller,Or]},{provide:xr,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ar},{provide:l.NgProbeToken,multi:!0,useFactory:Mr},[zr,{provide:l.APP_INITIALIZER,multi:!0,useFactory:$r,deps:[zr]},{provide:Wr,useFactory:qr,deps:[zr]},{provide:l.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Wr}]]}}static forChild(t){return{ngModule:e,providers:[jr(t)]}}}return e})();function Fr(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Rr(e,t,n)}function Vr(e,t,n={}){return n.useHash?new Y.HashLocationStrategy(e,t):new Y.PathLocationStrategy(e,t)}function Br(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function jr(e){return[{provide:l.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:dr,multi:!0,useValue:e}]}function Hr(e,t,n,l,r,i,o,s,a={},u,c){const d=new yr(null,t,n,l,r,i,o,An(s));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),a.errorHandler&&(d.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(d.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const e=Le();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return a.onSameUrlNavigation&&(d.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(d.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(d.relativeLinkResolution=a.relativeLinkResolution),d}function Ur(e){return e.routerState.root}const zr=(()=>(class{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new X.a}appInitializer(){return this.injector.get(Y.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(yr),l=this.injector.get(Or);if(this.isLegacyDisabled(l)||this.isLegacyEnabled(l))e(!0);else if("disabled"===l.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==l.initialNavigation)throw new Error(`Invalid initialNavigation options: '${l.initialNavigation}'`);n.hooks.afterPreactivation=(()=>this.initNavigation?I(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone)),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Or),n=this.injector.get(Tr),r=this.injector.get(Rr),i=this.injector.get(yr),o=this.injector.get(l.ApplicationRef);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}))();function $r(e){return e.appInitializer.bind(e)}function qr(e){return e.bootstrapListener.bind(e)}const Wr=new l.InjectionToken("Router Initializer");var Gr=l["\u0275crt"]({encapsulation:2,styles:[],data:{}});function Kr(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),l["\u0275did"](1,212992,null,0,Er,[Ir,l.ViewContainerRef,l.ComponentFactoryResolver,[8,null],l.ChangeDetectorRef],null,null)],function(e,t){e(t,1,0)},null)}function Zr(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,Kr,Gr)),l["\u0275did"](1,49152,null,0,mn,[],null,null)],null,null)}var Qr=l["\u0275ccf"]("ng-component",mn,Zr,{},{},[]),Yr=n("pODc"),Jr=n("7LN8"),Xr=n("g4HV"),ei=n("sdDj"),ti=l["\u0275crt"]({encapsulation:2,styles:[],data:{}});function ni(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,2,"span",[["class","ui-tabview-left-icon"]],null,null,null,null,null)),l["\u0275prd"](512,null,Y["\u0275NgClassImpl"],Y["\u0275NgClassR2Impl"],[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2]),l["\u0275did"](2,278528,null,0,Y.NgClass,[Y["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(e,t){e(t,2,0,"ui-tabview-left-icon",t.parent.parent.parent.context.$implicit.leftIcon)},null)}function li(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,2,"span",[["class","ui-tabview-right-icon"]],null,null,null,null,null)),l["\u0275prd"](512,null,Y["\u0275NgClassImpl"],Y["\u0275NgClassR2Impl"],[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2]),l["\u0275did"](2,278528,null,0,Y.NgClass,[Y["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(e,t){e(t,2,0,"ui-tabview-right-icon",t.parent.parent.parent.context.$implicit.rightIcon)},null)}function ri(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,6,null,null,null,null,null,null,null)),(e()(),l["\u0275and"](16777216,null,null,1,null,ni)),l["\u0275did"](2,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275eld"](3,0,null,null,1,"span",[["class","ui-tabview-title"]],null,null,null,null,null)),(e()(),l["\u0275ted"](4,null,["",""])),(e()(),l["\u0275and"](16777216,null,null,1,null,li)),l["\u0275did"](6,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275and"](0,null,null,0))],function(e,t){e(t,2,0,t.parent.parent.context.$implicit.leftIcon),e(t,6,0,t.parent.parent.context.$implicit.rightIcon)},function(e,t){e(t,4,0,t.parent.parent.context.$implicit.header)})}function ii(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function oi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),l["\u0275and"](16777216,null,null,1,null,ii)),l["\u0275did"](2,540672,null,0,Y.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),l["\u0275and"](0,null,null,0))],function(e,t){e(t,2,0,t.parent.parent.context.$implicit.headerTemplate)},null)}function si(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,0,"span",[["class","ui-tabview-close pi pi-times"]],null,[[null,"click"]],function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.clickClose(n,e.parent.parent.context.$implicit)&&l),l},null,null))],null,null)}function ai(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,14,"li",[["role","presentation"]],null,[[null,"click"]],function(e,t,n){var l=!0;return"click"===t&&(l=!1!==e.component.clickTab(n,e.parent.context.$implicit)&&l),l},null,null)),l["\u0275prd"](512,null,Y["\u0275NgClassImpl"],Y["\u0275NgClassR2Impl"],[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2]),l["\u0275did"](2,278528,null,0,Y.NgClass,[Y["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["\u0275pod"](3,{"ui-tabview-selected ui-state-active":0,"ui-state-disabled":1}),l["\u0275prd"](512,null,Y["\u0275NgStyleImpl"],Y["\u0275NgStyleR2Impl"],[l.ElementRef,l.KeyValueDiffers,l.Renderer2]),l["\u0275did"](5,278528,null,0,Y.NgStyle,[Y["\u0275NgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(e()(),l["\u0275eld"](6,0,null,null,6,"a",[["href","#"],["role","tab"]],[[1,"id",0],[1,"aria-selected",0],[1,"aria-controls",0]],null,null,null,null)),l["\u0275prd"](512,null,ei.DomHandler,ei.DomHandler,[]),l["\u0275did"](8,4341760,null,0,Xr.Tooltip,[l.ElementRef,ei.DomHandler,l.NgZone],{tooltipPosition:[0,"tooltipPosition"],text:[1,"text"]},null),(e()(),l["\u0275and"](16777216,null,null,1,null,ri)),l["\u0275did"](10,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275and"](16777216,null,null,1,null,oi)),l["\u0275did"](12,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275and"](16777216,null,null,1,null,si)),l["\u0275did"](14,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component,l=n.getDefaultHeaderClass(t.parent.context.$implicit),r=e(t,3,0,t.parent.context.$implicit.selected,t.parent.context.$implicit.disabled);e(t,2,0,l,r),e(t,5,0,t.parent.context.$implicit.headerStyle),e(t,8,0,n.orientation,t.parent.context.$implicit.tooltip),e(t,10,0,!t.parent.context.$implicit.headerTemplate),e(t,12,0,t.parent.context.$implicit.headerTemplate),e(t,14,0,t.parent.context.$implicit.closable)},function(e,t){e(t,6,0,t.parent.context.$implicit.id+"-label",t.parent.context.$implicit.selected,t.parent.context.$implicit.id)})}function ui(e){return l["\u0275vid"](0,[(e()(),l["\u0275and"](16777216,null,null,1,null,ai)),l["\u0275did"](1,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275and"](0,null,null,0))],function(e,t){e(t,1,0,!t.context.$implicit.closed)},null)}function ci(e){return l["\u0275vid"](0,[(e()(),l["\u0275and"](16777216,null,null,1,null,ui)),l["\u0275did"](1,278528,null,0,Y.NgForOf,[l.ViewContainerRef,l.TemplateRef,l.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,1,0,t.component.tabs)},null)}var di=l["\u0275crt"]({encapsulation:2,styles:[],data:{}});function hi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,0,null,null,null,null,null,null,null))],null,null)}function pi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),l["\u0275and"](16777216,null,null,1,null,hi)),l["\u0275did"](2,540672,null,0,Y.NgTemplateOutlet,[l.ViewContainerRef],{ngTemplateOutlet:[0,"ngTemplateOutlet"]},null),(e()(),l["\u0275and"](0,null,null,0))],function(e,t){e(t,2,0,t.component.contentTemplate)},null)}function fi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,6,"div",[["class","ui-tabview-panel ui-widget-content"],["role","tabpanel"]],[[1,"id",0],[1,"aria-hidden",0],[1,"aria-labelledby",0]],null,null,null,null)),l["\u0275prd"](512,null,Y["\u0275NgClassImpl"],Y["\u0275NgClassR2Impl"],[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2]),l["\u0275did"](2,278528,null,0,Y.NgClass,[Y["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["\u0275pod"](3,{"ui-helper-hidden":0}),l["\u0275ncd"](null,0),(e()(),l["\u0275and"](16777216,null,null,1,null,pi)),l["\u0275did"](6,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component,l=e(t,3,0,!n.selected);e(t,2,0,"ui-tabview-panel ui-widget-content",l),e(t,6,0,n.contentTemplate&&(n.cache?n.loaded:n.selected))},function(e,t){var n=t.component;e(t,0,0,n.id,!n.selected,n.id+"-label")})}function gi(e){return l["\u0275vid"](0,[(e()(),l["\u0275and"](16777216,null,null,1,null,fi)),l["\u0275did"](1,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,1,0,!t.component.closed)},null)}var mi=l["\u0275crt"]({encapsulation:2,styles:[],data:{}});function vi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,1,"ul",[["p-tabViewNav",""],["role","tablist"]],[[2,"ui-tabview-nav",null],[2,"ui-helper-reset",null],[2,"ui-helper-clearfix",null],[2,"ui-widget-header",null],[2,"ui-corner-all",null]],[[null,"onTabClick"],[null,"onTabCloseClick"]],function(e,t,n){var l=!0,r=e.component;return"onTabClick"===t&&(l=!1!==r.open(n.originalEvent,n.tab)&&l),"onTabCloseClick"===t&&(l=!1!==r.close(n.originalEvent,n.tab)&&l),l},ci,ti)),l["\u0275did"](1,49152,null,0,Yr.TabViewNav,[],{tabs:[0,"tabs"],orientation:[1,"orientation"]},{onTabClick:"onTabClick",onTabCloseClick:"onTabCloseClick"})],function(e,t){var n=t.component;e(t,1,0,n.tabs,n.orientation)},function(e,t){e(t,0,0,!0,!0,!0,!0,!0)})}function yi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,1,"ul",[["p-tabViewNav",""],["role","tablist"]],[[2,"ui-tabview-nav",null],[2,"ui-helper-reset",null],[2,"ui-helper-clearfix",null],[2,"ui-widget-header",null],[2,"ui-corner-all",null]],[[null,"onTabClick"],[null,"onTabCloseClick"]],function(e,t,n){var l=!0,r=e.component;return"onTabClick"===t&&(l=!1!==r.open(n.originalEvent,n.tab)&&l),"onTabCloseClick"===t&&(l=!1!==r.close(n.originalEvent,n.tab)&&l),l},ci,ti)),l["\u0275did"](1,49152,null,0,Yr.TabViewNav,[],{tabs:[0,"tabs"],orientation:[1,"orientation"]},{onTabClick:"onTabClick",onTabCloseClick:"onTabCloseClick"})],function(e,t){var n=t.component;e(t,1,0,n.tabs,n.orientation)},function(e,t){e(t,0,0,!0,!0,!0,!0,!0)})}function bi(e){return l["\u0275vid"](0,[(e()(),l["\u0275eld"](0,0,null,null,10,"div",[],null,null,null,null,null)),l["\u0275prd"](512,null,Y["\u0275NgClassImpl"],Y["\u0275NgClassR2Impl"],[l.IterableDiffers,l.KeyValueDiffers,l.ElementRef,l.Renderer2]),l["\u0275did"](2,278528,null,0,Y.NgClass,[Y["\u0275NgClassImpl"]],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),l["\u0275prd"](512,null,Y["\u0275NgStyleImpl"],Y["\u0275NgStyleR2Impl"],[l.ElementRef,l.KeyValueDiffers,l.Renderer2]),l["\u0275did"](4,278528,null,0,Y.NgStyle,[Y["\u0275NgStyleImpl"]],{ngStyle:[0,"ngStyle"]},null),(e()(),l["\u0275and"](16777216,null,null,1,null,vi)),l["\u0275did"](6,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),l["\u0275eld"](7,0,null,null,1,"div",[["class","ui-tabview-panels"]],null,null,null,null,null)),l["\u0275ncd"](null,0),(e()(),l["\u0275and"](16777216,null,null,1,null,yi)),l["\u0275did"](10,16384,null,0,Y.NgIf,[l.ViewContainerRef,l.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.styleClass,"ui-tabview ui-widget ui-widget-content ui-corner-all ui-tabview-"+n.orientation),e(t,4,0,n.style),e(t,6,0,"bottom"!=n.orientation),e(t,10,0,"bottom"==n.orientation)},null)}class Ci{constructor(){}ngAfterViewInit(){this.iframe.nativeElement.id="gist-"+this.gistId;let e=this.iframe.nativeElement.contentDocument||this.iframe.nativeElement.contentElement.contentWindow,t=`\n \n \n \n \n \n