{"size": 991192, "ext": "js", "max_stars_repo_path": "docs/assets/app.js", "max_stars_repo_name": "fabianweb/css-animation-builder", "max_stars_repo_stars_event_min_datetime": "2016-06-23T12:38:15.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-26T15:41:38.000Z", "max_issues_repo_path": "docs/assets/app.js", "max_issues_repo_name": "fabianweb/css-animation-builder", "max_issues_repo_issues_event_min_datetime": "2016-06-23T18:34:22.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-30T18:17:38.000Z", "max_forks_repo_path": "docs/assets/app.js", "max_forks_repo_name": "fabianweb/css-animation-builder", "max_forks_repo_forks_event_min_datetime": "2016-11-07T21:01:02.000Z", "max_forks_repo_forks_event_max_datetime": "2018-12-05T11:09:08.000Z"}
{"max_stars_count": 83, "max_issues_count": 37, "max_forks_count": 18, "avg_line_length": 328.1006289308, "max_line_length": 30628, "alphanum_fraction": 0.7179133811}
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=23)}([function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return fr})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return q_})),n.d(t,"APP_ID",(function(){return j_})),n.d(t,"APP_INITIALIZER",(function(){return F_})),n.d(t,"ApplicationInitStatus",(function(){return L_})),n.d(t,"ApplicationModule",(function(){return NE})),n.d(t,"ApplicationRef",(function(){return zw})),n.d(t,"Attribute",(function(){return dr})),n.d(t,"COMPILER_OPTIONS",(function(){return pw})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Vi})),n.d(t,"ChangeDetectionStrategy",(function(){return ne})),n.d(t,"ChangeDetectorRef",(function(){return gm})),n.d(t,"Compiler",(function(){return uw})),n.d(t,"CompilerFactory",(function(){return dw})),n.d(t,"Component",(function(){return E_})),n.d(t,"ComponentFactory",(function(){return kf})),n.d(t,"ComponentFactoryResolver",(function(){return Of})),n.d(t,"ComponentRef",(function(){return Mf})),n.d(t,"ContentChild",(function(){return vr})),n.d(t,"ContentChildren",(function(){return gr})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return Z_})),n.d(t,"DebugElement",(function(){return SE})),n.d(t,"DebugEventListener",(function(){return iE})),n.d(t,"DebugNode",(function(){return xE})),n.d(t,"DefaultIterableDiffer",(function(){return em})),n.d(t,"Directive",(function(){return w_})),n.d(t,"ElementRef",(function(){return Hf})),n.d(t,"EmbeddedViewRef",(function(){return sE})),n.d(t,"ErrorHandler",(function(){return ji})),n.d(t,"EventEmitter",(function(){return gy})),n.d(t,"Host",(function(){return is})),n.d(t,"HostBinding",(function(){return S_})),n.d(t,"HostListener",(function(){return D_})),n.d(t,"INJECTOR",(function(){return Hl})),n.d(t,"Inject",(function(){return ts})),n.d(t,"InjectFlags",(function(){return Q})),n.d(t,"Injectable",(function(){return ku})),n.d(t,"InjectionToken",(function(){return hr})),n.d(t,"Injector",(function(){return ic})),n.d(t,"Input",(function(){return C_})),n.d(t,"IterableDiffers",(function(){return cm})),n.d(t,"KeyValueDiffers",(function(){return pm})),n.d(t,"LOCALE_ID",(function(){return G_})),n.d(t,"MissingTranslationStrategy",(function(){return Y_})),n.d(t,"ModuleWithComponentFactories",(function(){return ew})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Bi})),n.d(t,"NgModule",(function(){return N_})),n.d(t,"NgModuleFactory",(function(){return Mm})),n.d(t,"NgModuleFactoryLoader",(function(){return Zw})),n.d(t,"NgModuleRef",(function(){return Am})),n.d(t,"NgProbeToken",(function(){return Lw})),n.d(t,"NgZone",(function(){return mw})),n.d(t,"Optional",(function(){return ns})),n.d(t,"Output",(function(){return x_})),n.d(t,"PACKAGE_ROOT_URL",(function(){return z_})),n.d(t,"PLATFORM_ID",(function(){return U_})),n.d(t,"PLATFORM_INITIALIZER",(function(){return H_})),n.d(t,"Pipe",(function(){return b_})),n.d(t,"PlatformRef",(function(){return Uw})),n.d(t,"Query",(function(){return mr})),n.d(t,"QueryList",(function(){return yy})),n.d(t,"ReflectiveInjector",(function(){return Xu})),n.d(t,"ReflectiveKey",(function(){return ju})),n.d(t,"Renderer2",(function(){return zf})),n.d(t,"RendererFactory2",(function(){return qf})),n.d(t,"RendererStyleFlags2",(function(){return to})),n.d(t,"ResolvedReflectiveFactory",(function(){return qu})),n.d(t,"Sanitizer",(function(){return Kf})),n.d(t,"SecurityContext",(function(){return fi})),n.d(t,"Self",(function(){return rs})),n.d(t,"SimpleChange",(function(){return st})),n.d(t,"SkipSelf",(function(){return ss})),n.d(t,"SystemJsNgModuleLoader",(function(){return tE})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Jw})),n.d(t,"TRANSLATIONS",(function(){return K_})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return Q_})),n.d(t,"TemplateRef",(function(){return xm})),n.d(t,"Testability",(function(){return bw})),n.d(t,"TestabilityRegistry",(function(){return Cw})),n.d(t,"Type",(function(){return Cr})),n.d(t,"VERSION",(function(){return Yf})),n.d(t,"Version",(function(){return Qf})),n.d(t,"ViewChild",(function(){return _r})),n.d(t,"ViewChildren",(function(){return yr})),n.d(t,"ViewContainerRef",(function(){return Nm})),n.d(t,"ViewEncapsulation",(function(){return se})),n.d(t,"ViewRef",(function(){return rE})),n.d(t,"WrappedValue",(function(){return Zc})),n.d(t,"asNativeElements",(function(){return lE})),n.d(t,"assertPlatform",(function(){return Bw})),n.d(t,"createPlatform",(function(){return jw})),n.d(t,"createPlatformFactory",(function(){return Vw})),n.d(t,"defineInjectable",(function(){return $})),n.d(t,"destroyPlatform",(function(){return $w})),n.d(t,"enableProdMode",(function(){return Mw})),n.d(t,"forwardRef",(function(){return h})),n.d(t,"getDebugNode",(function(){return wE})),n.d(t,"getModuleFactory",(function(){return Yw})),n.d(t,"getPlatform",(function(){return Hw})),n.d(t,"inject",(function(){return Kr})),n.d(t,"isDevMode",(function(){return Aw})),n.d(t,"platformCore",(function(){return DE})),n.d(t,"resolveForwardRef",(function(){return f})),n.d(t,"setTestabilityGetter",(function(){return xw})),n.d(t,"ɵ0",(function(){return es})),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return Fw})),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return B_})),n.d(t,"ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__",(function(){return pr})),n.d(t,"ɵChangeDetectorStatus",(function(){return re})),n.d(t,"ɵCodegenComponentFactoryResolver",(function(){return Rf})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return lw})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return ow})),n.d(t,"ɵCompiler_compileModuleAsync__POST_R3__",(function(){return sw})),n.d(t,"ɵCompiler_compileModuleSync__POST_R3__",(function(){return nw})),n.d(t,"ɵComponentFactory",(function(){return kf})),n.d(t,"ɵConsole",(function(){return W_})),n.d(t,"ɵDEFAULT_LOCALE_ID",(function(){return ah})),n.d(t,"ɵEMPTY_ARRAY",(function(){return de})),n.d(t,"ɵEMPTY_MAP",(function(){return Pg})),n.d(t,"ɵINJECTOR_IMPL__POST_R3__",(function(){return rc})),n.d(t,"ɵINJECTOR_SCOPE",(function(){return ql})),n.d(t,"ɵLifecycleHooksFeature",(function(){return Oc})),n.d(t,"ɵLocaleDataIndex",(function(){return ih})),n.d(t,"ɵNG_COMP_DEF",(function(){return he})),n.d(t,"ɵNG_DIR_DEF",(function(){return fe})),n.d(t,"ɵNG_ELEMENT_ID",(function(){return _e})),n.d(t,"ɵNG_INJ_DEF",(function(){return G})),n.d(t,"ɵNG_MOD_DEF",(function(){return ge})),n.d(t,"ɵNG_PIPE_DEF",(function(){return me})),n.d(t,"ɵNG_PROV_DEF",(function(){return W})),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return xv})),n.d(t,"ɵNO_CHANGE",(function(){return Xo})),n.d(t,"ɵNgModuleFactory",(function(){return Uv})),n.d(t,"ɵNoopNgZone",(function(){return Ew})),n.d(t,"ɵReflectionCapabilities",(function(){return jr})),n.d(t,"ɵRender3ComponentFactory",(function(){return Ov})),n.d(t,"ɵRender3ComponentRef",(function(){return Rv})),n.d(t,"ɵRender3NgModuleRef",(function(){return Hv})),n.d(t,"ɵRuntimeError",(function(){return g})),n.d(t,"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return fm})),n.d(t,"ɵSWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return T_})),n.d(t,"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return I_})),n.d(t,"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return Pu})),n.d(t,"ɵSWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return O_})),n.d(t,"ɵSWITCH_COMPILE_PIPE__POST_R3__",(function(){return A_})),n.d(t,"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Bf})),n.d(t,"ɵSWITCH_IVY_ENABLED__POST_R3__",(function(){return X_})),n.d(t,"ɵSWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return Wf})),n.d(t,"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return bm})),n.d(t,"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return km})),n.d(t,"ɵ_sanitizeHtml",(function(){return di})),n.d(t,"ɵ_sanitizeUrl",(function(){return qs})),n.d(t,"ɵallowSanitizationBypassAndThrow",(function(){return Ps})),n.d(t,"ɵand",(function(){return OE})),n.d(t,"ɵangular_packages_core_core_a",(function(){return m})),n.d(t,"ɵangular_packages_core_core_b",(function(){return Wr})),n.d(t,"ɵangular_packages_core_core_ba",(function(){return PE})),n.d(t,"ɵangular_packages_core_core_bb",(function(){return lh})),n.d(t,"ɵangular_packages_core_core_bc",(function(){return vv})),n.d(t,"ɵangular_packages_core_core_bd",(function(){return Qm})),n.d(t,"ɵangular_packages_core_core_be",(function(){return ot})),n.d(t,"ɵangular_packages_core_core_bf",(function(){return Nv})),n.d(t,"ɵangular_packages_core_core_bg",(function(){return Un})),n.d(t,"ɵangular_packages_core_core_bh",(function(){return Ot})),n.d(t,"ɵangular_packages_core_core_bi",(function(){return zt})),n.d(t,"ɵangular_packages_core_core_bj",(function(){return pn})),n.d(t,"ɵangular_packages_core_core_bl",(function(){return ty})),n.d(t,"ɵangular_packages_core_core_bm",(function(){return ny})),n.d(t,"ɵangular_packages_core_core_bn",(function(){return ry})),n.d(t,"ɵangular_packages_core_core_bo",(function(){return sy})),n.d(t,"ɵangular_packages_core_core_bp",(function(){return iy})),n.d(t,"ɵangular_packages_core_core_bq",(function(){return bi})),n.d(t,"ɵangular_packages_core_core_br",(function(){return ur})),n.d(t,"ɵangular_packages_core_core_bs",(function(){return cr})),n.d(t,"ɵangular_packages_core_core_bv",(function(){return l})),n.d(t,"ɵangular_packages_core_core_bw",(function(){return Ul})),n.d(t,"ɵangular_packages_core_core_bx",(function(){return X})),n.d(t,"ɵangular_packages_core_core_bz",(function(){return Et})),n.d(t,"ɵangular_packages_core_core_c",(function(){return Yr})),n.d(t,"ɵangular_packages_core_core_cb",(function(){return oo})),n.d(t,"ɵangular_packages_core_core_cc",(function(){return ff})),n.d(t,"ɵangular_packages_core_core_d",(function(){return Ju})),n.d(t,"ɵangular_packages_core_core_e",(function(){return $u})),n.d(t,"ɵangular_packages_core_core_f",(function(){return Gu})),n.d(t,"ɵangular_packages_core_core_g",(function(){return V_})),n.d(t,"ɵangular_packages_core_core_h",(function(){return Zf})),n.d(t,"ɵangular_packages_core_core_i",(function(){return jf})),n.d(t,"ɵangular_packages_core_core_j",(function(){return Vf})),n.d(t,"ɵangular_packages_core_core_k",(function(){return Kw})),n.d(t,"ɵangular_packages_core_core_l",(function(){return Tm})),n.d(t,"ɵangular_packages_core_core_m",(function(){return Im})),n.d(t,"ɵangular_packages_core_core_n",(function(){return Om})),n.d(t,"ɵangular_packages_core_core_o",(function(){return oE})),n.d(t,"ɵangular_packages_core_core_p",(function(){return aE})),n.d(t,"ɵangular_packages_core_core_q",(function(){return EE})),n.d(t,"ɵangular_packages_core_core_r",(function(){return vm})),n.d(t,"ɵangular_packages_core_core_s",(function(){return Xf})),n.d(t,"ɵangular_packages_core_core_t",(function(){return im})),n.d(t,"ɵangular_packages_core_core_u",(function(){return lm})),n.d(t,"ɵangular_packages_core_core_v",(function(){return um})),n.d(t,"ɵangular_packages_core_core_w",(function(){return TE})),n.d(t,"ɵangular_packages_core_core_x",(function(){return IE})),n.d(t,"ɵangular_packages_core_core_y",(function(){return AE})),n.d(t,"ɵangular_packages_core_core_z",(function(){return kE})),n.d(t,"ɵbypassSanitizationTrustHtml",(function(){return Os})),n.d(t,"ɵbypassSanitizationTrustResourceUrl",(function(){return js})),n.d(t,"ɵbypassSanitizationTrustScript",(function(){return Fs})),n.d(t,"ɵbypassSanitizationTrustStyle",(function(){return Rs})),n.d(t,"ɵbypassSanitizationTrustUrl",(function(){return Ls})),n.d(t,"ɵccf",(function(){return Wg})),n.d(t,"ɵclearOverrides",(function(){return lC})),n.d(t,"ɵclearResolutionOfComponentResourcesQueue",(function(){return fs})),n.d(t,"ɵcmf",(function(){return cC})),n.d(t,"ɵcompileComponent",(function(){return r_})),n.d(t,"ɵcompileDirective",(function(){return s_})),n.d(t,"ɵcompileNgModule",(function(){return Hy})),n.d(t,"ɵcompileNgModuleDefs",(function(){return Uy})),n.d(t,"ɵcompileNgModuleFactory__POST_R3__",(function(){return Pw})),n.d(t,"ɵcompilePipe",(function(){return y_})),n.d(t,"ɵcreateInjector",(function(){return Kl})),n.d(t,"ɵcrt",(function(){return ng})),n.d(t,"ɵdefaultIterableDiffers",(function(){return wm})),n.d(t,"ɵdefaultKeyValueDiffers",(function(){return Em})),n.d(t,"ɵdetectChanges",(function(){return Bl})),n.d(t,"ɵdevModeEqual",(function(){return Gc})),n.d(t,"ɵdid",(function(){return fv})),n.d(t,"ɵeld",(function(){return RE})),n.d(t,"ɵfindLocaleData",(function(){return eh})),n.d(t,"ɵflushModuleScopingQueueAsMuchAsPossible",(function(){return By})),n.d(t,"ɵgetComponentViewDefinitionFactory",(function(){return Gg})),n.d(t,"ɵgetDebugNodeR2",(function(){return bE})),n.d(t,"ɵgetDebugNode__POST_R3__",(function(){return _E})),n.d(t,"ɵgetDirectives",(function(){return wc})),n.d(t,"ɵgetHostElement",(function(){return bc})),n.d(t,"ɵgetInjectableDef",(function(){return U})),n.d(t,"ɵgetLContext",(function(){return Si})),n.d(t,"ɵgetLocaleCurrencyCode",(function(){return th})),n.d(t,"ɵgetLocalePluralCase",(function(){return nh})),n.d(t,"ɵgetModuleFactory__POST_R3__",(function(){return Qw})),n.d(t,"ɵgetSanitizationBypassType",(function(){return Ns})),n.d(t,"ɵglobal",(function(){return ce})),n.d(t,"ɵinitServicesIfNeeded",(function(){return Cb})),n.d(t,"ɵinlineInterpolate",(function(){return Mg})),n.d(t,"ɵinterpolate",(function(){return Ag})),n.d(t,"ɵisBoundToModule__POST_R3__",(function(){return Rw})),n.d(t,"ɵisDefaultChangeDetectionStrategy",(function(){return ie})),n.d(t,"ɵisListLikeIterable",(function(){return Kc})),n.d(t,"ɵisObservable",(function(){return fp})),n.d(t,"ɵisPromise",(function(){return dp})),n.d(t,"ɵisSubscribable",(function(){return hp})),n.d(t,"ɵivyEnabled",(function(){return J_})),n.d(t,"ɵmakeDecorator",(function(){return ar})),n.d(t,"ɵmarkDirty",(function(){return $l})),n.d(t,"ɵmod",(function(){return jg})),n.d(t,"ɵmpd",(function(){return Lg})),n.d(t,"ɵncd",(function(){return zE})),n.d(t,"ɵnoSideEffects",(function(){return te})),n.d(t,"ɵnov",(function(){return sv})),n.d(t,"ɵoverrideComponentView",(function(){return aC})),n.d(t,"ɵoverrideProvider",(function(){return oC})),n.d(t,"ɵpad",(function(){return ZE})),n.d(t,"ɵpatchComponentDefWithScope",(function(){return Xy})),n.d(t,"ɵpid",(function(){return mv})),n.d(t,"ɵpod",(function(){return KE})),n.d(t,"ɵppd",(function(){return GE})),n.d(t,"ɵprd",(function(){return gv})),n.d(t,"ɵpublishDefaultGlobalUtils",(function(){return Ic})),n.d(t,"ɵpublishGlobalUtil",(function(){return Ac})),n.d(t,"ɵqud",(function(){return BE})),n.d(t,"ɵregisterLocaleData",(function(){return Jd})),n.d(t,"ɵregisterModuleFactory",(function(){return jv})),n.d(t,"ɵregisterNgModuleType",(function(){return Bv})),n.d(t,"ɵrenderComponent",(function(){return Mc})),n.d(t,"ɵresetCompiledComponents",(function(){return Ky})),n.d(t,"ɵresetJitOptions",(function(){return Ly})),n.d(t,"ɵresolveComponentResources",(function(){return us})),n.d(t,"ɵsetClassMetadata",(function(){return Fv})),n.d(t,"ɵsetCurrentInjector",(function(){return zr})),n.d(t,"ɵsetDocument",(function(){return ft})),n.d(t,"ɵsetLocaleId",(function(){return hh})),n.d(t,"ɵstore",(function(){return Cu})),n.d(t,"ɵstringify",(function(){return u})),n.d(t,"ɵted",(function(){return YE})),n.d(t,"ɵtransitiveScopesFor",(function(){return Jy})),n.d(t,"ɵunregisterLocaleData",(function(){return sh})),n.d(t,"ɵunv",(function(){return tg})),n.d(t,"ɵunwrapSafeValue",(function(){return ks})),n.d(t,"ɵvid",(function(){return eb})),n.d(t,"ɵwhenRendered",(function(){return Rc})),n.d(t,"ɵɵCopyDefinitionFeature",(function(){return qc})),n.d(t,"ɵɵFactoryTarget",(function(){return wr})),n.d(t,"ɵɵInheritDefinitionFeature",(function(){return Lc})),n.d(t,"ɵɵNgOnChangesFeature",(function(){return it})),n.d(t,"ɵɵProvidersFeature",(function(){return Af})),n.d(t,"ɵɵadvance",(function(){return Jo})),n.d(t,"ɵɵattribute",(function(){return ru})),n.d(t,"ɵɵattributeInterpolate1",(function(){return hu})),n.d(t,"ɵɵattributeInterpolate2",(function(){return fu})),n.d(t,"ɵɵattributeInterpolate3",(function(){return mu})),n.d(t,"ɵɵattributeInterpolate4",(function(){return gu})),n.d(t,"ɵɵattributeInterpolate5",(function(){return vu})),n.d(t,"ɵɵattributeInterpolate6",(function(){return yu})),n.d(t,"ɵɵattributeInterpolate7",(function(){return _u})),n.d(t,"ɵɵattributeInterpolate8",(function(){return wu})),n.d(t,"ɵɵattributeInterpolateV",(function(){return Eu})),n.d(t,"ɵɵclassMap",(function(){return Yp})),n.d(t,"ɵɵclassMapInterpolate1",(function(){return Ed})),n.d(t,"ɵɵclassMapInterpolate2",(function(){return bd})),n.d(t,"ɵɵclassMapInterpolate3",(function(){return Cd})),n.d(t,"ɵɵclassMapInterpolate4",(function(){return xd})),n.d(t,"ɵɵclassMapInterpolate5",(function(){return Sd})),n.d(t,"ɵɵclassMapInterpolate6",(function(){return Dd})),n.d(t,"ɵɵclassMapInterpolate7",(function(){return Td})),n.d(t,"ɵɵclassMapInterpolate8",(function(){return Id})),n.d(t,"ɵɵclassMapInterpolateV",(function(){return Ad})),n.d(t,"ɵɵclassProp",(function(){return Zp})),n.d(t,"ɵɵcontentQuery",(function(){return Ay})),n.d(t,"ɵɵdefineComponent",(function(){return Ee})),n.d(t,"ɵɵdefineDirective",(function(){return Ae})),n.d(t,"ɵɵdefineInjectable",(function(){return B})),n.d(t,"ɵɵdefineInjector",(function(){return H})),n.d(t,"ɵɵdefineNgModule",(function(){return De})),n.d(t,"ɵɵdefinePipe",(function(){return Me})),n.d(t,"ɵɵdirectiveInject",(function(){return ep})),n.d(t,"ɵɵdisableBindings",(function(){return Nt})),n.d(t,"ɵɵelement",(function(){return ap})),n.d(t,"ɵɵelementContainer",(function(){return up})),n.d(t,"ɵɵelementContainerEnd",(function(){return cp})),n.d(t,"ɵɵelementContainerStart",(function(){return lp})),n.d(t,"ɵɵelementEnd",(function(){return op})),n.d(t,"ɵɵelementStart",(function(){return ip})),n.d(t,"ɵɵenableBindings",(function(){return Pt})),n.d(t,"ɵɵgetCurrentView",(function(){return pp})),n.d(t,"ɵɵgetInheritedFactory",(function(){return tr})),n.d(t,"ɵɵhostProperty",(function(){return Zd})),n.d(t,"ɵɵi18n",(function(){return vf})),n.d(t,"ɵɵi18nApply",(function(){return wf})),n.d(t,"ɵɵi18nAttributes",(function(){return yf})),n.d(t,"ɵɵi18nEnd",(function(){return gf})),n.d(t,"ɵɵi18nExp",(function(){return _f})),n.d(t,"ɵɵi18nPostprocess",(function(){return Ef})),n.d(t,"ɵɵi18nStart",(function(){return mf})),n.d(t,"ɵɵinject",(function(){return Gr})),n.d(t,"ɵɵinjectAttribute",(function(){return rr})),n.d(t,"ɵɵinvalidFactory",(function(){return tp})),n.d(t,"ɵɵinvalidFactoryDep",(function(){return Zr})),n.d(t,"ɵɵlistener",(function(){return mp})),n.d(t,"ɵɵloadQuery",(function(){return My})),n.d(t,"ɵɵnamespaceHTML",(function(){return vn})),n.d(t,"ɵɵnamespaceMathML",(function(){return gn})),n.d(t,"ɵɵnamespaceSVG",(function(){return mn})),n.d(t,"ɵɵnextContext",(function(){return wp})),n.d(t,"ɵɵngDeclareClassMetadata",(function(){return dC})),n.d(t,"ɵɵngDeclareComponent",(function(){return hC})),n.d(t,"ɵɵngDeclareDirective",(function(){return pC})),n.d(t,"ɵɵngDeclareFactory",(function(){return fC})),n.d(t,"ɵɵngDeclareInjectable",(function(){return gC})),n.d(t,"ɵɵngDeclareInjector",(function(){return vC})),n.d(t,"ɵɵngDeclareNgModule",(function(){return yC})),n.d(t,"ɵɵngDeclarePipe",(function(){return _C})),n.d(t,"ɵɵpipe",(function(){return oy})),n.d(t,"ɵɵpipeBind1",(function(){return ay})),n.d(t,"ɵɵpipeBind2",(function(){return ly})),n.d(t,"ɵɵpipeBind3",(function(){return cy})),n.d(t,"ɵɵpipeBind4",(function(){return uy})),n.d(t,"ɵɵpipeBindV",(function(){return py})),n.d(t,"ɵɵprojection",(function(){return Cp})),n.d(t,"ɵɵprojectionDef",(function(){return bp})),n.d(t,"ɵɵproperty",(function(){return np})),n.d(t,"ɵɵpropertyInterpolate",(function(){return xp})),n.d(t,"ɵɵpropertyInterpolate1",(function(){return Sp})),n.d(t,"ɵɵpropertyInterpolate2",(function(){return Dp})),n.d(t,"ɵɵpropertyInterpolate3",(function(){return Tp})),n.d(t,"ɵɵpropertyInterpolate4",(function(){return Ip})),n.d(t,"ɵɵpropertyInterpolate5",(function(){return Ap})),n.d(t,"ɵɵpropertyInterpolate6",(function(){return Mp})),n.d(t,"ɵɵpropertyInterpolate7",(function(){return kp})),n.d(t,"ɵɵpropertyInterpolate8",(function(){return Pp})),n.d(t,"ɵɵpropertyInterpolateV",(function(){return Np})),n.d(t,"ɵɵpureFunction0",(function(){return qv})),n.d(t,"ɵɵpureFunction1",(function(){return zv})),n.d(t,"ɵɵpureFunction2",(function(){return Wv})),n.d(t,"ɵɵpureFunction3",(function(){return Gv})),n.d(t,"ɵɵpureFunction4",(function(){return Zv})),n.d(t,"ɵɵpureFunction5",(function(){return Kv})),n.d(t,"ɵɵpureFunction6",(function(){return Qv})),n.d(t,"ɵɵpureFunction7",(function(){return Yv})),n.d(t,"ɵɵpureFunction8",(function(){return Xv})),n.d(t,"ɵɵpureFunctionV",(function(){return Jv})),n.d(t,"ɵɵqueryRefresh",(function(){return Ty})),n.d(t,"ɵɵreference",(function(){return xu})),n.d(t,"ɵɵresolveBody",(function(){return Yi})),n.d(t,"ɵɵresolveDocument",(function(){return Qi})),n.d(t,"ɵɵresolveWindow",(function(){return Ki})),n.d(t,"ɵɵrestoreView",(function(){return Ft})),n.d(t,"ɵɵsanitizeHtml",(function(){return mi})),n.d(t,"ɵɵsanitizeResourceUrl",(function(){return yi})),n.d(t,"ɵɵsanitizeScript",(function(){return _i})),n.d(t,"ɵɵsanitizeStyle",(function(){return gi})),n.d(t,"ɵɵsanitizeUrl",(function(){return vi})),n.d(t,"ɵɵsanitizeUrlOrResourceUrl",(function(){return Ci})),n.d(t,"ɵɵsetComponentScope",(function(){return be})),n.d(t,"ɵɵsetNgModuleScope",(function(){return Te})),n.d(t,"ɵɵstyleMap",(function(){return Kp})),n.d(t,"ɵɵstyleMapInterpolate1",(function(){return Md})),n.d(t,"ɵɵstyleMapInterpolate2",(function(){return kd})),n.d(t,"ɵɵstyleMapInterpolate3",(function(){return Pd})),n.d(t,"ɵɵstyleMapInterpolate4",(function(){return Nd})),n.d(t,"ɵɵstyleMapInterpolate5",(function(){return Od})),n.d(t,"ɵɵstyleMapInterpolate6",(function(){return Rd})),n.d(t,"ɵɵstyleMapInterpolate7",(function(){return Fd})),n.d(t,"ɵɵstyleMapInterpolate8",(function(){return Ld})),n.d(t,"ɵɵstyleMapInterpolateV",(function(){return jd})),n.d(t,"ɵɵstyleProp",(function(){return Gp})),n.d(t,"ɵɵstylePropInterpolate1",(function(){return Vd})),n.d(t,"ɵɵstylePropInterpolate2",(function(){return Bd})),n.d(t,"ɵɵstylePropInterpolate3",(function(){return $d})),n.d(t,"ɵɵstylePropInterpolate4",(function(){return Hd})),n.d(t,"ɵɵstylePropInterpolate5",(function(){return Ud})),n.d(t,"ɵɵstylePropInterpolate6",(function(){return qd})),n.d(t,"ɵɵstylePropInterpolate7",(function(){return zd})),n.d(t,"ɵɵstylePropInterpolate8",(function(){return Wd})),n.d(t,"ɵɵstylePropInterpolateV",(function(){return Gd})),n.d(t,"ɵɵsyntheticHostListener",(function(){return gp})),n.d(t,"ɵɵsyntheticHostProperty",(function(){return Kd})),n.d(t,"ɵɵtemplate",(function(){return bu})),n.d(t,"ɵɵtemplateRefExtractor",(function(){return Oy})),n.d(t,"ɵɵtext",(function(){return ud})),n.d(t,"ɵɵtextInterpolate",(function(){return pd})),n.d(t,"ɵɵtextInterpolate1",(function(){return dd})),n.d(t,"ɵɵtextInterpolate2",(function(){return hd})),n.d(t,"ɵɵtextInterpolate3",(function(){return fd})),n.d(t,"ɵɵtextInterpolate4",(function(){return md})),n.d(t,"ɵɵtextInterpolate5",(function(){return gd})),n.d(t,"ɵɵtextInterpolate6",(function(){return vd})),n.d(t,"ɵɵtextInterpolate7",(function(){return yd})),n.d(t,"ɵɵtextInterpolate8",(function(){return _d})),n.d(t,"ɵɵtextInterpolateV",(function(){return wd})),n.d(t,"ɵɵtrustConstantHtml",(function(){return wi})),n.d(t,"ɵɵtrustConstantResourceUrl",(function(){return Ei})),n.d(t,"ɵɵviewQuery",(function(){return Iy}));var r=n(13),s=n(5),i=n(3),o=n(41),a=n(42);
/**
 * @license Angular v12.2.1
 * (c) 2010-2021 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function l(e){for(let t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).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)}function p(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const d=l({__forward_ref__:l});function h(e){return e.__forward_ref__=h,e.toString=function(){return u(this())},e}function f(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(d)&&e.__forward_ref__===h}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class g extends Error{constructor(e,t){super(y(e,t)),this.code=e}}const v=new Set(["100","200","201","300","301","302"]);function y(e,t){let n=`${e?`NG0${e}: `:""}${t}`;return ngDevMode&&v.has(e)&&(n=`${n}. Find more at https://angular.io/errors/NG0${e}`),n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function _(e){return"string"==typeof e?e:null==e?"":String(e)}function w(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_(e)}function E(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new g("200",`Circular dependency in DI detected for ${e}${n}`)}function b(){throw new Error("Cannot mix multi providers and regular providers")}function C(e,t){const n=t?" in "+t:"";throw new g("201",`No provider for ${w(e)} found${n}`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function x(e,t){"number"!=typeof e&&F(t,typeof e,"number","===")}function S(e,t,n){x(e,"Expected a number"),P(e,n,"Expected number to be less than or equal to"),O(e,t,"Expected number to be greater than or equal to")}function D(e,t){"string"!=typeof e&&F(t,null===e?"null":typeof e,"string","===")}function T(e,t,n){e!=t&&F(n,e,t,"==")}function I(e,t,n){e==t&&F(n,e,t,"!=")}function A(e,t,n){e!==t&&F(n,e,t,"===")}function M(e,t,n){e===t&&F(n,e,t,"!==")}function k(e,t,n){e<t||F(n,e,t,"<")}function P(e,t,n){e<=t||F(n,e,t,"<=")}function N(e,t,n){e>t||F(n,e,t,">")}function O(e,t,n){e>=t||F(n,e,t,">=")}function R(e,t){null==e&&F(t,e,null,"!=")}function F(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function L(e){"undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name||F("The provided value must be an instance of a DOM Node but got "+u(e))}function j(e,t){R(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&F(`Index expected to be less than ${n} but got ${t}`)}function V(e,...t){if(-1!==t.indexOf(e))return!0;F(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const $=B;function H(e){return{providers:e.providers||[],imports:e.imports||[]}}function U(e){return q(e,W)||q(e,Z)}function q(e,t){return e.hasOwnProperty(t)?e[t]:null}function z(e){return e&&(e.hasOwnProperty(G)||e.hasOwnProperty(K))?e[G]:null}const W=l({"ɵprov":l}),G=l({"ɵinj":l}),Z=l({ngInjectableDef:l}),K=l({ngInjectorDef:l});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var Q;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let Y;function X(){return Y}function J(e){const t=Y;return Y=e,t}function ee(e,t,n){const r=U(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Q.Optional?null:void 0!==t?t:void C(u(e),"Injector")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function te(e){return{toString:e}.toString()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var ne,re,se;function ie(e){return null==e||e===ne.Default}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */!function(e){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"}(Q||(Q={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(ne||(ne={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(re||(re={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(se||(se={}));
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const oe="undefined"!=typeof globalThis&&globalThis,ae="undefined"!=typeof window&&window,le="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ce=oe||void 0!==e&&e||ae||le;function ue(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(){const e="undefined"!=typeof location?location.toString():"",t={namedConstructors:-1!=e.indexOf("ngDevMode=namedConstructors"),firstCreatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0},n=-1===e.indexOf("ngDevMode=false");ce.ngDevMode=n&&t}(),"undefined"!=typeof ngDevMode&&!!ngDevMode)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const pe={},de=[];("undefined"==typeof ngDevMode||ngDevMode)&&ue()&&(Object.freeze(pe),Object.freeze(de))
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;const he=l({"ɵcmp":l}),fe=l({"ɵdir":l}),me=l({"ɵpipe":l}),ge=l({"ɵmod":l}),ve=l({"ɵloc":l}),ye=l({"ɵfac":l}),_e=l({__NG_ELEMENT_ID__:l});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let we=0;function Ee(e){return te(()=>{("undefined"==typeof ngDevMode||ngDevMode)&&ue();const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||de,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||se.Emulated,id:"c",styles:e.styles||de,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,s=e.features,i=e.pipes;return n.id+=we++,n.inputs=Ie(e.inputs,t),n.outputs=Ie(e.outputs),s&&s.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ce):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(xe):null,n})}function be(e,t,n){const r=e.ɵcmp;r.directiveDefs=()=>t.map(Ce),r.pipeDefs=()=>n.map(xe)}function Ce(e){const t=ke(e)||Pe(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is neither 'ComponentType' or 'DirectiveType'.`);return t}function xe(e){const t=Ne(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is not a 'PipeType'.`);return t}const Se={};function De(e){return te(()=>{const t={type:e.type,bootstrap:e.bootstrap||de,declarations:e.declarations||de,imports:e.imports||de,exports:e.exports||de,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Se[e.id]=e.type),t})}function Te(e,t){return te(()=>{const n=Oe(e,!0);n.declarations=t.declarations||de,n.imports=t.imports||de,n.exports=t.exports||de})}function Ie(e,t){if(null==e)return pe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const Ae=Ee;function Me(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ke(e){return e[he]||null}function Pe(e){return e[fe]||null}function Ne(e){return e[me]||null}function Oe(e,t){const n=e[ge]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have 'ɵmod' property.`);return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Re=["Root","Component","Embedded"];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Fe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Le(e){return Array.isArray(e)&&!0===e[1]}function je(e){return 0!=(8&e.flags)}function Ve(e){return 2==(2&e.flags)}function Be(e){return 1==(1&e.flags)}function $e(e){return null!==e.template}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function He(e,t){Ue(e,t[1])}function Ue(e,t){qe(e),e.hasOwnProperty("tView_")&&T(e.tView_,t,"This TNode does not belong to this TView.")}function qe(e){R(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||F("Not of type TNode, got: "+e)}function ze(e){R(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&F("Object is not of TIcu type.")}function We(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){ke(e)||F(t)}function Ge(e){R(e,"currentTNode should exist!"),R(e.parent,"currentTNode should have a parent")}function Ze(e){R(e,"LContainer must be defined"),T(Le(e),!0,"Expecting LContainer")}function Ke(e){e&&T(Fe(e),!0,"Expecting LView or undefined or null")}function Qe(e){R(e,"LView must be defined"),T(Fe(e),!0,"Expecting LView")}function Ye(e,t){T(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function Xe(e,t){T(e.firstUpdatePass,!0,t||"Should only be called in first update pass.")}function Je(e,t){et(e[1].expandoStartIndex,e.length,t)}function et(e,t,n){e<=n&&n<t||F(`Index out of range (expecting ${e} <= ${n} < ${t})`)}function tt(e,t){R(e,t||"Component views should always have a parent view (component's host view)")}function nt(e,t){Je(e,t),Je(e,t+8),x(e[t+0],"injectorIndex should point to a bloom filter"),x(e[t+1],"injectorIndex should point to a bloom filter"),x(e[t+2],"injectorIndex should point to a bloom filter"),x(e[t+3],"injectorIndex should point to a bloom filter"),x(e[t+4],"injectorIndex should point to a bloom filter"),x(e[t+5],"injectorIndex should point to a bloom filter"),x(e[t+6],"injectorIndex should point to a bloom filter"),x(e[t+7],"injectorIndex should point to a bloom filter"),x(e[t+8],"injectorIndex should point to parent injector")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function rt(e,t){const n=e.hasOwnProperty(ye);if(!n&&!0===t&&ngDevMode)throw new Error(`Type ${u(e)} does not have 'ɵfac' property.`);return n?e[ye]:null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class st{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function it(){return ot}function ot(e){return e.type.prototype.ngOnChanges&&(e.setInput=lt),at}function at(){const e=ct(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===pe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function lt(e,t,n,r){const s=ct(e)||function(e,t){return e.__ngSimpleChanges__=t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e,{previous:pe,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new st(l&&l.currentValue,t,o===pe),e[r]=t}it.ngInherit=!0;function ct(e){return e.__ngSimpleChanges__||null}let ut=null;const pt=e=>{ut=e},dt=function(e,t,n){null!=ut&&ut(e,t,n)};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let ht=void 0;function ft(e){ht=e}function mt(){return void 0!==ht?ht:"undefined"!=typeof document?document:void 0}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var gt;function vt(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(gt||(gt={}));const yt={createRenderer:(e,t)=>mt()};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function _t(e){for(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return ngDevMode&&j(t,e),ngDevMode&&O(e,20,"Expected to be past HEADER_OFFSET"),_t(t[e])}function Et(e,t){ngDevMode&&He(e,t),ngDevMode&&j(t,e.index);const n=_t(t[e.index]);return ngDevMode&&!vt(t[11])&&L(n),n}function bt(e,t){ngDevMode&&N(t,-1,"wrong index for TNode"),ngDevMode&&k(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&qe(n),n}function Ct(e,t){return ngDevMode&&j(e,t),e[t]}function xt(e,t){ngDevMode&&j(t,e);const n=t[e];return Fe(n)?n:n[0]}function St(e){return 4==(4&e[2])}function Dt(e){return 128==(128&e[2])}function Tt(e,t){return null==t?null:(ngDevMode&&j(e,t),e[t])}function It(e){e[18]=0}function At(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Mt={lFrame:an(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function kt(){return Mt.bindingsEnabled}function Pt(){Mt.bindingsEnabled=!0}function Nt(){Mt.bindingsEnabled=!1}function Ot(){return Mt.lFrame.lView}function Rt(){return Mt.lFrame.tView}function Ft(e){return Mt.lFrame.contextLView=e,e[8]}function Lt(){let e=jt();for(;null!==e&&64===e.type;)e=e.parent;return e}function jt(){return Mt.lFrame.currentTNode}function Vt(){const e=Mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Bt(e,t){ngDevMode&&e&&Ue(e,Mt.lFrame.tView);const n=Mt.lFrame;n.currentTNode=e,n.isParent=t}function $t(){return Mt.lFrame.isParent}function Ht(){Mt.lFrame.isParent=!1}function Ut(){return Mt.isInCheckNoChangesMode}function qt(e){Mt.isInCheckNoChangesMode=e}function zt(){const e=Mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Wt(){return Mt.lFrame.bindingIndex}function Gt(e){return Mt.lFrame.bindingIndex=e}function Zt(){return Mt.lFrame.bindingIndex++}function Kt(e){const t=Mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Qt(e){Mt.lFrame.inI18n=e}function Yt(e,t){const n=Mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xt(t)}function Xt(e){Mt.lFrame.currentDirectiveIndex=e}function Jt(e){const t=Mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function en(){return Mt.lFrame.currentQueryIndex}function tn(e){Mt.lFrame.currentQueryIndex=e}function nn(e){const t=e[1];return 2===t.type?(ngDevMode&&R(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===t.type?e[6]:null}function rn(e,t,n){if(ngDevMode&&Ke(e),n&Q.SkipSelf){ngDevMode&&Ue(t,e[1]);let r=t,s=e;for(;!(ngDevMode&&R(r,"Parent TNode should be defined"),r=r.parent,null!==r||n&Q.Host||(r=nn(s),null===r)||(ngDevMode&&R(s,"Parent LView should be defined"),s=s[15],10&r.type)););if(null===r)return!1;t=r,e=s}ngDevMode&&He(t,e);const r=Mt.lFrame=on();return r.currentTNode=t,r.lView=e,!0}function sn(e){ngDevMode&&I(e[0],e[1],"????"),ngDevMode&&Ke(e);const t=on();ngDevMode&&(T(t.isParent,!0,"Expected clean LFrame"),T(t.lView,null,"Expected clean LFrame"),T(t.tView,null,"Expected clean LFrame"),T(t.selectedIndex,-1,"Expected clean LFrame"),T(t.elementDepthCount,0,"Expected clean LFrame"),T(t.currentDirectiveIndex,-1,"Expected clean LFrame"),T(t.currentNamespace,null,"Expected clean LFrame"),T(t.bindingRootIndex,-1,"Expected clean LFrame"),T(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[1];Mt.lFrame=t,ngDevMode&&n.firstChild&&Ue(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function on(){const e=Mt.lFrame,t=null===e?null:e.child;return null===t?an(e):t}function an(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ln(){const e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cn=ln;function un(){const e=ln();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function pn(e){return(Mt.lFrame.contextLView=function(e,t){for(;e>0;)ngDevMode&&R(t[15],"Declaration view should be defined if nesting level is greater than 0."),t=t[15],e--;return t}(e,Mt.lFrame.contextLView))[8]}function dn(){return Mt.lFrame.selectedIndex}function hn(e){ngDevMode&&-1!==e&&O(e,20,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&k(e,Mt.lFrame.lView.length,"Can't set index passed end of LView"),Mt.lFrame.selectedIndex=e}function fn(){const e=Mt.lFrame;return bt(e.tView,e.selectedIndex)}function mn(){Mt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function gn(){Mt.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function vn(){Mt.lFrame.currentNamespace=null}function yn(e,t){ngDevMode&&Ye(e);for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];ngDevMode&&R(t,"Expecting DirectiveDef");const r=t.type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:a,ngOnDestroy:l}=r;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=l&&(e.destroyHooks||(e.destroyHooks=[])).push(n,l)}}function _n(e,t,n){bn(e,t,3,n)}function wn(e,t,n,r){ngDevMode&&I(n,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===n&&bn(e,t,n,r)}function En(e,t){ngDevMode&&I(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function bn(e,t,n,r){ngDevMode&&T(Ut(),!1,"Hooks should never be run when in check no changes mode.");const s=void 0!==r?65535&e[18]:0,i=null!=r?r:-1,o=t.length-1;let a=0;for(let l=s;l<o;l++){if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else{t[l]<0&&(e[18]+=65536),(a<i||-1==i)&&(Cn(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}}}function Cn(e,t,n,r){const s=n[r]<0,i=n[r+1],o=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,dt(4,o,i);try{i.call(o)}finally{dt(5,o,i)}}}else{dt(4,o,i);try{i.call(o)}finally{dt(5,o,i)}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class xn{constructor(e,t,n){this.factory=e,this.resolving=!1,ngDevMode&&R(e,"Factory not specified"),ngDevMode&&T(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function Sn(e){let t="";return 1&e&&(t+="|Text"),2&e&&(t+="|Element"),4&e&&(t+="|Container"),8&e&&(t+="|ElementContainer"),16&e&&(t+="|Projection"),32&e&&(t+="|IcuContainer"),64&e&&(t+="|Placeholder"),t.length>0?t.substring(1):t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Dn(e,t,n){R(e,"should be called with a TNode"),0==(e.type&t)&&F(n||`Expected [${Sn(t)}] but got ${Sn(e.type)}.`)}function Tn(e,t,n){const r=vt(e);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];ngDevMode&&ngDevMode.rendererSetAttribute++,r?e.setAttribute(t,a,l,o):t.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];ngDevMode&&ngDevMode.rendererSetAttribute++,An(o)?r&&e.setProperty(t,o,a):r?e.setAttribute(t,o,a):t.setAttribute(o,a),s++}}return s}function In(e){return 3===e||4===e||6===e}function An(e){return 64===e.charCodeAt(0)}function Mn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||kn(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function kn(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Pn(e){return-1!==e}function Nn(e){ngDevMode&&x(e,"Number expected"),ngDevMode&&I(e,-1,"Not a valid state.");return ngDevMode&&N(32767&e,20,"Parent injector must be pointing past HEADER_OFFSET."),32767&e}function On(e,t){let n=e>>16;let r=t;for(;n>0;)r=r[15],n--;return r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let Rn=!0;function Fn(e){const t=Rn;return Rn=e,t}let Ln=0;function jn(e,t){const n=Bn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Vn(r.data,e),Vn(t,null),Vn(r.blueprint,null));const s=$n(e,t),i=e.injectorIndex;if(Pn(s)){const e=Nn(s),n=On(s,t),r=n[1].data;for(let s=0;s<8;s++)t[i+s]=n[e+s]|r[e+s]}return t[i+8]=s,i}function Vn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Bn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&j(t,e.injectorIndex),e.injectorIndex)}function $n(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){const e=s[1],t=e.type;if(2===t?(ngDevMode&&R(e.declTNode,"Embedded TNodes should have declaration parents."),r=e.declTNode):1===t?r=s[6]:(ngDevMode&&T(e.type,0,"Root type expected"),r=null),null===r)return-1;if(ngDevMode&&r&&He(r,s[15]),n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Hn(e,t,n){!function(e,t,n){let r;ngDevMode&&T(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_e)&&(r=n[_e]),null==r&&(r=n[_e]=Ln++);const s=255&r,i=1<<s;t.data[e+(s>>5)]|=i}(e,t,n)}function Un(e,t){if(ngDevMode&&Dn(e,15),ngDevMode&&R(e,"expecting tNode"),"class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const s=n[r];if(In(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(s===t)return n[r+1];r+=2}}}return null}function qn(e,t,n){if(n&Q.Optional)return e;C(t,"NodeInjector")}function zn(e,t,n,r){if(n&Q.Optional&&void 0===r&&(r=null),0==(n&(Q.Self|Q.Host))){const s=e[9],i=J(void 0);try{return s?s.get(t,r,n&Q.Optional):ee(t,r,n&Q.Optional)}finally{J(i)}}return qn(r,t,n)}function Wn(e,t,n,r=Q.Default,s){if(null!==e){const i=function(e){if(ngDevMode&&R(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(_e)?e[_e]:void 0;return"number"==typeof t?t>=0?255&t:(ngDevMode&&T(t,-1,"Expecting to get Special Injector Id"),Zn):t}(n);if("function"==typeof i){if(!rn(t,e,r))return r&Q.Host?qn(s,n,r):zn(t,n,r,s);try{const e=i(r);if(null!=e||r&Q.Optional)return e;C(n)}finally{cn()}}else if("number"==typeof i){let s=null,o=Bn(e,t),a=-1,l=r&Q.Host?t[16][6]:null;for((-1===o||r&Q.SkipSelf)&&(a=-1===o?$n(e,t):t[o+8],-1!==a&&Jn(r,!1)?(s=t[1],o=Nn(a),t=On(a,t)):o=-1);-1!==o;){ngDevMode&&nt(t,o);const e=t[1];if(ngDevMode&&He(e.data[o+8],t),Xn(i,o,e.data)){const e=Kn(o,t,n,s,r,l);if(e!==Gn)return e}a=t[o+8],-1!==a&&Jn(r,t[1].data[o+8]===l)&&Xn(i,o,t)?(s=e,o=Nn(a),t=On(a,t)):o=-1}}}return zn(t,n,r,s)}const Gn={};function Zn(){return new er(Lt(),Ot())}function Kn(e,t,n,r,s,i){const o=t[1],a=o.data[e+8],l=Qn(a,o,n,null==r?Ve(a)&&Rn:r!=o&&0!=(3&a.type),s&Q.Host&&i===a);return null!==l?Yn(t,o,l,a):Gn}function Qn(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,l=e.directiveStart,c=e.directiveEnd,u=i>>20,p=s?a+u:c;for(let e=r?a:a+u;e<p;e++){const t=o[e];if(e<l&&n===t||e>=l&&t.type===n)return e}if(s){const e=o[l];if(e&&$e(e)&&e.type===n)return l}return null}function Yn(e,t,n,r){let s=e[n];const i=t.data;if(s instanceof xn){const o=s;o.resolving&&E(w(i[n]));const a=Fn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?J(o.injectImpl):null,c=rn(e,r,Q.Default);ngDevMode&&T(c,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&function(e){void 0!==e.type&&null!=e.selectors&&void 0!==e.inputs||F("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(i[n]),
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e,t,n){ngDevMode&&Ye(n);const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const r=ot(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t))}finally{null!==l&&J(l),Fn(a),o.resolving=!1,cn()}}return s}function Xn(e,t,n){const r=1<<e;return!!(n[t+(e>>5)]&r)}function Jn(e,t){return!(e&Q.Self||e&Q.Host&&t)}class er{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Wn(this._tNode,this._lView,e,void 0,t)}}function tr(e){return te(()=>{const t=e.prototype.constructor,n=t[ye]||nr(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const e=s[ye]||nr(s);if(e&&e!==n)return e;s=Object.getPrototypeOf(s)}return e=>new e})}function nr(e){return m(e)?()=>{const t=nr(f(e));return t&&t()}:rt(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function rr(e){return Un(Lt(),e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const sr="__annotations__",ir="__parameters__",or="__prop__metadata__";function ar(e,t,n,r,s){return te(()=>{const i=lr(t);function o(...e){if(this instanceof o)return i.call(this,...e),this;const t=new o(...e);return function(n){s&&s(n,...e);return(n.hasOwnProperty(sr)?n[sr]:Object.defineProperty(n,sr,{value:[]})[sr]).push(t),r&&r(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function lr(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function cr(e,t,n){return te(()=>{const r=lr(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(ir)?e[ir]:Object.defineProperty(e,ir,{value:[]})[ir];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function ur(e,t,n,r){return te(()=>{const s=lr(t);function i(...e){if(this instanceof i)return s.apply(this,e),this;const t=new i(...e);return function(n,s){const i=n.constructor,o=i.hasOwnProperty(or)?i[or]:Object.defineProperty(i,or,{value:{}})[or];o[s]=o.hasOwnProperty(s)&&o[s]||[],o[s].unshift(t),r&&r(n,s,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pr(){return cr("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>rr(e)}))}const dr=function(){return cr("Attribute",e=>({attributeName:e}))}();
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class hr{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&k(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const fr=new hr("AnalyzeForEntryComponents");class mr{}const gr=ur("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),mr),vr=ur("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),mr),yr=ur("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),mr),_r=ur("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),mr);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var wr,Er;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function br(e){const t=ce.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error("JIT compilation failed for "+e.kind,e.type);let t=`The ${e.kind} '${e.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;throw 1===e.usage?(t+=`The ${e.kind} is part of a library that has been partially compiled.\n`,t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(wr||(wr={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Er||(Er={}));const Cr=Function;function xr(e){return"function"==typeof e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Sr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Sr(r,t)):t!==e&&t.push(r)}return t}function Dr(e,t){e.forEach(e=>Array.isArray(e)?Dr(e,t):t(e))}function Tr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ar(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Mr(e,t,n){let r=Pr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){ngDevMode&&P(t,e.length,"Can't insert past array end.");let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;){const t=s-2;e[s]=e[t],s--}e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function kr(e,t){const n=Pr(e,t);if(n>=0)return e[1|n]}function Pr(e,t){return Nr(e,t,1)}function Nr(e,t,n){ngDevMode&&T(Array.isArray(e),!0,"Expecting an array");let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Or=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Rr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Fr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Lr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class jr{constructor(e){this._reflect=e||ce.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Ar(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(function(e){return Or.test(e)||Lr.test(e)||Rr.test(e)&&!Fr.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&Vr(e.decorators));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(ir)&&e[ir],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||r?this._zipTypesAndAnnotations(s,r):Ar(e.length)}parameters(e){if(!xr(e))return[];const t=Br(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?Vr(e.decorators):e.hasOwnProperty(sr)?e[sr]:null}annotations(e){if(!xr(e))return[];const t=Br(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]=Vr(t[e])}),n}return e.hasOwnProperty(or)?e[or]:null}propMetadata(e){if(!xr(e))return{};const t=Br(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return xr(e)&&this._ownPropMetadata(e,Br(e))||{}}hasLifecycleHook(e,t){return e instanceof Cr&&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:"./"+u(e)}resourceUri(e){return"./"+u(e)}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function Vr(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Br(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const $r={},Hr=/\n/gm,Ur=l({provide:String,useValue:l});let qr=void 0;function zr(e){const t=qr;return qr=e,t}function Wr(e,t=Q.Default){if(void 0===qr)throw new Error("inject() must be called from an injection context");return null===qr?ee(e,void 0,t):qr.get(e,t&Q.Optional?null:void 0,t)}function Gr(e,t=Q.Default){return(X()||Wr)(f(e),t)}function Zr(e){const t=ngDevMode?`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${e} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${e} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`:"invalid";throw new Error(t)}const Kr=Gr;function Qr(e){const t=[];for(let n=0;n<e.length;n++){const r=f(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=Q.Default;for(let t=0;t<r.length;t++){const s=r[t],i=s.__NG_DI_FLAG__;"number"==typeof i?-1===i?e=s.token:n|=i:e=s}t.push(Gr(e,n))}else t.push(Gr(r))}return t}function Yr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function Xr(e,t,n,r){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=Jr("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}function Jr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let s=u(t);if(Array.isArray(t))s=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Hr,"\n  ")}`}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const es=e=>({token:e}),ts=Yr(cr("Inject",es),-1),ns=Yr(cr("Optional"),8),rs=Yr(cr("Self"),2),ss=Yr(cr("SkipSelf"),4),is=Yr(cr("Host"),1);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let os=null;function as(){return os=os||new jr}function ls(e){return cs(as().parameters(e))}function cs(e){return e.map(e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const s=Object.getPrototypeOf(r);if(r instanceof ns||"Optional"===s.ngMetadataName)t.optional=!0;else if(r instanceof ss||"SkipSelf"===s.ngMetadataName)t.skipSelf=!0;else if(r instanceof rs||"Self"===s.ngMetadataName)t.self=!0;else if(r instanceof is||"Host"===s.ngMetadataName)t.host=!0;else if(r instanceof ts)t.token=r.token;else if(r instanceof dr){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e))}function us(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const s=e(t);n.set(t,r=s.then(ms))}return r}return ps.forEach((e,n)=>{const s=[];e.templateUrl&&s.push(r(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,o=e.styles||(e.styles=[]),a=e.styles.length;i&&i.forEach((t,n)=>{o.push(""),s.push(r(t).then(r=>{o[a+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>function(e){ds.delete(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(n));t.push(l)}),fs(),Promise.all(t).then(()=>{})}let ps=new Map;const ds=new Set;function hs(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function fs(){const e=ps;return ps=new Map,e}function ms(e){return"string"==typeof e?e:e.text()}let gs,vs;function ys(){if(void 0===gs&&(gs=null,ce.trustedTypes))try{gs=ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gs}function _s(e){var t;return(null===(t=ys())||void 0===t?void 0:t.createHTML(e))||e}function ws(...e){if("undefined"==typeof ngDevMode)throw new Error("newTrustedFunctionForDev should never be called in production");if(!ce.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=ce.eval((r=t,(null===(s=ys())||void 0===s?void 0:s.createScript(r))||r));var r,s;return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(ce))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Es(){if(void 0===vs&&(vs=null,ce.trustedTypes))try{vs=ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return vs}function bs(e){var t;return(null===(t=Es())||void 0===t?void 0:t.createHTML(e))||e}function Cs(e){var t;return(null===(t=Es())||void 0===t?void 0:t.createScript(e))||e}function xs(e){var t;return(null===(t=Es())||void 0===t?void 0:t.createScriptURL(e))||e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ss{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class Ds extends Ss{getTypeName(){return"HTML"}}class Ts extends Ss{getTypeName(){return"Style"}}class Is extends Ss{getTypeName(){return"Script"}}class As extends Ss{getTypeName(){return"URL"}}class Ms extends Ss{getTypeName(){return"ResourceURL"}}function ks(e){return e instanceof Ss?e.changingThisBreaksApplicationSecurity:e}function Ps(e,t){const n=Ns(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Ns(e){return e instanceof Ss&&e.getTypeName()||null}function Os(e){return new Ds(e)}function Rs(e){return new Ts(e)}function Fs(e){return new Is(e)}function Ls(e){return new As(e)}function js(e){return new Ms(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Vs(e){const t=new $s(e);return function(){try{return!!(new window.DOMParser).parseFromString(_s(""),"text/html")}catch(e){return!1}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */()?new Bs(t):t}class Bs{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(_s(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(e){return null}}}class $s{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=_s(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=_s(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0<n;n--){const r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Hs=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Us=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function qs(e){return(e=String(e)).match(Hs)||e.match(Us)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see https://g.co/ng/security#xss)`),"unsafe:"+e)}function zs(e){return(e=String(e)).split(",").map(e=>qs(e.trim())).join(", ")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ws(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Gs(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Zs=Ws("area,br,col,hr,img,wbr"),Ks=Ws("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qs=Ws("rp,rt"),Ys=Gs(Qs,Ks),Xs=Gs(Ks,Ws("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")),Js=Gs(Qs,Ws("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=Gs(Zs,Xs,Js,Ys),ti=Ws("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ni=Ws("srcset"),ri=Ws("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"),si=Ws("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"),ii=Gs(ti,ni,ri,si),oi=Ws("script,style,template");class ai{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(!ei.hasOwnProperty(t))return this.sanitizedSomething=!0,!oi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),r=t.name,s=r.toLowerCase();if(!ii.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=t.value;ti[s]&&(i=qs(i)),ni[s]&&(i=zs(i)),this.buf.push(" ",r,'="',ui(i),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ei.hasOwnProperty(t)&&!Zs.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ui(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 li=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ci=/([^\#-~ |!])/g;function ui(e){return e.replace(/&/g,"&amp;").replace(li,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ci,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pi;function di(e,t){let n=null;try{pi=pi||Vs(e);let r=t?String(t):"";n=pi.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=pi.getInertBodyElement(r)}while(r!==i);const o=new ai,a=o.sanitizeChildren(hi(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss"),_s(a)}finally{if(n){const e=hi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function hi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e)?e.content:null}var fi;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function mi(e){const t=xi();return t?bs(t.sanitize(fi.HTML,e)||""):Ps(e,"HTML")?bs(ks(e)):di(mt(),_(e))}function gi(e){const t=xi();return t?t.sanitize(fi.STYLE,e)||"":Ps(e,"Style")?ks(e):_(e)}function vi(e){const t=xi();return t?t.sanitize(fi.URL,e)||"":Ps(e,"URL")?ks(e):qs(_(e))}function yi(e){const t=xi();if(t)return xs(t.sanitize(fi.RESOURCE_URL,e)||"");if(Ps(e,"ResourceURL"))return xs(ks(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function _i(e){const t=xi();if(t)return Cs(t.sanitize(fi.SCRIPT,e)||"");if(Ps(e,"Script"))return Cs(ks(e));throw new Error("unsafe value used in a script context")}function wi(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted HTML constant: "+e.join("?"));return _s(e[0])}function Ei(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted URL constant: "+e.join("?"));return function(e){var t;return(null===(t=ys())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function bi(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?yi:vi}function Ci(e,t,n){return bi(t,n)(e)}function xi(){const e=Ot();return e&&e[12]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Si(e){let t=Ai(e);if(t){if(Array.isArray(t)){const r=t;let s,i=void 0,o=void 0;if((n=e)&&n.constructor&&n.constructor.ɵcmp){if(s=Ni(r,e),-1==s)throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(s=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,s=n.directiveEnd;for(let i=r;i<s;i++)if(e[i]===t)return n.index;n=Pi(n)}return-1}(r,e),-1==s)throw new Error("The provided directive was not found in the application");o=Oi(s,r,!1)}else if(s=ki(r,e),-1==s)return null;const a=_t(r[s]),l=Ai(a),c=l&&!Array.isArray(l)?l:Di(r,s,a);if(i&&void 0===c.component&&(c.component=i,Ii(c.component,c)),o&&void 0===c.directives){c.directives=o;for(let e=0;e<o.length;e++)Ii(o[e],c)}Ii(c.native,c),t=c}}else{const n=e;ngDevMode&&L(n);let r=n;for(;r=r.parentNode;){const e=Ai(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const s=ki(r,n);if(s>=0){const e=_t(r[s]),n=Di(r,s,e);Ii(e,n),t=n;break}}}}var n;return t||null}function Di(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Ti(e){let t,n=Ai(e);if(Array.isArray(n)){const r=Ni(n,e);t=xt(r,n);const s=Di(n,r,t[0]);s.component=e,Ii(e,s),Ii(s.native,s)}else{const e=n;t=xt(e.nodeIndex,e.lView)}return t}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(fi||(fi={}));function Ii(e,t){ngDevMode&&R(e,"Target expected"),e.__ngContext__=t}function Ai(e){return ngDevMode&&R(e,"Target expected"),e.__ngContext__||null}function Mi(e){const t=Ai(e);return t?Array.isArray(t)?t:t.lView:null}function ki(e,t){const n=e[1];for(let r=20;r<n.bindingStartIndex;r++)if(_t(e[r])===t)return r;return-1}function Pi(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 Ni(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const s=n[r];if(xt(s,e)[8]===t)return s}else{if(xt(20,e)[8]===t)return 20}return-1}function Oi(e,t,n){const r=t[1].data[e];let s=r.directiveStart;if(0==s)return de;const i=r.directiveEnd;return!n&&2&r.flags&&s++,t.slice(s,i)}function Ri(e){return e.ngDebugContext}function Fi(e){return e.ngOriginalError}function Li(e,...t){e.error(...t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class ji{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e&&e.ngErrorLogger||Li}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ri(e)||this._findContext(Fi(e)):null}_findOriginalError(e){let t=e&&Fi(e);for(;t&&Fi(t);)t=Fi(t);return t||null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Vi={name:"custom-elements"},Bi={name:"no-errors-schema"},$i=/^>|^->|<!--|-->|--!>|<!-$/g,Hi=/(<|>)/;function Ui(e){return e.replace($i,e=>e.replace(Hi,"​$1​"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function qi(e){if(!ngDevMode)throw new Error("Looks like we are in 'prod mode', but we are creating a named Array type, which is wrong! Check your code");try{return ws("Array",`return class ${e} extends Array{}`)(Array)}catch(e){return Array}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function zi(e){var t;return t=e.replace(/[$@]/g,"_"),"ng-reflect-"+(e=t.replace(Wi,(...e)=>"-"+e[1].toLowerCase()))}const Wi=/([A-Z])/g;function Gi(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Zi=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ce);function Ki(e){return e.ownerDocument.defaultView}function Qi(e){return e.ownerDocument}function Yi(e){return e.ownerDocument.body}function Xi(e){return e instanceof Function?e():e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ji(e){throw new g("300","Multiple components match node with tagname "+e.value)}function eo(e,t,n,r,s){const[i,o,...a]=r.split("�");let l=o,c=o;for(let r=0;r<a.length;r++){const i=t+r;l+=`${e[i]}${a[r]}`,c+=`${i===n?s:e[i]}${a[r]}`}return{propName:i,oldValue:l,newValue:c}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var to;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let no;function ro(e,t){return no(e,t)}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(to||(to={}));
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function so(e){ngDevMode&&Qe(e);const t=e[3];return Le(t)?t[3]:t}function io(e){ngDevMode&&R(e,"component");let t=Fe(e)?e:Mi(e);for(;t&&!(512&t[2]);)t=so(t);return ngDevMode&&Qe(t),t}function oo(e){const t=io(e);return ngDevMode&&R(t[8],"RootView has no context. Perhaps it is disconnected?"),t[8]}function ao(e){return co(e[13])}function lo(e){return co(e[4])}function co(e){for(;null!==e&&!Le(e);)e=e[4];return e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function uo(e,t,n,r,s){if(null!=r){let i,o=!1;Le(r)?i=r:Fe(r)&&(o=!0,ngDevMode&&R(r[0],"HOST must be defined for a component LView"),r=r[0]);const a=_t(r);ngDevMode&&!vt(t)&&L(a),0===e&&null!==n?null==s?xo(t,n,a):Co(t,n,a,s||null,!0):1===e&&null!==n?Co(t,n,a,s||null,!0):2===e?Ro(t,a,o):3===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(a)),null!=i&&function(e,t,n,r,s){ngDevMode&&Ze(n);const i=n[7],o=_t(n);i!==o&&uo(t,e,r,i,s);for(let s=10;s<n.length;s++){const o=n[s];Lo(o[1],o,e,t,r,i)}}(t,e,i,n,s)}}function po(e,t){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.createText(t):e.createTextNode(t)}function ho(e,t,n){ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.setValue(t,n):t.textContent=n}function fo(e,t){return ngDevMode&&ngDevMode.rendererCreateComment++,e.createComment(Ui(t))}function mo(e,t,n){return ngDevMode&&ngDevMode.rendererCreateElement++,vt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function go(e,t,n,r){ngDevMode&&Qe(t),ngDevMode&&Ze(n);const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],Tr(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const o=t[17];null!==o&&n!==o&&function(e,t){ngDevMode&&R(t,"LView required"),ngDevMode&&Ze(e);const n=e[9],r=t[3];ngDevMode&&Ze(r);const s=r[3][16];ngDevMode&&R(s,"Missing insertedComponentLView");const i=t[16];ngDevMode&&R(i,"Missing declaredComponentLView"),i!==s&&(e[2]=!0);null===n?e[9]=[t]:n.push(t)}(o,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}function vo(e,t){ngDevMode&&Ze(e),ngDevMode&&R(e[9],"A projected view should belong to a non-empty projected views collection");const n=e[9],r=n.indexOf(t),s=t[3];ngDevMode&&Ze(s),1024&t[2]&&(t[2]&=-1025,At(s,-1)),n.splice(r,1)}function yo(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&vo(i,r),t>0&&(e[n-1][4]=r[4]);const o=Ir(e,10+t);Lo(r[1],s=r,s[11],2,null,null),s[0]=null,s[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var s;return r}function _o(e,t){if(!(256&t[2])){const n=t[11];vt(n)&&n.destroyNode&&Lo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return wo(e[1],e);for(;t;){let n=null;if(Fe(t))n=t[13];else{ngDevMode&&Ze(t);const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Fe(t)&&wo(t[1],t),t=t[3];null===t&&(t=e),Fe(t)&&wo(t[1],t),n=t&&t[4]}t=n}}(t)}}function wo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const r=t[n[e]];if(!(r instanceof xn)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=r[t[e]],s=t[e+1];dt(4,n,s);try{s.call(n)}finally{dt(5,n,s)}}else{dt(4,r,t);try{t.call(r)}finally{dt(5,r,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const i=n[e+1],o="function"==typeof i?i(t):_t(t[i]),a=r[s=n[e+2]],l=n[e+3];"boolean"==typeof l?o.removeEventListener(n[e],a,l):l>=0?r[s=l]():r[s=-l].unsubscribe(),e+=2}else{const t=r[s=n[e+1]];n[e].call(t)}if(null!==r){for(let e=s+1;e<r.length;e++){const t=r[e];ngDevMode&&(o="Expecting instance cleanup function.","function"!=typeof(i=t)&&F(o,null===i?"null":typeof i,"function","===")),t()}t[7]=null}var i,o}(e,t),1===t[1].type&&vt(t[11])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[11].destroy());const n=t[17];if(null!==n&&Le(t[3])){n!==t[3]&&vo(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function Eo(e,t,n){return bo(e,t.parent,n)}function bo(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ngDevMode&&Dn(r,7),2&r.flags){ngDevMode&&He(r,n);const t=e.data[r.directiveStart].encapsulation;if(t===se.None||t===se.Emulated)return null}return Et(r,n)}function Co(e,t,n,r,s){ngDevMode&&ngDevMode.rendererInsertBefore++,vt(e)?e.insertBefore(t,n,r,s):t.insertBefore(n,r,s)}function xo(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&R(t,"parent node must be defined"),vt(e)?e.appendChild(t,n):t.appendChild(n)}function So(e,t,n,r,s){null!==r?Co(e,t,n,r,s):xo(e,t,n)}function Do(e,t){return vt(e)?e.parentNode(t):t.parentNode}function To(e,t,n){return Mo(e,t,n)}function Io(e,t,n){return 40&e.type?Et(e,n):null}let Ao,Mo=Io;function ko(e,t){Mo=e,Ao=t}function Po(e,t,n,r){const s=Eo(e,r,t),i=t[11],o=To(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let e=0;e<n.length;e++)So(i,s,n[e],o,!1);else So(i,s,n,o,!1);void 0!==Ao&&Ao(i,r,t,n,s)}function No(e,t){if(null!==t){const n=e[16][6],r=t.projection;return ngDevMode&&function(e,t){R(e[16],"Component views should exist."),R(e[16][6].projection,t||"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),n.projection[r]}return null}function Oo(e,t){const n=10+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){ngDevMode&&Dn(n,63);const r=n.type;if(3&r)return Et(n,t);if(4&r)return Oo(-1,t[n.index]);if(8&r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return Le(e)?Oo(-1,e):_t(e)}}if(32&r){return ro(n,t)()||_t(t[n.index])}{const r=No(t,n);if(null!==r){if(Array.isArray(r))return r[0];const n=so(t[16]);return ngDevMode&&tt(n),e(n,r)}return e(t,n.next)}}return null}(e,r)}return t[7]}function Ro(e,t,n){ngDevMode&&ngDevMode.rendererRemoveNode++;const r=Do(e,t);r&&function(e,t,n,r){vt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function Fo(e,t,n,r,s,i,o){for(;null!=n;){ngDevMode&&He(n,r),ngDevMode&&Dn(n,63);const a=r[n.index],l=n.type;if(o&&0===t&&(a&&Ii(_t(a),r),n.flags|=4),64!=(64&n.flags))if(8&l)Fo(e,t,n.child,r,s,i,!1),uo(t,e,s,a,i);else if(32&l){const o=ro(n,r);let l;for(;l=o();)uo(t,e,s,l,i);uo(t,e,s,a,i)}else 16&l?jo(e,t,r,n,s,i):(ngDevMode&&Dn(n,7),uo(t,e,s,a,i));n=o?n.projectionNext:n.next}}function Lo(e,t,n,r,s,i){Fo(n,r,e.firstChild,t,s,i,!1)}function jo(e,t,n,r,s,i){const o=n[16],a=o[6];ngDevMode&&T(typeof r.projection,"number","expecting projection index");const l=a.projection[r.projection];if(Array.isArray(l))for(let n=0;n<l.length;n++){uo(t,e,s,l[n],i)}else{Fo(e,t,l,o[3],s,i,!0)}}function Vo(e,t,n){ngDevMode&&D(n,"'newValue' should be a string"),vt(e)?e.setAttribute(t,"style",n):t.style.cssText=n,ngDevMode&&ngDevMode.rendererSetStyle++}function Bo(e,t,n){ngDevMode&&D(n,"'newValue' should be a string"),vt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n,ngDevMode&&ngDevMode.rendererSetClassName++}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function $o(e,t,n){ngDevMode&&I(t,"",'can not look for "" string.');let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ho(e,t,n){ngDevMode&&T(t,t.toLowerCase(),"Class name expected to be lowercase.");let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==$o(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function Uo(e){return 4===e.type&&"ng-template"!==e.value}function qo(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function zo(e,t,n){ngDevMode&&R(t[0],"Selector should have a tag name");let r=4;const s=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++){if(In(e[t]))return t}return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!qo(e,l,n)||""===l&&1===t.length){if(Wo(r))return!1;o=!0}}else{const c=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!Ho(e.attrs,c,n)){if(Wo(r))return!1;o=!0}continue}const u=Go(8&r?"class":l,s,Uo(e),n);if(-1===u){if(Wo(r))return!1;o=!0;continue}if(""!==c){let e;u>i?e="":(ngDevMode&&I(s[u],0,"We do not match directives on namespaced attributes"),e=s[u+1].toLowerCase());const t=8&r?e:null;if(t&&-1!==$o(t,c,0)||2&r&&c!==e){if(Wo(r))return!1;o=!0}}}}else{if(!o&&!Wo(r)&&!Wo(l))return!1;if(o&&Wo(l))continue;o=!1,r=l|1&r}}return Wo(r)||o}function Wo(e){return 0==(1&e)}function Go(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zo(e,t,n=!1){for(let r=0;r<t.length;r++)if(zo(e,t[r],n))return!0;return!1}function Ko(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Qo(e,t){return e?":not("+t.trim()+")":t}function Yo(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const t=e[++n];s+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||Wo(o)||(t+=Qo(i,s),s=""),r=o,i=i||!Wo(r);n++}return""!==s&&(t+=Qo(i,s)),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Xo="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Jo(e){ngDevMode&&N(e,0,"Can only advance forward"),ea(Rt(),Ot(),dn()+e,Ut())}function ea(e,t,n,r){if(ngDevMode&&function(e,t){et(20,e[1].bindingStartIndex,t)}(t,n),!r){if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&_n(t,r,n)}else{const r=e.preOrderHooks;null!==r&&wn(t,r,0,n)}}hn(n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ta(e,t){return ngDevMode&&S(e,0,32767),ngDevMode&&S(t,0,32767),e<<17|t<<2}function na(e){return ngDevMode&&x(e,"expected number"),e>>17&32767}function ra(e){return ngDevMode&&x(e,"expected number"),2==(2&e)}function sa(e){return ngDevMode&&x(e,"expected number"),2|e}function ia(e){return ngDevMode&&x(e,"expected number"),(131068&e)>>2}function oa(e,t){return ngDevMode&&x(e,"expected number"),ngDevMode&&S(t,0,32767),-131069&e|t<<2}function aa(e){return ngDevMode&&x(e,"expected number"),1==(1&e)}function la(e){return ngDevMode&&x(e,"expected number"),1|e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ca(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{value:t,enumerable:!1})}function ua(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:t,enumerable:!1})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const pa=("undefined"==typeof ngDevMode||!!ngDevMode)&&ue();let da,ha,fa;function ma(e){return function(e,t){switch(e){case 0:return void 0===fa&&(fa=new(qi("LRootView"))),fa;case 1:void 0===da&&(da=new Map);let e=da.get(t);return void 0===e&&(e=new(qi("LComponentView"+ga(t))),da.set(t,e)),e;case 2:void 0===ha&&(ha=new Map);let n=ha.get(t);return void 0===n&&(n=new(qi("LEmbeddedView"+ga(t))),ha.set(t,n)),n}}(e.type,e.template&&e.template.name).concat(e.blueprint)}function ga(e){if(null==e)return"";const t=e.lastIndexOf("_Template");return"_"+(-1===t?e:e.substr(0,t))}const va=class{constructor(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y,_,w,E,b,C,x,S,D,T,I,A,M,k){this.tView_=e,this.type=t,this.index=n,this.insertBeforeIndex=r,this.injectorIndex=s,this.directiveStart=i,this.directiveEnd=o,this.directiveStylingLast=a,this.propertyBindings=l,this.flags=c,this.providerIndexes=u,this.value=p,this.attrs=d,this.mergedAttrs=h,this.localNames=f,this.initialInputs=m,this.inputs=g,this.outputs=v,this.tViews=y,this.next=_,this.projectionNext=w,this.child=E,this.parent=b,this.projection=C,this.styles=x,this.stylesWithoutHost=S,this.residualStyles=D,this.classes=T,this.classesWithoutHost=I,this.residualClasses=A,this.classBindings=M,this.styleBindings=k}debugNodeInjectorPath(e){const t=[];let n=Bn(this,e);if(-1===n){const t=$n(this,e);-1!==t&&(n=Nn(t),e=On(t,e))}for(;-1!==n;){ngDevMode&&nt(e,n);const r=e[1].data[n+8];t.push(Ra(r,e));const s=e[n+8];-1===s?n=-1:(n=Nn(s),e=On(s,e))}return t}get type_(){return Sn(this.type)||`TNodeType.?${this.type}?`}get flags_(){const e=[];return 16&this.flags&&e.push("TNodeFlags.hasClassInput"),8&this.flags&&e.push("TNodeFlags.hasContentQuery"),32&this.flags&&e.push("TNodeFlags.hasStyleInput"),128&this.flags&&e.push("TNodeFlags.hasHostBindings"),2&this.flags&&e.push("TNodeFlags.isComponentHost"),1&this.flags&&e.push("TNodeFlags.isDirectiveHost"),64&this.flags&&e.push("TNodeFlags.isDetached"),4&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")}get template_(){if(1&this.type)return this.value;const e=[],t="string"==typeof this.value&&this.value||this.type_;if(e.push("<",t),this.flags&&e.push(" ",this.flags_),this.attrs)for(let t=0;t<this.attrs.length;){const n=this.attrs[t++];if("number"==typeof n)break;const r=this.attrs[t++];e.push(" ",n,'="',r,'"')}return e.push(">"),_a(this.child,e),e.push("</",t,">"),e.join("")}get styleBindings_(){return ya(this,!1)}get classBindings_(){return ya(this,!0)}get providerIndexStart_(){return 1048575&this.providerIndexes}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}};function ya(e,t){const n=e.tView_.data,r=[],s=t?e.classBindings:e.styleBindings,i=na(s),o=ia(s);let a=0!==o,l=a?o:i;for(;0!==l;){const e=n[l],t=n[l+1];r.unshift({key:e,index:l,isTemplate:a,prevDuplicate:ra(t),nextDuplicate:aa(t),nextIndex:ia(t),prevIndex:na(t)}),l===i&&(a=!1),l=na(t)}return r.push((t?e.residualClasses:e.residualStyles)||null),r}function _a(e,t){for(;e;)t.push(e.template_),e=e.next}const wa=pa&&qi("TViewData")||null;let Ea;const ba=pa&&qi("LViewBlueprint")||null,Ca=pa&&qi("MatchesArray")||null,xa=pa&&qi("TViewComponents")||null,Sa=pa&&qi("TNodeLocalNames")||null,Da=pa&&qi("TNodeInitialInputs")||null,Ta=(pa&&qi("TNodeInitialData"),pa&&qi("LCleanup")||null),Ia=pa&&qi("TCleanup")||null;function Aa(e){if(e){const t=e.debug;return R(t,"Object does not have a debug representation."),t}return e}function Ma(e,t=!1){const n=_t(e);if(n)switch(n.nodeType){case Node.TEXT_NODE:return n.textContent;case Node.COMMENT_NODE:return`\x3c!--${n.textContent}--\x3e`;case Node.ELEMENT_NODE:const e=n.outerHTML;if(t)return e;{const t=">"+n.innerHTML+"<";return e.split(t)[0]+">"}}return null}class ka{constructor(e){this._raw_lView=e}get flags(){const e=this._raw_lView[2];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>11}}get parent(){return Aa(this._raw_lView[3])}get hostHTML(){return Ma(this._raw_lView[0],!0)}get html(){return(this.nodes||[]).map(Pa).join("")}get context(){return this._raw_lView[8]}get nodes(){const e=this._raw_lView;return Oa(e[1].firstChild,e)}get template(){return this.tView.template_}get tView(){return this._raw_lView[1]}get cleanup(){return this._raw_lView[7]}get injector(){return this._raw_lView[9]}get rendererFactory(){return this._raw_lView[10]}get renderer(){return this._raw_lView[11]}get sanitizer(){return this._raw_lView[12]}get childHead(){return Aa(this._raw_lView[13])}get next(){return Aa(this._raw_lView[4])}get childTail(){return Aa(this._raw_lView[14])}get declarationView(){return Aa(this._raw_lView[15])}get queries(){return this._raw_lView[19]}get tHost(){return this._raw_lView[6]}get decls(){return Na(this.tView,this._raw_lView,20,this.tView.bindingStartIndex)}get vars(){return Na(this.tView,this._raw_lView,this.tView.bindingStartIndex,this.tView.expandoStartIndex)}get expando(){return Na(this.tView,this._raw_lView,this.tView.expandoStartIndex,this._raw_lView.length)}get childViews(){const e=[];let t=this.childHead;for(;t;)e.push(t),t=t.next;return e}}function Pa(e){if("ElementContainer"===e.type)return(e.children||[]).map(Pa).join("");if("IcuContainer"===e.type)throw new Error("Not implemented");return Ma(e.native,!0)||""}function Na(e,t,n,r){let s=[];for(let i=n;i<r;i++)s.push({index:i,t:e.data[i],l:t[i]});return{start:n,end:r,length:r-n,content:s}}function Oa(e,t){if(e){const n=[];let r=e;for(;r;)n.push(Ra(r,t)),r=r.next;return n}return[]}function Ra(e,t){const n=_t(t[e.index]),r=[],s=[],i=t[1];for(let n=e.directiveStart;n<e.directiveEnd;n++){const e=i.data[n];r.push(e.type),s.push(t[n])}return{html:Ma(n),type:Sn(e.type),tNode:e,native:n,children:Oa(e.child,t),factories:r,instances:s,injector:Fa(e,i,t),get injectorResolutionPath(){return e.debugNodeInjectorPath(t)}}}function Fa(e,t,n){const r=[];for(let n=e.providerIndexStart_;n<e.providerIndexEnd_;n++)r.push(t.data[n]);const s=[];for(let n=e.providerIndexEnd_;n<e.directiveEnd;n++)s.push(t.data[n]);return{bloom:ja(n,e.injectorIndex),cumulativeBloom:ja(t.data,e.injectorIndex),providers:s,viewProviders:r,parentInjectorIndex:n[e.providerIndexStart_-1]}}function La(e,t){const n=e[t];if("number"!=typeof n)return"????????";const r="00000000"+n.toString(2);return r.substring(r.length-8)}function ja(e,t){return t<0?"NO_NODE_INJECTOR":`${La(e,t+7)}_${La(e,t+6)}_${La(e,t+5)}_${La(e,t+4)}_${La(e,t+3)}_${La(e,t+2)}_${La(e,t+1)}_${La(e,t+0)}`}class Va{constructor(e){this._raw_lContainer=e}get hasTransplantedViews(){return this._raw_lContainer[2]}get views(){return this._raw_lContainer.slice(10).map(Aa)}get parent(){return Aa(this._raw_lContainer[3])}get movedViews(){return this._raw_lContainer[9]}get host(){return this._raw_lContainer[0]}get native(){return this._raw_lContainer[7]}get next(){return Aa(this._raw_lContainer[4])}}const Ba=Promise.resolve(null);function $a(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];ngDevMode&&R(n,"DirectiveDef not found."),ngDevMode&&R(n.contentQueries,"contentQueries function should be defined"),tn(s),n.contentQueries(2,t[i],i)}}}function Ha(e,t,n,r,s,i,o,a,l,c){const u=ngDevMode?ma(t):t.blueprint.slice();return u[0]=s,u[2]=140|r,It(u),ngDevMode&&t.declTNode&&e&&He(t.declTNode,e),u[3]=u[15]=e,u[8]=n,u[10]=o||e&&e[10],ngDevMode&&R(u[10],"RendererFactory is required"),u[11]=a||e&&e[11],ngDevMode&&R(u[11],"Renderer is required"),u[12]=l||e&&e[12]||null,u[9]=c||e&&e[9]||null,u[6]=i,ngDevMode&&T(2!=t.type||null!==e,!0,"Embedded views must have parentLView"),u[16]=2==t.type?e[16]:u,ngDevMode&&function(e){ca(e,new ka(e))}(u),u}function Ua(e,t,n,r,s){ngDevMode&&0!==t&&O(t,20,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&F(`Expected TNodeType to have only a single type selected, but got ${Sn(e)}.`)}(n);let i=e.data[t];if(null===i)i=qa(e,t,n,r,s),Mt.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=Vt();i.injectorIndex=null===o?-1:o.injectorIndex,ngDevMode&&Ue(i,e),ngDevMode&&T(t,i.index,"Expecting same index")}return Bt(i,!0),i}function qa(e,t,n,r,s){const i=jt(),o=$t(),a=o?i:i&&i.parent,l=e.data[t]=function(e,t,n,r,s,i){ngDevMode&&0!==r&&O(r,20,"TNodes can't be in the LView header."),ngDevMode&&M(i,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&ngDevMode.tNode++,ngDevMode&&t&&Ue(t,e);let o=t?t.injectorIndex:-1;const a=ngDevMode?new va(e,n,r,null,o,-1,-1,-1,null,0,0,s,i,null,null,void 0,null,null,null,null,null,null,t,null,null,null,void 0,null,null,void 0,0,0):{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};ngDevMode&&Object.seal(a);return a}(e,a,n,t,r,s);return null===e.firstChild&&(e.firstChild=l),null!==i&&(o?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l)),l}function za(e,t,n,r){if(0===n)return-1;ngDevMode&&(Ye(e),A(e,t[1],"`LView` must be associated with `TView`!"),T(e.data.length,t.length,"Expecting LView to be same size as TView"),T(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),Xe(e));const s=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function Wa(e,t,n){ngDevMode&&T(St(t),!0,"Should be run in creation mode"),sn(t);try{const r=e.viewQuery;null!==r&&Ml(1,r,n);const s=e.template;null!==s&&Ka(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$a(e,t),e.staticViewQueries&&Ml(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)xl(e,t[n])}(t,i)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[2]&=-5,un()}}function Ga(e,t,n,r){ngDevMode&&T(St(t),!1,"Should be run in update mode");const s=t[2];if(256==(256&s))return;sn(t);const i=Ut();try{It(t),Gt(e.bindingStartIndex),null!==n&&Ka(e,t,n,2,r);const o=3==(3&s);if(!i)if(o){const n=e.preOrderCheckHooks;null!==n&&_n(t,n,null)}else{const n=e.preOrderHooks;null!==n&&wn(t,n,0,null),En(t,0)}if(function(e){for(let t=ao(e);null!==t;t=lo(t)){if(!t[2])continue;const e=t[9];ngDevMode&&R(e,"Transplanted View flags set but missing MOVED_VIEWS");for(let t=0;t<e.length;t++){const n=e[t],r=n[3];ngDevMode&&Ze(r),0==(1024&n[2])&&At(r,1),n[2]|=1024}}}(t),function(e){for(let t=ao(e);null!==t;t=lo(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];ngDevMode&&R(r,"TView must be allocated"),Dt(n)&&Ga(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&$a(e,t),!i)if(o){const n=e.contentCheckHooks;null!==n&&_n(t,n)}else{const n=e.contentHooks;null!==n&&wn(t,n,1),En(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)hn(~r);else{const s=r,i=n[++e],o=n[++e];Yt(i,s);o(2,t[s])}}}finally{hn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Cl(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Ml(2,l,r),!i)if(o){const n=e.viewCheckHooks;null!==n&&_n(t,n)}else{const n=e.viewHooks;null!==n&&wn(t,n,2),En(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,At(t[3],-1))}finally{un()}}function Za(e,t,n,r){const s=t[10],i=!Ut(),o=St(t);try{i&&!o&&s.begin&&s.begin(),o&&Wa(e,t,r),Ga(e,t,n,r)}finally{i&&!o&&s.end&&s.end()}}function Ka(e,t,n,r,s){const i=dn(),o=2&r;try{hn(-1),o&&t.length>20&&ea(e,t,20,Ut());dt(o?2:0,s),n(r,s)}finally{hn(i);dt(o?3:1,s)}}function Qa(e,t,n){if(je(t)){const r=t.directiveStart,s=t.directiveEnd;for(let t=r;t<s;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function Ya(e,t,n){kt()&&(function(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||jn(n,t);Ii(r,t);const o=n.initialInputs;for(let r=s;r<i;r++){const i=e.data[r],a=$e(i);a&&(ngDevMode&&Dn(n,3),gl(t,n,i));const l=Yn(t,e,r,n);if(Ii(l,t),null!==o&&_l(t,r-s,l,i,n,o),a){xt(n.index,t)[8]=l}}}(e,t,n,Et(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=(e.firstCreatePass,n.index),o=Mt.lFrame.currentDirectiveIndex;try{hn(i);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];Xt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||pl(r,s)}}finally{hn(-1),Xt(o)}}(e,t,n))}function Xa(e,t,n=Et){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function Ja(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=el(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function el(e,t,n,r,s,i,o,a,l,c){ngDevMode&&ngDevMode.tView++;const u=20+r,p=u+s,d=function(e,t){const n=ngDevMode?new ba:[];for(let r=0;r<t;r++)n.push(r<e?null:Xo);return n}(u,p),h="function"==typeof c?c():c,f=d[1]=ngDevMode?new class{constructor(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y,_,w,E,b,C,x,S,D,T,I,A,M,k){this.type=e,this.blueprint=t,this.template=n,this.queries=r,this.viewQuery=s,this.declTNode=i,this.data=o,this.bindingStartIndex=a,this.expandoStartIndex=l,this.hostBindingOpCodes=c,this.firstCreatePass=u,this.firstUpdatePass=p,this.staticViewQueries=d,this.staticContentQueries=h,this.preOrderHooks=f,this.preOrderCheckHooks=m,this.contentHooks=g,this.contentCheckHooks=v,this.viewHooks=y,this.viewCheckHooks=_,this.destroyHooks=w,this.cleanup=E,this.contentQueries=b,this.components=C,this.directiveRegistry=x,this.pipeRegistry=S,this.firstChild=D,this.schemas=T,this.consts=I,this.incompleteFirstPass=A,this._decls=M,this._vars=k}get template_(){const e=[];return _a(this.firstChild,e),e.join("")}get type_(){return Re[this.type]||`TViewType.?${this.type}?`}}(e,d,n,null,a,t,(m=d,void 0===Ea&&(Ea=new wa),Ea.concat(m)).fill(null,u),u,p,null,!0,!0,!1,!1,null,null,null,null,null,null,null,null,null,null,"function"==typeof i?i():i,"function"==typeof o?o():o,null,l,h,!1,r,s):{type:e,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:t,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1};var m;return ngDevMode&&Object.seal(f),f}function tl(e,t){return new Error(`Renderer: ${e} [${w(t)}]`)}function nl(e,t,n){if(vt(e)){const r=n===se.ShadowDom;return e.selectRootElement(t,r)}let r="string"==typeof t?e.querySelector(t):t;return ngDevMode&&function(e,t){if(!e)throw tl("string"==typeof t?"Host node with selector not found:":"Host node is required:",t)}(r,t),r.textContent="",r}function rl(e,t,n,r){const s=Nl(t);null===n?(ngDevMode&&Object.freeze(Ol(e)),s.push(r)):(s.push(n),e.firstCreatePass&&Ol(e).push(r,s.length-1))}function sl(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const s=e[r];n.hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function il(e,t,n,r,s,i,o,a){ngDevMode&&M(s,Xo,"Incoming value should never be NO_CHANGE.");const l=Et(t,n);let c,u=t.inputs;if(!a&&null!=u&&(c=u[r]))Ll(e,n,c,r,s),Ve(t)&&function(e,t){ngDevMode&&Qe(e);const n=xt(t,e);16&n[2]||(n[2]|=64)}(n,t.index),ngDevMode&&function(e,t,n,r,s){if(7&n)for(let i=0;i<r.length;i+=2)ol(e,t,n,r[i+1],s)}(n,l,t.type,c,s);else if(3&t.type){if(r="class"===(p=r)?"className":"for"===p?"htmlFor":"formaction"===p?"formAction":"innerHtml"===p?"innerHTML":"readonly"===p?"readOnly":"tabindex"===p?"tabIndex":p,ngDevMode){if(function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`;throw new Error(t)}}(r),!function(e,t,n,r){if(null===e.schemas)return!0;if(al(e,r.value)||n in t||An(n))return!0;return"undefined"==typeof Node||null===Node||!(t instanceof Node)}(e,l,r,t))return void ll(r,t);ngDevMode.rendererSetProperty++}s=null!=o?o(s,t.value||"",r):s,vt(i)?i.setProperty(l,r,s):An(r)||(l.setProperty?l.setProperty(r,s):l[r]=s)}else 12&t.type&&ngDevMode&&!al(e,t.value)&&ll(r,t);var p}function ol(e,t,n,r,s){const i=e[11];r=zi(r);const o=Gi(s);if(3&n)null==s?vt(i)?i.removeAttribute(t,r):t.removeAttribute(r):vt(i)?i.setAttribute(t,r,o):t.setAttribute(r,o);else{const e=Ui("bindings="+JSON.stringify({[r]:o},null,2));vt(i)?i.setValue(t,e):t.textContent=e}}function al(e,t){const n=e.schemas;if(null!==n)for(let e=0;e<n.length;e++){const r=n[e];if(r===Bi||r===Vi&&t&&t.indexOf("-")>-1)return!0}return!1}function ll(e,t){let n=`Can't bind to '${e}' since it isn't a known property of '${t.value}'.`;console.error(y("303",n))}function cl(e,t,n,r){ngDevMode&&Ye(e);let s=!1;if(kt()){const i=function(e,t,n){ngDevMode&&Ye(e),ngDevMode&&Dn(n,15);const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];Zo(n,o.selectors,!1)&&(s||(s=ngDevMode?new Ca:[]),Hn(jn(n,t),e,o.type),$e(o)?(ngDevMode&&(Dn(n,2,`"${n.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${u(o.type)} component.`),2&n.flags&&Ji(n)),dl(e,n),s.unshift(o)):s.push(o))}return s}(e,t,n),o=null===r?null:{"":-1};if(null!==i){s=!0,fl(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,l=za(e,t,i.length,null);ngDevMode&&A(l,n.directiveStart,"TNode.directiveStart should point to just allocated space");for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=Mn(n.mergedAttrs,c.hostAttrs),ml(e,n,t,l,c),hl(l,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!r&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!u.ngOnChanges&&!u.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),l++}!function(e,t){ngDevMode&&Ye(e);const n=t.directiveStart,r=t.directiveEnd,s=e.data,i=t.attrs,o=ngDevMode?new Da:[];let a=null,l=null;for(let e=n;e<r;e++){const n=s[e],r=n.inputs,c=null===i||Uo(t)?null:wl(r,i);o.push(c),a=sl(r,e,a),l=sl(n.outputs,e,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=l}(e,n)}o&&function(e,t,n){if(t){const r=e.localNames=ngDevMode?new Sa:[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new g("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,o)}return n.mergedAttrs=Mn(n.mergedAttrs,n.attrs),s}function ul(e,t,n,r,s,i){ngDevMode&&Ye(e);const o=i.hostBindings;if(o){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const i=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,s,o)}}function pl(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function dl(e,t){ngDevMode&&Ye(e),t.flags|=2,(e.components||(e.components=ngDevMode?new xa:[])).push(t.index)}function hl(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;$e(t)&&(n[""]=e)}}function fl(e,t,n){ngDevMode&&I(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ml(e,t,n,r,s){ngDevMode&&O(r,20,"Must be in Expando section"),e.data[r]=s;const i=s.factory||(s.factory=rt(s.type,!0)),o=new xn(i,$e(s),null);e.blueprint[r]=o,n[r]=o,ul(e,t,0,r,za(e,n,s.hostVars,Xo),s)}function gl(e,t,n){const r=Et(t,e),s=Ja(n),i=e[10],o=Sl(e,Ha(e,s,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=o}function vl(e,t,n,r,s,i){ngDevMode&&(M(r,Xo,"Incoming value should never be NO_CHANGE."),function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`;throw new Error(t)}}(n),Dn(e,2,`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const o=Et(e,t);yl(t[11],o,i,e.value,n,r,s)}function yl(e,t,n,r,s,i,o){if(null==i)ngDevMode&&ngDevMode.rendererRemoveAttribute++,vt(e)?e.removeAttribute(t,s,n):t.removeAttribute(s);else{ngDevMode&&ngDevMode.rendererSetAttribute++;const a=null==o?_(i):o(i,r||"",s);vt(e)?e.setAttribute(t,s,a,n):n?t.setAttributeNS(n,s,a):t.setAttribute(s,a)}}function _l(e,t,n,r,s,i){const o=i[t];if(null!==o){const t=r.setInput;for(let i=0;i<o.length;){const a=o[i++],l=o[i++],c=o[i++];if(null!==t?r.setInput(n,c,a,l):n[l]=c,ngDevMode){ol(e,Et(s,e),s.type,l,c)}}}}function wl(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}const El=("undefined"==typeof ngDevMode||ngDevMode)&&ue()&&qi("LContainer");function bl(e,t,n,r){ngDevMode&&Qe(t),ngDevMode&&!vt(t[11])&&L(n);const s=new(ngDevMode?El:Array)(e,!0,!1,t,null,0,r,n,null,null);return ngDevMode&&T(s.length,10,"Should allocate correct number of slots for LContainer header."),ngDevMode&&function(e){ca(e,new Va(e))}(s),s}function Cl(e,t){ngDevMode&&T(St(e),!1,"Should be run in update mode");const n=xt(t,e);if(Dt(n)){const e=n[1];80&n[2]?Ga(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let n=ao(t);null!==n;n=lo(n))for(let t=10;t<n.length;t++){const r=n[t];if(1024&r[2]){const e=r[1];ngDevMode&&R(e,"TView must be allocated"),Ga(e,r,e.template,r[8])}else r[5]>0&&e(r)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=xt(n[r],t);Dt(s)&&s[5]>0&&e(s)}}(n)}}function xl(e,t){ngDevMode&&T(St(e),!0,"Should be run in creation mode");const n=xt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Wa(r,n,n[8])}function Sl(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Dl(e){for(;e;){e[2]|=64;const t=so(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Tl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Mi(n),s=r[1];Za(s,r,s.template,n)}}function Il(e,t,n){const r=t[10];r.begin&&r.begin();try{Ga(e,t,e.template,n)}catch(e){throw Fl(t,e),e}finally{r.end&&r.end()}}function Al(e){Tl(e[8])}function Ml(e,t,n){ngDevMode&&R(t,"View queries function to execute must be defined."),tn(0),t(e,n)}function kl(e,t,n,r,...s){if(null===e[r]&&(null==t.inputs||!t.inputs[n])){(t.propertyBindings||(t.propertyBindings=[])).push(r);let i=n;s.length>0&&(i+="�"+s.join("�")),e[r]=i}}const Pl=Ba;function Nl(e){return e[7]||(e[7]=ngDevMode?new Ta:[])}function Ol(e){return e.cleanup||(e.cleanup=ngDevMode?new Ia:[])}function Rl(e,t,n){return(null===e||$e(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Fl(e,t){const n=e[9],r=n?n.get(ji,null):null;r&&r.handleError(t)}function Ll(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=t[o];ngDevMode&&j(t,o);const c=e.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function jl(e,t,n){ngDevMode&&D(n,"Value should be a string"),ngDevMode&&M(n,Xo,"value should not be NO_CHANGE"),ngDevMode&&j(e,t);const r=wt(t,e);ngDevMode&&R(r,"native element should exist"),ho(e[11],r,n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Vl(e,t,n){ngDevMode&&Ye(Rt(),"Expecting to be called in first template pass only");let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];if("number"==typeof n)i=n;else if(1==i)s=p(s,n);else if(2==i){r=p(r,n+": "+t[++e]+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Bl(e){const t=Ti(e);Il(t[1],t,e)}function $l(e){ngDevMode&&R(e,"component");const t=Dl(Ti(e));ngDevMode&&R(t[8],"rootContext should be defined"),function(e,t){if(0===e.flags&&e.clean==Ba){let n;e.flags|=t,e.clean=new Promise(e=>n=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Tl(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Ba,n(null)})}}(t[8],1)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Hl=new hr("INJECTOR",-1);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ul{get(e,t=$r){if(t===$r){const t=new Error(`NullInjectorError: No provider for ${u(e)}!`);throw t.name="NullInjectorError",t}return t}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const ql=new hr("Set Injector scope."),zl={},Wl={};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let Gl=void 0;function Zl(){return void 0===Gl&&(Gl=new Ul),Gl}function Kl(e,t=null,n=null,r){const s=Ql(e,t,n,r);return s._resolveInjectorDefTypes(),s}function Ql(e,t=null,n=null,r){return new Yl(e,n,t||Zl(),r)}class Yl{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&Dr(t,n=>this.processProvider(n,e,t)),Dr([e],e=>this.processInjectorType(e,[],s)),this.records.set(Hl,ec(void 0,this));const i=this.records.get(ql);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:u(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=$r,n=Q.Default){this.assertNotDestroyed();const r=zr(this),s=J(void 0);try{if(!(n&Q.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof hr)&&U(e);t=n&&this.injectableDefInScope(n)?ec(Xl(e),zl):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const o=n&Q.Self?Zl():this.parent;return t=n&Q.Optional&&t===$r?null:t,o.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t.ngTempTokenPath=t.ngTempTokenPath||[]).unshift(u(e)),r)throw t;return Xr(t,e,"R3InjectorError",this.source)}throw t}finally{J(s),zr(r)}var i;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let r=z(e);const s=null==r&&e.ngModule||void 0,i=void 0===s?e:s;if(ngDevMode&&-1!==t.indexOf(i)){E(u(i),t.map(u))}const o=-1!==n.indexOf(i);if(void 0!==s&&(r=z(s)),null==r)return!1;if(null!=r.imports&&!o){let e;ngDevMode&&t.push(i),n.push(i);try{Dr(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{ngDevMode&&t.pop()}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Dr(r,e=>this.processProvider(e,n,r||de))}}this.injectorDefTypes.add(i);const a=rt(i)||(()=>new i);this.records.set(i,ec(a,zl));const l=r.providers;if(null!=l&&!o){const t=e;Dr(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=nc(e=f(e))?e:f(e&&e.provide);const s=function(e,t,n){if(tc(e))return ec(void 0,e.useValue);return ec(Jl(e,t,n),zl)}(e,t,n);if(nc(e)||!0!==e.multi){const e=this.records.get(r);ngDevMode&&e&&void 0!==e.multi&&b()}else{let t=this.records.get(r);t?ngDevMode&&void 0===t.multi&&b():(t=ec(void 0,zl,!0),t.factory=()=>Qr(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return ngDevMode&&t.value===Wl?E(u(e)):t.value===zl&&(t.value=Wl,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){if(!e.providedIn)return!1;const t=f(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Xl(e){const t=U(e),n=null!==t?t.factory:rt(e);if(null!==n)return n;if(e instanceof hr)throw new Error(`Token ${u(e)} is missing a ɵprov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Ar(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[W]||e[Z]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Jl(e,t,n){let r=void 0;if(nc(e)){const t=f(e);return rt(t)||Xl(t)}if(tc(e))r=()=>f(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...Qr(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Gr(f(e.useExisting));else{const s=f(e&&(e.useClass||e.provide));if(ngDevMode&&!s&&function(e,t,n){let r="";if(e&&t){r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`}throw new Error(`Invalid provider for the NgModule '${u(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return rt(s)||Xl(s);r=()=>new s(...Qr(e.deps))}var s;return r}function ec(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tc(e){return null!==e&&"object"==typeof e&&Ur in e}function nc(e){return"function"==typeof e}function rc(e,t,n){return Kl({name:n},t,e,n)}const sc=function(e,t,n){return new uc(e,t,n)};class ic{static create(e,t){return Array.isArray(e)?sc(e,t,""):sc(e.providers,e.parent,e.name||"")}}ic.THROW_IF_NOT_FOUND=$r,ic.NULL=new Ul,ic.ɵprov=B({token:ic,providedIn:"any",factory:()=>Gr(Hl)}),ic.__NG_ELEMENT_ID__=-1;const oc=function(e){return e},ac=[],lc=oc,cc=function(){return Array.prototype.slice.call(arguments)};class uc{constructor(e,t=ic.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(ic,{token:ic,fn:oc,deps:ac,value:this,useNew:!1}),r.set(Hl,{token:Hl,fn:oc,deps:ac,value:this,useNew:!1}),this.scope=function e(t,n){let r=null;if(n)if(n=f(n),Array.isArray(n))for(let s=0;s<n.length;s++)r=e(t,n[s])||r;else{if("function"==typeof n)throw fc("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw fc("Unexpected provider",n);{let e=f(n.provide);const s=pc(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==cc)throw dc(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:cc,value:ac});e=n,r.deps.push({token:e,options:6})}const i=t.get(e);if(i&&i.fn==cc)throw dc(e);e===ql&&(r=s.value),t.set(e,s)}}return r}(r,e)}get(e,t,n=Q.Default){const r=this._records;let s=r.get(e);if(void 0===s){const t=U(e);if(t){const n=t&&f(t.providedIn);("any"===n||null!=n&&n===this.scope)&&r.set(e,s=pc({provide:e,useFactory:t.factory,deps:ac}))}void 0===s&&r.set(e,null)}let i=zr(this);try{return hc(e,s,r,this.parent,t,n)}catch(t){return Xr(t,e,"StaticInjectorError",this.source)}finally{zr(i)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(u(n))),`StaticInjector[${e.join(", ")}]`}}function pc(e){const t=function(e){let t=ac;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=f(n[e]);if(Array.isArray(s))for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof ns||n==ns?r|=1:n instanceof ss||n==ss?r&=-3:n instanceof rs||n==rs?r&=-5:s=n instanceof ts?n.token:f(n)}t.push({token:s,options:r})}}else if(e.useExisting){const n=f(e.useExisting);t=[{token:n,options:6}]}else if(!n&&!(Ur in e))throw fc("'deps' required",e);return t}(e);let n=oc,r=ac,s=!1,i=f(e.provide);if(Ur in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=f(e.useClass);else{if("function"!=typeof i)throw fc("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=i}return{deps:t,fn:n,useNew:s,value:r}}function dc(e){return fc("Cannot mix multi providers and regular providers",e)}function hc(e,t,n,r,s,i){try{return function(e,t,n,r,s,i){let o;if(!t||i&Q.SkipSelf)o=i&Q.Self?i&Q.Optional?ic.NULL.get(e,void 0!==s?s:null):ic.NULL.get(e,s):r.get(e,s,Q.Default);else{if(o=t.value,o==lc)throw Error("ɵCircular dependency");if(o===ac){t.value=lc;let e=void 0,s=t.useNew,i=t.fn,a=t.deps,l=ac;if(a.length){l=[];for(let e=0;e<a.length;e++){const t=a[e],s=t.options,i=2&s?n.get(t.token):void 0;l.push(hc(t.token,i,n,i||4&s?r:ic.NULL,1&s?null:ic.THROW_IF_NOT_FOUND,Q.Default))}}t.value=o=s?new i(...l):i.apply(e,l)}}return o}(e,t,n,r,s,i)}catch(n){n instanceof Error||(n=new Error(n));throw(n.ngTempTokenPath=n.ngTempTokenPath||[]).unshift(e),t&&t.value==lc&&(t.value=ac),n}}function fc(e,t){return new Error(Jr(e,t,"StaticInjectorError"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function mc(e){Sc(e);const t=Si(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];let r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function gc(e){Sc(e);const t=Si(e);return null===t?null:t.lView[8]}function vc(e){const t=Si(e);if(null===t)return null;let n,r=t.lView;for(ngDevMode&&Qe(r);2===r[1].type&&(n=so(r));)r=n;return 512&r[2]?null:r[8]}function yc(e){return[...oo(e).components]}function _c(e){const t=Si(e);if(null===t)return ic.NULL;const n=t.lView[1].data[t.nodeIndex];return new er(n,t.lView)}function wc(e){if(e instanceof Text)return[];const t=Si(e);if(null===t)return[];const n=t.lView,r=n[1],s=t.nodeIndex;return(null==r?void 0:r.data[s])?(void 0===t.directives&&(t.directives=Oi(s,n,!1)),null===t.directives?[]:[...t.directives]):[]}function Ec(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=ke(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?ne.OnPush:ne.Default};const r=Pe(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function bc(e){return Si(e).native}function Cc(e){Sc(e);const t=Si(e);if(null===t)return[];const n=t.lView,r=n[1],s=n[7],i=r.cleanup,o=[];if(i&&s)for(let t=0;t<i.length;){const r=i[t++],a=i[t++];if("string"==typeof r){const l=r,c=_t(n[a]),u=s[i[t++]],p=i[t++],d="boolean"==typeof p||p>=0?"dom":"output",h="boolean"==typeof p&&p;e==c&&o.push({element:e,name:l,callback:u,useCapture:h,type:d})}}return o.sort(xc),o}function xc(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function Sc(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Dc(e){$l(e),yc(e).forEach(e=>Bl(e))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let Tc=!1;function Ic(){Tc||(Tc=!0,Ac("ɵsetProfiler",pt),Ac("getDirectiveMetadata",Ec),Ac("getComponent",mc),Ac("getContext",gc),Ac("getListeners",Cc),Ac("getOwningComponent",vc),Ac("getHostElement",bc),Ac("getInjector",_c),Ac("getRootComponents",yc),Ac("getDirectives",wc),Ac("applyChanges",Dc))}function Ac(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=ce;if(ngDevMode&&R(t,"function not defined"),n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Mc(e,t={}){ngDevMode&&Ic(),ngDevMode&&We(e);const n=t.rendererFactory||yt,r=t.sanitizer||null,s=ke(e);s.type!=e&&(s.type=e);const i=s.selectors[0][0],o=nl(n.createRenderer(null,null),t.host||i,s.encapsulation),a=s.onPush?576:528,l=Nc(t.scheduler,t.playerHandler),c=n.createRenderer(o,s),u=el(0,null,null,1,0,null,null,null,null,null),p=Ha(null,u,l,a,null,null,n,c,null,t.injector||null);let d;sn(p);try{n.begin&&n.begin();d=Pc(kc(o,s,p,n,c,r),s,p,l,t.hostFeatures||null),Wa(u,p,null),Ga(u,p,null,null)}finally{un(),n.end&&n.end()}return d}function kc(e,t,n,r,s,i){const o=n[1];ngDevMode&&j(n,20),n[20]=e;const a=Ua(o,20,2,"#host",null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Vl(a,l,!0),null!==e&&(Tn(s,e,l),null!==a.classes&&Bo(s,e,a.classes),null!==a.styles&&Vo(s,e,a.styles)));const c=r.createRenderer(e,t),u=Ha(n,Ja(t),null,t.onPush?64:16,n[20],a,r,c,i||null,null);return o.firstCreatePass&&(Hn(jn(a,n),o,t.type),dl(o,a),fl(a,n.length,1)),Sl(n,u),n[20]=u}function Pc(e,t,n,r,s){const i=n[1],o=function(e,t,n){const r=Lt();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);const s=za(e,t,1,null);ngDevMode&&T(s,r.directiveStart,"Because this is a root component the allocated expando should match the TNode component."),ml(e,r,t,s,n)}const s=Yn(t,e,r.directiveStart,r);Ii(s,t);const i=Et(r,t);return i&&Ii(i,t),s}(i,n,t);if(r.components.push(o),e[8]=o,s&&s.forEach(e=>e(o,t)),t.contentQueries){const e=Lt();ngDevMode&&R(e,"TNode expected"),t.contentQueries(1,o,e.directiveStart)}const a=Lt();if(ngDevMode&&R(a,"tNode should have been already created"),i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){hn(a.index);ul(n[1],a,0,a.directiveStart,a.directiveEnd,t),pl(t,o)}return o}function Nc(e,t){return{components:[],scheduler:e||Zi,clean:Pl,playerHandler:t||null,flags:0}}function Oc(e,t){const n=Mi(e);ngDevMode&&R(n,"LView is required");const r=n[1],s=Lt();ngDevMode&&R(s,"TNode is required"),yn(r,s)}function Rc(e){return oo(e).clean}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Fc(e){return Object.getPrototypeOf(e.prototype).constructor}function Lc(e){let t=Fc(e.type),n=!0;const r=[e];for(;t;){let s=void 0;if($e(e))s=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Error("Directives cannot inherit Components");s=t.ɵdir}if(s){if(n){r.push(s);const t=e;t.inputs=jc(e.inputs),t.declaredInputs=jc(e.declaredInputs),t.outputs=jc(e.outputs);const n=s.hostBindings;n&&$c(e,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Vc(e,i),o&&Bc(e,o),c(e.inputs,s.inputs),c(e.declaredInputs,s.declaredInputs),c(e.outputs,s.outputs),$e(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let r=0;r<t.length;r++){const s=t[r];s&&s.ngInherit&&s(e),s===Lc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Mn(s.hostAttrs,n=Mn(n,s.hostAttrs))}}(r)}function jc(e){return e===pe?{}:e===de?[]:e}function Vc(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Bc(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,s)=>{t(e,r,s),n(e,r,s)}:t}function $c(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Hc=["providersResolver"],Uc=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function qc(e){let t=Fc(e.type),n=void 0;n=$e(e)?t.ɵcmp:t.ɵdir;const r=e;for(const e of Hc)r[e]=n[e];if($e(n))for(const e of Uc)r[e]=n[e]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let zc=null;function Wc(){if(!zc){const e=ce.Symbol;if(e&&e.iterator)zc=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(zc=n)}}}return zc}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Gc(e,t){const n=Kc(e),r=Kc(t);if(n&&r)return function(e,t,n){const r=e[Wc()](),s=t[Wc()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Gc);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Object.is(e,t)}}class Zc{constructor(e){this.wrapped=e}static wrap(e){return new Zc(e)}static unwrap(e){return Zc.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Zc}}function Kc(e){return!!Qc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wc()in e)}function Qc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Yc(e,t,n){return e[t]=n}function Xc(e,t){return ngDevMode&&j(e,t),ngDevMode&&M(e[t],Xo,"Stored value should never be NO_CHANGE."),e[t]}function Jc(e,t,n){ngDevMode&&M(n,Xo,"Incoming value should never be NO_CHANGE."),ngDevMode&&k(t,e.length,"Slot should have been initialized to NO_CHANGE");const r=e[t];if(Object.is(r,n))return!1;if(ngDevMode&&Ut()){const s=r!==Xo?r:void 0;if(!Gc(s,n)){const i=function(e,t,n,r){const s=e[1].data,i=s[t];if("string"==typeof i)return i.indexOf("�")>-1?eo(e,t,t,i,r):{propName:i,oldValue:n,newValue:r};if(null===i){let n=t-1;for(;"string"!=typeof s[n]&&null===s[n+1];)n--;const i=s[n];if("string"==typeof i){const s=i.match(new RegExp("�","g"));if(s&&s.length-1>t-n)return eo(e,n,t,i,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,s,n);!function(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${t}'. Current value: '${n}'.`;throw e&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new g("100",s)}(r===Xo,i.oldValue,i.newValue,i.propName)}return!1}return e[t]=n,!0}function eu(e,t,n,r){const s=Jc(e,t,n);return Jc(e,t+1,r)||s}function tu(e,t,n,r,s){const i=eu(e,t,n,r);return Jc(e,t+2,s)||i}function nu(e,t,n,r,s,i){const o=eu(e,t,n,r);return eu(e,t+2,s,i)||o}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ru(e,t,n,r){const s=Ot(),i=Zt();if(Jc(s,i,t)){const o=Rt(),a=fn();vl(a,s,e,t,n,r),ngDevMode&&kl(o.data,a,"attr."+e,i)}return ru}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function su(e,t){ngDevMode&&k(2,t.length,"should have at least 3 values"),ngDevMode&&T(t.length%2,1,"should have an odd number of values");let n=!1,r=Wt();for(let s=1;s<t.length;s+=2)n=Jc(e,r++,t[s])||n;if(Gt(r),!n)return Xo;let s=t[0];for(let e=1;e<t.length;e+=2)s+=_(t[e])+t[e+1];return s}function iu(e,t,n,r){return Jc(e,Zt(),n)?t+_(n)+r:Xo}function ou(e,t,n,r,s,i){const o=eu(e,Wt(),n,s);return Kt(2),o?t+_(n)+r+_(s)+i:Xo}function au(e,t,n,r,s,i,o,a){const l=tu(e,Wt(),n,s,o);return Kt(3),l?t+_(n)+r+_(s)+i+_(o)+a:Xo}function lu(e,t,n,r,s,i,o,a,l,c){const u=nu(e,Wt(),n,s,o,l);return Kt(4),u?t+_(n)+r+_(s)+i+_(o)+a+_(l)+c:Xo}function cu(e,t,n,r,s,i,o,a,l,c,u,p){const d=Wt();let h=nu(e,d,n,s,o,l);return h=Jc(e,d+4,u)||h,Kt(5),h?t+_(n)+r+_(s)+i+_(o)+a+_(l)+c+_(u)+p:Xo}function uu(e,t,n,r,s,i,o,a,l,c,u,p,d,h){const f=Wt();let m=nu(e,f,n,s,o,l);return m=eu(e,f+4,u,d)||m,Kt(6),m?t+_(n)+r+_(s)+i+_(o)+a+_(l)+c+_(u)+p+_(d)+h:Xo}function pu(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m){const g=Wt();let v=nu(e,g,n,s,o,l);return v=tu(e,g+4,u,d,f)||v,Kt(7),v?t+_(n)+r+_(s)+i+_(o)+a+_(l)+c+_(u)+p+_(d)+h+_(f)+m:Xo}function du(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v){const y=Wt();let w=nu(e,y,n,s,o,l);return w=nu(e,y+4,u,d,f,g)||w,Kt(8),w?t+_(n)+r+_(s)+i+_(o)+a+_(l)+c+_(u)+p+_(d)+h+_(f)+m+_(g)+v:Xo}function hu(e,t,n,r,s,i){const o=Ot(),a=iu(o,t,n,r);if(a!==Xo){const n=fn();vl(n,o,e,a,s,i),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-1,t,r)}return hu}function fu(e,t,n,r,s,i,o,a){const l=Ot(),c=ou(l,t,n,r,s,i);if(c!==Xo){const n=fn();vl(n,l,e,c,o,a),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-2,t,r,i)}return fu}function mu(e,t,n,r,s,i,o,a,l,c){const u=Ot(),p=au(u,t,n,r,s,i,o,a);if(p!==Xo){const n=fn();vl(n,u,e,p,l,c),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-3,t,r,i,a)}return mu}function gu(e,t,n,r,s,i,o,a,l,c,u,p){const d=Ot(),h=lu(d,t,n,r,s,i,o,a,l,c);if(h!==Xo){const n=fn();vl(n,d,e,h,u,p),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-4,t,r,i,a,c)}return gu}function vu(e,t,n,r,s,i,o,a,l,c,u,p,d,h){const f=Ot(),m=cu(f,t,n,r,s,i,o,a,l,c,u,p);if(m!==Xo){const n=fn();vl(n,f,e,m,d,h),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-5,t,r,i,a,c,p)}return vu}function yu(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m){const g=Ot(),v=uu(g,t,n,r,s,i,o,a,l,c,u,p,d,h);if(v!==Xo){const n=fn();vl(n,g,e,v,f,m),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-6,t,r,i,a,c,p,h)}return yu}function _u(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v){const y=Ot(),_=pu(y,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m);if(_!==Xo){const n=fn();vl(n,y,e,_,g,v),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-7,t,r,i,a,c,p,h,m)}return _u}function wu(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y,_){const w=Ot(),E=du(w,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v);if(E!==Xo){const n=fn();vl(n,w,e,E,y,_),ngDevMode&&kl(Rt().data,n,"attr."+e,Wt()-8,t,r,i,a,c,p,h,m,v)}return wu}function Eu(e,t,n,r){const s=Ot(),i=su(s,t);if(i!==Xo){const o=fn();if(vl(o,s,e,i,n,r),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);kl(Rt().data,o,"attr."+e,Wt()-n.length+1,...n)}}return Eu}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function bu(e,t,n,r,s,i,o,a){const l=Ot(),c=Rt(),u=e+20,p=c.firstCreatePass?function(e,t,n,r,s,i,o,a,l){ngDevMode&&Ye(t),ngDevMode&&ngDevMode.firstCreatePass++;const c=t.consts,u=Ua(t,e,4,o||null,Tt(c,a));cl(t,n,u,Tt(c,l)),yn(t,u);const p=u.tViews=el(2,u,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),p.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,r,s,i,o):c.data[u];Bt(p,!1);const d=l[11].createComment(ngDevMode?"container":"");Po(c,l,d,p),Ii(d,l),Sl(l,l[u]=bl(d,l,d,p)),Be(p)&&Ya(c,l,p),null!=o&&Xa(l,p,a)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Cu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function xu(e){return Ct(Mt.lFrame.contextLView,20+e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Su={"ɵɵdefineInjectable":B,"ɵɵdefineInjector":H,"ɵɵinject":Gr,"ɵɵinvalidFactoryDep":Zr,resolveForwardRef:f};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Du=l({provide:String,useValue:l});function Tu(e){return void 0!==e.useClass}function Iu(e){return void 0!==e.useFactory}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Au=l({provide:String,useValue:l});function Mu(e,t){if(!t){const t=(new jr).parameters(e);return()=>new e(...Qr(t))}if(Au in t){const e=t;return()=>e.useValue}if(t.useExisting){const e=t;return()=>Gr(f(e.useExisting))}if(t.useFactory){const e=t;return()=>e.useFactory(...Qr(e.deps||de))}if(t.useClass){const n=t;let r=t.deps;if(!r){const t=new jr;r=t.parameters(e)}return()=>new(f(n.useClass))(...Qr(r))}{let n=t.deps;if(!n){const t=new jr;n=t.parameters(e)}return()=>new e(...Qr(n))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const ku=ar("Injectable",void 0,void 0,void 0,(e,t)=>Nu(e,t));const Pu=function(e,t){let n=null,r=null;e.hasOwnProperty(W)||Object.defineProperty(e,W,{get:()=>{if(null===n){const r=br({usage:0,kind:"injectable",type:e});n=r.compileInjectable(Su,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};(Tu(n)||Iu(n))&&void 0!==n.deps&&(r.deps=cs(n.deps));Tu(n)?r.useClass=n.useClass:!function(e){return Du in e}(n)?Iu(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting):r.useValue=n.useValue;return r}(e,t))}return n}}),e.hasOwnProperty(ye)||Object.defineProperty(e,ye,{get:()=>{if(null===r){const t=br({usage:0,kind:"injectable",type:e});r=t.compileFactory(Su,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:ls(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})},Nu=function(e,t){t&&void 0!==t.providedIn&&!U(e)&&(e.ɵprov=B({token:e,providedIn:t.providedIn,factory:Mu(e,t)}))};function Ou(e){if(e.length>1){return" ("+
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>u(e.token)).join(" -> ")+")"}return""}function Ru(e,t,n,r){const s=[t],i=n(s),o=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(i,r):Error(i);return o.addKey=Fu,o.keys=s,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function Fu(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Lu(e,t){const n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];r&&0!=r.length?n.push(r.map(u).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+u(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+u(e)+"' is decorated with Injectable.")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class ju{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=u(this.token)}static get(e){return Vu.get(f(e))}static get numberOfKeys(){return Vu.numberOfKeys}}const Vu=new class{constructor(){this._allKeys=new Map}get(e){if(e instanceof ju)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new ju(e,ju.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Bu=new class{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}(new jr);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class $u{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new $u(e,!1,null)}}const Hu=[];class Uu{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class qu{constructor(e,t){this.factory=e,this.dependencies=t}}function zu(e){let t,n;if(e.useClass){const r=f(e.useClass);t=Bu.factory(r),n=Zu(r)}else e.useExisting?(t=e=>e,n=[$u.fromKey(ju.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>Ku(e,t,n))}return Zu(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Hu);return new qu(t,n)}function Wu(e){return new Uu(ju.get(e.provide),[zu(e)],e.multi||!1)}function Gu(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],s=t.get(r.key.id);if(s){if(r.multiProvider!==s.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${s} ${r}`);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)s.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new Uu(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(function e(t,n){return t.forEach(t=>{if(t instanceof Cr)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(Wu),new Map);return Array.from(t.values())}function Zu(e){const t=Bu.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw Lu(e,t);return t.map(n=>Ku(e,n,t))}function Ku(e,t,n){let r=null,s=!1;if(!Array.isArray(t))return Qu(t instanceof ts?t.token:t,s,null);let i=null;for(let e=0;e<t.length;++e){const n=t[e];n instanceof Cr?r=n:n instanceof ts?r=n.token:n instanceof ns?s=!0:n instanceof rs||n instanceof ss?i=n:n instanceof hr&&(r=n)}if(r=f(r),null!=r)return Qu(r,s,i);throw Lu(e,n)}function Qu(e,t,n){return new $u(ju.get(e),t,n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Yu={};class Xu{static resolve(e){return Gu(e)}static resolveAndCreate(e,t){const n=Xu.resolve(e);return Xu.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Ju(e,t)}}class Ju{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let t=0;t<n;t++)this.keyIds[t]=e[t].key.id,this.objs[t]=Yu}get(e,t=$r){return this._getByKey(ju.get(e),null,t)}resolveAndCreateChild(e){const t=Xu.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new Ju(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(Xu.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=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 t=this,n=e.key,Ru(t,n,(function(e){return"Cannot instantiate cyclic dependency!"+Ou(e)}));var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,s;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{s=n(...r)}catch(t){throw i=this,o=t,t.stack,a=e.key,Ru(i,a,(function(e){const t=u(e[0].token);return`${o.message}: Error during instantiation of ${t}!${Ou(e)}.`}),o)}var i,o,a;return s}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:$r)}_getByKey(e,t,n){return e===Ju.INJECTOR_KEY?this:t instanceof rs?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Yu&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Yu}_throwOrNull(e,t){if(t!==$r)return t;throw function(e,t){return Ru(e,t,(function(e){return`No provider for ${u(e[0].token)}!${Ou(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==Yu?n:this._throwOrNull(e,t)}_getByKeyDefault(e,t,n){let r;for(r=n instanceof ss?this.parent:this;r instanceof Ju;){const t=r,n=t._getObjByKeyId(e.id);if(n!==Yu)return n;r=t.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(this,e=>' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function ep(e,t=Q.Default){const n=Ot();if(null===n)return ngDevMode&&(r=ep,ngDevMode&&I(Y,r,"Calling ɵɵinject would cause infinite recursion")),Gr(e,t);var r;return Wn(Lt(),n,f(e),t)}function tp(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function np(e,t,n){const r=Ot(),s=Zt();if(Jc(r,s,t)){const i=Rt(),o=fn();il(i,o,r,e,t,r[11],n,!1),ngDevMode&&kl(i.data,o,e,s)}return np}function rp(e,t,n,r,s){const i=s?"class":"style";Ll(e,n,t.inputs[i],i,r)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function sp(e,t,n,r,s,i,o){ngDevMode&&Ye(t),ngDevMode&&ngDevMode.firstCreatePass++;const a=t.consts,l=Ua(t,e,2,s,Tt(a,i)),c=cl(t,n,l,Tt(a,o));return ngDevMode&&function(e,t,n,r){if(null===e.schemas)return;const s=n.value;if(!r&&null!==s){if(("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&t instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&s.indexOf("-")>-1&&!customElements.get(s))&&!al(e,s)){let e=`'${s}' is not a known element:\n`;e+=`1. If '${s}' is an Angular component, then verify that it is part of this module.\n`,s&&s.indexOf("-")>-1?e+=`2. If '${s}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",console.error(y("304",e))}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t,r,l,c),null!==l.attrs&&Vl(l,l.attrs,!1),null!==l.mergedAttrs&&Vl(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}function ip(e,t,n,r){const s=Ot(),i=Rt(),o=20+e;ngDevMode&&T(Wt(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&j(s,o);const a=s[11],l=s[o]=mo(a,t,Mt.lFrame.currentNamespace),c=i.firstCreatePass?sp(o,i,s,l,t,n,r):i.data[o];Bt(c,!0);const u=c.mergedAttrs;null!==u&&Tn(a,l,u);const p=c.classes;null!==p&&Bo(a,l,p);const d=c.styles;null!==d&&Vo(a,l,d),64!=(64&c.flags)&&Po(i,s,l,c),0===Mt.lFrame.elementDepthCount&&Ii(l,s),Mt.lFrame.elementDepthCount++,Be(c)&&(Ya(i,s,c),Qa(i,c,s)),null!==r&&Xa(s,c)}function op(){let e=Lt();ngDevMode&&R(e,"No parent node to close."),$t()?Ht():(ngDevMode&&Ge(Lt()),e=e.parent,Bt(e,!1));const t=e;ngDevMode&&Dn(t,3),Mt.lFrame.elementDepthCount--;const n=Rt();n.firstCreatePass&&(yn(n,e),je(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&rp(n,t,Ot(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&rp(n,t,Ot(),t.stylesWithoutHost,!1)}function ap(e,t,n,r){ip(e,t,n,r),op()}function lp(e,t,n){const r=Ot(),s=Rt(),i=e+20;ngDevMode&&j(r,i),ngDevMode&&T(Wt(),s.bindingStartIndex,"element containers should be created before any bindings");const o=s.firstCreatePass?function(e,t,n,r,s){ngDevMode&&ngDevMode.firstCreatePass++;const i=t.consts,o=Tt(i,r),a=Ua(t,e,8,"ng-container",o);return null!==o&&Vl(a,o,!0),cl(t,n,a,Tt(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];Bt(o,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[i]=r[11].createComment(ngDevMode?"ng-container":"");Po(s,r,a,o),Ii(a,r),Be(o)&&(Ya(s,r,o),Qa(s,o,r)),null!=n&&Xa(r,o)}function cp(){let e=Lt();const t=Rt();$t()?Ht():(ngDevMode&&Ge(e),e=e.parent,Bt(e,!1)),ngDevMode&&Dn(e,8),t.firstCreatePass&&(yn(t,e),je(e)&&t.queries.elementEnd(e))}function up(e,t,n){lp(e,t,n),cp()}function pp(){return Ot()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function dp(e){return!!e&&"function"==typeof e.then}function hp(e){return!!e&&"function"==typeof e.subscribe}Ju.INJECTOR_KEY=ju.get(ic);const fp=hp;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function mp(e,t,n,r){const s=Ot(),i=Rt(),o=Lt();return vp(i,s,s[11],o,e,t,!!n,r),mp}function gp(e,t){const n=Lt(),r=Ot(),s=Rt();return vp(s,r,Rl(Jt(s.data),n,r),n,e,t,!1),gp}function vp(e,t,n,r,s,i,o,a){const l=Be(r),c=e.firstCreatePass&&Ol(e),u=t[8],p=Nl(t);ngDevMode&&Dn(r,15);let d=!0;if(3&r.type||a){const h=Et(r,t),f=a?a(h):h,m=p.length,g=a?e=>a(_t(e[r.index])):r.index;if(vt(n)){let o=null;if(!a&&l&&(o=function(e,t,n,r){const s=e.cleanup;if(null!=s)for(let e=0;e<s.length-1;e+=2){const i=s[e];if(i===n&&s[e+1]===r){const n=t[7],r=s[e+2];return n.length>r?n[r]:null}"string"==typeof i&&(e+=2)}return null}(e,t,s,r.index)),null!==o){(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,d=!1}else{i=_p(r,t,u,i,!1);const e=n.listen(f,s,i);ngDevMode&&ngDevMode.rendererAddEventListener++,p.push(i,e),c&&c.push(s,g,m,m+1)}}else i=_p(r,t,u,i,!0),f.addEventListener(s,i,o),ngDevMode&&ngDevMode.rendererAddEventListener++,p.push(i),c&&c.push(s,g,m,o)}else i=_p(r,t,u,i,!1);const h=r.outputs;let f;if(d&&null!==h&&(f=h[s])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=f[n];ngDevMode&&j(t,e);const o=f[n+1],a=t[e],l=a[o];if(ngDevMode&&!fp(l))throw new Error(`@Output ${o} not initialized in '${a.constructor.name}'.`);const u=l.subscribe(i),d=p.length;p.push(i,u),c&&c.push(s,r.index,d,-(d+1))}}}function yp(e,t,n,r){try{return dt(6,t,n),!1!==n(r)}catch(t){return Fl(e,t),!1}finally{dt(7,t,n)}}function _p(e,t,n,r,s){return function i(o){if(o===Function)return r;const a=2&e.flags?xt(e.index,t):t;0==(32&t[2])&&Dl(a);let l=yp(t,n,r,o),c=i.__ngNextListenerFn__;for(;c;)l=yp(t,n,c,o)&&l,c=c.__ngNextListenerFn__;return s&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function wp(e=1){return pn(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ep(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?Zo(e,i,!0):Ko(r,i))return s}else n=s}return n}function bp(e){const t=Ot()[16][6];if(!t.projection){const n=e?e.length:1,r=t.projection=Ar(n,null),s=r.slice();let i=t.child;for(;null!==i;){const t=e?Ep(i,e):0;null!==t&&(s[t]?s[t].projectionNext=i:r[t]=i,s[t]=i),i=i.next}}}function Cp(e,t=0,n){const r=Ot(),s=Rt(),i=Ua(s,20+e,16,null,n||null);null===i.projection&&(i.projection=t),Ht(),64!=(64&i.flags)&&function(e,t,n){jo(t[11],0,t,n,Eo(e,n,t),To(n.parent||t[6],n,t))}(s,r,i)}function xp(e,t,n){return Sp(e,"",t,"",n),xp}function Sp(e,t,n,r,s){const i=Ot(),o=iu(i,t,n,r);if(o!==Xo){const n=Rt(),a=fn();il(n,a,i,e,o,i[11],s,!1),ngDevMode&&kl(n.data,a,e,Wt()-1,t,r)}return Sp}function Dp(e,t,n,r,s,i,o){const a=Ot(),l=ou(a,t,n,r,s,i);if(l!==Xo){const n=Rt(),s=fn();il(n,s,a,e,l,a[11],o,!1),ngDevMode&&kl(n.data,s,e,Wt()-2,t,r,i)}return Dp}function Tp(e,t,n,r,s,i,o,a,l){const c=Ot(),u=au(c,t,n,r,s,i,o,a);if(u!==Xo){const n=Rt(),s=fn();il(n,s,c,e,u,c[11],l,!1),ngDevMode&&kl(n.data,s,e,Wt()-3,t,r,i,a)}return Tp}function Ip(e,t,n,r,s,i,o,a,l,c,u){const p=Ot(),d=lu(p,t,n,r,s,i,o,a,l,c);if(d!==Xo){const n=Rt(),s=fn();il(n,s,p,e,d,p[11],u,!1),ngDevMode&&kl(n.data,s,e,Wt()-4,t,r,i,a,c)}return Ip}function Ap(e,t,n,r,s,i,o,a,l,c,u,p,d){const h=Ot(),f=cu(h,t,n,r,s,i,o,a,l,c,u,p);if(f!==Xo){const n=Rt(),s=fn();il(n,s,h,e,f,h[11],d,!1),ngDevMode&&kl(n.data,s,e,Wt()-5,t,r,i,a,c,p)}return Ap}function Mp(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f){const m=Ot(),g=uu(m,t,n,r,s,i,o,a,l,c,u,p,d,h);if(g!==Xo){const n=Rt(),s=fn();il(n,s,m,e,g,m[11],f,!1),ngDevMode&&kl(n.data,s,e,Wt()-6,t,r,i,a,c,p,h)}return Mp}function kp(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g){const v=Ot(),y=pu(v,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m);if(y!==Xo){const n=Rt(),s=fn();il(n,s,v,e,y,v[11],g,!1),ngDevMode&&kl(n.data,s,e,Wt()-7,t,r,i,a,c,p,h,m)}return kp}function Pp(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y){const _=Ot(),w=du(_,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v);if(w!==Xo){const n=Rt(),s=fn();il(n,s,_,e,w,_[11],y,!1),ngDevMode&&kl(n.data,s,e,Wt()-8,t,r,i,a,c,p,h,m,v)}return Pp}function Np(e,t,n){const r=Ot(),s=su(r,t);if(s!==Xo){const i=Rt(),o=fn();if(il(i,o,r,e,s,r[11],n,!1),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);kl(i.data,o,e,Wt()-n.length+1,...n)}}return Np}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Op(e,t,n,r,s,i){ngDevMode&&Xe(Rt());let o=i?t.classBindings:t.styleBindings,a=na(o),l=ia(o);e[r]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||Pr(e,c)>0)&&(u=!0)}else c=n;if(s){if(0!==l){const t=na(e[a+1]);e[r+1]=ta(t,a),0!==t&&(e[t+1]=oa(e[t+1],r)),e[a+1]=(p=e[a+1],d=r,ngDevMode&&x(p,"expected number"),ngDevMode&&S(d,0,32767),131071&p|d<<17)}else e[r+1]=ta(a,0),0!==a&&(e[a+1]=oa(e[a+1],r)),a=r}else e[r+1]=ta(l,0),ngDevMode&&T(0!==a&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=r:e[l+1]=oa(e[l+1],r),l=r;var p,d;u&&(e[r+1]=sa(e[r+1])),Rp(e,c,r,!0,i),Rp(e,c,r,!1,i),function(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Pr(i,t)>=0&&(n[r+1]=la(n[r+1]))}(t,c,e,r,i),o=ta(a,l),i?t.classBindings=o:t.styleBindings=o}function Rp(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?na(i):ia(i),l=!1;for(;0!==a&&(!1===l||o);){ngDevMode&&j(e,a);const n=e[a],s=e[a+1];Fp(n,t)&&(l=!0,e[a+1]=r?la(s):sa(s)),a=r?na(s):ia(s)}l&&(e[n+1]=r?sa(i):la(i))}function Fp(e,t){return ngDevMode&&I(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Pr(e,t)>=0}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Lp={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jp(e){return e.substring(Lp.key,Lp.keyEnd)}function Vp(e){return e.substring(Lp.value,Lp.valueEnd)}function Bp(e,t){const n=Lp.textEnd;return n===t?-1:(t=Lp.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Lp.key=t,n),Up(e,t,n))}function $p(e,t){const n=Lp.textEnd;let r=Lp.key=Up(e,t,n);return n===r?-1:(r=Lp.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=qp(e,r,n,58),r=Lp.value=Up(e,r,n),r=Lp.valueEnd=function(e,t,n){let r=-1,s=-1,i=-1,o=t,a=o;for(;o<n;){const l=e.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=zp(e,l,o,n):t===o-4&&85===i&&82===s&&76===r&&40===l?a=o=zp(e,41,o,n):l>32&&(a=o),i=s,s=r,r=-33&l}return a}(e,r,n),qp(e,r,n,59))}function Hp(e){Lp.key=0,Lp.keyEnd=0,Lp.value=0,Lp.valueEnd=0,Lp.textEnd=e.length}function Up(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function qp(e,t,n,r){return(t=Up(e,t,n))<n&&(ngDevMode&&e.charCodeAt(t)!==r&&Wp(e,String.fromCharCode(r),t),t++),t}function zp(e,t,n,r){let s=-1,i=n;for(;i<r;){const n=e.charCodeAt(i++);if(n==t&&92!==s)return i;s=92==n&&92===s?0:n}throw ngDevMode?Wp(e,String.fromCharCode(t),r):new Error}function Wp(e,t,n){throw ngDevMode&&T("string"==typeof e,!0,"String expected here"),F(`Malformed style at location ${n} in string '`+e.substring(0,n)+"[>>"+e.substring(n,n+1)+"<<]"+e.substr(n+1)+`'. Expecting '${t}'.`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Gp(e,t,n){return Jp(e,t,n,!1),Gp}function Zp(e,t){return Jp(e,t,null,!0),Zp}function Kp(e){ed(id,Qp,e,!1)}function Qp(e,t){for(let n=function(e){return Hp(e),$p(e,Up(e,0,Lp.textEnd))}(t);n>=0;n=$p(t,n))id(e,jp(t),Vp(t))}function Yp(e){ed(Mr,Xp,e,!0)}function Xp(e,t){for(let n=function(e){return Hp(e),Bp(e,Up(e,0,Lp.textEnd))}(t);n>=0;n=Bp(t,n))Mr(e,jp(t),!0)}function Jp(e,t,n,r){const s=Ot(),i=Rt(),o=Kt(2);if(i.firstUpdatePass&&nd(i,e,o,r),t!==Xo&&Jc(s,o,t)){od(i,i.data[dn()],s,s[11],e,s[o+1]=function(e,t){null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(ks(e))));return e}(t,n),r,o)}}function ed(e,t,n,r){const s=Rt(),i=Kt(2);s.firstUpdatePass&&nd(s,null,i,r);const o=Ot();if(n!==Xo&&Jc(o,i,n)){const a=s.data[dn()];if(cd(a,r)&&!td(s,i)){if(ngDevMode){const e=s.data[i];T(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===r&&null!==e&&T(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=p(e,n||"")),rp(s,a,o,n,r)}else!function(e,t,n,r,s,i,o,a){s===Xo&&(s=de);let l=0,c=0,u=0<s.length?s[0]:null,p=0<i.length?i[0]:null;for(;null!==u||null!==p;){ngDevMode&&k(l,999,"Are we stuck in infinite loop?"),ngDevMode&&k(c,999,"Are we stuck in infinite loop?");const d=l<s.length?s[l+1]:void 0,h=c<i.length?i[c+1]:void 0;let f=null,m=void 0;u===p?(l+=2,c+=2,d!==h&&(f=p,m=h)):null===p||null!==u&&u<p?(l+=2,f=u):(ngDevMode&&R(p,"Expecting to have a valid key"),c+=2,f=p,m=h),null!==f&&od(e,t,n,r,f,m,o,a),u=l<s.length?s[l]:null,p=c<i.length?i[c]:null}}(s,a,o,o[11],o[i+1],o[i+1]=function(e,t,n){if(null==n||""===n)return de;const r=[],s=ks(n);if(Array.isArray(s))for(let t=0;t<s.length;t++)e(r,s[t],!0);else if("object"==typeof s)for(const t in s)s.hasOwnProperty(t)&&e(r,t,s[t]);else"string"==typeof s?t(r,s):ngDevMode&&F("Unsupported styling type "+typeof s+": "+s);return r}(e,t,n),r,i)}}function td(e,t){return t>=e.expandoStartIndex}function nd(e,t,n,r){ngDevMode&&Xe(e);const s=e.data;if(null===s[n+1]){const i=s[dn()];ngDevMode&&R(i,"TNode expected");const o=td(e,n);cd(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const s=Jt(e);let i=r?t.residualClasses:t.residualStyles;if(null===s){0===(r?t.classBindings:t.styleBindings)&&(n=sd(n=rd(null,e,t,n,r),t.attrs,r),i=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=rd(s,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===ia(r))return;return e[na(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=rd(null,e,t,n[1],r),n=sd(n,t.attrs,r),function(e,t,n,r){const s=n?t.classBindings:t.styleBindings;ngDevMode&&I(ia(s),0,"Expecting to have at least one template styling binding."),e[na(s)]=r}(e,t,r,n))}else i=function(e,t,n){let r=void 0;const s=t.directiveEnd;ngDevMode&&I(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let i=1+t.directiveStylingLast;i<s;i++){const t=e[i].hostAttrs;r=sd(r,t,n)}return sd(r,t.attrs,n)}(e,t,r)}void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i);return n}(s,i,t,r),Op(s,i,t,n,o,r)}}function rd(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],ngDevMode&&R(i,"expected to be defined"),r=sd(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function sd(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Mr(e,o,!!n||t[++i]))}return void 0===e?null:e}function id(e,t,n){Mr(e,t,ks(n))}function od(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];if(!ld(aa(c)?ad(l,t,n,s,ia(c),o):void 0)){ld(i)||ra(c)&&(i=ad(l,null,n,s,a,o));!function(e,t,n,r,s){const i=vt(e);if(t)s?(ngDevMode&&ngDevMode.rendererAddClass++,i?e.addClass(n,r):(ngDevMode&&R(n.classList,"HTMLElement expected"),n.classList.add(r))):(ngDevMode&&ngDevMode.rendererRemoveClass++,i?e.removeClass(n,r):n.classList.remove(r));else{let t=-1===r.indexOf("-")?void 0:to.DashCase;if(null==s)ngDevMode&&ngDevMode.rendererRemoveStyle++,i?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const o="string"==typeof s&&s.endsWith("!important");o&&(s=s.slice(0,-10),t|=to.Important),ngDevMode&&ngDevMode.rendererSetStyle++,i?e.setStyle(n,r,s,t):(ngDevMode&&R(n.style,"HTMLElement expected"),n.style.setProperty(r,s,o?"important":""))}}}(r,o,wt(dn(),n),s,i)}}function ad(e,t,n,r,s,i){const o=null===t;let a=void 0;for(;s>0;){const t=e[s],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[s+1];u===Xo&&(u=c?de:void 0);let p=c?kr(u,r):l===r?u:void 0;if(i&&!ld(p)&&(p=kr(t,r)),ld(p)&&(a=p,o))return a;const d=e[s+1];s=o?na(d):ia(d)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=kr(e,r))}return a}function ld(e){return void 0!==e}function cd(e,t){return 0!=(e.flags&(t?16:32))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ud(e,t=""){const n=Ot(),r=Rt(),s=e+20;ngDevMode&&T(Wt(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&j(n,s);const i=r.firstCreatePass?Ua(r,s,1,t,null):r.data[s],o=n[s]=po(n[11],t);Po(r,n,o,i),Bt(i,!1)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pd(e){return dd("",e,""),pd}function dd(e,t,n){const r=Ot(),s=iu(r,e,t,n);return s!==Xo&&jl(r,dn(),s),dd}function hd(e,t,n,r,s){const i=Ot(),o=ou(i,e,t,n,r,s);return o!==Xo&&jl(i,dn(),o),hd}function fd(e,t,n,r,s,i,o){const a=Ot(),l=au(a,e,t,n,r,s,i,o);return l!==Xo&&jl(a,dn(),l),fd}function md(e,t,n,r,s,i,o,a,l){const c=Ot(),u=lu(c,e,t,n,r,s,i,o,a,l);return u!==Xo&&jl(c,dn(),u),md}function gd(e,t,n,r,s,i,o,a,l,c,u){const p=Ot(),d=cu(p,e,t,n,r,s,i,o,a,l,c,u);return d!==Xo&&jl(p,dn(),d),gd}function vd(e,t,n,r,s,i,o,a,l,c,u,p,d){const h=Ot(),f=uu(h,e,t,n,r,s,i,o,a,l,c,u,p,d);return f!==Xo&&jl(h,dn(),f),vd}function yd(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f){const m=Ot(),g=pu(m,e,t,n,r,s,i,o,a,l,c,u,p,d,h,f);return g!==Xo&&jl(m,dn(),g),yd}function _d(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g){const v=Ot(),y=du(v,e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g);return y!==Xo&&jl(v,dn(),y),_d}function wd(e){const t=Ot(),n=su(t,e);return n!==Xo&&jl(t,dn(),n),wd}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ed(e,t,n){ed(Mr,Xp,iu(Ot(),e,t,n),!0)}function bd(e,t,n,r,s){ed(Mr,Xp,ou(Ot(),e,t,n,r,s),!0)}function Cd(e,t,n,r,s,i,o){ed(Mr,Xp,au(Ot(),e,t,n,r,s,i,o),!0)}function xd(e,t,n,r,s,i,o,a,l){ed(Mr,Xp,lu(Ot(),e,t,n,r,s,i,o,a,l),!0)}function Sd(e,t,n,r,s,i,o,a,l,c,u){ed(Mr,Xp,cu(Ot(),e,t,n,r,s,i,o,a,l,c,u),!0)}function Dd(e,t,n,r,s,i,o,a,l,c,u,p,d){ed(Mr,Xp,uu(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d),!0)}function Td(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f){ed(Mr,Xp,pu(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d,h,f),!0)}function Id(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g){ed(Mr,Xp,du(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g),!0)}function Ad(e){ed(Mr,Xp,su(Ot(),e),!0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Md(e,t,n){Kp(iu(Ot(),e,t,n))}function kd(e,t,n,r,s){Kp(ou(Ot(),e,t,n,r,s))}function Pd(e,t,n,r,s,i,o){Kp(au(Ot(),e,t,n,r,s,i,o))}function Nd(e,t,n,r,s,i,o,a,l){Kp(lu(Ot(),e,t,n,r,s,i,o,a,l))}function Od(e,t,n,r,s,i,o,a,l,c,u){Kp(cu(Ot(),e,t,n,r,s,i,o,a,l,c,u))}function Rd(e,t,n,r,s,i,o,a,l,c,u,p,d){Kp(uu(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d))}function Fd(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f){Kp(pu(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d,h,f))}function Ld(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g){Kp(du(Ot(),e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g))}function jd(e){Kp(su(Ot(),e))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Vd(e,t,n,r,s){return Jp(e,iu(Ot(),t,n,r),s,!1),Vd}function Bd(e,t,n,r,s,i,o){return Jp(e,ou(Ot(),t,n,r,s,i),o,!1),Bd}function $d(e,t,n,r,s,i,o,a,l){return Jp(e,au(Ot(),t,n,r,s,i,o,a),l,!1),$d}function Hd(e,t,n,r,s,i,o,a,l,c,u){return Jp(e,lu(Ot(),t,n,r,s,i,o,a,l,c),u,!1),Hd}function Ud(e,t,n,r,s,i,o,a,l,c,u,p,d){return Jp(e,cu(Ot(),t,n,r,s,i,o,a,l,c,u,p),d,!1),Ud}function qd(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f){return Jp(e,uu(Ot(),t,n,r,s,i,o,a,l,c,u,p,d,h),f,!1),qd}function zd(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g){return Jp(e,pu(Ot(),t,n,r,s,i,o,a,l,c,u,p,d,h,f,m),g,!1),zd}function Wd(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y){return Jp(e,du(Ot(),t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v),y,!1),Wd}function Gd(e,t,n){return Jp(e,su(Ot(),t),n,!1),Gd}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Zd(e,t,n){const r=Ot(),s=Zt();if(Jc(r,s,t)){const i=Rt(),o=fn();il(i,o,r,e,t,r[11],n,!0),ngDevMode&&kl(i.data,o,e,s)}return Zd}function Kd(e,t,n){const r=Ot(),s=Zt();if(Jc(r,s,t)){const i=Rt(),o=fn();il(i,o,r,e,t,Rl(Jt(i.data),o,r),n,!0),ngDevMode&&kl(i.data,o,e,s)}return Kd}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */"undefined"==typeof ngI18nClosureMode&&(ce.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Qd=void 0;var Yd=["en",[["a","p"],["AM","PM"],Qd],[["AM","PM"],Qd,Qd],[["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"]],Qd,[["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"]],Qd,[["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}",Qd,"{1} 'at' {0}",Qd],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let Xd={};function Jd(e,t,n){"string"!=typeof t&&(n=t,t=e[ih.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Xd[t]=e,n&&(Xd[t][ih.ExtraData]=n)}function eh(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e);let n=rh(t);if(n)return n;const r=t.split("-")[0];if(n=rh(r),n)return n;if("en"===r)return Yd;throw new Error(`Missing locale data for the locale "${e}".`)}function th(e){return eh(e)[ih.CurrencyCode]||null}function nh(e){return eh(e)[ih.PluralCase]}function rh(e){return e in Xd||(Xd[e]=ce.ng&&ce.ng.common&&ce.ng.common.locales&&ce.ng.common.locales[e]),Xd[e]}function sh(){Xd={}}var ih;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(ih||(ih={}));const oh=["zero","one","two","few","many"];const ah="en-US",lh="USD",ch={marker:"element"},uh={marker:"ICU"};var ph;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(ph||(ph={}));
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let dh=ah;function hh(e){R(e,"Expected localeId to be defined"),"string"==typeof e&&(dh=e.toLowerCase().replace(/_/g,"-"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function fh(e,t,n){const r=t.insertBeforeIndex,s=Array.isArray(r)?r[0]:r;return null===s?Io(e,0,n):(ngDevMode&&j(n,s),_t(n[s]))}function mh(e,t,n,r,s){const i=t.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&L(r);let o=r,a=null;if(3&t.type||(a=o,o=s),null!==o&&0==(2&t.flags))for(let t=1;t<i.length;t++){Co(e,o,n[i[t]],a,!1)}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function gh(e,t){if(ngDevMode&&T(t.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];vh(r)||yh(r,t)&&null===_h(r)&&wh(r,t.index)}}function vh(e){return!(64&e.type)}function yh(e,t){return vh(t)||e.index>t.index}function _h(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function wh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ko(fh,mh),e.insertBeforeIndex=t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Eh(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tViews")||n.hasOwnProperty("currentCaseLViewIndex")||F("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&ze(r),r}function bh(e,t,n){const r=qa(e,n,64,null,null);return gh(t,r),r}function Ch(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function xh(e){return e>>>17}function Sh(e){return(131070&e)>>>1}function Dh(e){return 1&e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let Th=0,Ih=0;function Ah(e,t,n,r,s){for(let i=0;i<n.length;i++){const o=n[i],a=n[++i];if(o&s){let s="";for(let o=i+1;o<=i+a;o++){const i=n[o];if("string"==typeof i)s+=i;else if("number"==typeof i)if(i<0)s+=_(t[r-i]);else{const a=i>>>2;switch(3&i){case 1:const i=n[++o],l=n[++o],c=e.data[a];ngDevMode&&R(c,"Experting TNode or string"),"string"==typeof c?yl(t[11],t[a],null,c,i,s,l):il(e,c,t,i,s,t[11],l,!1);break;case 0:const u=t[a];null!==u&&ho(t[11],u,s);break;case 2:kh(e,Eh(e,a),t,s);break;case 3:Mh(e,Eh(e,a),r,t)}}}}else{const s=n[i+1];if(s>0&&3==(3&s)){const n=Eh(e,s>>>2);t[n.currentCaseLViewIndex]<0&&Mh(e,n,r,t)}}i+=a}}function Mh(e,t,n,r){ngDevMode&&j(r,t.currentCaseLViewIndex);let s=r[t.currentCaseLViewIndex];if(null!==s){let i=Th;s<0&&(s=r[t.currentCaseLViewIndex]=~s,i=-1),Ah(e,r,t.update[s],n,i)}}function kh(e,t,n,r){const s=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=nh(t)(parseInt(e,10)),r=oh[n];return void 0!==r?r:"other"}(t,dh);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t,r);if(Ch(t,n)!==s&&(function e(t,n,r){let s=Ch(n,r);if(null!==s){const i=n.remove[s];for(let n=0;n<i.length;n++){const s=i[n];if(s>0){const e=wt(s,r);null!==e&&Ro(r[11],e)}else e(t,Eh(t,~s),r)}}}(e,t,n),n[t.currentCaseLViewIndex]=null===s?null:~s,null!==s)){const r=n[t.anchorIdx];r&&(ngDevMode&&L(r),function e(t,n,r,s){ngDevMode&&L(s);const i=r[11];let o,a=null;for(let l=0;l<n.length;l++){const c=n[l];if("string"==typeof c){const e=n[++l];null===r[e]&&(ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&j(r,e),r[e]=po(i,c))}else if("number"==typeof c)switch(1&c){case 0:const u=xh(c);let p,d;if(null===a&&(a=u,o=Do(i,s)),u===a?(p=s,d=o):(p=null,d=_t(r[u])),null!==d){ngDevMode&&L(d);const n=Sh(c);ngDevMode&&N(n,20,"Missing ref");const s=r[n];ngDevMode&&L(s),Co(i,d,s,p,!1);const o=Eh(t,n);if(null!==o&&"object"==typeof o){ngDevMode&&ze(o);const n=Ch(o,r);null!==n&&e(t,o.create[n],r,r[o.anchorIdx])}}break;case 1:const h=c>>>1,f=n[++l],m=n[++l];yl(i,wt(h,r),null,null,f,m,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case uh:const e=n[++l],t=n[++l];if(null===r[t]){ngDevMode&&T(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&Je(r,t);Ii(r[t]=fo(i,e),r)}break;case ch:const s=n[++l],o=n[++l];if(null===r[o]){ngDevMode&&T(typeof s,"string",`Expected "${s}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&Je(r,o);Ii(r[o]=mo(i,s,null),r)}break;default:ngDevMode&&F(`Unable to determine the type of mutate operation for "${c}"`)}}}(e,t.create[s],n,r))}}function Ph(){const e=[];let t,n,r=-1;function s(e,t){r=0;const s=Ch(e,t);null!==s?(ngDevMode&&S(s,0,e.cases.length-1),n=e.remove[s]):n=de}function i(){if(r<n.length){const o=n[r++];if(ngDevMode&&x(o,"Expecting OpCode number"),o>0){const e=t[o];return ngDevMode&&L(e),e}{e.push(r,n);const a=~o,l=t[1].data[a];return ngDevMode&&ze(l),s(l,t),i()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),i())}return function(n,r){for(t=r;e.length;)e.pop();return ngDevMode&&He(n,r),s(n.value,r),i}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Nh(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e++],s=t[e],i=(r&ph.COMMENT)===ph.COMMENT,o=(r&ph.APPEND_EAGERLY)===ph.APPEND_EAGERLY,a=r>>>ph.SHIFT;n.push(`lView[${a}] = document.${i?"createComment":"createText"}(${JSON.stringify(s)});`),o&&n.push(`parent.appendChild(lView[${a}]);`)}return n}function Oh(e){const t=new Lh(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=e>>>2;switch(3&e){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const e=t.consumeString(),r=t.consumeFunction();return`(lView[${n}] as Element).setAttribute('${e}', ${r?`(${r})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(${n}, $$$)`;case 3:return`icuUpdateCase(${n})`}throw new Error("unexpected OpCode")}for(;t.hasMore();){let e=t.consumeNumber(),s=t.consumeNumber();const i=t.i+s,o=[];let a="";for(;t.i<i;){let e=t.consumeNumberOrString();if("string"==typeof e)a+=e;else if(e<0)a+="${lView[i"+e+"]}";else{const t=r(e);o.push(t.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${e.toString(2)}) { ${o.join(" ")} }`)}return n}function Rh(e){const t=new Lh(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=xh(e),r=Sh(e);switch(Dh(e)){case 0:return`(lView[${n}] as Element).appendChild(lView[${s}])`;case 1:return`(lView[${r}] as Element).setAttribute("${t.consumeString()}", "${t.consumeString()}")`}throw new Error("Unexpected OpCode: "+Dh(e))}let s=-1;for(;t.hasMore();){let e=t.consumeNumberStringOrMarker();if(e===uh){const e=t.consumeString();s=t.consumeNumber(),n.push(`lView[${s}] = document.createComment("${e}")`)}else if(e===ch){const e=t.consumeString();s=t.consumeNumber(),n.push(`lView[${s}] = document.createElement("${e}")`)}else if("string"==typeof e)s=t.consumeNumber(),n.push(`lView[${s}] = document.createTextNode("${e}")`);else{if("number"!=typeof e)throw new Error("Unexpected value");{const t=r(e);t&&n.push(t)}}}return n}function Fh(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e];r>0?n.push(`remove(lView[${r}])`):n.push(`removeNestedICU(${~r})`)}return n}class Lh{constructor(e){this.i=0,this.codes=e}hasMore(){return this.i<this.codes.length}consumeNumber(){let e=this.codes[this.i++];return x(e,"expecting number in OpCode"),e}consumeString(){let e=this.codes[this.i++];return D(e,"expecting string in OpCode"),e}consumeFunction(){let e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let e=this.codes[this.i++];return"string"==typeof e||x(e,"expecting number or string in OpCode"),e}consumeNumberStringOrMarker(){let e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==uh||e==ch||x(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const jh=/�(\d+):?\d*�/gi,Vh=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,Bh=/�(\d+)�/,$h=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Hh=/�\/?\*(\d+:\d+)�/gi,Uh=/�(\/?[#*]\d+):?\d*�/gi,qh=/\uE500/g;function zh(e,t,n,r,s,i){const o=Vt(),a=[],l=[],c=[[]];ngDevMode&&(ua(a,Nh),ua(l,Oh)),s=function(e,t){if(function(e){return-1===e}(t))return Yh(e);{const n=e.indexOf(`:${t}�`)+2+t.toString().length,r=e.search(new RegExp(`�\\/\\*\\d+:${t}�`));return Yh(e.substring(n,r))}}(s,i);const u=(p=s,p.replace(qh," ")).split(Uh);var p;for(let i=0;i<u.length;i++){let p=u[i];if(0==(1&i)){const i=ef(p);for(let u=0;u<i.length;u++){let p=i[u];if(0==(1&u)){const t=p;ngDevMode&&D(t,"Parsed ICU part should be string"),""!==t&&Gh(e,o,c[0],a,l,n,t)}else{const i=p;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${s}" message.`);const u=Wh(e,o,c[0],n,a,ngDevMode?`ICU ${r}:${i.mainBinding}`:"",!0).index;ngDevMode&&O(u,20,"Index must be in absolute LView offset"),Xh(e,n,l,t,i,u)}}}else{const t=47===p.charCodeAt(0),n=p.charCodeAt(t?1:0);ngDevMode&&V(n,42,35);const r=20+Number.parseInt(p.substring(t?2:1));if(t)c.shift(),Bt(Vt(),!1);else{const t=bh(e,c[0],r);c.unshift([]),Bt(t,!0)}}}e.data[r]={create:a,update:l}}function Wh(e,t,n,r,s,i,o){const a=za(e,r,1,null);let l=a<<ph.SHIFT,c=Vt();var u;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */t===c&&(c=null),null===c&&(l|=ph.APPEND_EAGERLY),o&&(l|=ph.COMMENT,u=Ph,void 0===no&&(no=u())),s.push(l,null===i?"":i);const p=qa(e,a,o?32:1,null===i?ngDevMode?"{{?}}":"":i,null);gh(n,p);const d=p.index;return Bt(p,!1),null!==c&&t!==c&&function(e,t){ngDevMode&&qe(e);let n=e.insertBeforeIndex;null===n?(ko(fh,mh),n=e.insertBeforeIndex=[null,t]):(T(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,d),p}function Gh(e,t,n,r,s,i,o){const a=o.match(jh),l=Wh(e,t,n,i,r,a?null:o,!1);a&&Zh(s,o,l.index,null,0,null)}function Zh(e,t,n,r,s,i){ngDevMode&&O(n,20,"Index must be in absolute LView offset");const o=e.length,a=o+1;e.push(null,null);const l=o+2;ngDevMode&&ua(e,Oh);const c=t.split(jh);let u=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=s+parseInt(n,10);e.push(-1-t),u|=Qh(t)}else""!==n&&e.push(n)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[o]=u,e[a]=e.length-l,u}function Kh(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Qh(e){return 1<<Math.min(e,31)}function Yh(e){let t,n,r="",s=0,i=!1;for(;null!==(t=Hh.exec(e));)i?t[0]===`�/*${n}�`&&(s=t.index,i=!1):(r+=e.substring(s,t.index+t[0].length),n=t[1],i=!0);return ngDevMode&&T(i,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${e}"`),r+=e.substr(s),r}function Xh(e,t,n,r,s,i){ngDevMode&&R(s,"ICU expression must be defined");let o=0;const a={type:s.type,currentCaseLViewIndex:za(e,t,1,null),anchorIdx:i,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Qh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,s,i),function(e,t,n){const r=e.data[t];ngDevMode&&T(null===r||r.hasOwnProperty("tViews"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[t]=n:(ngDevMode&&Dn(r,32),r.value=n)}(e,i,a);const l=s.values;for(let i=0;i<l.length;i++){const c=l[i],u=[];for(let e=0;e<c.length;e++){const t=c[e];if("string"!=typeof t){const n=u.push(t)-1;c[e]=`\x3c!--�${n}�--\x3e`}}o=tf(e,a,t,n,r,s.cases[i],c.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,i)}function Jh(e){const t=[],n=[];let r=1,s=0;const i=ef(e=e.replace($h,(function(e,t,n){return r="select"===n?0:1,s=parseInt(t.substr(1),10),""})));for(let e=0;e<i.length;){let s=i[e++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);const o=ef(i[e++]);t.length>n.length&&n.push(o)}return{type:r,mainBinding:s,cases:t,values:n}}function ef(e){if(!e)return[];let t=0;const n=[],r=[],s=/[{}]/g;let i;for(s.lastIndex=0;i=s.exec(e);){const s=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,s);$h.test(n)?r.push(Jh(n)):r.push(n),t=s+1}}else{if(0==n.length){const n=e.substring(t,s);r.push(n),t=s+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function tf(e,t,n,r,s,i,o,a){const l=[],c=[],u=[];ngDevMode&&(ua(l,Rh),ua(c,Fh),ua(u,Oh)),t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const p=Vs(mt()).getInertBodyElement(o);ngDevMode&&R(p,"Unable to generate inert body element");const d=hi(p)||p;return d?function e(t,n,r,s,i,o,a,l,c,u,p){let d=0,h=l.firstChild;for(;h;){const l=za(t,r,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const f=h,m=f.tagName.toLowerCase();if(ei.hasOwnProperty(m)){sf(i,ch,m,c,l),t.data[l]=m;const g=f.attributes;for(let e=0;e<g.length;e++){const t=g.item(e),n=t.name.toLowerCase();!!t.value.match(jh)?ii.hasOwnProperty(n)?ti[n]?Zh(a,t.value,l,t.name,0,qs):ni[n]?Zh(a,t.value,l,t.name,0,zs):Zh(a,t.value,l,t.name,0,null):ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute value ${n} on element ${m} (see https://g.co/ng/security#xss)`):of(i,l,t)}d=e(t,n,r,s,i,o,a,h,l,u,p+1)|d,nf(o,l,p)}break;case Node.TEXT_NODE:const g=h.textContent||"",v=g.match(jh);sf(i,null,v?"":g,c,l),nf(o,l,p),v&&(d=Zh(a,g,l,null,0,null)|d);break;case Node.COMMENT_NODE:const y=Bh.exec(h.textContent||"");if(y){const e=parseInt(y[1],10),n=u[e];sf(i,uh,ngDevMode?"nested ICU "+e:"",c,l),Xh(t,r,s,c,n,l),rf(o,l,p)}}h=h.nextSibling}return d}(e,t,n,r,l,c,u,d,s,a,0):0}function nf(e,t,n){0===n&&e.push(t)}function rf(e,t,n){0===n&&(e.push(~t),e.push(t))}function sf(e,t,n,r,s){var i,o,a;null!==t&&e.push(t),e.push(n,s,(i=0,o=r,a=s,ngDevMode&&O(o,0,"Missing parent index"),ngDevMode&&N(a,0,"Missing ref index"),i|o<<17|a<<1))}function of(e,t,n){e.push(t<<1|1,n.name,n.value)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const af=/\[(�.+?�?)\]/,lf=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,cf=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,uf=/{([A-Z0-9_]+)}/g,pf=/�I18N_EXP_(ICU(_\d+)?)�/g,df=/\/\*/,hf=/\d+\:(\d+)/;function ff(e,t={}){let n=e;if(af.test(e)){const e={},t=[0];n=n.replace(lf,(n,r,s)=>{const i=r||s,o=e[i]||[];if(o.length||(i.split("|").forEach(e=>{const t=e.match(hf),n=t?parseInt(t[1],10):0,r=df.test(e);o.push([n,r,e])}),e[i]=o),!o.length)throw new Error("i18n postprocess: unmatched placeholder - "+i);const a=t[t.length-1];let l=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){l=e;break}const[c,u,p]=o[l];return u?t.pop():a!==c&&t.push(c),o.splice(l,1),p})}return Object.keys(t).length?(n=n.replace(cf,(e,n,r,s,i,o)=>t.hasOwnProperty(r)?`${n}${t[r]}${o}`:e),n=n.replace(uf,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(pf,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function mf(e,t,n=-1){const r=Rt(),s=Ot(),i=20+e;ngDevMode&&R(r,"tView should be defined");const o=Tt(r.consts,t),a=Vt();r.firstCreatePass&&zh(r,null===a?0:a.index,s,i,o,n);const l=r.data[i],c=bo(r,a===s[6]?null:a,s),u=a&&8&a.type?s[a.index]:null;!function(e,t,n,r){const s=e[11];for(let i=0;i<t.length;i++){const o=t[i++],a=t[i],l=(o&ph.COMMENT)===ph.COMMENT,c=(o&ph.APPEND_EAGERLY)===ph.APPEND_EAGERLY,u=o>>>ph.SHIFT;let p=e[u];null===p&&(p=e[u]=l?s.createComment(a):po(s,a)),c&&null!==n&&Co(s,n,p,r,!1)}}(s,l.create,c,u),Qt(!0)}function gf(){Qt(!1)}function vf(e,t,n){mf(e,t,n),gf()}function yf(e,t){const n=Rt();ngDevMode&&R(n,"tView should be defined");!function(e,t,n){const r=Lt().index,s=[];if(ngDevMode&&ua(s,Oh),e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],i=n[e+1];if(""!==i){if(Vh.test(i))throw new Error(`ICU expressions are not supported in attributes. Message: "${i}".`);Zh(s,i,r,t,Kh(s),null)}}e.data[t]=s}}(n,e+20,Tt(n.consts,t))}function _f(e){const t=Ot();return Jc(t,Zt(),e)&&(Th|=1<<Math.min(Ih,31)),Ih++,_f}function wf(e){!function(e,t,n){if(Ih>0){ngDevMode&&R(e,"tView should be defined");const r=e.data[n];Ah(e,t,Array.isArray(r)?r:r.update,Wt()-Ih-1,Th)}Th=0,Ih=0}(Rt(),Ot(),e+20)}function Ef(e,t={}){return ff(e,t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function bf(e,t,n,r,s){if(e=f(e),Array.isArray(e))for(let i=0;i<e.length;i++)bf(e[i],t,n,r,s);else{const i=Rt(),o=Ot();let a=nc(e)?e:f(e.provide),l=Jl(e);const c=Lt(),u=1048575&c.providerIndexes,p=c.directiveStart,d=c.providerIndexes>>20;if(nc(e)||!e.multi){const r=new xn(l,s,ep),h=Sf(a,t,s?u:u+d,p);-1===h?(Hn(jn(c,o),i,a),Cf(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[h]=r,o[h]=r)}else{const h=Sf(a,t,u+d,p),f=Sf(a,t,u,u+d),m=h>=0&&n[h],g=f>=0&&n[f];if(s&&!g||!s&&!m){Hn(jn(c,o),i,a);const u=function(e,t,n,r,s){const i=new xn(e,n,ep);return i.multi=[],i.index=t,i.componentProviders=0,xf(i,s,r&&!n),i}(s?Tf:Df,n.length,s,r,l);!s&&g&&(n[f].providerFactory=u),Cf(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else{Cf(i,e,h>-1?h:f,xf(n[s?f:h],l,!s&&r))}!s&&r&&g&&n[f].componentProviders++}}}function Cf(e,t,n,r){const s=nc(t);if(s||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const o=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){ngDevMode&&R(r,"indexInFactory when registering multi factory destroy hook");const e=o.indexOf(n);-1===e?o.push(n,[r,i]):o[e+1].push(r,i)}else o.push(n,i)}}}function xf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Sf(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function Df(e,t,n,r){return If(this.multi,[])}function Tf(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Yn(n,n[1],this.providerFactory.index,r);i=t.slice(0,e),If(s,i);for(let n=e;n<t.length;n++)i.push(t[n])}else i=[],If(s,i);return i}function If(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function Af(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Rt();if(r.firstCreatePass){const s=$e(e);bf(n,r.data,r.blueprint,s,!0),bf(t,r.data,r.blueprint,s,!1)}}(n,r?r(e):e,t)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Mf{}class kf{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Pf(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t[Nf]=e,t}const Nf="ngComponent";class Of{}Of.NULL=new class{resolveComponentFactory(e){throw Pf(e)}};class Rf{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let t=0;t<e.length;t++){const n=e[t];this._factories.set(n.componentType,n)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Pf(e);return new Ff(t,this._ngModule)}}class Ff extends kf{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Lf(...e){}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function jf(){return Vf(Lt(),Ot())}function Vf(e,t){return new Hf(Et(e,t))}const Bf=jf,$f=Lf;class Hf{constructor(e){this.nativeElement=e}}function Uf(e){return e instanceof Hf?e.nativeElement:e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Hf.__NG_ELEMENT_ID__=$f;new hr("Renderer2Interceptor");class qf{}class zf{}zf.__NG_ELEMENT_ID__=()=>Gf();const Wf=Zf,Gf=Lf;function Zf(){const e=Ot(),t=xt(Lt().index,e);return function(e){const t=e[11];if(ngDevMode&&!vt(t))throw new Error("Cannot inject Renderer2 when the application uses Renderer3!");return t}(Fe(t)?t:e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Kf{}Kf.ɵprov=B({token:Kf,providedIn:"root",factory:()=>null});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Qf{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Yf=new Qf("12.2.1");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Xf{constructor(){}supports(e){return Kc(e)}create(e){return new em(e)}}const Jf=(e,t)=>t;class em{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||Jf}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<sm(n,r,s)?t:n,o=sm(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==a&&e(i,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Kc(e))throw new Error(`Error trying to diff '${u(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Wc()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),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;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):e=this._addAfter(new tm(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),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 r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,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),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rm),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||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rm),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class tm{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 nm{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)&&Object.is(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 rm{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new nm,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.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 sm(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class im{constructor(){}supports(e){return e instanceof Map||Qc(e)}create(){return new om}}class om{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Qc(e)))throw new Error(`Error trying to diff '${u(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),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 r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new am(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){Object.is(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 am{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}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function lm(){return new cm([new Xf])}class cm{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new cm(e)}static extend(e){return{provide:cm,useFactory:t=>cm.create(e,t||lm()),deps:[[cm,new ss,new ns]]}}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;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */}}function um(){return new pm([new im])}cm.ɵprov=B({token:cm,providedIn:"root",factory:lm});class pm{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new pm(e)}static extend(e){return{provide:pm,useFactory:t=>pm.create(e,t||um()),deps:[[pm,new ss,new ns]]}}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}'`)}}pm.ɵprov=B({token:pm,providedIn:"root",factory:um});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class dm{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
return function e(t,n,r,s,i=!1){for(;null!==r;){ngDevMode&&Dn(r,63);const o=n[r.index];if(null!==o&&s.push(_t(o)),Le(o))for(let t=10;t<o.length;t++){const n=o[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,s)}const a=r.type;if(8&a)e(t,n,r.child,s);else if(32&a){const e=ro(r,n);let t;for(;t=e();)s.push(t)}else if(16&a){const t=No(n,r);if(Array.isArray(t))s.push(...t);else{const r=so(n[16]);ngDevMode&&tt(r),e(r[1],r,t,s,!0)}}r=i?r.projectionNext:r.next}return s}(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Le(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ngDevMode&&T(n,e.indexOf(this._lView)-10,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),yo(e,n),Ir(t,n))}this._attachedToViewContainer=!1}_o(this._lView[1],this._lView)}onDestroy(e){rl(this._lView[1],this._lView,null,e)}markForCheck(){Dl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Il(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){qt(!0);try{Il(e,t,n)}finally{qt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e,t;this._appRef=null,e=this._lView[1],t=this._lView,Lo(e,t,t[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class hm extends dm{constructor(e){super(e),this._view=e}detectChanges(){Al(this._view)}checkNoChanges(){!function(e){qt(!0);try{Al(e)}finally{qt(!1)}}(this._view)}get context(){return null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const fm=vm,mm=Lf;class gm{}function vm(e){return function(e,t,n){if(Ve(e)&&!n){const n=xt(e.index,t);return new dm(n,n)}if(47&e.type){const e=t[16];return new dm(e,t)}return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(Lt(),Ot(),16==(16&e))}gm.__NG_ELEMENT_ID__=mm;const ym=[new im],_m=[new Xf],wm=new cm(_m),Em=new pm(ym),bm=Tm,Cm=Lf;class xm{}xm.__NG_ELEMENT_ID__=Cm;const Sm=xm,Dm=class extends Sm{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Ha(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Ze(r),n[17]=r;const s=this._declarationLView[19];return null!==s&&(n[19]=s.createEmbeddedView(t)),Wa(t,n,e),new dm(n)}};function Tm(){return Im(Lt(),Ot())}function Im(e,t){return 4&e.type?(ngDevMode&&R(e.tViews,"TView must be allocated"),new Dm(t,e,Vf(e,t))):null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Am{}class Mm{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const km=Om,Pm=Lf;class Nm{}function Om(){return Vm(Lt(),Ot())}Nm.__NG_ELEMENT_ID__=Pm;const Rm=Nm,Fm=class extends Rm{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Vf(this._hostTNode,this._hostLView)}get injector(){return new er(this._hostTNode,this._hostLView)}get parentInjector(){const e=$n(this._hostTNode,this._hostLView);if(Pn(e)){const t=On(e,this._hostLView),n=Nn(e);ngDevMode&&nt(t,n);const r=t[1].data[n+8];return new er(r,t)}return new er(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Lm(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;if(!s&&null==e.ngModule&&i){const e=i.get(Am,null);e&&(s=e)}const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){const n=e._lView,r=n[1];if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(Le(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3];ngDevMode&&T(Le(t),!0,"An attached view should have its PARENT point to a container.");const r=new Fm(t,t[6],t[3]);r.detach(r.indexOf(e))}}const s=this._adjustIndex(t),i=this._lContainer;go(r,n,i,s);const o=Oo(s,i),a=n[11],l=Do(a,i[7]);return null!==l&&function(e,t,n,r,s,i){r[0]=s,r[6]=t,Lo(e,r,n,1,s,i)}(r,i[6],a,n,l,o),e.attachToViewContainerRef(),Tr(jm(i),s,e),e}move(e,t){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=Lm(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=yo(this._lContainer,t);n&&(Ir(jm(this._lContainer),t),_o(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=yo(this._lContainer,t);return n&&null!=Ir(jm(this._lContainer),t)?new dm(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(N(e,-1,"ViewRef index must be positive, got "+e),k(e,this.length+1+t,"index")),e)}};function Lm(e){return e[8]}function jm(e){return e[8]||(e[8]=[])}function Vm(e,t){let n;ngDevMode&&Dn(e,15);const r=t[e.index];if(Le(r))n=r;else{let s;if(8&e.type)s=_t(r);else{const n=t[11];ngDevMode&&ngDevMode.rendererCreateComment++,s=n.createComment(ngDevMode?"container":"");const r=Et(e,t);Co(n,Do(n,r),s,function(e,t){return vt(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=bl(r,t,s,e),Sl(t,n)}return new Fm(n,e,t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Bm(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return $m(n,t),n}(s,e)}function $m(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Hm(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Um(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function qm(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function zm(e,t){return e.nodes[t]}function Wm(e,t){return e.nodes[t]}function Gm(e,t){return e.nodes[t]}function Zm(e,t){return e.nodes[t]}function Km(e,t){return e.nodes[t]}class Qm{}const Ym={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},Xm=()=>{},Jm=new Map;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function eg(e){let t=Jm.get(e);return t||(t=u(e)+"_"+Jm.size,Jm.set(e,t)),t}function tg(e,t,n,r){if(Zc.isWrapped(r)){r=Zc.unwrap(r);const s=e.def.nodes[t].bindingIndex+n,i=Zc.unwrap(e.oldValues[s]);e.oldValues[s]=new Zc(i)}return r}function ng(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let rg=0;function sg(e,t,n,r){const s=e.oldValues;return!(!(2&e.state)&&Object.is(s[t.bindingIndex+n],r))}function ig(e,t,n,r){return!!sg(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function og(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Gc(s,r)){const i=t.bindings[n].name;throw Bm(Ym.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function ag(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function lg(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function cg(e,t,n,r){try{const s=e.def.nodes[t];return ag(33554432&s.flags?Wm(e,t).componentView:e),Ym.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function ug(e){if(e.parent){return Wm(e.parent,e.parentNodeDef.nodeIndex)}return null}function pg(e){return e.parent?e.parentNodeDef.parent:null}function dg(e,t){switch(201347067&t.flags){case 1:return Wm(e,t.nodeIndex).renderElement;case 2:return zm(e,t.nodeIndex).renderText}}function hg(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function fg(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function mg(e){return 1<<e%32}function gg(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=mg(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function vg(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:r,token:n,tokenKey:eg(n)}})}function yg(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===se.ShadowDom||1===r.element.componentRendererType.encapsulation)?Wm(e,n.renderParent.nodeIndex).renderElement:void 0:t}const _g=new WeakMap;function wg(e){let t=_g.get(e);return t||(t=e(()=>Xm),t.factory=e,_g.set(e,t)),t}function Eg(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(dg(e,e.def.lastRenderRootNode))),bg(e,t,0,e.def.nodes.length-1,n,r,s)}function bg(e,t,n,r,s,i,o){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&xg(e,n,t,s,i,o),a+=n.childCount}}function Cg(e,t,n,r,s,i){let o=e;for(;o&&!hg(o);)o=o.parent;const a=o.parent,l=pg(o),c=l.nodeIndex+1,u=l.nodeIndex+l.childCount;for(let e=c;e<=u;e++){const o=a.def.nodes[e];o.ngContentIndex===t&&xg(a,o,n,r,s,i),e+=o.childCount}if(!a.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)Sg(e,o[t],n,r,s,i)}}function xg(e,t,n,r,s,i){if(8&t.flags)Cg(e,t.ngContent.index,n,r,s,i);else{const o=dg(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&Sg(e,o,n,r,s,i),32&t.bindingFlags){Sg(Wm(e,t.nodeIndex).componentView,o,n,r,s,i)}}else Sg(e,o,n,r,s,i);if(16777216&t.flags){const o=Wm(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)Eg(o[e],n,r,s,i)}1&t.flags&&!t.element.name&&bg(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,i)}}function Sg(e,t,n,r,s,i){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,s);break;case 3:o.removeChild(r,t);break;case 0:i.push(t)}}const Dg=/^:([^:]+):(.+)$/;function Tg(e){if(":"===e[0]){const t=e.match(Dg);return[t[1],t[2]]}return["",e]}function Ig(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Ag(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+kg(t[r+1]);return n+t[2*e]}function Mg(e,t,n,r,s,i,o,a,l,c,u,p,d,h,f,m,g,v,y,_){switch(e){case 1:return t+kg(n)+r;case 2:return t+kg(n)+r+kg(s)+i;case 3:return t+kg(n)+r+kg(s)+i+kg(o)+a;case 4:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c;case 5:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c+kg(u)+p;case 6:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c+kg(u)+p+kg(d)+h;case 7:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c+kg(u)+p+kg(d)+h+kg(f)+m;case 8:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c+kg(u)+p+kg(d)+h+kg(f)+m+kg(g)+v;case 9:return t+kg(n)+r+kg(s)+i+kg(o)+a+kg(l)+c+kg(u)+p+kg(d)+h+kg(f)+m+kg(g)+v+kg(y)+_;default:throw new Error("Does not support more than 9 expressions")}}function kg(e){return null!=e?e.toString():""}const Pg={},Ng={},Og=eg(ic),Rg=eg(Hl),Fg=eg(Am);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Lg(e,t,n,r){n=f(n);return{index:-1,deps:vg(r,u(t)),flags:e,token:t,value:n}}function jg(e){const t={},n=[];let r=null;for(let s=0;s<e.length;s++){const i=e[s];i.token===ql&&(r=i.value),1073741824&i.flags&&n.push(i.token),i.index=s,t[eg(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function Vg(e,t,n=ic.THROW_IF_NOT_FOUND){const r=zr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const s=t.tokenKey;switch(s){case Og:case Rg:case Fg:return e}const i=e._def.providersByKey[s];let o;if(i){let t=e._providers[i.index];return void 0===t&&(t=e._providers[i.index]=Bg(e,i)),t===Ng?void 0:t}if((o=U(t.token))&&function(e,t){const n=f(t.providedIn);return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,o)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:t.token},e._providers[n]=Ng,e._providers[n]=Bg(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{zr(r)}}function Bg(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Vg(e,n[0]));case 2:return new t(Vg(e,n[0]),Vg(e,n[1]));case 3:return new t(Vg(e,n[0]),Vg(e,n[1]),Vg(e,n[2]));default:const s=[];for(let t=0;t<r;t++)s[t]=Vg(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Vg(e,n[0]));case 2:return t(Vg(e,n[0]),Vg(e,n[1]));case 3:return t(Vg(e,n[0]),Vg(e,n[1]),Vg(e,n[2]));default:const s=[];for(let t=0;t<r;t++)s[t]=Vg(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=Vg(e,t.deps[0]);break;case 256:n=t.value}return n===Ng||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Ng:n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function $g(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,Tr(s,n,r),function(e,t){const n=ug(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Ym.dirtyParentQueries(r);Ug(t,n>0?s[n-1]:null,r)}function Hg(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Ir(n,t),Ym.dirtyParentQueries(r),qg(r),r}function Ug(e,t,n){const r=t?dg(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Eg(n,2,s,i,void 0)}function qg(e){Eg(e,3,null,null,void 0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const zg={};function Wg(e,t,n,r,s,i){return new Zg(e,t,n,r,s,i)}function Gg(e){return e.viewDefFactory}class Zg extends kf{constructor(e,t,n,r,s,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t){const r=t[n];e.push({propName:n,templateName:r})}return e}get outputs(){const e=[];for(let t in this._outputs){const n=this._outputs[t];e.push({propName:t,templateName:n})}return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=wg(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Ym.createRootView(e,t||[],n,s,r,zg),a=Gm(o,i).instance;return n&&o.renderer.setAttribute(Wm(o,0).renderElement,"ng-version",Yf.full),new Kg(o,new Jg(o),a)}}class Kg extends Mf{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 Hf(Wm(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new rv(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Qg(e,t,n){return new Yg(e,t,n)}class Yg{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Hf(this._data.renderElement)}get injector(){return new rv(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=pg(e),e=e.parent;return e?new rv(e,t):new rv(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Hg(this._data,e);Ym.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Jg(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;s||e instanceof Ff||(s=i.get(Am));const o=e.create(i,r,void 0,s);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,r=n._view;return $g(this._view,this._data,t,r),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,n){const r=e.viewContainer._embeddedViews,s=r[t];Ir(r,t),null==n&&(n=r.length),Tr(r,n,s),Ym.dirtyParentQueries(s),qg(s),Ug(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Hg(this._data,e);t&&Ym.destroyView(t)}detach(e){const t=Hg(this._data,e);return t?new Jg(t):null}}function Xg(e){return new Jg(e)}class Jg{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Eg(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}set context(e){this._view.context=e}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){ag(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Ym.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Ym.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)),Ym.destroyView(this._view)}detachFromAppRef(){this._appRef=null,qg(this._view),Ym.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 ev(e,t){return new tv(e,t)}class tv extends xm{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Jg(Ym.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Hf(Wm(this._parentView,this._def.nodeIndex).renderElement)}}function nv(e,t){return new rv(e,t)}class rv{constructor(e,t){this.view=e,this.elDef=t}get(e,t=ic.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Ym.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:eg(e)},t)}}function sv(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Wm(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return zm(e,n.nodeIndex).renderText;if(20240&n.flags)return Gm(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function iv(e,t,n,r){return new ov(e,t,n,r)}class ov{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Ar(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=Bg(e,s))}}(this)}get(e,t=ic.THROW_IF_NOT_FOUND,n=Q.Default){let r=0;return n&Q.SkipSelf?r|=1:n&Q.Self&&(r|=4),Vg(this,{token:e,tokenKey:eg(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Of)}destroy(){if(this._destroyed)throw new Error(`The ng module ${u(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let t=0;t<n.providers.length;t++){if(131072&n.providers[t].flags){const n=e._providers[t];if(n&&n!==Ng){const e=n.ngOnDestroy;"function"!=typeof e||r.has(n)||(e.apply(n),r.add(n))}}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const av=eg(zf),lv=eg(Hf),cv=eg(Nm),uv=eg(xm),pv=eg(gm),dv=eg(ic),hv=eg(Hl);function fv(e,t,n,r,s,i,o,a){const l=[];if(o)for(let e in o){const[t,n]=o[e];l[t]={flags:8,name:e,nonMinifiedName:n,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let e in a)c.push({type:1,propName:e,target:null,eventName:a[e]});return vv(e,t|=16384,n,r,s,s,i,l,c)}function mv(e,t,n){return vv(-1,e|=16,null,0,t,t,n)}function gv(e,t,n,r,s){return vv(-1,e,t,0,n,r,s)}function vv(e,t,n,r,s,i,o,a,l){const{matchedQueries:c,references:p,matchedQueryIds:d}=gg(n);l||(l=[]),a||(a=[]),i=f(i);const h=vg(o,u(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Ig(a),outputs:l,element:null,provider:{token:s,value:i,deps:h},text:null,query:null,ngContent:null}}function yv(e,t){return bv(e,t)}function _v(e,t){let n=e;for(;n.parent&&!hg(n);)n=n.parent;return Cv(n.parent,pg(n),!0,t.provider.value,t.provider.deps)}function wv(e,t){const n=(32768&t.flags)>0,r=Cv(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let n=0;n<t.outputs.length;n++){const s=t.outputs[n],i=r[s.propName];if(!fp(i))throw new Error(`@Output ${s.propName} not initialized in '${r.constructor.name}'.`);{const r=i.subscribe(Ev(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+n]=r.unsubscribe.bind(r)}}return r}function Ev(e,t,n){return r=>cg(e,t,n,r)}function bv(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Cv(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(Sv(e,t,n,s[0]));case 2:return r(Sv(e,t,n,s[0]),Sv(e,t,n,s[1]));case 3:return r(Sv(e,t,n,s[0]),Sv(e,t,n,s[1]),Sv(e,t,n,s[2]));default:const o=[];for(let r=0;r<i;r++)o.push(Sv(e,t,n,s[r]));return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return Sv(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Cv(e,t,n,r,s){const i=s.length;switch(i){case 0:return new r;case 1:return new r(Sv(e,t,n,s[0]));case 2:return new r(Sv(e,t,n,s[0]),Sv(e,t,n,s[1]));case 3:return new r(Sv(e,t,n,s[0]),Sv(e,t,n,s[1]),Sv(e,t,n,s[2]));default:const o=[];for(let r=0;r<i;r++)o.push(Sv(e,t,n,s[r]));return new r(...o)}}const xv={};function Sv(e,t,n,r,s=ic.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(s=null);const o=r.tokenKey;o===pv&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(o){case av:return Dv(a,t,n).renderer;case lv:return new Hf(Wm(a,t.nodeIndex).renderElement);case cv:return Wm(a,t.nodeIndex).viewContainer;case uv:if(t.element.template)return Wm(a,t.nodeIndex).template;break;case pv:return Xg(Dv(a,t,n));case dv:case hv:return nv(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=Gm(a,e.nodeIndex);return t||(t={instance:bv(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=hg(a),t=pg(a),a=a.parent,4&r.flags&&(a=null)}const l=i.root.injector.get(r.token,xv);return l!==xv||s===xv?l:i.root.ngModule.injector.get(r.token,s)}function Dv(e,t,n){let r;if(n)r=Wm(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!hg(r);)r=r.parent;return r}function Tv(e,t,n,r,s,i){if(32768&n.flags){const t=Wm(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}const o=n.bindings[r].name;if(t.instance[o]=s,524288&n.flags){i=i||{};const t=Zc.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new st(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,i}function Iv(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const i=n[s];let o=i.parent;for(!o&&i.flags&t&&Mv(e,s,i.flags&t,r++),0==(i.childFlags&t)&&(s+=i.childCount);o&&1&o.flags&&s===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=Av(e,o,t,r)),o=o.parent}}function Av(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&Mv(e,s,t.flags&n,r++),s+=t.childCount}return r}function Mv(e,t,n,r){const s=Gm(e,t);if(!s)return;const i=s.instance;i&&(Ym.setCurrentNode(e,t),1048576&n&&qm(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&qm(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class kv extends Of{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&We(e);const t=ke(e);return new Ov(t,this.ngModule)}}function Pv(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}const Nv=new hr("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Zi});class Ov extends kf{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Yo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Pv(this.componentDef.inputs)}get outputs(){return Pv(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const i=e.get(n,xv,s);return i!==xv||r===xv?i:t.get(n,r,s)}}}(e,r.injector):e,i=s.get(qf,yt),o=s.get(Kf,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?nl(a,n,this.componentDef.encapsulation):mo(i.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,p=Nc(),d=el(0,null,null,1,0,null,null,null,null,null),h=Ha(null,d,p,u,null,null,i,a,o,s);let f,m;sn(h);try{const e=kc(c,this.componentDef,h,i,a);if(c)if(n)Tn(a,c,["ng-version",Yf.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Wo(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Tn(a,c,e),t&&t.length>0&&Bo(a,c,t.join(" "))}if(m=bt(d,20),void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=Pc(e,this.componentDef,h,p,[Oc]),Wa(d,h,null)}finally{un()}return new Rv(this.componentType,f,Vf(m,h),h,m)}}new kv;class Rv extends Mf{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new hm(r),this.componentType=e}get injector(){return new er(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Fv(e,t,n,r){return te(()=>{const s=e;null!==t&&(s.hasOwnProperty("decorators")&&void 0!==s.decorators?s.decorators.push(...t):s.decorators=t),null!==n&&(s.ctorParameters=n),null!==r&&(s.hasOwnProperty("propDecorators")&&void 0!==s.propDecorators?s.propDecorators=Object.assign(Object.assign({},s.propDecorators),r):s.propDecorators=r)})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Lv=new Map;function jv(e,t){const n=Lv.get(e);Vv(e,n&&n.moduleType,t.moduleType),Lv.set(e,t)}function Vv(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}function Bv(e){const t=new Set;!function e(n){const r=Oe(n,!0),s=r.id;if(null!==s){const e=Lv.get(s);Vv(s,e,n),Lv.set(s,n)}const i=Xi(r.imports);for(const n of i)t.has(n)||(t.add(n),e(n))}(e)}function $v(e){return Lv.get(e)||Se[e]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Hv extends Am{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new kv(this);const n=Oe(e);ngDevMode&&R(n,`NgModule '${u(e)}' is not a subtype of 'NgModuleType'.`);const r=e[ve]||null;r&&hh(r),this._bootstrapComponents=Xi(n.bootstrap),this._r3Injector=Ql(e,t,[{provide:Am,useValue:this},{provide:Of,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ic.THROW_IF_NOT_FOUND,n=Q.Default){return e===ic||e===Am||e===Hl?this:this._r3Injector.get(e,t,n)}destroy(){ngDevMode&&R(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){ngDevMode&&R(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class Uv extends Mm{constructor(e){super(),this.moduleType=e;null!==Oe(e)&&Bv(e)}create(e){return new Hv(this.moduleType,e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function qv(e,t,n){const r=zt()+e,s=Ot();return s[r]===Xo?Yc(s,r,n?t.call(n):t()):Xc(s,r)}function zv(e,t,n,r){return ty(Ot(),zt(),e,t,n,r)}function Wv(e,t,n,r,s){return ny(Ot(),zt(),e,t,n,r,s)}function Gv(e,t,n,r,s,i){return ry(Ot(),zt(),e,t,n,r,s,i)}function Zv(e,t,n,r,s,i,o){return sy(Ot(),zt(),e,t,n,r,s,i,o)}function Kv(e,t,n,r,s,i,o,a){const l=zt()+e,c=Ot(),u=nu(c,l,n,r,s,i);return Jc(c,l+4,o)||u?Yc(c,l+5,a?t.call(a,n,r,s,i,o):t(n,r,s,i,o)):Xc(c,l+5)}function Qv(e,t,n,r,s,i,o,a,l){const c=zt()+e,u=Ot(),p=nu(u,c,n,r,s,i);return eu(u,c+4,o,a)||p?Yc(u,c+6,l?t.call(l,n,r,s,i,o,a):t(n,r,s,i,o,a)):Xc(u,c+6)}function Yv(e,t,n,r,s,i,o,a,l,c){const u=zt()+e,p=Ot();let d=nu(p,u,n,r,s,i);return tu(p,u+4,o,a,l)||d?Yc(p,u+7,c?t.call(c,n,r,s,i,o,a,l):t(n,r,s,i,o,a,l)):Xc(p,u+7)}function Xv(e,t,n,r,s,i,o,a,l,c,u){const p=zt()+e,d=Ot(),h=nu(d,p,n,r,s,i);return nu(d,p+4,o,a,l,c)||h?Yc(d,p+8,u?t.call(u,n,r,s,i,o,a,l,c):t(n,r,s,i,o,a,l,c)):Xc(d,p+8)}function Jv(e,t,n,r){return iy(Ot(),zt(),e,t,n,r)}function ey(e,t){ngDevMode&&j(e,t);const n=e[t];return n===Xo?void 0:n}function ty(e,t,n,r,s,i){const o=t+n;return Jc(e,o,s)?Yc(e,o+1,i?r.call(i,s):r(s)):ey(e,o+1)}function ny(e,t,n,r,s,i,o){const a=t+n;return eu(e,a,s,i)?Yc(e,a+2,o?r.call(o,s,i):r(s,i)):ey(e,a+2)}function ry(e,t,n,r,s,i,o,a){const l=t+n;return tu(e,l,s,i,o)?Yc(e,l+3,a?r.call(a,s,i,o):r(s,i,o)):ey(e,l+3)}function sy(e,t,n,r,s,i,o,a,l){const c=t+n;return nu(e,c,s,i,o,a)?Yc(e,c+4,l?r.call(l,s,i,o,a):r(s,i,o,a)):ey(e,c+4)}function iy(e,t,n,r,s,i){let o=t+n,a=!1;for(let t=0;t<s.length;t++)Jc(e,o++,s[t])&&(a=!0);return a?Yc(e,o,r.apply(i,s)):ey(e,o)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function oy(e,t){const n=Rt();let r;const s=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new g("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=rt(r.type,!0)),o=J(ep);try{const e=Fn(!1),t=i();return Fn(e),Cu(n,Ot(),s,t),t}finally{J(o)}}function ay(e,t,n){const r=e+20,s=Ot(),i=Ct(s,r);return hy(s,dy(s,r)?ty(s,zt(),t,i.transform,n,i):i.transform(n))}function ly(e,t,n,r){const s=e+20,i=Ot(),o=Ct(i,s);return hy(i,dy(i,s)?ny(i,zt(),t,o.transform,n,r,o):o.transform(n,r))}function cy(e,t,n,r,s){const i=e+20,o=Ot(),a=Ct(o,i);return hy(o,dy(o,i)?ry(o,zt(),t,a.transform,n,r,s,a):a.transform(n,r,s))}function uy(e,t,n,r,s,i){const o=e+20,a=Ot(),l=Ct(a,o);return hy(a,dy(a,o)?sy(a,zt(),t,l.transform,n,r,s,i,l):l.transform(n,r,s,i))}function py(e,t,n){const r=e+20,s=Ot(),i=Ct(s,r);return hy(s,dy(s,r)?iy(s,zt(),t,i.transform,n,i):i.transform.apply(i,n))}function dy(e,t){return e[1].data[t].pure}function hy(e,t){if(Zc.isWrapped(t)){t=Zc.unwrap(t);e[Wt()]=Xo}return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class fy extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,i,o;let a=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(r=t.next)||void 0===r?void 0:r.bind(t),l=null===(i=t.error)||void 0===i?void 0:i.bind(t),c=null===(o=t.complete)||void 0===o?void 0:o.bind(t)}this.__isAsync&&(l=my(l),a&&(a=my(a)),c&&(c=my(c)));const u=super.subscribe({next:a,error:l,complete:c});return e instanceof s.a&&e.add(u),u}}function my(e){return t=>{setTimeout(e,void 0,t)}}const gy=fy;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function vy(){return this._results[Wc()]()}class yy{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Wc(),n=yy.prototype;n[t]||(n[t]=vy)}get changes(){return this._changes||(this._changes=new gy)}get(e){return this._results[e]}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()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=Sr(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol.iterator;class _y{constructor(e){this.queryList=e,this.matches=null}clone(){return new _y(this.queryList)}setDirty(){this.queryList.setDirty()}}class wy{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),s=this.queries[n.indexInDeclarationView];r.push(s.clone())}return new wy(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Ny(e,t).matches&&this.queries[t].setDirty()}}class Ey{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class by{constructor(e=[]){this.queries=e}elementStart(e,t){ngDevMode&&Ye(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,s=this.getByIndex(n).embeddedTView(e,r);s&&(s.indexInDeclarationView=n,null!==t?t.push(s):t=[s])}return null!==t?new by(t):null}template(e,t){ngDevMode&&Ye(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return ngDevMode&&j(this.queries,e),this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Cy{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Cy(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const s=n[r];this.matchTNodeWithReadOption(e,t,xy(t,s)),this.matchTNodeWithReadOption(e,t,Qn(t,e,s,!1,!1))}else n===xm?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Qn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Hf||r===Nm||r===xm&&4&t.type)this.addMatch(t.index,-2);else{const n=Qn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function xy(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function Sy(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Vf(e,t):4&e.type?Im(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Hf)return Vf(t,e);if(n===xm)return Im(t,e);if(n===Nm)return ngDevMode&&Dn(t,15),Vm(t,e);ngDevMode&&F(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${u(n)}.`)}(e,t,r):Yn(e,e[1],n,t)}function Dy(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const r=e.data,i=n.matches,o=[];for(let e=0;e<i.length;e+=2){const s=i[e];if(s<0)o.push(null);else{ngDevMode&&j(r,s);const a=r[s];o.push(Sy(t,a,i[e+1],n.metadata.read))}}s.matches=o}return s.matches}function Ty(e){const t=Ot(),n=Rt(),r=en();tn(r+1);const s=Ny(n,r);if(e.dirty&&St(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?function e(t,n,r,s){const i=t.queries.getByIndex(r),o=i.matches;if(null!==o){const a=Dy(t,n,i,r);for(let t=0;t<o.length;t+=2){const r=o[t];if(r>0)s.push(a[t/2]);else{const i=o[t+1],a=n[-r];ngDevMode&&Ze(a);for(let t=10;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,i,s)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,i,s)}}}}}return s}(n,t,r,[]):Dy(n,t,s,r);e.reset(i,Uf),e.notifyOnChanges()}return!0}return!1}function Iy(e,t,n){ngDevMode&&x(t,"Expecting flags");const r=Rt();r.firstCreatePass&&(Py(r,new Ey(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),ky(r,Ot(),t)}function Ay(e,t,n,r){ngDevMode&&x(n,"Expecting flags");const s=Rt();if(s.firstCreatePass){const i=Lt();Py(s,new Ey(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}ky(s,Ot(),n)}function My(){return e=Ot(),t=en(),ngDevMode&&R(e[19],"LQueries should be defined when trying to load a query"),ngDevMode&&j(e[19].queries,t),e[19].queries[t].queryList;var e,t}function ky(e,t,n){const r=new yy(4==(4&n));rl(e,t,r,r.destroy),null===t[19]&&(t[19]=new wy),t[19].queries.push(new _y(r))}function Py(e,t,n){null===e.queries&&(e.queries=new by),e.queries.track(new Cy(t,n))}function Ny(e,t){return ngDevMode&&R(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Oy(e,t){return Im(e,t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ry={"ɵɵattribute":ru,"ɵɵattributeInterpolate1":hu,"ɵɵattributeInterpolate2":fu,"ɵɵattributeInterpolate3":mu,"ɵɵattributeInterpolate4":gu,"ɵɵattributeInterpolate5":vu,"ɵɵattributeInterpolate6":yu,"ɵɵattributeInterpolate7":_u,"ɵɵattributeInterpolate8":wu,"ɵɵattributeInterpolateV":Eu,"ɵɵdefineComponent":Ee,"ɵɵdefineDirective":Ae,"ɵɵdefineInjectable":B,"ɵɵdefineInjector":H,"ɵɵdefineNgModule":De,"ɵɵdefinePipe":Me,"ɵɵdirectiveInject":ep,"ɵɵgetInheritedFactory":tr,"ɵɵinject":Gr,"ɵɵinjectAttribute":rr,"ɵɵinvalidFactory":tp,"ɵɵinvalidFactoryDep":Zr,"ɵɵtemplateRefExtractor":Oy,"ɵɵNgOnChangesFeature":it,"ɵɵProvidersFeature":Af,"ɵɵCopyDefinitionFeature":qc,"ɵɵInheritDefinitionFeature":Lc,"ɵɵnextContext":wp,"ɵɵnamespaceHTML":vn,"ɵɵnamespaceMathML":gn,"ɵɵnamespaceSVG":mn,"ɵɵenableBindings":Pt,"ɵɵdisableBindings":Nt,"ɵɵelementStart":ip,"ɵɵelementEnd":op,"ɵɵelement":ap,"ɵɵelementContainerStart":lp,"ɵɵelementContainerEnd":cp,"ɵɵelementContainer":up,"ɵɵpureFunction0":qv,"ɵɵpureFunction1":zv,"ɵɵpureFunction2":Wv,"ɵɵpureFunction3":Gv,"ɵɵpureFunction4":Zv,"ɵɵpureFunction5":Kv,"ɵɵpureFunction6":Qv,"ɵɵpureFunction7":Yv,"ɵɵpureFunction8":Xv,"ɵɵpureFunctionV":Jv,"ɵɵgetCurrentView":pp,"ɵɵrestoreView":Ft,"ɵɵlistener":mp,"ɵɵprojection":Cp,"ɵɵsyntheticHostProperty":Kd,"ɵɵsyntheticHostListener":gp,"ɵɵpipeBind1":ay,"ɵɵpipeBind2":ly,"ɵɵpipeBind3":cy,"ɵɵpipeBind4":uy,"ɵɵpipeBindV":py,"ɵɵprojectionDef":bp,"ɵɵhostProperty":Zd,"ɵɵproperty":np,"ɵɵpropertyInterpolate":xp,"ɵɵpropertyInterpolate1":Sp,"ɵɵpropertyInterpolate2":Dp,"ɵɵpropertyInterpolate3":Tp,"ɵɵpropertyInterpolate4":Ip,"ɵɵpropertyInterpolate5":Ap,"ɵɵpropertyInterpolate6":Mp,"ɵɵpropertyInterpolate7":kp,"ɵɵpropertyInterpolate8":Pp,"ɵɵpropertyInterpolateV":Np,"ɵɵpipe":oy,"ɵɵqueryRefresh":Ty,"ɵɵviewQuery":Iy,"ɵɵloadQuery":My,"ɵɵcontentQuery":Ay,"ɵɵreference":xu,"ɵɵclassMap":Yp,"ɵɵclassMapInterpolate1":Ed,"ɵɵclassMapInterpolate2":bd,"ɵɵclassMapInterpolate3":Cd,"ɵɵclassMapInterpolate4":xd,"ɵɵclassMapInterpolate5":Sd,"ɵɵclassMapInterpolate6":Dd,"ɵɵclassMapInterpolate7":Td,"ɵɵclassMapInterpolate8":Id,"ɵɵclassMapInterpolateV":Ad,"ɵɵstyleMap":Kp,"ɵɵstyleMapInterpolate1":Md,"ɵɵstyleMapInterpolate2":kd,"ɵɵstyleMapInterpolate3":Pd,"ɵɵstyleMapInterpolate4":Nd,"ɵɵstyleMapInterpolate5":Od,"ɵɵstyleMapInterpolate6":Rd,"ɵɵstyleMapInterpolate7":Fd,"ɵɵstyleMapInterpolate8":Ld,"ɵɵstyleMapInterpolateV":jd,"ɵɵstyleProp":Gp,"ɵɵstylePropInterpolate1":Vd,"ɵɵstylePropInterpolate2":Bd,"ɵɵstylePropInterpolate3":$d,"ɵɵstylePropInterpolate4":Hd,"ɵɵstylePropInterpolate5":Ud,"ɵɵstylePropInterpolate6":qd,"ɵɵstylePropInterpolate7":zd,"ɵɵstylePropInterpolate8":Wd,"ɵɵstylePropInterpolateV":Gd,"ɵɵclassProp":Zp,"ɵɵadvance":Jo,"ɵɵtemplate":bu,"ɵɵtext":ud,"ɵɵtextInterpolate":pd,"ɵɵtextInterpolate1":dd,"ɵɵtextInterpolate2":hd,"ɵɵtextInterpolate3":fd,"ɵɵtextInterpolate4":md,"ɵɵtextInterpolate5":gd,"ɵɵtextInterpolate6":vd,"ɵɵtextInterpolate7":yd,"ɵɵtextInterpolate8":_d,"ɵɵtextInterpolateV":wd,"ɵɵi18n":vf,"ɵɵi18nAttributes":yf,"ɵɵi18nExp":_f,"ɵɵi18nStart":mf,"ɵɵi18nEnd":gf,"ɵɵi18nApply":wf,"ɵɵi18nPostprocess":Ef,"ɵɵresolveWindow":Ki,"ɵɵresolveDocument":Qi,"ɵɵresolveBody":Yi,"ɵɵsetComponentScope":be,"ɵɵsetNgModuleScope":Te,"ɵɵsanitizeHtml":mi,"ɵɵsanitizeStyle":gi,"ɵɵsanitizeResourceUrl":yi,"ɵɵsanitizeScript":_i,"ɵɵsanitizeUrl":vi,"ɵɵsanitizeUrlOrResourceUrl":Ci,"ɵɵtrustConstantHtml":wi,"ɵɵtrustConstantResourceUrl":Ei,forwardRef:h,resolveForwardRef:f};let Fy=null;function Ly(){Fy=null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const jy=[];let Vy=!1;function By(){if(!Vy){Vy=!0;try{for(let e=jy.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=jy[e];n.declarations&&n.declarations.every($y)&&(jy.splice(e,1),Yy(t,n))}}finally{Vy=!1}}}function $y(e){return Array.isArray(e)?e.every($y):!!f(e)}function Hy(e,t={}){Uy(e,t),function(e,t){jy.push({moduleType:e,ngModule:t})}(e,t)}function Uy(e,t,n=!1){ngDevMode&&R(e,"Required value moduleType"),ngDevMode&&R(t,"Required value ngModule");const r=Sr(t.declarations||de);let s=null;Object.defineProperty(e,ge,{configurable:!0,get:()=>{if(null===s){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${w(e)}' module can't import itself`);const n=br({usage:0,kind:"NgModule",type:e});s=n.compileNgModule(Ry,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:Sr(t.bootstrap||de).map(f),declarations:r.map(f),imports:Sr(t.imports||de).map(f).map(e_),exports:Sr(t.exports||de).map(f).map(e_),schemas:t.schemas?Sr(t.schemas):null,id:t.id||null}),s.schemas||(s.schemas=[])}return s}});let i=null;Object.defineProperty(e,ye,{get:()=>{if(null===i){const t=br({usage:0,kind:"NgModule",type:e});i=t.compileFactory(Ry,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:ls(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});let o=null;Object.defineProperty(e,G,{get:()=>{if(null===o){ngDevMode&&qy(e,n);const r={name:e.name,type:e,providers:t.providers||de,imports:[(t.imports||de).map(f),(t.exports||de).map(f)]},s=br({usage:0,kind:"NgModule",type:e});o=s.compileInjector(Ry,`ng:///${e.name}/ɵinj.js`,r)}return o},configurable:!!ngDevMode})}function qy(e,t,n){if(Zy.get(e))return;let r;if(Zy.set(e,!0),e=f(e),n){if(r=Oe(e),!r)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=Oe(e,!0);const s=[],i=Xi(r.declarations),o=Xi(r.imports);Sr(o).map(zy).forEach(t=>{p(t,e),qy(t,!1,e)});const a=Xi(r.exports);i.forEach((function(t){t=f(t);ke(t)||Pe(t)||Ne(t)||s.push(`Unexpected value '${w(t)}' declared by the module '${w(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),i.forEach((function(e){const t=Pe(e=f(e));!ke(e)&&t&&0==t.selectors.length&&s.push(`Directive ${w(e)} has no selector, please add it!`)}));const l=[...i.map(f),...Sr(o.map(Qy)).map(f)];a.forEach((function(t){const n=(ke(t=f(t))?"component":Pe(t)&&"directive")||Ne(t)&&"pipe";n&&-1===l.lastIndexOf(t)&&s.push(`Can't export ${n} ${w(t)} from ${w(e)} as it was neither declared nor imported!`)})),i.forEach(n=>function(t,n){t=f(t);const r=Gy.get(t);if(r&&r!==e){if(!n){const n=[r,e].map(w).sort();s.push(`Type ${w(t)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${w(t)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${w(t)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else Gy.set(t,e)}(n,t)),i.forEach((function(e){if(ke(e=f(e))){const t=Wy(e,"Component");t&&t.entryComponents&&Dr(t.entryComponents,u)}}));const c=Wy(e,"NgModule");if(c&&(c.imports&&Sr(c.imports).map(zy).forEach(t=>{p(t,e),qy(t,!1,e)}),c.bootstrap&&Dr(c.bootstrap,(function(e){ke(e=f(e))||s.push(w(e)+" cannot be used as an entry component.")})),c.bootstrap&&Dr(c.bootstrap,u),c.entryComponents&&Dr(c.entryComponents,u)),s.length)throw new Error(s.join("\n"));function u(e){e=f(e);Gy.get(e)||s.push(`Component ${w(e)} is not part of any NgModule or the module has not been imported into your module.`)}function p(e,t){if(ke(e=f(e))||Pe(e))throw new Error(`Unexpected directive '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`);if(Ne(e))throw new Error(`Unexpected pipe '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`)}}function zy(e){return(e=f(e)).ngModule||e}function Wy(e,t){let n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(s)}function s(e){if(!n){if(Object.getPrototypeOf(e).ngMetadataName==t)n=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0])}}}}let Gy=new WeakMap,Zy=new WeakMap;function Ky(){Gy=new WeakMap,Zy=new WeakMap,jy.length=0}function Qy(e){return[...Sr(Xi(Oe(e=f(e),!0).exports).map(e=>Oe(e)?(qy(e,!1),Qy(e)):e))]}function Yy(e,t){const n=Sr(t.declarations||de),r=Jy(e);n.forEach(t=>{if(t.hasOwnProperty(he)){Xy(ke(t),r)}else t.hasOwnProperty(fe)||t.hasOwnProperty(me)||(t.ngSelectorScope=e)})}function Xy(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(he)?ke(e):Pe(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Ne(e)),e.schemas=t.schemas,e.tView=null}function Jy(e){if(!t_(e))throw new Error(e.name+" does not have a module def (ɵmod property)");const t=Oe(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Xi(t.imports).forEach(e=>{const t=e;if(!t_(t))throw new Error(`Importing ${t.name} which does not have a ɵmod property`);const r=Jy(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),Xi(t.declarations).forEach(e=>{Ne(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),Xi(t.exports).forEach(e=>{const t=e;if(t_(t)){const e=Jy(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Ne(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function e_(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function t_(e){return!!Oe(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let n_=0;function r_(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&ue();let n=null;!function(e,t){hs(t)&&(ps.set(e,t),ds.add(e))}(e,t),o_(e,t),Object.defineProperty(e,he,{get:()=>{if(null===n){const r=br({usage:0,kind:"component",type:e});if(hs(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 s=Fy;let i=t.preserveWhitespaces;void 0===i&&(i=null!==s&&void 0!==s.preserveWhitespaces&&s.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==s&&void 0!==s.defaultEncapsulation?s.defaultEncapsulation:se.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},l_(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:i,styles:t.styles||de,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});n_++;try{l.usesInheritance&&c_(e),n=r.compileComponent(Ry,a,l)}finally{n_--}if(0===n_&&By(),void 0!==e.ngSelectorScope){const t=Jy(e.ngSelectorScope);Xy(n,t)}}return n},configurable:!!ngDevMode})}function s_(e,t){let n=null;o_(e,t||{}),Object.defineProperty(e,fe,{get:()=>{if(null===n){const r=i_(e,t||{}),s=br({usage:0,kind:"directive",type:e});n=s.compileDirective(Ry,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function i_(e,t){const n=e&&e.name,r=`ng:///${n}/ɵdir.js`,s=br({usage:0,kind:"directive",type:e}),i=l_(e,t);return i.typeSourceSpan=s.createParseSourceSpan("Directive",n,r),i.usesInheritance&&c_(e),{metadata:i,sourceMapUrl:r}}function o_(e,t){let n=null;Object.defineProperty(e,ye,{get:()=>{if(null===n){const r=i_(e,t),s=br({usage:0,kind:"directive",type:e});n=s.compileFactory(Ry,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:ls(e),target:s.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function a_(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function l_(e,t){const n=as(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||pe,propMetadata:r,inputs:t.inputs||de,outputs:t.outputs||de,queries:p_(e,r,d_),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!a_(e),exportAs:(s=t.exportAs,void 0===s?null:m_(s)),providers:t.providers||null,viewQueries:p_(e,r,h_)};var s}function c_(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Pe(n)||ke(n)||!v_(n)||s_(n,null),n=Object.getPrototypeOf(n)}function u_(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?m_(n):f(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function p_(e,t,n){const r=[];for(const s in t)if(t.hasOwnProperty(s)){const i=t[s];i.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${s}" of "${w(e)}" since the query selector wasn't defined.`);if(i.some(f_))throw new Error("Cannot combine @Input decorators with query decorators");r.push(u_(s,t))}})}return r}function d_(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function h_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function f_(e){return"Input"===e.ngMetadataName}function m_(e){return e.split(",").map(e=>e.trim())}const g_=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function v_(e){const t=as();if(g_.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],r=n.ngMetadataName;if(f_(n)||d_(n)||h_(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function y_(e,t){let n=null,r=null;Object.defineProperty(e,ye,{get:()=>{if(null===r){const n=__(e,t),s=br({usage:0,kind:"pipe",type:n.type});r=s.compileFactory(Ry,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:ls(e),target:s.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,me,{get:()=>{if(null===n){const r=__(e,t),s=br({usage:0,kind:"pipe",type:r.type});n=s.compilePipe(Ry,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!!ngDevMode})}function __(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const w_=ar("Directive",(e={})=>e,void 0,void 0,(e,t)=>k_(e,t)),E_=ar("Component",(e={})=>Object.assign({changeDetection:ne.Default},e),w_,void 0,(e,t)=>M_(e,t)),b_=ar("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>P_(e,t)),C_=ur("Input",e=>({bindingPropertyName:e})),x_=ur("Output",e=>({bindingPropertyName:e})),S_=ur("HostBinding",e=>({hostPropertyName:e})),D_=ur("HostListener",(e,t)=>({eventName:e,args:t})),T_=r_,I_=s_,A_=y_,M_=Lf,k_=Lf,P_=Lf,N_=ar("NgModule",e=>e,void 0,void 0,(e,t)=>R_(e,t));const O_=Hy,R_=function(e,t){let n=t&&t.imports||[];t&&t.exports&&(n=[...n,t.exports]);const r=e;r.ɵfac=Mu(e,{useClass:e}),r.ɵinj=H({providers:t&&t.providers,imports:n})},F_=new hr("Application Initializer");class L_{constructor(e){this.appInits=e,this.resolve=Lf,this.reject=Lf,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 t=0;t<this.appInits.length;t++){const n=this.appInits[t]();if(dp(n))e.push(n);else if(fp(n)){const t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}L_.decorators=[{type:ku}],L_.ctorParameters=()=>[{type:void 0,decorators:[{type:ts,args:[F_]},{type:ns}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;const j_=new hr("AppId");function V_(){return`${$_()}${$_()}${$_()}`}const B_={provide:j_,useFactory:V_,deps:[]};function $_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const H_=new hr("Platform Initializer"),U_=new hr("Platform ID"),q_=new hr("appBootstrapListener"),z_=new hr("Application Packages Root URL");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class W_{log(e){console.log(e)}warn(e){console.warn(e)}}W_.decorators=[{type:ku}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const G_=new hr("LocaleId"),Z_=new hr("DefaultCurrencyCode"),K_=new hr("Translations"),Q_=new hr("TranslationsFormat");var Y_;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Y_||(Y_={}));
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const X_=!0,J_=!1;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class ew{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}function tw(){throw new Error("Runtime compiler is not loaded")}const nw=function(e){return new Uv(e)},rw=tw,sw=function(e){return Promise.resolve(nw(e))},iw=tw,ow=function(e){const t=nw(e),n=Xi(Oe(e).declarations).reduce((e,t)=>{const n=ke(t);return n&&e.push(new Ov(n)),e},[]);return new ew(t,n)},aw=tw,lw=function(e){return Promise.resolve(ow(e))},cw=tw;class uw{constructor(){this.compileModuleSync=rw,this.compileModuleAsync=iw,this.compileModuleAndAllComponentsSync=aw,this.compileModuleAndAllComponentsAsync=cw}clearCache(){}clearCacheFor(e){}getModuleId(e){}}uw.decorators=[{type:ku}];const pw=new hr("compilerOptions");class dw{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const hw=Promise.resolve(0);function fw(e){"undefined"==typeof Zone?hw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class mw{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gy(!1),this.onMicrotaskEmpty=new gy(!1),this.onStable=new gy(!1),this.onError=new gy(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=ce.requestAnimationFrame,t=ce.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){if(e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ce,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,yw(e),e.isCheckStableRunning=!0,vw(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),yw(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{try{return _w(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),ww(e)}},onInvoke:(n,r,s,i,o,a,l)=>{try{return _w(e),n.invoke(s,i,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),ww(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,yw(e),vw(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mw.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(mw.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,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,gw,Lf,Lf);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const gw={};function vw(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 yw(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function _w(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ww(e){e._nesting--,vw(e)}class Ew{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gy,this.onMicrotaskEmpty=new gy,this.onStable=new gy,this.onError=new gy}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class bw{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:()=>{mw.assertNotInAngularZone(),fw(()=>{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())fw(()=>{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 r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,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/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}bw.decorators=[{type:ku}],bw.ctorParameters=()=>[{type:mw}];class Cw{constructor(){this._applications=new Map,Dw.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 Dw.findTestabilityInTree(this,e,t)}}Cw.decorators=[{type:ku}],Cw.ctorParameters=()=>[];function xw(e){Dw=e}let Sw,Dw=new class{addToWindow(e){}findTestabilityInTree(e,t,n){return null}},Tw=!0,Iw=!1;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Aw(){return Iw=!0,Tw}function Mw(){if(Iw)throw new Error("Cannot enable prod mode after platform setup.");(void 0===typeof ngDevMode||ngDevMode)&&(ce.ngDevMode=!1),Tw=!1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let kw=function(e,t,n){const r=e.get(dw);return r.createCompiler([t]).compileModuleAsync(n)};function Pw(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){Oe(e)||F(t)}(n);const r=new Uv(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const s=e.get(pw,[]).concat(t);if(function(e){if(null!==Fy){if(e.defaultEncapsulation!==Fy.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==Fy.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}Fy=e}({defaultEncapsulation:Gw(s.map(e=>e.defaultEncapsulation)),preserveWhitespaces:Gw(s.map(e=>e.preserveWhitespaces))}),0===ps.size)return Promise.resolve(r);const i=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(s.map(e=>e.providers));if(0===i.length)return Promise.resolve(r);const o=br({usage:0,kind:"NgModule",type:n}),a=ic.create({providers:i}).get(o.ResourceLoader);return us(e=>Promise.resolve(a.get(e))).then(()=>r)}let Nw=function(){},Ow=function(e){return e instanceof Ff};function Rw(e){return e.isBoundToModule}const Fw=new hr("AllowMultipleToken");class Lw{constructor(e,t){this.name=e,this.token=t}}function jw(e){if(Sw&&!Sw.destroyed&&!Sw.injector.get(Fw,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Nw(),Sw=e.get(Uw);const t=e.get(H_,null);return t&&t.forEach(e=>e()),Sw}function Vw(e,t,n=[]){const r="Platform: "+t,s=new hr(r);return(t=[])=>{let i=Hw();if(!i||i.injector.get(Fw,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:ql,useValue:"platform"});jw(ic.create({providers:e,name:r}))}return Bw(s)}}function Bw(e){const t=Hw();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 $w(){Sw&&!Sw.destroyed&&Sw.destroy()}function Hw(){return Sw&&!Sw.destroyed?Sw:null}class Uw{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;n="noop"===e?new Ew:("zone.js"===e?void 0:e)||new mw({enableLongStackTrace:Aw(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)});return n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:mw,useValue:n}];return n.run(()=>{const t=ic.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(ji,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});s.onDestroy(()=>{Ww(this._modules,s),e.unsubscribe()})}),function(e,t,n){try{const r=n();return dp(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(i,n,()=>{const e=s.injector.get(L_);return e.runInitializers(),e.donePromise.then(()=>{if(J_){hh(s.injector.get(G_,ah)||ah)}return this._moduleDoBootstrap(s),s})})})}bootstrapModule(e,t=[]){const n=qw({},t);return kw(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(zw);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(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 qw(e,t){return e=Array.isArray(t)?t.reduce(qw,e):Object.assign(Object.assign({},e),t)}Uw.decorators=[{type:ku}],Uw.ctorParameters=()=>[{type:ic}];class zw{constructor(e,t,n,r,s){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{mw.assertNotInAngularZone(),fw(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{mw.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,c.pipe(Object(a.a)()))}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 kf?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Ow(n)?void 0:this._injector.get(Am),s=t||n.selector,i=n.create(ic.NULL,[],s,r),o=i.location.nativeElement,a=i.injector.get(bw,null),l=a&&i.injector.get(Cw);if(a&&l&&l.registerApplication(o,a),i.onDestroy(()=>{this.detachView(i.hostView),Ww(this.components,i),l&&l.unregisterApplication(o)}),this._loadComponent(i),("undefined"==typeof ngDevMode||ngDevMode)&&Aw()){this._injector.get(W_).log("Angular is running in development mode. Call enableProdMode() to enable production mode.")}return i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(("undefined"==typeof ngDevMode||ngDevMode)&&Aw())for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ww(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);this._injector.get(q_,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}function Ww(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gw(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}zw.decorators=[{type:ku}],zw.ctorParameters=()=>[{type:mw},{type:ic},{type:ji},{type:Of},{type:L_}];class Zw{}function Kw(e){const t=$v(e);if(!t)throw Xw(e);return t}function Qw(e){const t=$v(e);if(!t)throw Xw(e);return new Uv(t)}const Yw=Kw;function Xw(e){return new Error(`No module with ID ${e} loaded`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Jw{}const eE={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class tE{constructor(e,t){this._compiler=e,this._config=t||eE}load(e){return!J_&&this._compiler instanceof uw?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n(20)(t).then(e=>e[r]).then(e=>nE(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n(20)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>nE(e,t,r))}}function nE(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */tE.decorators=[{type:ku}],tE.ctorParameters=()=>[{type:uw},{type:Jw,decorators:[{type:ns}]}];class rE extends gm{}class sE extends rE{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class iE{constructor(e,t){this.name=e,this.callback=t}}class oE{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof aE&&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 aE extends oE{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,r){t.childNodes.forEach(t=>{t instanceof aE&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof aE&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof aE&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof aE)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function lE(e){return e.map(e=>e.nativeElement)}class cE{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new uE(e):null}get injector(){return _c(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(mc(e)||vc(e))}get context(){return mc(this.nativeNode)||gc(this.nativeNode)}get listeners(){return Cc(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=Si(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let s=0;s<n.localNames.length;s+=2)t[n.localNames[s]]=e[r],r++;return t}return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=Si(e);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],s=[],i=1048575&r.providerIndexes,o=r.directiveEnd;for(let e=i;e<o;e++){let t=n.data[e];void 0!==(a=t).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(t=t.type),s.push(t)}var a;return s}(this.nativeNode)}}class uE extends cE{constructor(e){ngDevMode&&L(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=Si(this.nativeNode);if(null!==e){return e.lView[1].data[e.nodeIndex].value}return this.nativeNode.nodeName}get properties(){const e=Si(this.nativeNode);if(null===e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],s={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];pE(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,s),function(e,t,n,r){let s=t.propertyBindings;if(null!==s)for(let t=0;t<s.length;t++){const i=s[t],o=r[i].split("�"),a=o[0];if(o.length>1){let t=o[1];for(let e=1;e<o.length-1;e++)t+=_(n[i+e-1])+o[e+1];e[a]=t}else e[a]=n[i]}}(s,r,t,n),s}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=Si(t);if(null===n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,s=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const i=r[t+1];e[n]=i,s.push(n.toLowerCase()),t+=2}}const i=t.attributes;for(let t=0;t<i.length;t++){const n=i[t],r=n.name.toLowerCase();-1===s.indexOf(r)&&(e[r]=n.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(_E(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let e=0;e<t.length;e++){const r=t[e];n.push(_E(r))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return dE(this,e,t,!0),t}queryAllNodes(e){const t=[];return dE(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(s=>{if(s.name===e){const e=s.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const s=e("__ngUnwrap__");return-1===r.indexOf(s)&&s.call(n,t)}})}}function pE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function dE(e,t,n,r){const s=Si(e.nativeNode);if(null!==s){hE(s.lView[1].data[s.nodeIndex],s.lView,t,n,r,e.nativeNode)}else gE(e.nativeNode,t,n,r)}function hE(e,t,n,r,s,i){ngDevMode&&He(e,t);const o=function(e,t){const n=null===e?-1:e.index;if(-1!==n){ngDevMode&&He(e,t);const r=_t(t[n]);return ngDevMode&&null!==r&&!vt(t[11])&&L(r),r}return null}(e,t);if(11&e.type){if(mE(o,n,r,s,i),Ve(e)){const o=xt(e.index,t);o&&o[1].firstChild&&hE(o[1].firstChild,o,n,r,s,i)}else e.child&&hE(e.child,t,n,r,s,i),o&&gE(o,n,r,s);const a=t[e.index];Le(a)&&fE(a,n,r,s,i)}else if(4&e.type){const o=t[e.index];mE(o[7],n,r,s,i),fE(o,n,r,s,i)}else if(16&e.type){const o=t[16],a=o[6].projection[e.projection];if(Array.isArray(a))for(let e of a)mE(e,n,r,s,i);else if(a){const e=o[3];hE(e[1].data[a.index],e,n,r,s,i)}}else e.child&&hE(e.child,t,n,r,s,i);if(i!==o){const o=4&e.flags?e.projectionNext:e.next;o&&hE(o,t,n,r,s,i)}}function fE(e,t,n,r,s){for(let i=10;i<e.length;i++){const o=e[i],a=o[1].firstChild;a&&hE(a,o,t,n,r,s)}}function mE(e,t,n,r,s){if(s!==e){const s=wE(e);if(!s)return;(r&&s instanceof uE&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s)}}function gE(e,t,n,r){const s=e.childNodes,i=s.length;for(let e=0;e<i;e++){const i=s[e],o=wE(i);o&&((r&&o instanceof uE&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o),gE(i,t,n,r))}}const vE=new Map;function yE(e){return vE.get(e)||null}function _E(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new uE(e):new cE(e)),e.__ng_debug__):null}const wE=yE;function EE(e){return yE(e)}const bE=EE;function CE(e){vE.set(e.nativeNode,e)}const xE=oE,SE=aE,DE=Vw(null,"core",[{provide:U_,useValue:"unknown"},{provide:Uw,deps:[ic]},{provide:Cw,deps:[]},{provide:W_,deps:[]}]);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function TE(){return wm}function IE(){return Em}function AE(e){return e=e||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.getLocale()?goog.getLocale():J_&&"undefined"!=typeof $localize&&$localize.locale||ah),J_&&hh(e),e}const ME=lh,kE=[{provide:zw,useClass:zw,deps:[mw,ic,ji,Of,L_]},{provide:Nv,deps:[mw],useFactory:PE},{provide:L_,useClass:L_,deps:[[new ns,F_]]},{provide:uw,useClass:uw,deps:[]},B_,{provide:cm,useFactory:TE,deps:[]},{provide:pm,useFactory:IE,deps:[]},{provide:G_,useFactory:AE,deps:[[new ts(G_),new ns,new ss]]},{provide:Z_,useValue:ME}];function PE(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class NE{constructor(e){}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function OE(e,t,n,r,s,i){e|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=gg(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:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?wg(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Xm},provider:null,text:null,query:null,ngContent:null}}function RE(e,t,n,r,s,i,o=[],a,l,c,u,p){c||(c=Xm);const{matchedQueries:d,references:h,matchedQueryIds:f}=gg(n);let m=null,g=null;i&&([m,g]=Tg(i)),a=a||[];const v=[];for(let e=0;e<a.length;e++){const[t,n,r]=a[e],[s,i]=Tg(n);let o=void 0,l=void 0;switch(15&t){case 4:l=r;break;case 1:case 8:o=r}v[e]={flags:t,ns:s,name:i,nonMinifiedName:i,securityContext:o,suffix:l}}l=l||[];const y=[];for(let e=0;e<l.length;e++){const[t,n]=l[e];y[e]={type:0,target:t,eventName:n,propName:null}}const _=(o=o||[]).map(([e,t])=>{const[n,r]=Tg(e);return[n,r,t]});return p=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==se.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+rg++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(p),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:h,ngContentIndex:r,childCount:s,bindings:v,bindingFlags:Ig(v),outputs:y,element:{ns:m,name:g,attrs:_,template:null,componentProvider:null,componentView:u||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Xm},provider:null,text:null,query:null,ngContent:null}}function FE(e,t,n){const r=n.element,s=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=yg(e,t,n);s&&i.appendChild(s,o)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===se.ShadowDom;o=i.selectRootElement(s,e)}if(r.attrs)for(let e=0;e<r.attrs.length;e++){const[t,n,s]=r.attrs[e];i.setAttribute(o,n,s,t)}return o}function LE(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const a=n.outputs[o],l=jE(e,n.nodeIndex,(s=a.target,i=a.eventName,s?`${s}:${i}`:i));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const p=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+o]=p}var s,i}function jE(e,t,n){return r=>cg(e,t,n,r)}function VE(e,t,n,r){if(!ig(e,t,n,r))return!1;const s=t.bindings[n],i=Wm(e,t.nodeIndex),o=i.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,i):i;a=null!=a?a.toString():null;const l=e.renderer;null!=i?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,o,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,a,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(fi.STYLE,s);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,r,i):o.removeStyle(n,r)}(e,s,o,a,r);break;case 8:!function(e,t,n,r,s){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,s):s;e.renderer.setProperty(n,r,o)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(33554432&t.flags&&32&s.flags?i.componentView:e,s,o,a,r)}return!0}function BE(e,t,n){let r=[];for(let e in n){const t=n[e];r.push({propName:e,bindingType:t})}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:mg(t),bindings:r},ngContent:null}}function $E(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&fg(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Km(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let t=0;t<e.def.nodes.length;t++){const n=e.def.nodes[t];134217728&n.flags&&536870912&n.flags&&Km(e,t).setDirty(),t+=n.childCount}}function HE(e,t){const n=Km(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=UE(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Gm(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=UE(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s,Uf);const i=t.query.bindings;let o=!1;for(let e=0;e<i.length;e++){const t=i[e];let s;switch(t.bindingType){case 0:s=n.first;break;case 1:s=n,o=!0}r[t.propName]=s}o&&n.notifyOnChanges()}function UE(e,t,n,r,s){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&s.push(qE(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Wm(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(UE(e,i+1,i+t.childCount,r,s),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],o=ug(i);o&&o===n&&UE(i,0,i.def.nodes.length-1,r,s)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];UE(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return s}function qE(e,t,n){if(null!=n)switch(n){case 1:return Wm(e,t.nodeIndex).renderElement;case 0:return new Hf(Wm(e,t.nodeIndex).renderElement);case 2:return Wm(e,t.nodeIndex).template;case 3:return Wm(e,t.nodeIndex).viewContainer;case 4:return Gm(e,t.nodeIndex).instance}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function zE(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function WE(e,t,n){const r=yg(e,t,n);if(!r)return;Cg(e,n.ngContent.index,1,r,null,void 0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function GE(e,t){return QE(128,e,Ar(t+1))}function ZE(e,t){return QE(32,e,Ar(t))}function KE(e,t){const n=Object.keys(t),r=n.length,s=[];for(let e=0;e<r;e++){const r=n[e];t[r];s.push(r)}return QE(64,e,s)}function QE(e,t,n){const r=[];for(let e=0;e<n.length;e++){const t=n[e];r.push({flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Ig(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function YE(e,t,n){const r=[];for(let e=1;e<n.length;e++)r[e-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[e]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function XE(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const i=yg(e,t,n);return i&&s.appendChild(i,r),{renderText:r}}function JE(e,t){return(null!=e?e.toString():"")+t.suffix}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function eb(e,t,n,r){let s=0,i=0,o=0,a=0,l=0,c=null,u=null,p=!1,d=!1,h=null;for(let e=0;e<t.length;e++){const n=t[e];if(n.nodeIndex=e,n.parent=c,n.bindingIndex=s,n.outputIndex=i,n.renderParent=u,o|=n.flags,l|=n.matchedQueryIds,n.element){const e=n.element;e.publicProviders=c?c.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,p=!1,d=!1,n.element.template&&(l|=n.element.template.nodeMatchedQueries)}if(nb(c,n,t.length),s+=n.bindings.length,i+=n.outputs.length,!u&&3&n.flags&&(h=n),20224&n.flags){p||(p=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const e=0!=(8192&n.flags),t=0!=(32768&n.flags);!e||t?c.element.publicProviders[eg(n.provider.token)]=n:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[eg(n.provider.token)]=n),t&&(c.element.componentProvider=n)}if(c?(c.childFlags|=n.flags,c.directChildFlags|=n.flags,c.childMatchedQueries|=n.matchedQueryIds,n.element&&n.element.template&&(c.childMatchedQueries|=n.element.template.nodeMatchedQueries)):a|=n.flags,n.childCount>0)c=n,tb(n)||(u=n);else for(;c&&e===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,u=c&&tb(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Xm,updateRenderer:r||Xm,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:h}}function tb(e){return 0!=(1&e.flags)&&null===e.element.name}function nb(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags){if(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 r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function rb(e,t,n,r){const s=ob(e.root,e.renderer,e,t,n);return ab(s,e.component,r),lb(s),s}function sb(e,t,n){const r=ob(e,e.renderer,null,null,t);return ab(r,n,n),lb(r),r}function ib(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,ob(e.root,i,e,t.element.componentProvider,n)}function ob(e,t,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function ab(e,t,n){e.component=t,e.context=n}function lb(e){let t;if(hg(e)){const n=e.parentNodeDef;t=Wm(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let a;switch(Ym.setCurrentNode(e,i),201347067&o.flags){case 1:const n=FE(e,t,o);let l=void 0;if(33554432&o.flags){const t=wg(o.element.componentView);l=Ym.createComponentView(e,o,t,n)}LE(e,l,o,n),a={renderElement:n,componentView:l,viewContainer:null,template:o.element.template?ev(e,o):void 0},16777216&o.flags&&(a.viewContainer=Qg(e,o,a));break;case 2:a=XE(e,t,o);break;case 512:case 1024:case 2048:case 256:if(a=r[i],!(a||4096&o.flags)){a={instance:yv(e,o)}}break;case 16:a={instance:_v(e,o)};break;case 16384:if(a=r[i],!a){a={instance:wv(e,o)}}if(32768&o.flags){ab(Wm(e,o.parent.nodeIndex).componentView,a.instance,a.instance)}break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:s=-2147483648==(-2147483648&o.flags),a=new yy(s);break;case 8:WE(e,t,o),a=void 0}r[i]=a}var s;vb(e,gb.CreateViewNodes),Eb(e,201326592,268435456,0)}function cb(e){db(e),Ym.updateDirectives(e,1),yb(e,gb.CheckNoChanges),Ym.updateRenderer(e,1),vb(e,gb.CheckNoChanges),e.state&=-97}function ub(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Um(e,0,256),db(e),Ym.updateDirectives(e,0),yb(e,gb.CheckAndUpdate),Eb(e,67108864,536870912,0);let t=Um(e,256,512);Iv(e,2097152|(t?1048576:0)),Ym.updateRenderer(e,0),vb(e,gb.CheckAndUpdate),Eb(e,134217728,536870912,0),t=Um(e,512,768),Iv(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Um(e,768,1024)}function pb(e,t,n,r,s,i,o,a,l,c,u,p,d){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,p){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,i,o,a,l,c,u,p){const d=t.bindings.length;let h=!1;return d>0&&VE(e,t,0,n)&&(h=!0),d>1&&VE(e,t,1,r)&&(h=!0),d>2&&VE(e,t,2,s)&&(h=!0),d>3&&VE(e,t,3,i)&&(h=!0),d>4&&VE(e,t,4,o)&&(h=!0),d>5&&VE(e,t,5,a)&&(h=!0),d>6&&VE(e,t,6,l)&&(h=!0),d>7&&VE(e,t,7,c)&&(h=!0),d>8&&VE(e,t,8,u)&&(h=!0),d>9&&VE(e,t,9,p)&&(h=!0),h}(e,t,n,r,s,i,o,a,l,c,u,p);case 2:return function(e,t,n,r,s,i,o,a,l,c,u,p){let d=!1;const h=t.bindings,f=h.length;if(f>0&&ig(e,t,0,n)&&(d=!0),f>1&&ig(e,t,1,r)&&(d=!0),f>2&&ig(e,t,2,s)&&(d=!0),f>3&&ig(e,t,3,i)&&(d=!0),f>4&&ig(e,t,4,o)&&(d=!0),f>5&&ig(e,t,5,a)&&(d=!0),f>6&&ig(e,t,6,l)&&(d=!0),f>7&&ig(e,t,7,c)&&(d=!0),f>8&&ig(e,t,8,u)&&(d=!0),f>9&&ig(e,t,9,p)&&(d=!0),d){let d=t.text.prefix;f>0&&(d+=JE(n,h[0])),f>1&&(d+=JE(r,h[1])),f>2&&(d+=JE(s,h[2])),f>3&&(d+=JE(i,h[3])),f>4&&(d+=JE(o,h[4])),f>5&&(d+=JE(a,h[5])),f>6&&(d+=JE(l,h[6])),f>7&&(d+=JE(c,h[7])),f>8&&(d+=JE(u,h[8])),f>9&&(d+=JE(p,h[9]));const m=zm(e,t.nodeIndex).renderText;e.renderer.setValue(m,d)}return d}(e,t,n,r,s,i,o,a,l,c,u,p);case 16384:return function(e,t,n,r,s,i,o,a,l,c,u,p){const d=Gm(e,t.nodeIndex),h=d.instance;let f=!1,m=void 0;const g=t.bindings.length;return g>0&&sg(e,t,0,n)&&(f=!0,m=Tv(e,d,t,0,n,m)),g>1&&sg(e,t,1,r)&&(f=!0,m=Tv(e,d,t,1,r,m)),g>2&&sg(e,t,2,s)&&(f=!0,m=Tv(e,d,t,2,s,m)),g>3&&sg(e,t,3,i)&&(f=!0,m=Tv(e,d,t,3,i,m)),g>4&&sg(e,t,4,o)&&(f=!0,m=Tv(e,d,t,4,o,m)),g>5&&sg(e,t,5,a)&&(f=!0,m=Tv(e,d,t,5,a,m)),g>6&&sg(e,t,6,l)&&(f=!0,m=Tv(e,d,t,6,l,m)),g>7&&sg(e,t,7,c)&&(f=!0,m=Tv(e,d,t,7,c,m)),g>8&&sg(e,t,8,u)&&(f=!0,m=Tv(e,d,t,8,u,m)),g>9&&sg(e,t,9,p)&&(f=!0,m=Tv(e,d,t,9,p,m)),m&&h.ngOnChanges(m),65536&t.flags&&qm(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,r,s,i,o,a,l,c,u,p);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,a,l,c,u,p){const d=t.bindings;let h=!1;const f=d.length;if(f>0&&ig(e,t,0,n)&&(h=!0),f>1&&ig(e,t,1,r)&&(h=!0),f>2&&ig(e,t,2,s)&&(h=!0),f>3&&ig(e,t,3,i)&&(h=!0),f>4&&ig(e,t,4,o)&&(h=!0),f>5&&ig(e,t,5,a)&&(h=!0),f>6&&ig(e,t,6,l)&&(h=!0),f>7&&ig(e,t,7,c)&&(h=!0),f>8&&ig(e,t,8,u)&&(h=!0),f>9&&ig(e,t,9,p)&&(h=!0),h){const h=Zm(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=[],f>0&&m.push(n),f>1&&m.push(r),f>2&&m.push(s),f>3&&m.push(i),f>4&&m.push(o),f>5&&m.push(a),f>6&&m.push(l),f>7&&m.push(c),f>8&&m.push(u),f>9&&m.push(p);break;case 64:m={},f>0&&(m[d[0].name]=n),f>1&&(m[d[1].name]=r),f>2&&(m[d[2].name]=s),f>3&&(m[d[3].name]=i),f>4&&(m[d[4].name]=o),f>5&&(m[d[5].name]=a),f>6&&(m[d[6].name]=l),f>7&&(m[d[7].name]=c),f>8&&(m[d[8].name]=u),f>9&&(m[d[9].name]=p);break;case 128:const e=n;switch(f){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,s);break;case 4:m=e.transform(r,s,i);break;case 5:m=e.transform(r,s,i,o);break;case 6:m=e.transform(r,s,i,o,a);break;case 7:m=e.transform(r,s,i,o,a,l);break;case 8:m=e.transform(r,s,i,o,a,l,c);break;case 9:m=e.transform(r,s,i,o,a,l,c,u);break;case 10:m=e.transform(r,s,i,o,a,l,c,u,p)}}h.value=m}return h}(e,t,n,r,s,i,o,a,l,c,u,p);default:throw"unreachable"}}(e,t,r,s,i,o,a,l,c,u,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)VE(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let r=0;r<n.length;r++)ig(e,t,r,n[r])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=JE(n[e],r[e]);s=t.text.prefix+s;const i=zm(e,t.nodeIndex).renderText;e.renderer.setValue(i,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Gm(e,t.nodeIndex),s=r.instance;let i=!1,o=void 0;for(let s=0;s<n.length;s++)sg(e,t,s,n[s])&&(i=!0,o=Tv(e,r,t,s,n[s],o));return o&&s.ngOnChanges(o),65536&t.flags&&qm(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let r=0;r<n.length;r++)ig(e,t,r,n[r])&&(s=!0);if(s){const s=Zm(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let e=0;e<n.length;e++)i[r[e].name]=n[e];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}s.value=i}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function db(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Wm(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,lg(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function hb(e,t,n,r,s,i,o,a,l,c,u,p,d){return 0===n?function(e,t,n,r,s,i,o,a,l,c,u,p){const d=t.bindings.length;d>0&&og(e,t,0,n);d>1&&og(e,t,1,r);d>2&&og(e,t,2,s);d>3&&og(e,t,3,i);d>4&&og(e,t,4,o);d>5&&og(e,t,5,a);d>6&&og(e,t,6,l);d>7&&og(e,t,7,c);d>8&&og(e,t,8,u);d>9&&og(e,t,9,p)}(e,t,r,s,i,o,a,l,c,u,p,d):function(e,t,n){for(let r=0;r<n.length;r++)og(e,t,r,n[r])}(e,t,r),!1}function fb(e,t){if(Km(e,t.nodeIndex).dirty)throw Bm(Ym.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function mb(e){if(!(128&e.state)){if(yb(e,gb.Destroy),vb(e,gb.Destroy),Iv(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=ug(e);if(t){const n=t.template._projectedViews;n&&(Ir(n,n.indexOf(e)),Ym.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Wm(e,n).renderElement):2&t.flags?e.renderer.destroyNode(zm(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Km(e,n).destroy()}}(e),hg(e)&&e.renderer.destroy(),e.state|=128}}var gb;function vb(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?_b(Wm(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function yb(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=Wm(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)_b(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function _b(e,t){const n=e.state;switch(t){case gb.CheckNoChanges:0==(128&n)&&(12==(12&n)?cb(e):64&n&&wb(e,gb.CheckNoChangesProjectedViews));break;case gb.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?cb(e):64&n&&wb(e,t));break;case gb.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ub(e):64&n&&wb(e,gb.CheckAndUpdateProjectedViews));break;case gb.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ub(e):64&n&&wb(e,t));break;case gb.Destroy:mb(e);break;case gb.CreateViewNodes:lb(e)}}function wb(e,t){yb(e,t),vb(e,t)}function Eb(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let i=0;i<s;i++){const s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Ym.setCurrentNode(e,s.nodeIndex),r){case 0:HE(e,s);break;case 1:fb(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */NE.decorators=[{type:N_,args:[{providers:kE}]}],NE.ctorParameters=()=>[{type:zw}],function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(gb||(gb={}));let bb=!1;function Cb(){if(bb)return;bb=!0;const e=Aw()?{setCurrentNode:Wb,createRootView:Sb,createEmbeddedView:Tb,createComponentView:Ib,createNgModuleRef:Ab,overrideProvider:Nb,overrideComponentView:Ob,clearOverrides:Rb,checkAndUpdateView:Vb,checkNoChangesView:Bb,destroyView:$b,createDebugContext:(e,t)=>new eC(e,t),handleEvent:Gb,updateDirectives:Zb,updateRenderer:Kb}:{setCurrentNode:()=>{},createRootView:xb,createEmbeddedView:rb,createComponentView:ib,createNgModuleRef:iv,overrideProvider:Xm,overrideComponentView:Xm,clearOverrides:Xm,checkAndUpdateView:ub,checkNoChangesView:cb,destroyView:mb,createDebugContext:(e,t)=>new eC(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Lb:jb,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Lb:jb,e)};Ym.setCurrentNode=e.setCurrentNode,Ym.createRootView=e.createRootView,Ym.createEmbeddedView=e.createEmbeddedView,Ym.createComponentView=e.createComponentView,Ym.createNgModuleRef=e.createNgModuleRef,Ym.overrideProvider=e.overrideProvider,Ym.overrideComponentView=e.overrideComponentView,Ym.clearOverrides=e.clearOverrides,Ym.checkAndUpdateView=e.checkAndUpdateView,Ym.checkNoChangesView=e.checkNoChangesView,Ym.destroyView=e.destroyView,Ym.resolveDep=Sv,Ym.createDebugContext=e.createDebugContext,Ym.handleEvent=e.handleEvent,Ym.updateDirectives=e.updateDirectives,Ym.updateRenderer=e.updateRenderer,Ym.dirtyParentQueries=$E}function xb(e,t,n,r,s,i){const o=s.injector.get(qf);return sb(Db(e,s,o,t,n),r,i)}function Sb(e,t,n,r,s,i){const o=s.injector.get(qf),a=Db(e,s,new sC(o),t,n),l=Fb(r);return nC(Hb.create,sb,null,[a,l,i])}function Db(e,t,n,r,s){const i=t.injector.get(Kf),o=t.injector.get(ji),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:o}}function Tb(e,t,n,r){const s=Fb(n);return nC(Hb.create,rb,null,[e,t,s,r])}function Ib(e,t,n,r){const s=Pb.get(t.element.componentProvider.provider.token);return n=s||Fb(n),nC(Hb.create,ib,null,[e,t,n,r])}function Ab(e,t,n,r){return iv(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;if(0===Mb.size)return{hasOverrides:t,hasDeprecatedOverrides:n};return e.providers.forEach(e=>{const r=Mb.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{kb.forEach((r,s)=>{f(U(s).providedIn)===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);if(!t)return e;return function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=Mb.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=vg(s.deps),r.value=s.value)}if(kb.size>0){let t=new Set(e.modules);kb.forEach((r,s)=>{if(t.has(f(U(s).providedIn))){let t={token:s,flags:r.flags|(n?4096:0),deps:vg(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[eg(s)]=t}})}}(e=e.factory(()=>Xm)),e}(r))}const Mb=new Map,kb=new Map,Pb=new Map;function Nb(e){let t;Mb.set(e.token,e),"function"==typeof e.token&&(t=U(e.token))&&"function"==typeof t.providedIn&&kb.set(e.token,e)}function Ob(e,t){const n=wg(Gg(t)),r=wg(n.nodes[0].element.componentView);Pb.set(e,r)}function Rb(){Mb.clear(),kb.clear(),Pb.clear()}function Fb(e){if(0===Mb.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&Mb.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Xm);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Mb.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=vg(n.deps),e.value=n.value)}}}}function Lb(e,t,n,r,s,i,o,a,l,c,u,p,d){const h=e.def.nodes[t];return pb(e,h,n,r,s,i,o,a,l,c,u,p,d),224&h.flags?Zm(e,t).value:void 0}function jb(e,t,n,r,s,i,o,a,l,c,u,p,d){const h=e.def.nodes[t];return hb(e,h,n,r,s,i,o,a,l,c,u,p,d),224&h.flags?Zm(e,t).value:void 0}function Vb(e){return nC(Hb.detectChanges,ub,null,[e])}function Bb(e){return nC(Hb.checkNoChanges,cb,null,[e])}function $b(e){return nC(Hb.destroy,mb,null,[e])}var Hb;let Ub,qb,zb;function Wb(e,t){qb=e,zb=t}function Gb(e,t,n,r){return Wb(e,t),nC(Hb.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Zb(e,t){if(128&e.state)throw Hm(Hb[Ub]);return Wb(e,Xb(e,0)),e.def.updateDirectives((function(e,n,r,...s){const i=e.def.nodes[n];0===t?Qb(e,i,r,s):Yb(e,i,r,s);16384&i.flags&&Wb(e,Xb(e,n));return 224&i.flags?Zm(e,i.nodeIndex).value:void 0}),e)}function Kb(e,t){if(128&e.state)throw Hm(Hb[Ub]);return Wb(e,Jb(e,0)),e.def.updateRenderer((function(e,n,r,...s){const i=e.def.nodes[n];0===t?Qb(e,i,r,s):Yb(e,i,r,s);3&i.flags&&Wb(e,Jb(e,n));return 224&i.flags?Zm(e,i.nodeIndex).value:void 0}),e)}function Qb(e,t,n,r){if(pb(e,t,n,...r)){const s=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],i=s[e];8&r.flags&&(n[zi(r.nonMinifiedName)]=Gi(i))}const r=t.parent,i=Wm(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(i,t,r):e.renderer.removeAttribute(i,t)}else e.renderer.setValue(i,Ui("bindings="+JSON.stringify(n,null,2)))}}}function Yb(e,t,n,r){hb(e,t,n,...r)}function Xb(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function Jb(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Hb||(Hb={}));class eC{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=pg(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Wm(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return nv(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){tC(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&tC(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!hg(e);)e=e.parent;if(e.parent)return Wm(e.parent,pg(e).nodeIndex);return null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?dg(this.view,this.nodeDef):dg(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++){3&e.nodes[r].flags&&n++}return n}(n,r);let i=-1;n.factory(()=>(i++,i===s?e.error.bind(e,...t):Xm)),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function tC(e,t,n){for(let r in t.references)n[r]=qE(e,t,t.references[r])}function nC(e,t,n,r){const s=Ub,i=qb,o=zb;try{Ub=e;const a=t.apply(n,r);return qb=i,zb=o,Ub=s,a}catch(e){if(Ri(e)||!qb)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),$m(e,t),e}(e,rC())}}function rC(){return qb?new eC(qb,zb):null}class sC{constructor(e){this.delegate=e}createRenderer(e,t){return new iC(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class iC{constructor(e){this.delegate=e,this.debugContextFactory=rC,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=wE(e);t&&(!function(e){vE.delete(e.nativeNode)}(t),t instanceof oE&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new aE(n,null,r);t.name=e,CE(t)}return n}createComment(e){const t=this.delegate.createComment(Ui(e)),n=this.createDebugContext(t);return n&&CE(new oE(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&CE(new oE(t,null,n)),t}appendChild(e,t){const n=wE(e),r=wE(t);n&&r&&n instanceof aE&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const s=wE(e),i=wE(t),o=wE(n);s&&i&&s instanceof aE&&s.insertBefore(o,i),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=wE(e),r=wE(t);n&&r&&n instanceof aE&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=rC();return r&&CE(new aE(n,null,r)),n}setAttribute(e,t,n,r){const s=wE(e);if(s&&s instanceof aE){const e=r?r+":"+t:t;s.attributes[e]=n}this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=wE(e);if(r&&r instanceof aE){const e=n?n+":"+t:t;r.attributes[e]=null}this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=wE(e);n&&n instanceof aE&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=wE(e);n&&n instanceof aE&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=wE(e);s&&s instanceof aE&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=wE(e);r&&r instanceof aE&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=wE(e);r&&r instanceof aE&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=wE(e);r&&r.listeners.push(new iE(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function oC(e){return Cb(),Ym.overrideProvider(e)}function aC(e,t){return Cb(),Ym.overrideComponentView(e,t)}function lC(){return Cb(),Ym.clearOverrides()}function cC(e,t,n){return new uC(e,t,n)}class uC extends Mm{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){Cb();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const t in e.providersByKey)r[t]=e.providersByKey[t];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(wg(this._ngModuleDefFactory));return Ym.createNgModuleRef(this.moduleType,e||ic.NULL,this._bootstrapComponents,t)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function pC(e){return br({usage:1,kind:"directive",type:e.type}).compileDirectiveDeclaration(Ry,`ng:///${e.type.name}/ɵfac.js`,e)}function dC(e){var t,n;Fv(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function hC(e){return br({usage:1,kind:"component",type:e.type}).compileComponentDeclaration(Ry,`ng:///${e.type.name}/ɵcmp.js`,e)}function fC(e){return br({usage:1,kind:mC(e.target),type:e.type}).compileFactoryDeclaration(Ry,`ng:///${e.type.name}/ɵfac.js`,e)}function mC(e){switch(e){case wr.Directive:return"directive";case wr.Component:return"component";case wr.Injectable:return"injectable";case wr.Pipe:return"pipe";case wr.NgModule:return"NgModule"}}function gC(e){return br({usage:1,kind:"injectable",type:e.type}).compileInjectableDeclaration(Ry,`ng:///${e.type.name}/ɵprov.js`,e)}function vC(e){return br({usage:1,kind:"NgModule",type:e.type}).compileInjectorDeclaration(Ry,`ng:///${e.type.name}/ɵinj.js`,e)}function yC(e){return br({usage:1,kind:"NgModule",type:e.type}).compileNgModuleDeclaration(Ry,`ng:///${e.type.name}/ɵmod.js`,e)}function _C(e){return br({usage:1,kind:"pipe",type:e.type}).compilePipeDeclaration(Ry,`ng:///${e.type.name}/ɵpipe.js`,e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */"undefined"!=typeof ngDevMode&&ngDevMode&&(ce.$localize=ce.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */}.call(this,n(14))},function(e,t,n){"use strict";(function(e){
/**
 * @license Angular v12.2.1
 * (c) 2010-2021 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var r;function s(e){if(":"!=e[0])return[null,e];const t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function i(e){return"ng-container"===s(e)[1]}function o(e){return"ng-content"===s(e)[1]}function a(e){return"ng-template"===s(e)[1]}function l(e){return null===e?null:s(e)[0]}function c(e,t){return e?`:${e}:${t}`:t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */n.d(t,"a",(function(){return od})),n.d(t,"b",(function(){return Jd})),n.d(t,"c",(function(){return Ep})),n.d(t,"d",(function(){return Cp})),n.d(t,"e",(function(){return Dp})),n.d(t,"f",(function(){return Ac})),n.d(t,"g",(function(){return Sc})),n.d(t,"h",(function(){return Va})),n.d(t,"i",(function(){return Yp})),n.d(t,"j",(function(){return io})),n.d(t,"k",(function(){return Kd})),n.d(t,"l",(function(){return ei})),n.d(t,"m",(function(){return $d})),n.d(t,"n",(function(){return nc})),n.d(t,"o",(function(){return _d})),n.d(t,"p",(function(){return wd})),n.d(t,"q",(function(){return mc})),n.d(t,"r",(function(){return bd})),n.d(t,"s",(function(){return zs})),n.d(t,"t",(function(){return Qu})),n.d(t,"u",(function(){return Ds})),n.d(t,"v",(function(){return sa})),n.d(t,"w",(function(){return Bd})),n.d(t,"x",(function(){return jl})),n.d(t,"y",(function(){return eh})),n.d(t,"z",(function(){return xd})),n.d(t,"A",(function(){return th})),n.d(t,"B",(function(){return tn})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(r||(r={}));class u{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=r.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:a=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(e=>this.closedByChildren[e]=!0),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=o,this.preventNamespaceInheritance=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if("object"==typeof this.contentType){const t=null==e?void 0:this.contentType[e];return null!=t?t:this.contentType.default}return this.contentType}}let p,d;function h(e){var t,n;return d||(p=new u,d={base:new u({isVoid:!0}),meta:new u({isVoid:!0}),area:new u({isVoid:!0}),embed:new u({isVoid:!0}),link:new u({isVoid:!0}),img:new u({isVoid:!0}),input:new u({isVoid:!0}),param:new u({isVoid:!0}),hr:new u({isVoid:!0}),br:new u({isVoid:!0}),source:new u({isVoid:!0}),track:new u({isVoid:!0}),wbr:new u({isVoid:!0}),p:new u({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new u({closedByChildren:["tbody","tfoot"]}),tbody:new u({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new u({closedByChildren:["tbody"],closedByParent:!0}),tr:new u({closedByChildren:["tr"],closedByParent:!0}),td:new u({closedByChildren:["td","th"],closedByParent:!0}),th:new u({closedByChildren:["td","th"],closedByParent:!0}),col:new u({isVoid:!0}),svg:new u({implicitNamespacePrefix:"svg"}),foreignObject:new u({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new u({implicitNamespacePrefix:"math"}),li:new u({closedByChildren:["li"],closedByParent:!0}),dt:new u({closedByChildren:["dt","dd"]}),dd:new u({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new u({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new u({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new u({closedByChildren:["optgroup"],closedByParent:!0}),option:new u({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new u({ignoreFirstLf:!0}),listing:new u({ignoreFirstLf:!0}),style:new u({contentType:r.RAW_TEXT}),script:new u({contentType:r.RAW_TEXT}),title:new u({contentType:{default:r.ESCAPABLE_RAW_TEXT,svg:r.PARSABLE_DATA}}),textarea:new u({contentType:r.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(n=null!==(t=d[e])&&void 0!==t?t:d[e.toLowerCase()])&&void 0!==n?n:p}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const f=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class m{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],n=(e,t)=>{t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)};let r,s=new m,i=s,o=!1;for(f.lastIndex=0;r=f.exec(e);){if(r[1]){if(o)throw new Error("Nesting :not in a selector is not allowed");o=!0,i=new m,s.notSelectors.push(i)}const e=r[2];if(e){const t=r[3];"#"===t?i.addAttribute("id",e.substr(1)):"."===t?i.addClassName(e.substr(1)):i.setElement(e)}const a=r[4];if(a&&i.addAttribute(i.unescapeAttribute(a),r[6]),r[7]&&(o=!1,i=s),r[8]){if(o)throw new Error("Multiple selectors in :not are not supported");n(t,s),s=i=new m}}return n(t,s),t}unescapeAttribute(e){let t="",n=!1;for(let r=0;r<e.length;r++){const s=e.charAt(r);if("\\"!==s){if("$"===s&&!n)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);n=!1,t+=s}else n=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getMatchingElementTemplate(){const e=this.element||"div",t=this.classNames.length>0?` class="${this.classNames.join(" ")}"`:"";let n="";for(let e=0;e<this.attrs.length;e+=2){n+=` ${this.attrs[e]}${""!==this.attrs[e+1]?`="${this.attrs[e+1]}"`:""}`}return h(e).isVoid?`<${e}${t}${n}/>`:`<${e}${t}${n}></${e}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+="."+t),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const n=this.escapeAttribute(this.attrs[t]),r=this.attrs[t+1];e+=`[${n}${r?"="+r:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}class g{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(e){const t=new g;return t.addSelectables(e,null),t}addSelectables(e,t){let n=null;e.length>1&&(n=new v(e),this._listContexts.push(n));for(let r=0;r<e.length;r++)this._addSelectable(e[r],t,n)}_addSelectable(e,t,n){let r=this;const s=e.element,i=e.classNames,o=e.attrs,a=new y(e,t,n);if(s){0===o.length&&0===i.length?this._addTerminal(r._elementMap,s,a):r=this._addPartial(r._elementPartialMap,s)}if(i)for(let e=0;e<i.length;e++){const t=0===o.length&&e===i.length-1,n=i[e];t?this._addTerminal(r._classMap,n,a):r=this._addPartial(r._classPartialMap,n)}if(o)for(let e=0;e<o.length;e+=2){const t=e===o.length-2,n=o[e],s=o[e+1];if(t){const e=r._attrValueMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),this._addTerminal(t,s,a)}else{const e=r._attrValuePartialMap;let t=e.get(n);t||(t=new Map,e.set(n,t)),r=this._addPartial(t,s)}}}_addTerminal(e,t,n){let r=e.get(t);r||(r=[],e.set(t,r)),r.push(n)}_addPartial(e,t){let n=e.get(t);return n||(n=new g,e.set(t,n)),n}match(e,t){let n=!1;const r=e.element,s=e.classNames,i=e.attrs;for(let e=0;e<this._listContexts.length;e++)this._listContexts[e].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,e,t)||n,n=this._matchPartial(this._elementPartialMap,r,e,t)||n,s)for(let r=0;r<s.length;r++){const i=s[r];n=this._matchTerminal(this._classMap,i,e,t)||n,n=this._matchPartial(this._classPartialMap,i,e,t)||n}if(i)for(let r=0;r<i.length;r+=2){const s=i[r],o=i[r+1],a=this._attrValueMap.get(s);o&&(n=this._matchTerminal(a,"",e,t)||n),n=this._matchTerminal(a,o,e,t)||n;const l=this._attrValuePartialMap.get(s);o&&(n=this._matchPartial(l,"",e,t)||n),n=this._matchPartial(l,o,e,t)||n}return n}_matchTerminal(e,t,n,r){if(!e||"string"!=typeof t)return!1;let s=e.get(t)||[];const i=e.get("*");if(i&&(s=s.concat(i)),0===s.length)return!1;let o,a=!1;for(let e=0;e<s.length;e++)o=s[e],a=o.finalize(n,r)||a;return a}_matchPartial(e,t,n,r){if(!e||"string"!=typeof t)return!1;const s=e.get(t);return!!s&&s.match(n,r)}}class v{constructor(e){this.selectors=e,this.alreadyMatched=!1}}class y{constructor(e,t,n){this.selector=e,this.cbContext=t,this.listContext=n,this.notSelectors=e.notSelectors}finalize(e,t){let n=!0;if(this.notSelectors.length>0&&(!this.listContext||!this.listContext.alreadyMatched)){n=!g.createNotMatcher(this.notSelectors).match(e,null)}return!n||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),n}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const _=W("Inject",e=>({token:e})),w=W("InjectionToken",e=>({_desc:e,"ɵprov":void 0})),E=W("Attribute",e=>({attributeName:e})),b=W("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t)),C=W("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),x=W("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t)),S=W("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),D=W("Directive",(e={})=>e);var T,I;!function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(T||(T={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(I||(I={}));const A=W("Component",(e={})=>Object.assign({changeDetection:I.Default},e)),M=W("Pipe",e=>Object.assign({pure:!0},e)),k=W("Input",e=>({bindingPropertyName:e})),P=W("Output",e=>({bindingPropertyName:e})),N=W("HostBinding",e=>({hostPropertyName:e})),O=W("HostListener",(e,t)=>({eventName:e,args:t})),R=W("NgModule",e=>e),F=W("Injectable",(e={})=>e),L={name:"custom-elements"},j={name:"no-errors-schema"},V=W("Optional"),B=W("Self"),$=W("SkipSelf"),H=W("Host"),U=Function;var q,z;function W(e,t){function n(...n){const r=t?t(...n):{};return Object.assign({ngMetadataName:e},r)}return n.isTypeOf=t=>t&&t.ngMetadataName===e,n.ngMetadataName=e,n}function G(e){const t=function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return[e.element&&"*"!==e.element?e.element:"",...e.attrs,...t]}(e),n=e.notSelectors&&e.notSelectors.length?e.notSelectors.map(e=>function(e){const t=e.classNames&&e.classNames.length?[8,...e.classNames]:[];return e.element?[5,e.element,...e.attrs,...t]:e.attrs.length?[3,...e.attrs,...t]:e.classNames&&e.classNames.length?[9,...e.classNames]:[]}(e)):[];return t.concat(...n)}function Z(e){return e?m.parse(e).map(G):[]}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(q||(q={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(z||(z={}));var K,Q;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */!function(e){e[e.Const=0]="Const"}(K||(K={}));class Y{constructor(e=[]){this.modifiers=e}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(Q||(Q={}));class X extends Y{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class J extends Y{constructor(e,t,n=null){super(t),this.value=e,this.typeParams=n}visitType(e,t){return e.visitExpressionType(this,t)}}class ee extends Y{constructor(e,t){super(t),this.of=e}visitType(e,t){return e.visitArrayType(this,t)}}class te extends Y{constructor(e,t){super(t),this.valueType=e||null}visitType(e,t){return e.visitMapType(this,t)}}const ne=new X(Q.Dynamic),re=new X(Q.Inferred),se=new X(Q.Bool),ie=(new X(Q.Int),new X(Q.Number)),oe=new X(Q.String),ae=(new X(Q.Function),new X(Q.None));var le,ce,ue,pe;function de(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function he(e,t,n){const r=e.length;if(r!==t.length)return!1;for(let s=0;s<r;s++)if(!n(e[s],t[s]))return!1;return!0}function fe(e,t){return he(e,t,(e,t)=>e.isEquivalent(t))}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"}(le||(le={})),function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals",e[e.NullishCoalesce=16]="NullishCoalesce"}(ce||(ce={}));class me{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new We(this,e,null,t)}key(e,t,n){return new Ge(this,e,t,n)}callMethod(e,t,n){return new be(this,e,t,null,n)}callFn(e,t,n){return new Ce(this,e,null,t,n)}instantiate(e,t,n){return new Se(this,e,t,n)}conditional(e,t=null,n){return new je(this,e,t,null,n)}equals(e,t){return new ze(ce.Equals,this,e,null,t)}notEquals(e,t){return new ze(ce.NotEquals,this,e,null,t)}identical(e,t){return new ze(ce.Identical,this,e,null,t)}notIdentical(e,t){return new ze(ce.NotIdentical,this,e,null,t)}minus(e,t){return new ze(ce.Minus,this,e,null,t)}plus(e,t){return new ze(ce.Plus,this,e,null,t)}divide(e,t){return new ze(ce.Divide,this,e,null,t)}multiply(e,t){return new ze(ce.Multiply,this,e,null,t)}modulo(e,t){return new ze(ce.Modulo,this,e,null,t)}and(e,t){return new ze(ce.And,this,e,null,t)}bitwiseAnd(e,t,n=!0){return new ze(ce.BitwiseAnd,this,e,null,t,n)}or(e,t){return new ze(ce.Or,this,e,null,t)}lower(e,t){return new ze(ce.Lower,this,e,null,t)}lowerEquals(e,t){return new ze(ce.LowerEquals,this,e,null,t)}bigger(e,t){return new ze(ce.Bigger,this,e,null,t)}biggerEquals(e,t){return new ze(ce.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(Je,e)}cast(e,t){return new $e(this,e,t)}nullishCoalesce(e,t){return new ze(ce.NullishCoalesce,this,e,null,t)}toStmt(){return new ot(this,null)}}!function(e){e[e.This=0]="This",e[e.Super=1]="Super",e[e.CatchError=2]="CatchError",e[e.CatchStack=3]="CatchStack"}(ue||(ue={}));class ge extends me{constructor(e,t,n){super(t,n),"string"==typeof e?(this.name=e,this.builtin=null):(this.name=null,this.builtin=e)}isEquivalent(e){return e instanceof ge&&this.name===e.name&&this.builtin===e.builtin}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){if(!this.name)throw new Error(`Built in variable ${this.builtin} can not be assigned to.`);return new _e(this.name,e,null,this.sourceSpan)}}class ve extends me{constructor(e,t,n){super(t,n),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof ve&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class ye extends me{constructor(e,t,n){super(t,n),this.node=e}isEquivalent(e){return e instanceof ye&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class _e extends me{constructor(e,t,n,r){super(n||t.type,r),this.name=e,this.value=t}isEquivalent(e){return e instanceof _e&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new st(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(re,[et.Final])}}class we extends me{constructor(e,t,n,r,s){super(r||n.type,s),this.receiver=e,this.index=t,this.value=n}isEquivalent(e){return e instanceof we&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class Ee extends me{constructor(e,t,n,r,s){super(r||n.type,s),this.receiver=e,this.name=t,this.value=n}isEquivalent(e){return e instanceof Ee&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}!function(e){e[e.ConcatArray=0]="ConcatArray",e[e.SubscribeObservable=1]="SubscribeObservable",e[e.Bind=2]="Bind"}(pe||(pe={}));class be extends me{constructor(e,t,n,r,s){super(r,s),this.receiver=e,this.args=n,"string"==typeof t?(this.name=t,this.builtin=null):(this.name=null,this.builtin=t)}isEquivalent(e){return e instanceof be&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&fe(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeMethodExpr(this,t)}}class Ce extends me{constructor(e,t,n,r,s=!1){super(n,r),this.fn=e,this.args=t,this.pure=s}isEquivalent(e){return e instanceof Ce&&this.fn.isEquivalent(e.fn)&&fe(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class xe extends me{constructor(e,t,n,r){super(n,r),this.tag=e,this.template=t}isEquivalent(e){return e instanceof xe&&this.tag.isEquivalent(e.tag)&&he(this.template.elements,e.template.elements,(e,t)=>e.text===t.text)&&fe(this.template.expressions,e.template.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateExpr(this,t)}}class Se extends me{constructor(e,t,n,r){super(n,r),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof Se&&this.classExpr.isEquivalent(e.classExpr)&&fe(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class De extends me{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof De&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class Te{constructor(e,t){this.elements=e,this.expressions=t}}class Ie{constructor(e,t,n){var r;this.text=e,this.sourceSpan=t,this.rawText=null!==(r=null!=n?n:null==t?void 0:t.toString())&&void 0!==r?r:Re(Ne(e))}}class Ae{constructor(e,t){this.text=e,this.sourceSpan=t}}class Me extends Ae{}class ke extends Ae{}class Pe extends me{constructor(e,t,n,r,s){super(oe,s),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=n,this.expressions=r}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}␟${t}`}),Fe(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){var t,n;return null!==(n=null===(t=this.messageParts[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:this.sourceSpan}getPlaceholderSourceSpan(e){var t,n,r,s;return null!==(s=null!==(n=null===(t=this.placeHolderNames[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==n?n:null===(r=this.expressions[e])||void 0===r?void 0:r.sourceSpan)&&void 0!==s?s:this.sourceSpan}serializeI18nTemplatePart(e){return Fe(this.placeHolderNames[e-1].text,this.messageParts[e].text,this.getMessagePartSourceSpan(e))}}const Ne=e=>e.replace(/\\/g,"\\\\"),Oe=e=>e.replace(/:/g,"\\:"),Re=e=>e.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function Fe(e,t,n){return""===e?{cooked:t,raw:Re((r=Ne(t),r.replace(/^:/,"\\:"))),range:n}:{cooked:`:${e}:${t}`,raw:Re(`:${Oe(Ne(e))}:${Ne(t)}`),range:n};var r}class Le extends me{constructor(e,t,n=null,r){super(t,r),this.value=e,this.typeParams=n}isEquivalent(e){return e instanceof Le&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class je extends me{constructor(e,t,n=null,r,s){super(r||t.type,s),this.condition=e,this.falseCase=n,this.trueCase=t}isEquivalent(e){return e instanceof je&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&de(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class Ve extends me{constructor(e,t){super(se,t),this.condition=e}isEquivalent(e){return e instanceof Ve&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class Be extends me{constructor(e,t){super(e.type,t),this.condition=e}isEquivalent(e){return e instanceof Be&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitAssertNotNullExpr(this,t)}}class $e extends me{constructor(e,t,n){super(t,n),this.value=e}isEquivalent(e){return e instanceof $e&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitCastExpr(this,t)}}class He{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class Ue extends me{constructor(e,t,n,r,s){super(n,r),this.params=e,this.statements=t,this.name=s}isEquivalent(e){return e instanceof Ue&&fe(this.params,e.params)&&fe(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new it(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class qe extends me{constructor(e,t,n,r,s=!0){super(n||ie,r),this.operator=e,this.expr=t,this.parens=s}isEquivalent(e){return e instanceof qe&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class ze extends me{constructor(e,t,n,r,s,i=!0){super(r||t.type,s),this.operator=e,this.rhs=n,this.parens=i,this.lhs=t}isEquivalent(e){return e instanceof ze&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class We extends me{constructor(e,t,n,r){super(n,r),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof We&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new Ee(this.receiver,this.name,e,null,this.sourceSpan)}}class Ge extends me{constructor(e,t,n,r){super(n,r),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof Ge&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new we(this.receiver,this.index,e,null,this.sourceSpan)}}class Ze extends me{constructor(e,t,n){super(t,n),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof Ze&&fe(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class Ke{constructor(e,t,n){this.key=e,this.value=t,this.quoted=n}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class Qe extends me{constructor(e,t,n){super(t,n),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof Qe&&fe(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}class Ye extends me{constructor(e,t){super(e[e.length-1].type,t),this.parts=e}isEquivalent(e){return e instanceof Ye&&fe(this.parts,e.parts)}isConstant(){return!1}visitExpression(e,t){return e.visitCommaExpr(this,t)}}new ge(ue.This,null,null),new ge(ue.Super,null,null),new ge(ue.CatchError,null,null),new ge(ue.CatchStack,null,null);const Xe=new De(null,null,null),Je=new De(null,re,null);var et;!function(e){e[e.Final=0]="Final",e[e.Private=1]="Private",e[e.Exported=2]="Exported",e[e.Static=3]="Static"}(et||(et={}));class tt{constructor(e,t,n){this.text=e,this.multiline=t,this.trailingNewline=n}toString(){return this.multiline?` ${this.text} `:this.text}}class nt extends tt{constructor(e){super("",!0,!0),this.tags=e}toString(){return function(e){if(0===e.length)return"";if(1===e.length&&e[0].tagName&&!e[0].text)return`*${Nt(e[0])} `;let t="*\n";for(const n of e)t+=" *",t+=Nt(n).replace(/\n/g,"\n * "),t+="\n";return t+=" ",t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(this.tags)}}class rt{constructor(e=[],t=null,n){this.modifiers=e,this.sourceSpan=t,this.leadingComments=n}hasModifier(e){return-1!==this.modifiers.indexOf(e)}addLeadingComment(e){var t;this.leadingComments=null!==(t=this.leadingComments)&&void 0!==t?t:[],this.leadingComments.push(e)}}class st extends rt{constructor(e,t,n,r,s,i){super(r,s,i),this.name=e,this.value=t,this.type=n||t&&t.type||null}isEquivalent(e){return e instanceof st&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class it extends rt{constructor(e,t,n,r,s,i,o){super(s,i,o),this.name=e,this.params=t,this.statements=n,this.type=r||null}isEquivalent(e){return e instanceof it&&fe(this.params,e.params)&&fe(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class ot extends rt{constructor(e,t,n){super([],t,n),this.expr=e}isEquivalent(e){return e instanceof ot&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class at extends rt{constructor(e,t=null,n){super([],t,n),this.value=e}isEquivalent(e){return e instanceof at&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class lt{constructor(e=null,t=[]){this.type=e,this.modifiers=t}hasModifier(e){return-1!==this.modifiers.indexOf(e)}}class ct extends lt{constructor(e,t,n,r,s){super(r,s),this.name=e,this.params=t,this.body=n}isEquivalent(e){return this.name===e.name&&fe(this.body,e.body)}}class ut extends lt{constructor(e,t,n,r){super(n,r),this.name=e,this.body=t}isEquivalent(e){return this.name===e.name&&fe(this.body,e.body)}}class pt extends rt{constructor(e,t,n,r,s,i,o,a,l){super(o,a,l),this.name=e,this.parent=t,this.fields=n,this.getters=r,this.constructorMethod=s,this.methods=i}isEquivalent(e){return e instanceof pt&&this.name===e.name&&de(this.parent,e.parent)&&fe(this.fields,e.fields)&&fe(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&fe(this.methods,e.methods)}visitStatement(e,t){return e.visitDeclareClassStmt(this,t)}}class dt extends rt{constructor(e,t,n=[],r,s){super([],r,s),this.condition=e,this.trueCase=t,this.falseCase=n}isEquivalent(e){return e instanceof dt&&this.condition.isEquivalent(e.condition)&&fe(this.trueCase,e.trueCase)&&fe(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}class ht extends rt{constructor(e,t,n=null,r){super([],n,r),this.bodyStmts=e,this.catchStmts=t}isEquivalent(e){return e instanceof ht&&fe(this.bodyStmts,e.bodyStmts)&&fe(this.catchStmts,e.catchStmts)}visitStatement(e,t){return e.visitTryCatchStmt(this,t)}}class ft extends rt{constructor(e,t=null,n){super([],t,n),this.error=e}isEquivalent(e){return e instanceof ht&&this.error.isEquivalent(e.error)}visitStatement(e,t){return e.visitThrowStmt(this,t)}}class mt{visitType(e,t){return e}visitExpression(e,t){return e.type&&e.type.visitType(this,t),e}visitBuiltinType(e,t){return this.visitType(e,t)}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach(e=>this.visitType(e,t)),this.visitType(e,t)}visitArrayType(e,t){return this.visitType(e,t)}visitMapType(e,t){return this.visitType(e,t)}visitWrappedNodeExpr(e,t){return e}visitTypeofExpr(e,t){return this.visitExpression(e,t)}visitReadVarExpr(e,t){return this.visitExpression(e,t)}visitWriteVarExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWriteKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitWritePropExpr(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)}visitInvokeMethodExpr(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitTaggedTemplateExpr(e,t){return e.tag.visitExpression(this,t),this.visitAllExpressions(e.template.expressions,t),this.visitExpression(e,t)}visitInstantiateExpr(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)}visitLiteralExpr(e,t){return this.visitExpression(e,t)}visitLocalizedString(e,t){return this.visitExpression(e,t)}visitExternalExpr(e,t){return e.typeParams&&e.typeParams.forEach(e=>e.visitType(this,t)),this.visitExpression(e,t)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)}visitNotExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)}visitFunctionExpr(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)}visitUnaryOperatorExpr(e,t){return e.expr.visitExpression(this,t),this.visitExpression(e,t)}visitBinaryOperatorExpr(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)}visitLiteralMapExpr(e,t){return e.entries.forEach(e=>e.value.visitExpression(this,t)),this.visitExpression(e,t)}visitCommaExpr(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)}visitAllExpressions(e,t){e.forEach(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e}visitDeclareFunctionStmt(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t),e}visitReturnStmt(e,t){return e.value.visitExpression(this,t),e}visitDeclareClassStmt(e,t){return e.parent.visitExpression(this,t),e.getters.forEach(e=>this.visitAllStatements(e.body,t)),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach(e=>this.visitAllStatements(e.body,t)),e}visitIfStmt(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e}visitTryCatchStmt(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e}visitThrowStmt(e,t){return e.error.visitExpression(this,t),e}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function gt(e){const t=new vt;return t.visitAllStatements(e,null),t.varNames}class vt extends mt{constructor(){super(...arguments),this.varNames=new Set}visitDeclareFunctionStmt(e,t){return e}visitDeclareClassStmt(e,t){return e}visitReadVarExpr(e,t){return e.name&&this.varNames.add(e.name),null}}function yt(e,t){if(!t)return e;const n=new wt(t);return e.visitStatement(n,null)}function _t(e,t){if(!t)return e;const n=new wt(t);return e.visitExpression(n,null)}class wt extends class{transformExpr(e,t){return e}transformStmt(e,t){return e}visitReadVarExpr(e,t){return this.transformExpr(e,t)}visitWrappedNodeExpr(e,t){return this.transformExpr(e,t)}visitTypeofExpr(e,t){return this.transformExpr(new ve(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteVarExpr(e,t){return this.transformExpr(new _e(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWriteKeyExpr(e,t){return this.transformExpr(new we(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitWritePropExpr(e,t){return this.transformExpr(new Ee(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitInvokeMethodExpr(e,t){const n=e.builtin||e.name;return this.transformExpr(new be(e.receiver.visitExpression(this,t),n,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitInvokeFunctionExpr(e,t){return this.transformExpr(new Ce(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitTaggedTemplateExpr(e,t){return this.transformExpr(new xe(e.tag.visitExpression(this,t),new Te(e.template.elements,e.template.expressions.map(e=>e.visitExpression(this,t))),e.type,e.sourceSpan),t)}visitInstantiateExpr(e,t){return this.transformExpr(new Se(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)}visitLiteralExpr(e,t){return this.transformExpr(e,t)}visitLocalizedString(e,t){return this.transformExpr(new Pe(e.metaBlock,e.messageParts,e.placeHolderNames,this.visitAllExpressions(e.expressions,t),e.sourceSpan),t)}visitExternalExpr(e,t){return this.transformExpr(e,t)}visitConditionalExpr(e,t){return this.transformExpr(new je(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)}visitNotExpr(e,t){return this.transformExpr(new Ve(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitAssertNotNullExpr(e,t){return this.transformExpr(new Be(e.condition.visitExpression(this,t),e.sourceSpan),t)}visitCastExpr(e,t){return this.transformExpr(new $e(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)}visitFunctionExpr(e,t){return this.transformExpr(new Ue(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)}visitUnaryOperatorExpr(e,t){return this.transformExpr(new qe(e.operator,e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)}visitBinaryOperatorExpr(e,t){return this.transformExpr(new ze(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)}visitReadPropExpr(e,t){return this.transformExpr(new We(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)}visitReadKeyExpr(e,t){return this.transformExpr(new Ge(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)}visitLiteralArrayExpr(e,t){return this.transformExpr(new Ze(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)}visitLiteralMapExpr(e,t){const n=e.entries.map(e=>new Ke(e.key,e.value.visitExpression(this,t),e.quoted)),r=new te(e.valueType);return this.transformExpr(new Qe(n,r,e.sourceSpan),t)}visitCommaExpr(e,t){return this.transformExpr(new Ye(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitDeclareVarStmt(e,t){const n=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new st(e.name,n,e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitDeclareFunctionStmt(e,t){return this.transformStmt(new it(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan,e.leadingComments),t)}visitExpressionStmt(e,t){return this.transformStmt(new ot(e.expr.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitReturnStmt(e,t){return this.transformStmt(new at(e.value.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitDeclareClassStmt(e,t){const n=e.parent.visitExpression(this,t),r=e.getters.map(e=>new ut(e.name,this.visitAllStatements(e.body,t),e.type,e.modifiers)),s=e.constructorMethod&&new ct(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),i=e.methods.map(e=>new ct(e.name,e.params,this.visitAllStatements(e.body,t),e.type,e.modifiers));return this.transformStmt(new pt(e.name,n,e.fields,r,s,i,e.modifiers,e.sourceSpan),t)}visitIfStmt(e,t){return this.transformStmt(new dt(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan,e.leadingComments),t)}visitTryCatchStmt(e,t){return this.transformStmt(new ht(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan,e.leadingComments),t)}visitThrowStmt(e,t){return this.transformStmt(new ft(e.error.visitExpression(this,t),e.sourceSpan,e.leadingComments),t)}visitAllStatements(e,t){return e.map(e=>e.visitStatement(this,t))}}{constructor(e){super(),this.sourceSpan=e}_clone(e){const t=Object.create(e.constructor.prototype);for(let n of Object.keys(e))t[n]=e[n];return t}transformExpr(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}transformStmt(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e}}function Et(e,t,n){return new ge(e,t,n)}function bt(e,t=null,n){return new Le(e,null,t,n)}function Ct(e,t,n){return null!=e?xt(bt(e,t,null),n):null}function xt(e,t,n){return new J(e,t,n)}function St(e){return new ve(e)}function Dt(e,t,n){return new Ze(e,t,n)}function Tt(e,t=null){return new Qe(e.map(e=>new Ke(e.key,e.value,e.quoted)),t,null)}function It(e,t,n,r,s){return new Ue(e,t,n,r,s)}function At(e,t,n,r,s){return new dt(e,t,n,r,s)}function Mt(e,t,n,r){return new xe(e,t,n,r)}function kt(e,t,n){return new De(e,t,n)}function Pt(e){return e instanceof De&&null===e.value}function Nt(e){let t="";if(e.tagName&&(t+=" @"+e.tagName),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}const Ot=Et("<unknown>"),Rt={};class Ft extends me{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===Rt?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof Ft&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class Lt{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}getConstLiteral(e,t){if(e instanceof De&&!$t(e)||e instanceof Ft)return e;const n=this.keyOf(e);let r=this.literals.get(n),s=!1;if(r||(r=new Ft(e),this.literals.set(n,r),s=!0),!s&&!r.shared||s&&t){const t=this.freshName();let n,s;this.isClosureCompilerEnabled&&$t(e)?(n=Et(t).set(new Ue([],[new at(e)])),s=Et(t).callFn([])):(n=Et(t).set(e),s=Et(t)),this.statements.push(n.toDeclStmt(re,[et.Final])),r.fixup(s)}return r}getDefinition(e,t,n,r=!1){const s=this.definitionsOf(t);let i=s.get(e),o=!1;if(!i){const r=this.propertyNameOf(t);i=new Ft(n.importExpr(e).prop(r)),s.set(e,i),o=!0}if(!o&&!i.shared||o&&r){const e=this.freshName();this.statements.push(Et(e).set(i.resolved).toDeclStmt(re,[et.Final])),i.fixup(Et(e))}return i}getLiteralFactory(e){if(e instanceof Ze){const t=e.entries.map(e=>e.isConstant()?e:Ot),n=this.keyOf(Dt(t));return this._getLiteralFactory(n,e.entries,e=>Dt(e))}{const t=Tt(e.entries.map(e=>({key:e.key,value:e.value.isConstant()?e.value:Ot,quoted:e.quoted}))),n=this.keyOf(t);return this._getLiteralFactory(n,e.entries.map(e=>e.value),t=>Tt(t.map((t,n)=>({key:e.entries[n].key,value:t,quoted:e.entries[n].quoted}))))}}_getLiteralFactory(e,t,n){let r=this.literalFactories.get(e);const s=t.filter(e=>!e.isConstant());if(!r){const s=t.map((e,t)=>e.isConstant()?this.getConstLiteral(e,!0):Et("a"+t)),i=It(s.filter(Bt).map(e=>new He(e.name,ne)),[new at(n(s))],re),o=this.freshName();this.statements.push(Et(o).set(i).toDeclStmt(re,[et.Final])),r=Et(o),this.literalFactories.set(e,r)}return{literalFactory:r,literalFactoryArguments:s}}uniqueName(e){return`${e}${this.nextNameIndex++}`}definitionsOf(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}}propertyNameOf(e){switch(e){case 2:return"ɵcmp";case 1:return"ɵdir";case 0:return"ɵinj";case 3:return"ɵpipe"}}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new jt,Rt)}}class jt{constructor(){this.visitWrappedNodeExpr=Vt,this.visitWriteVarExpr=Vt,this.visitWriteKeyExpr=Vt,this.visitWritePropExpr=Vt,this.visitInvokeMethodExpr=Vt,this.visitInvokeFunctionExpr=Vt,this.visitTaggedTemplateExpr=Vt,this.visitInstantiateExpr=Vt,this.visitConditionalExpr=Vt,this.visitNotExpr=Vt,this.visitAssertNotNullExpr=Vt,this.visitCastExpr=Vt,this.visitFunctionExpr=Vt,this.visitUnaryOperatorExpr=Vt,this.visitBinaryOperatorExpr=Vt,this.visitReadPropExpr=Vt,this.visitReadKeyExpr=Vt,this.visitCommaExpr=Vt,this.visitLocalizedString=Vt}visitLiteralExpr(e){return""+("string"==typeof e.value?'"'+e.value+'"':e.value)}visitLiteralArrayExpr(e,t){return`[${e.entries.map(e=>e.visitExpression(this,t)).join(",")}]`}visitLiteralMapExpr(e,t){return"{"+e.entries.map(e=>`${(e=>{const t=e.quoted?'"':"";return`${t}${e.key}${t}`})(e)}:${e.value.visitExpression(this,t)}`).join(",")}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:"EX:"+e.value.runtime.name}visitReadVarExpr(e){return"VAR:"+e.name}visitTypeofExpr(e,t){return"TYPEOF:"+e.expr.visitExpression(this,t)}}function Vt(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function Bt(e){return e instanceof ge}function $t(e){return e instanceof De&&"string"==typeof e.value&&e.value.length>=50}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ht="@angular/core";class Ut{}Ut.NEW_METHOD="factory",Ut.TRANSFORM_METHOD="transform",Ut.PATCH_DEPS="patchedDeps",Ut.core={name:null,moduleName:Ht},Ut.namespaceHTML={name:"ɵɵnamespaceHTML",moduleName:Ht},Ut.namespaceMathML={name:"ɵɵnamespaceMathML",moduleName:Ht},Ut.namespaceSVG={name:"ɵɵnamespaceSVG",moduleName:Ht},Ut.element={name:"ɵɵelement",moduleName:Ht},Ut.elementStart={name:"ɵɵelementStart",moduleName:Ht},Ut.elementEnd={name:"ɵɵelementEnd",moduleName:Ht},Ut.advance={name:"ɵɵadvance",moduleName:Ht},Ut.syntheticHostProperty={name:"ɵɵsyntheticHostProperty",moduleName:Ht},Ut.syntheticHostListener={name:"ɵɵsyntheticHostListener",moduleName:Ht},Ut.attribute={name:"ɵɵattribute",moduleName:Ht},Ut.attributeInterpolate1={name:"ɵɵattributeInterpolate1",moduleName:Ht},Ut.attributeInterpolate2={name:"ɵɵattributeInterpolate2",moduleName:Ht},Ut.attributeInterpolate3={name:"ɵɵattributeInterpolate3",moduleName:Ht},Ut.attributeInterpolate4={name:"ɵɵattributeInterpolate4",moduleName:Ht},Ut.attributeInterpolate5={name:"ɵɵattributeInterpolate5",moduleName:Ht},Ut.attributeInterpolate6={name:"ɵɵattributeInterpolate6",moduleName:Ht},Ut.attributeInterpolate7={name:"ɵɵattributeInterpolate7",moduleName:Ht},Ut.attributeInterpolate8={name:"ɵɵattributeInterpolate8",moduleName:Ht},Ut.attributeInterpolateV={name:"ɵɵattributeInterpolateV",moduleName:Ht},Ut.classProp={name:"ɵɵclassProp",moduleName:Ht},Ut.elementContainerStart={name:"ɵɵelementContainerStart",moduleName:Ht},Ut.elementContainerEnd={name:"ɵɵelementContainerEnd",moduleName:Ht},Ut.elementContainer={name:"ɵɵelementContainer",moduleName:Ht},Ut.styleMap={name:"ɵɵstyleMap",moduleName:Ht},Ut.styleMapInterpolate1={name:"ɵɵstyleMapInterpolate1",moduleName:Ht},Ut.styleMapInterpolate2={name:"ɵɵstyleMapInterpolate2",moduleName:Ht},Ut.styleMapInterpolate3={name:"ɵɵstyleMapInterpolate3",moduleName:Ht},Ut.styleMapInterpolate4={name:"ɵɵstyleMapInterpolate4",moduleName:Ht},Ut.styleMapInterpolate5={name:"ɵɵstyleMapInterpolate5",moduleName:Ht},Ut.styleMapInterpolate6={name:"ɵɵstyleMapInterpolate6",moduleName:Ht},Ut.styleMapInterpolate7={name:"ɵɵstyleMapInterpolate7",moduleName:Ht},Ut.styleMapInterpolate8={name:"ɵɵstyleMapInterpolate8",moduleName:Ht},Ut.styleMapInterpolateV={name:"ɵɵstyleMapInterpolateV",moduleName:Ht},Ut.classMap={name:"ɵɵclassMap",moduleName:Ht},Ut.classMapInterpolate1={name:"ɵɵclassMapInterpolate1",moduleName:Ht},Ut.classMapInterpolate2={name:"ɵɵclassMapInterpolate2",moduleName:Ht},Ut.classMapInterpolate3={name:"ɵɵclassMapInterpolate3",moduleName:Ht},Ut.classMapInterpolate4={name:"ɵɵclassMapInterpolate4",moduleName:Ht},Ut.classMapInterpolate5={name:"ɵɵclassMapInterpolate5",moduleName:Ht},Ut.classMapInterpolate6={name:"ɵɵclassMapInterpolate6",moduleName:Ht},Ut.classMapInterpolate7={name:"ɵɵclassMapInterpolate7",moduleName:Ht},Ut.classMapInterpolate8={name:"ɵɵclassMapInterpolate8",moduleName:Ht},Ut.classMapInterpolateV={name:"ɵɵclassMapInterpolateV",moduleName:Ht},Ut.styleProp={name:"ɵɵstyleProp",moduleName:Ht},Ut.stylePropInterpolate1={name:"ɵɵstylePropInterpolate1",moduleName:Ht},Ut.stylePropInterpolate2={name:"ɵɵstylePropInterpolate2",moduleName:Ht},Ut.stylePropInterpolate3={name:"ɵɵstylePropInterpolate3",moduleName:Ht},Ut.stylePropInterpolate4={name:"ɵɵstylePropInterpolate4",moduleName:Ht},Ut.stylePropInterpolate5={name:"ɵɵstylePropInterpolate5",moduleName:Ht},Ut.stylePropInterpolate6={name:"ɵɵstylePropInterpolate6",moduleName:Ht},Ut.stylePropInterpolate7={name:"ɵɵstylePropInterpolate7",moduleName:Ht},Ut.stylePropInterpolate8={name:"ɵɵstylePropInterpolate8",moduleName:Ht},Ut.stylePropInterpolateV={name:"ɵɵstylePropInterpolateV",moduleName:Ht},Ut.nextContext={name:"ɵɵnextContext",moduleName:Ht},Ut.templateCreate={name:"ɵɵtemplate",moduleName:Ht},Ut.text={name:"ɵɵtext",moduleName:Ht},Ut.enableBindings={name:"ɵɵenableBindings",moduleName:Ht},Ut.disableBindings={name:"ɵɵdisableBindings",moduleName:Ht},Ut.getCurrentView={name:"ɵɵgetCurrentView",moduleName:Ht},Ut.textInterpolate={name:"ɵɵtextInterpolate",moduleName:Ht},Ut.textInterpolate1={name:"ɵɵtextInterpolate1",moduleName:Ht},Ut.textInterpolate2={name:"ɵɵtextInterpolate2",moduleName:Ht},Ut.textInterpolate3={name:"ɵɵtextInterpolate3",moduleName:Ht},Ut.textInterpolate4={name:"ɵɵtextInterpolate4",moduleName:Ht},Ut.textInterpolate5={name:"ɵɵtextInterpolate5",moduleName:Ht},Ut.textInterpolate6={name:"ɵɵtextInterpolate6",moduleName:Ht},Ut.textInterpolate7={name:"ɵɵtextInterpolate7",moduleName:Ht},Ut.textInterpolate8={name:"ɵɵtextInterpolate8",moduleName:Ht},Ut.textInterpolateV={name:"ɵɵtextInterpolateV",moduleName:Ht},Ut.restoreView={name:"ɵɵrestoreView",moduleName:Ht},Ut.pureFunction0={name:"ɵɵpureFunction0",moduleName:Ht},Ut.pureFunction1={name:"ɵɵpureFunction1",moduleName:Ht},Ut.pureFunction2={name:"ɵɵpureFunction2",moduleName:Ht},Ut.pureFunction3={name:"ɵɵpureFunction3",moduleName:Ht},Ut.pureFunction4={name:"ɵɵpureFunction4",moduleName:Ht},Ut.pureFunction5={name:"ɵɵpureFunction5",moduleName:Ht},Ut.pureFunction6={name:"ɵɵpureFunction6",moduleName:Ht},Ut.pureFunction7={name:"ɵɵpureFunction7",moduleName:Ht},Ut.pureFunction8={name:"ɵɵpureFunction8",moduleName:Ht},Ut.pureFunctionV={name:"ɵɵpureFunctionV",moduleName:Ht},Ut.pipeBind1={name:"ɵɵpipeBind1",moduleName:Ht},Ut.pipeBind2={name:"ɵɵpipeBind2",moduleName:Ht},Ut.pipeBind3={name:"ɵɵpipeBind3",moduleName:Ht},Ut.pipeBind4={name:"ɵɵpipeBind4",moduleName:Ht},Ut.pipeBindV={name:"ɵɵpipeBindV",moduleName:Ht},Ut.hostProperty={name:"ɵɵhostProperty",moduleName:Ht},Ut.property={name:"ɵɵproperty",moduleName:Ht},Ut.propertyInterpolate={name:"ɵɵpropertyInterpolate",moduleName:Ht},Ut.propertyInterpolate1={name:"ɵɵpropertyInterpolate1",moduleName:Ht},Ut.propertyInterpolate2={name:"ɵɵpropertyInterpolate2",moduleName:Ht},Ut.propertyInterpolate3={name:"ɵɵpropertyInterpolate3",moduleName:Ht},Ut.propertyInterpolate4={name:"ɵɵpropertyInterpolate4",moduleName:Ht},Ut.propertyInterpolate5={name:"ɵɵpropertyInterpolate5",moduleName:Ht},Ut.propertyInterpolate6={name:"ɵɵpropertyInterpolate6",moduleName:Ht},Ut.propertyInterpolate7={name:"ɵɵpropertyInterpolate7",moduleName:Ht},Ut.propertyInterpolate8={name:"ɵɵpropertyInterpolate8",moduleName:Ht},Ut.propertyInterpolateV={name:"ɵɵpropertyInterpolateV",moduleName:Ht},Ut.i18n={name:"ɵɵi18n",moduleName:Ht},Ut.i18nAttributes={name:"ɵɵi18nAttributes",moduleName:Ht},Ut.i18nExp={name:"ɵɵi18nExp",moduleName:Ht},Ut.i18nStart={name:"ɵɵi18nStart",moduleName:Ht},Ut.i18nEnd={name:"ɵɵi18nEnd",moduleName:Ht},Ut.i18nApply={name:"ɵɵi18nApply",moduleName:Ht},Ut.i18nPostprocess={name:"ɵɵi18nPostprocess",moduleName:Ht},Ut.pipe={name:"ɵɵpipe",moduleName:Ht},Ut.projection={name:"ɵɵprojection",moduleName:Ht},Ut.projectionDef={name:"ɵɵprojectionDef",moduleName:Ht},Ut.reference={name:"ɵɵreference",moduleName:Ht},Ut.inject={name:"ɵɵinject",moduleName:Ht},Ut.injectAttribute={name:"ɵɵinjectAttribute",moduleName:Ht},Ut.directiveInject={name:"ɵɵdirectiveInject",moduleName:Ht},Ut.invalidFactory={name:"ɵɵinvalidFactory",moduleName:Ht},Ut.invalidFactoryDep={name:"ɵɵinvalidFactoryDep",moduleName:Ht},Ut.templateRefExtractor={name:"ɵɵtemplateRefExtractor",moduleName:Ht},Ut.forwardRef={name:"forwardRef",moduleName:Ht},Ut.resolveForwardRef={name:"resolveForwardRef",moduleName:Ht},Ut.ɵɵdefineInjectable={name:"ɵɵdefineInjectable",moduleName:Ht},Ut.declareInjectable={name:"ɵɵngDeclareInjectable",moduleName:Ht},Ut.InjectableDeclaration={name:"ɵɵInjectableDeclaration",moduleName:Ht},Ut.resolveWindow={name:"ɵɵresolveWindow",moduleName:Ht},Ut.resolveDocument={name:"ɵɵresolveDocument",moduleName:Ht},Ut.resolveBody={name:"ɵɵresolveBody",moduleName:Ht},Ut.defineComponent={name:"ɵɵdefineComponent",moduleName:Ht},Ut.declareComponent={name:"ɵɵngDeclareComponent",moduleName:Ht},Ut.setComponentScope={name:"ɵɵsetComponentScope",moduleName:Ht},Ut.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:Ht},Ut.ViewEncapsulation={name:"ViewEncapsulation",moduleName:Ht},Ut.ComponentDeclaration={name:"ɵɵComponentDeclaration",moduleName:Ht},Ut.FactoryDeclaration={name:"ɵɵFactoryDeclaration",moduleName:Ht},Ut.declareFactory={name:"ɵɵngDeclareFactory",moduleName:Ht},Ut.FactoryTarget={name:"ɵɵFactoryTarget",moduleName:Ht},Ut.defineDirective={name:"ɵɵdefineDirective",moduleName:Ht},Ut.declareDirective={name:"ɵɵngDeclareDirective",moduleName:Ht},Ut.DirectiveDeclaration={name:"ɵɵDirectiveDeclaration",moduleName:Ht},Ut.InjectorDef={name:"ɵɵInjectorDef",moduleName:Ht},Ut.InjectorDeclaration={name:"ɵɵInjectorDeclaration",moduleName:Ht},Ut.defineInjector={name:"ɵɵdefineInjector",moduleName:Ht},Ut.declareInjector={name:"ɵɵngDeclareInjector",moduleName:Ht},Ut.NgModuleDeclaration={name:"ɵɵNgModuleDeclaration",moduleName:Ht},Ut.ModuleWithProviders={name:"ModuleWithProviders",moduleName:Ht},Ut.defineNgModule={name:"ɵɵdefineNgModule",moduleName:Ht},Ut.declareNgModule={name:"ɵɵngDeclareNgModule",moduleName:Ht},Ut.setNgModuleScope={name:"ɵɵsetNgModuleScope",moduleName:Ht},Ut.PipeDeclaration={name:"ɵɵPipeDeclaration",moduleName:Ht},Ut.definePipe={name:"ɵɵdefinePipe",moduleName:Ht},Ut.declarePipe={name:"ɵɵngDeclarePipe",moduleName:Ht},Ut.declareClassMetadata={name:"ɵɵngDeclareClassMetadata",moduleName:Ht},Ut.setClassMetadata={name:"ɵsetClassMetadata",moduleName:Ht},Ut.queryRefresh={name:"ɵɵqueryRefresh",moduleName:Ht},Ut.viewQuery={name:"ɵɵviewQuery",moduleName:Ht},Ut.loadQuery={name:"ɵɵloadQuery",moduleName:Ht},Ut.contentQuery={name:"ɵɵcontentQuery",moduleName:Ht},Ut.NgOnChangesFeature={name:"ɵɵNgOnChangesFeature",moduleName:Ht},Ut.InheritDefinitionFeature={name:"ɵɵInheritDefinitionFeature",moduleName:Ht},Ut.CopyDefinitionFeature={name:"ɵɵCopyDefinitionFeature",moduleName:Ht},Ut.ProvidersFeature={name:"ɵɵProvidersFeature",moduleName:Ht},Ut.listener={name:"ɵɵlistener",moduleName:Ht},Ut.getInheritedFactory={name:"ɵɵgetInheritedFactory",moduleName:Ht},Ut.sanitizeHtml={name:"ɵɵsanitizeHtml",moduleName:Ht},Ut.sanitizeStyle={name:"ɵɵsanitizeStyle",moduleName:Ht},Ut.sanitizeResourceUrl={name:"ɵɵsanitizeResourceUrl",moduleName:Ht},Ut.sanitizeScript={name:"ɵɵsanitizeScript",moduleName:Ht},Ut.sanitizeUrl={name:"ɵɵsanitizeUrl",moduleName:Ht},Ut.sanitizeUrlOrResourceUrl={name:"ɵɵsanitizeUrlOrResourceUrl",moduleName:Ht},Ut.trustConstantHtml={name:"ɵɵtrustConstantHtml",moduleName:Ht},Ut.trustConstantResourceUrl={name:"ɵɵtrustConstantResourceUrl",moduleName:Ht};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const qt=/-+([a-z0-9])/g;function zt(e,t){return Wt(e,":",t)}function Wt(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function Gt(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===sn?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}function Zt(e){return null!=e}function Kt(e){return void 0===e?null:e}class Qt{visitArray(e,t){return e.map(e=>Gt(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=Gt(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}}const Yt=e=>{if(cn(e))throw new Error("Illegal state: value cannot be a promise");return e},Xt=(e,t)=>cn(e)?e.then(t):t(e),Jt=e=>e.some(cn)?Promise.all(e):e;function en(e){throw new Error("Internal Error: "+e)}function tn(e,t){const n=Error(e);return n[nn]=!0,t&&(n[rn]=t),n}const nn="ngSyntaxError",rn="ngParseErrors";const sn=Object.getPrototypeOf({});function on(e){let t=[];for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t.push(r):r<=2047?t.push(r>>6&31|192,63&r|128):r<=65535?t.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&t.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return t}function an(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(an).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;if(!e.toString)return"object";const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ln(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function cn(e){return!!e&&"function"==typeof e.then}const un="undefined"!=typeof window&&window,pn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,dn=void 0!==e&&e||un||pn;function hn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class fn{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}}class mn{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class gn{constructor(e,t,n){this.value=e,this.sourceSpan=t,this.i18n=n}visit(e){return e.visitBoundText(this)}}class vn{constructor(e,t,n,r,s,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s,this.i18n=i}visit(e){return e.visitTextAttribute(this)}}class yn{constructor(e,t,n,r,s,i,o,a,l){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.keySpan=o,this.valueSpan=a,this.i18n=l}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new yn(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class _n{constructor(e,t,n,r,s,i,o,a){this.name=e,this.type=t,this.handler=n,this.target=r,this.phase=s,this.sourceSpan=i,this.handlerSpan=o,this.keySpan=a}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new _n(e.name,e.type,e.handler,t,n,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}class wn{constructor(e,t,n,r,s,i,o,a,l,c){this.name=e,this.attributes=t,this.inputs=n,this.outputs=r,this.children=s,this.references=i,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=l,this.i18n=c}visit(e){return e.visitElement(this)}}class En{constructor(e,t,n,r,s,i,o,a,l,c,u,p){this.tagName=e,this.attributes=t,this.inputs=n,this.outputs=r,this.templateAttrs=s,this.children=i,this.references=o,this.variables=a,this.sourceSpan=l,this.startSourceSpan=c,this.endSourceSpan=u,this.i18n=p}visit(e){return e.visitTemplate(this)}}class bn{constructor(e,t,n,r){this.selector=e,this.attributes=t,this.sourceSpan=n,this.i18n=r,this.name="ng-content"}visit(e){return e.visitContent(this)}}class Cn{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s}visit(e){return e.visitVariable(this)}}class xn{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s}visit(e){return e.visitReference(this)}}class Sn{constructor(e,t,n,r){this.vars=e,this.placeholders=t,this.sourceSpan=n,this.i18n=r}visit(e){return e.visitIcu(this)}}function Dn(e,t){const n=[];if(e.visit)for(const n of t){e.visit(n)||n.visit(e)}else for(const r of t){const t=r.visit(e);t&&n.push(t)}return n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Tn{constructor(e,t,n,r,s,i){this.nodes=e,this.placeholders=t,this.placeholderToMessage=n,this.meaning=r,this.description=s,this.customId=i,this.id=this.customId,this.legacyIds=[],e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class In{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class An{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class Mn{constructor(e,t,n,r){this.expression=e,this.type=t,this.cases=n,this.sourceSpan=r}visit(e,t){return e.visitIcu(this,t)}}class kn{constructor(e,t,n,r,s,i,o,a,l){this.tag=e,this.attrs=t,this.startName=n,this.closeName=r,this.children=s,this.isVoid=i,this.sourceSpan=o,this.startSourceSpan=a,this.endSourceSpan=l}visit(e,t){return e.visitTagPlaceholder(this,t)}}class Pn{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitPlaceholder(this,t)}}class Nn{constructor(e,t,n){this.value=e,this.name=t,this.sourceSpan=n}visit(e,t){return e.visitIcuPlaceholder(this,t)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class On{constructor(e){this.digits=e}static zero(){return new On([0])}static one(){return new On([1])}clone(){return new On(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let n=0;for(let r=0;r<t;r++){let t=n;r<this.digits.length&&(t+=this.digits[r]),r<e.digits.length&&(t+=e.digits[r]),t>=10?(this.digits[r]=t-10,n=1):(this.digits[r]=t,n=0)}n>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class Rn{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=On.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let n=0;0!==e;e>>>=1,n++)if(1&e){const e=this.getMultipliedByPowerOfTwo(n);t.addToSelf(e)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const e=this.powerOfTwos[t-1];this.powerOfTwos[t]=e.add(e)}return this.powerOfTwos[e]}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function Fn(e){return e.id||Ln(e)}function Ln(e){return function(e){const t=on(e),n=function(e,t){const n=e.length+3>>>2,r=[];for(let s=0;s<n;s++)r[s]=Jn(e,4*s,t);return r}(t,Gn.Big),r=8*t.length,s=hn(80);let i=1732584193,o=4023233417,a=2562383102,l=271733878,c=3285377520;n[r>>5]|=128<<24-r%32,n[15+(r+64>>9<<4)]=r;for(let e=0;e<n.length;e+=16){const t=i,r=o,u=a,p=l,d=c;for(let t=0;t<80;t++){s[t]=t<16?n[e+t]:Yn(s[t-3]^s[t-8]^s[t-14]^s[t-16],1);const r=Un(t,o,a,l),u=r[0],p=r[1],d=[Yn(i,5),u,c,p,s[t]].reduce(Zn);c=l,l=a,a=Yn(o,30),o=i,i=d}i=Zn(i,t),o=Zn(o,r),a=Zn(a,u),l=Zn(l,p),c=Zn(c,d)}return function(e){let t="";for(let n=0;n<e.length;n++){const r=Xn(e,n);t+=(r>>>4).toString(16)+(15&r).toString(16)}return t.toLowerCase()}(function(e){return e.reduce((e,t)=>e.concat(function(e){let t=[];for(let n=0;n<4;n++)t.push(e>>>8*(3-n)&255);return t}(t)),[])}([i,o,a,l,c]))}((t=e.nodes,t.map(e=>e.visit($n,null))).join("")+`[${e.meaning}]`);var t}function jn(e){return e.id||Vn(e)}function Vn(e){const t=new Hn;return function(e,t=""){let n=qn(e);if(t){const e=qn(t);n=function(e,t){const n=e[0],r=e[1],s=t[0],i=t[1],o=Kn(r,i),a=o[0],l=o[1];return[Zn(Zn(n,s),a),l]}(function(e,t){const n=e[0],r=e[1];return[n<<t|r>>>32-t,r<<t|n>>>32-t]}(n,1),e)}const r=n[0],s=n[1];return function(e,t){const n=er.toThePowerOf(0).multiplyBy(t);return er.toThePowerOf(4).multiplyByAndAddTo(e,n),n.toString()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(2147483647&r,s)}(e.nodes.map(e=>e.visit(t,null)).join(""),e.meaning)}class Bn{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(e=>e.visit(this)).join(", ")}]`}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expression}, ${e.type}, ${n.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(e=>e.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const $n=new Bn;class Hn extends Bn{visitIcu(e,t){let n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.type}, ${n.join(", ")}}`}}function Un(e,t,n,r){return e<20?[t&n|~t&r,1518500249]:e<40?[t^n^r,1859775393]:e<60?[t&n|t&r|n&r,2400959708]:[t^n^r,3395469782]}function qn(e){const t=on(e);let n=zn(t,0),r=zn(t,102072);return 0!=n||0!=r&&1!=r||(n^=319790063,r^=-1801410264),[n,r]}function zn(e,t){let n,r=2654435769,s=2654435769;const i=e.length;for(n=0;n+12<=i;n+=12){r=Zn(r,Jn(e,n,Gn.Little)),s=Zn(s,Jn(e,n+4,Gn.Little));const i=Wn(r,s,t=Zn(t,Jn(e,n+8,Gn.Little)));r=i[0],s=i[1],t=i[2]}return r=Zn(r,Jn(e,n,Gn.Little)),s=Zn(s,Jn(e,n+4,Gn.Little)),t=Zn(t,i),Wn(r,s,t=Zn(t,Jn(e,n+8,Gn.Little)<<8))[2]}function Wn(e,t,n){return e=Qn(e,t),e=Qn(e,n),e^=n>>>13,t=Qn(t,n),t=Qn(t,e),t^=e<<8,n=Qn(n,e),n=Qn(n,t),n^=t>>>13,e=Qn(e,t),e=Qn(e,n),e^=n>>>12,t=Qn(t,n),t=Qn(t,e),t^=e<<16,n=Qn(n,e),n=Qn(n,t),n^=t>>>5,e=Qn(e,t),e=Qn(e,n),e^=n>>>3,t=Qn(t,n),t=Qn(t,e),t^=e<<10,n=Qn(n,e),n=Qn(n,t),[e,t,n^=t>>>15]}var Gn;function Zn(e,t){return Kn(e,t)[1]}function Kn(e,t){const n=(65535&e)+(65535&t),r=(e>>>16)+(t>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function Qn(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function Yn(e,t){return e<<t|e>>>32-t}function Xn(e,t){return t>=e.length?0:e[t]}function Jn(e,t,n){let r=0;if(n===Gn.Big)for(let n=0;n<4;n++)r+=Xn(e,t+n)<<24-8*n;else for(let n=0;n<4;n++)r+=Xn(e,t+n)<<8*n;return r}!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(Gn||(Gn={}));const er=new class{constructor(e){this.base=e,this.exponents=[new Rn(On.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const e=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new Rn(e)}return this.exponents[e]}}(256);class tr{createNameMapper(e){return null}}class nr extends class{visitText(e,t){}visitContainer(e,t){e.children.forEach(e=>e.visit(this))}visitIcu(e,t){Object.keys(e.cases).forEach(t=>{e.cases[t].visit(this)})}visitTagPlaceholder(e,t){e.children.forEach(e=>e.visit(this))}visitPlaceholder(e,t){}visitIcuPlaceholder(e,t){}}{constructor(e,t){super(),this.mapName=t,this.internalToPublic={},this.publicToNextId={},this.publicToInternal={},e.nodes.forEach(e=>e.visit(this))}toPublicName(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null}toInternalName(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null}visitText(e,t){return null}visitTagPlaceholder(e,t){this.visitPlaceholderName(e.startName),super.visitTagPlaceholder(e,t),this.visitPlaceholderName(e.closeName)}visitPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitIcuPlaceholder(e,t){this.visitPlaceholderName(e.name)}visitPlaceholderName(e){if(!e||this.internalToPublic.hasOwnProperty(e))return;let t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){const e=this.publicToNextId[t];this.publicToNextId[t]=e+1,t=`${t}_${e}`}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const rr=new class{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const n=e.children.map(e=>e.visit(this));return`<${e.name}${t}>${n.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function sr(e){return e.map(e=>e.visit(rr)).join("")}class ir{constructor(e){this.attrs={},Object.keys(e).forEach(t=>{this.attrs[t]=pr(e[t])})}visit(e){return e.visitDeclaration(this)}}class or{constructor(e,t){this.rootTag=e,this.dtd=t}visit(e){return e.visitDoctype(this)}}class ar{constructor(e,t={},n=[]){this.name=e,this.children=n,this.attrs={},Object.keys(t).forEach(e=>{this.attrs[e]=pr(t[e])})}visit(e){return e.visitTag(this)}}class lr{constructor(e){this.value=pr(e)}visit(e){return e.visitText(this)}}class cr extends lr{constructor(e=0){super("\n"+new Array(e+1).join(" "))}}const ur=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function pr(e){return ur.reduce((e,t)=>e.replace(t[0],t[1]),e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class dr extends tr{write(e,t){const n=new mr,r=new hr;let s=new ar("messagebundle");return e.forEach(e=>{const t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);let n=[];e.sources.forEach(e=>{n.push(new ar("source",{},[new lr(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),s.children.push(new cr(2),new ar("msg",t,[...n,...r.serialize(e.nodes)]))}),s.children.push(new cr),sr([new ir({version:"1.0",encoding:"UTF-8"}),new cr,new or("messagebundle",'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new cr,n.addDefaultExamples(s),new cr])}load(e,t){throw new Error("Unsupported")}digest(e){return fr(e)}createNameMapper(e){return new nr(e,gr)}}class hr{visitText(e,t){return[new lr(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new lr(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new lr(t+" {"),...e.cases[t].visit(this),new lr("} "))}),n.push(new lr("}")),n}visitTagPlaceholder(e,t){const n=new lr(`<${e.tag}>`),r=new ar("ex",{},[n]),s=new ar("ph",{name:e.startName},[r,n]);if(e.isVoid)return[s];const i=new lr(`</${e.tag}>`),o=new ar("ex",{},[i]),a=new ar("ph",{name:e.closeName},[o,i]);return[s,...this.serialize(e.children),a]}visitPlaceholder(e,t){const n=new lr(`{{${e.value}}}`),r=new ar("ex",{},[n]);return[new ar("ph",{name:e.name},[r,n])]}visitIcuPlaceholder(e,t){const n=e.value.expression,r=e.value.type,s=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),i=new lr(`{${n}, ${r}, ${s}}`),o=new ar("ex",{},[i]);return[new ar("ph",{name:e.name},[o,i])]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}function fr(e){return jn(e)}class mr{addDefaultExamples(e){return e.visit(this),e}visitTag(e){if("ph"===e.name){if(!e.children||0==e.children.length){const t=new lr(e.attrs.name||"...");e.children=[new ar("ex",{},[t])]}}else e.children&&e.children.forEach(e=>e.visit(this))}visitText(e){}visitDeclaration(e){}visitDoctype(e){}}function gr(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function vr(e){return"i18n"===e||e.startsWith("i18n-")}function yr(e){return e instanceof Tn}function _r(e){return yr(e)&&1===e.nodes.length&&e.nodes[0]instanceof Mn}function wr(e){return!!e.i18n}function Er(e){return e.nodes[0]}function br(e,t=0){return`�${e}${t>0?":"+t:""}�`}function Cr(e=0){let t=e;return()=>t++}function xr(e){const t={};return e.forEach((e,n)=>{t[n]=kt(e.length>1?`[${e.join("|")}]`:e[0])}),t}function Sr(e,t,...n){const r=e.get(t)||[];r.push(...n),e.set(t,r)}function Dr(e,t=0,n=0){const r=t,s=new Map,i=e instanceof Tn?e.nodes.find(e=>e instanceof An):e;return i&&i.children.filter(e=>e instanceof Pn).forEach((e,t)=>{const i=br(r+t,n);Sr(s,e.name,i)}),s}function Tr(e={},t){const n={};return e&&Object.keys(e).length&&Object.keys(e).forEach(r=>n[Ir(r,t)]=e[r]),n}function Ir(e,t=!0){const n=gr(e);if(!t)return n;const r=n.split("_");if(1===r.length)return e.toLowerCase();let s;/^\d+$/.test(r[r.length-1])&&(s=r.pop());let i=r.shift().toLowerCase();return r.length&&(i+=r.map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join("")),s?`${i}_${s}`:i}function Ar(e){return("MSG_"+e).toUpperCase()}function Mr(e){return new st(e.name,void 0,re,void 0,e.sourceSpan)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const kr=/[-.]/;function Pr(e,t){let n=null;return()=>(n||(e.push(new st("_t",void 0,ne)),n=Et(t)),n)}function Nr(e){if(this)throw new Error(`Builder ${this.constructor.name} doesn't support ${e} yet`);throw new Error(`Feature ${e} is not supported yet`)}function Or(e){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${e.constructor.name}`)}function Rr(e){return Array.isArray(e)?Dt(e.map(Rr)):kt(e,re)}function Fr(e,t){return Object.getOwnPropertyNames(e).length>0?function(e,t){return Tt(Object.getOwnPropertyNames(e).map(n=>{const r=e[n];let s,i,o,a;return Array.isArray(r)?([i,s]=r,o=n,a=i!==s):([s,i]=zt(n,[n,r]),o=s,a=i!==s&&n.includes(":")),{key:o,quoted:kr.test(o),value:t&&a?Dt([Rr(i),Rr(s)]):Rr(i)}}))}(e,t):null}function Lr(e){for(;Pt(e[e.length-1]);)e.pop();return e}function jr(e,t){if(Array.isArray(e.predicate)){let n=[];return e.predicate.forEach(e=>{const t=e.split(",").map(e=>kt(e.trim()));n.push(...t)}),t.getConstLiteral(Dt(n),!0)}return e.predicate}class Vr{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return Tt(this.values)}}function Br(e){const t={};return e instanceof En&&"ng-template"!==e.tagName?e.templateAttrs.forEach(e=>t[e.name]=""):(e.attributes.forEach(e=>{vr(e.name)||(t[e.name]=e.value)}),e.inputs.forEach(e=>{t[e.name]=""}),e.outputs.forEach(e=>{t[e.name]=""})),t}function $r(e,t,n){let r=bt(e,null,n);if(t.length>0)for(let e=0;e<t.length;e++)r=r.callFn(t[e],n);else r=r.callFn([],n);return r}function Hr(e){const{expressions:t,strings:n}=e;return 1===t.length&&2===n.length&&""===n[0]&&""===n[1]?1:t.length+n.length}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ur(e){return bt(Ut.forwardRef).callFn([It([],[new at(e)])])}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class qr{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:n,sourceCol0:r}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],n=[];Array.from(this.sourcesContent.keys()).forEach((r,s)=>{e.set(r,s),t.push(r),n.push(this.sourcesContent.get(r)||null)});let r="",s=0,i=0,o=0,a=0;return this.lines.forEach(t=>{s=0,r+=t.map(t=>{let n=zr(t.col0-s);return s=t.col0,null!=t.sourceUrl&&(n+=zr(e.get(t.sourceUrl)-i),i=e.get(t.sourceUrl),n+=zr(t.sourceLine0-o),o=t.sourceLine0,n+=zr(t.sourceCol0-a),a=t.sourceCol0),n}).join(","),r+=";"}),r=r.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:n,mappings:r}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){let t="";const n=on(e);for(let e=0;e<n.length;){const r=n[e++],s=e<n.length?n[e++]:null,i=e<n.length?n[e++]:null;t+=Wr(r>>2),t+=Wr((3&r)<<4|(null===s?0:s>>4)),t+=null===s?"=":Wr((15&s)<<2|(null===i?0:i>>6)),t+=null===s||null===i?"=":Wr(63&i)}return t}(JSON.stringify(this,null,0)):""}}function zr(e){e=e<0?1+(-e<<1):e<<1;let t="";do{let n=31&e;(e>>=5)>0&&(n|=32),t+=Wr(n)}while(e>0);return t}function Wr(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e]}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Gr=/'|\\|\n|\r|\$/g,Zr=/^[$A-Z_][0-9A-Z_$]*$/i,Kr=Et("error",null,null),Qr=Et("stack",null,null);class Yr{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class Xr{constructor(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new Yr(e)]}static createRoot(){return new Xr(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*"  ".length+this._currentLine.partsLength}print(e,t,n=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),n&&this._lines.push(new Yr(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}pushClass(e){this._classes.push(e)}popClass(){return this._classes.pop()}get currentClass(){return this._classes.length>0?this._classes[this._classes.length-1]:null}toSource(){return this.sourceLines.map(e=>e.parts.length>0?ts(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const n=new qr(e);let r=!1;const s=()=>{r||(n.addSource(e," ").addMapping(0,e,0,0),r=!0)};for(let e=0;e<t;e++)n.addLine(),s();return this.sourceLines.forEach((e,t)=>{n.addLine();const i=e.srcSpans,o=e.parts;let a=e.indent*"  ".length,l=0;for(;l<i.length&&!i[l];)a+=o[l].length,l++;for(l<i.length&&0===t&&0===a?r=!0:s();l<i.length;){const e=i[l],t=e.start.file,r=e.start.line,s=e.start.col;for(n.addSource(t.url,t.content).addMapping(a,t.url,r,s),a+=o[l].length,l++;l<i.length&&(e===i[l]||!i[l]);)a+=o[l].length,l++}}),n}setPreambleLineCount(e){return this._preambleLineCount=e}spanOf(e,t){const n=this._lines[e-this._preambleLineCount];if(n){let e=t-ts(n.indent).length;for(let t=0;t<n.parts.length;t++){const r=n.parts[t];if(r.length>e)return n.srcSpans[t];e-=r.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class Jr{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const n of e.leadingComments)n instanceof nt?t.print(e,`/*${n.toString()}*/`,n.trailingNewline):n.multiline?t.print(e,`/* ${n.text} */`,n.trailingNewline):n.text.split("\n").forEach(n=>{t.println(e,"// "+n)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const n=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!n?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),n&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitThrowStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null}visitWriteVarExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),t.print(e,e.name+" = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWriteKeyExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitWritePropExpr(e,t){const n=t.lineIsEmpty();return n||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),n||t.print(e,")"),null}visitInvokeMethodExpr(e,t){e.receiver.visitExpression(this,t);let n=e.name;return null!=e.builtin&&(n=this.getBuiltinMethodName(e.builtin),null==n)||(t.print(e,`.${n}(`),this.visitAllExpressions(e.args,t,","),t.print(e,")")),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateExpr(e,t){e.tag.visitExpression(this,t),t.print(e,"`"+e.template.elements[0].rawText);for(let n=1;n<e.template.elements.length;n++)t.print(e,"${"),e.template.expressions[n-1].visitExpression(this,t),t.print(e,"}"+e.template.elements[n].rawText);return t.print(e,"`"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case ue.Super:n="super";break;case ue.This:n="this";break;case ue.CatchError:n=Kr.name;break;case ue.CatchStack:n=Qr.name;break;default:throw new Error("Unknown builtin variable "+e.builtin)}return t.print(e,n),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const n=e.value;return"string"==typeof n?t.print(e,es(n,this._escapeDollarInStrings)):t.print(e,""+n),null}visitLocalizedString(e,t){const n=e.serializeI18nHead();t.print(e,"$localize `"+n.raw);for(let n=1;n<e.messageParts.length;n++)t.print(e,"${"),e.expressions[n-1].visitExpression(this,t),t.print(e,"}"+e.serializeI18nTemplatePart(n).raw);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let n;switch(e.operator){case le.Plus:n="+";break;case le.Minus:n="-";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),t.print(e,n),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let n;switch(e.operator){case ce.Equals:n="==";break;case ce.Identical:n="===";break;case ce.NotEquals:n="!=";break;case ce.NotIdentical:n="!==";break;case ce.And:n="&&";break;case ce.BitwiseAnd:n="&";break;case ce.Or:n="||";break;case ce.Plus:n="+";break;case ce.Minus:n="-";break;case ce.Divide:n="/";break;case ce.Multiply:n="*";break;case ce.Modulo:n="%";break;case ce.Lower:n="<";break;case ce.LowerEquals:n="<=";break;case ce.Bigger:n=">";break;case ce.BiggerEquals:n=">=";break;case ce.NullishCoalesce:n="??";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${n} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(n=>{t.print(e,es(n.key,this._escapeDollarInStrings,n.quoted)+":"),n.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,n){this.visitAllObjects(e=>e.visitExpression(this,t),e,t,n)}visitAllObjects(e,t,n,r){let s=!1;for(let i=0;i<t.length;i++)i>0&&(n.lineLength()>80?(n.print(null,r,!0),s||(n.incIndent(),n.incIndent(),s=!0)):n.print(null,r,!1)),e(t[i]);s&&(n.decIndent(),n.decIndent())}visitAllStatements(e,t){e.forEach(e=>e.visitStatement(this,t))}}function es(e,t,n=!0){if(null==e)return null;const r=e.replace(Gr,(...e)=>"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]);return n||!Zr.test(r)?`'${r}'`:r}function ts(e){let t="";for(let n=0;n<e;n++)t+="  ";return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ns(e,t){if(0===t)return xt(e);const n=[];for(let e=0;e<t;e++)n.push(ne);return xt(e,void 0,n)}function rs(e){return"@"+e}function ss(e,t){const n=es(t,!1,!1);return n!==t?`${e}[${n}]`:`${e}.${t}`}function is(e,t){return`animation_${e}_${t}`}function os(e,t){const n=new Le({name:e,moduleName:null}),r=new ze(ce.Identical,new ve(n),kt("undefined")),s=new ze(ce.Or,r,n,void 0,void 0,!0);return new ze(ce.And,s,t)}function as(e){const t=new ye(e);return{value:t,type:t}}function ls(e,t){const n=Dt(e.map(e=>e.value));return t?It([],[new at(n)]):n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var cs,us;function ps(e){const t=Et("t");let n=null;const r=fs(e)?t:new ze(ce.Or,t,e.internalType);let s=null;null!==e.deps?"invalid"!==e.deps&&(s=new Se(r,hs(e.deps,e.target))):(n=Et(`ɵ${e.name}_BaseFactory`),s=n.callFn([r]));const i=[];let o=null;function a(e){const n=Et("r");i.push(n.set(Xe).toDeclStmt());const r=null!==s?n.set(s).toStmt():bt(Ut.invalidFactory).callFn([]).toStmt();return i.push(At(t,[r],[n.set(e).toStmt()])),n}if(fs(e)){const t=hs(e.delegateDeps,e.target);o=a(new(e.delegateType===cs.Class?Se:Ce)(e.delegate,t))}else o=function(e){return void 0!==e.expression}(e)?a(e.expression):s;if(null===o)i.push(bt(Ut.invalidFactory).callFn([]).toStmt());else if(null!==n){const t=bt(Ut.getInheritedFactory).callFn([e.internalType]),s=new ze(ce.Or,n,n.set(t));i.push(new at(s.callFn([r])))}else i.push(new at(o));let l=It([new He("t",ne)],i,re,void 0,e.name+"_Factory");return null!==n&&(l=It([],[new st(n.name),new at(l)]).callFn([],void 0,!0)),{expression:l,statements:[],type:ds(e)}}function ds(e){const t=null!==e.deps&&"invalid"!==e.deps?function(e){let t=!1;const n=e.map(e=>{const n=function(e){const t=[];null!==e.attributeNameType&&t.push({key:"attribute",value:e.attributeNameType,quoted:!1});e.optional&&t.push({key:"optional",value:kt(!0),quoted:!1});e.host&&t.push({key:"host",value:kt(!0),quoted:!1});e.self&&t.push({key:"self",value:kt(!0),quoted:!1});e.skipSelf&&t.push({key:"skipSelf",value:kt(!0),quoted:!1});return t.length>0?Tt(t):null}(e);return null!==n?(t=!0,n):kt(null)});return t?xt(Dt(n)):ae}(e.deps):ae;return xt(bt(Ut.FactoryDeclaration,[ns(e.type.type,e.typeArgumentCount),t]))}function hs(e,t){return e.map((e,n)=>function(e,t,n){if(null===e.token)return bt(Ut.invalidFactoryDep).callFn([kt(n)]);if(null===e.attributeNameType){const n=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0)|(t===us.Pipe?16:0);let r=0!==n||e.optional?kt(n):null;const s=[e.token];r&&s.push(r);return bt(function(e){switch(e){case us.Component:case us.Directive:case us.Pipe:return Ut.directiveInject;case us.NgModule:case us.Injectable:default:return Ut.inject}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t)).callFn(s)}return bt(Ut.injectAttribute).callFn([e.token])}(e,t,n))}function fs(e){return void 0!==e.delegateType}function ms(e,t){return{expression:e,isForwardRef:t}}function gs(e,t){let n=null;const r={name:e.name,type:e.type,internalType:e.internalType,typeArgumentCount:e.typeArgumentCount,deps:[],target:us.Injectable};if(void 0!==e.useClass){const s=e.useClass.expression.isEquivalent(e.internalType);let i=void 0;void 0!==e.deps&&(i=e.deps),n=void 0!==i?ps(Object.assign(Object.assign({},r),{delegate:e.useClass.expression,delegateDeps:i,delegateType:cs.Class})):s?ps(r):{statements:[],expression:ys(e.type.value,e.useClass.expression,t)}}else n=void 0!==e.useFactory?void 0!==e.deps?ps(Object.assign(Object.assign({},r),{delegate:e.useFactory,delegateDeps:e.deps||[],delegateType:cs.Function})):{statements:[],expression:It([],[new at(e.useFactory.callFn([]))])}:void 0!==e.useValue?ps(Object.assign(Object.assign({},r),{expression:e.useValue.expression})):void 0!==e.useExisting?ps(Object.assign(Object.assign({},r),{expression:bt(Ut.inject).callFn([e.useExisting.expression])})):{statements:[],expression:ys(e.type.value,e.internalType,t)};const s=e.internalType,i=new Vr;i.set("token",s),i.set("factory",n.expression),null!==e.providedIn.expression.value&&i.set("providedIn",e.providedIn.isForwardRef?Ur(e.providedIn.expression):e.providedIn.expression);return{expression:bt(Ut.ɵɵdefineInjectable).callFn([i.toLiteralMap()],void 0,!0),type:vs(e),statements:n.statements}}function vs(e){return new J(bt(Ut.InjectableDeclaration,[ns(e.type.type,e.typeArgumentCount)]))}function ys(e,t,n){if(e.node===t.node)return t.prop("ɵfac");if(!n)return _s(t);return _s(bt(Ut.resolveForwardRef).callFn([t]))}function _s(e){return It([new He("t",ne)],[new at(e.callMethod("ɵfac",[Et("t")]))])}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ws(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let n=0;n<t.length;n+=1)if("string"!=typeof t[n])throw new Error(`Expected '${e}' to be an array of strings.`)}}!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"}(cs||(cs={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(us||(us={}));const Es=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function bs(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){const e=t[0],n=t[1];Es.forEach(t=>{if(t.test(e)||t.test(n))throw new Error(`['${e}', '${n}'] contains unusable interpolation symbol.`)})}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Cs{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(bs("interpolation",e),new Cs(e[0],e[1])):xs}}const xs=new Cs("{{","}}");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ss{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}}class Ds{constructor(){this.cache=new Map}get(e,t,n){const r=`"${e}".${t}${(n=n||[]).length?"."+n.join("."):""}`;let s=this.cache.get(r);return s||(s=new Ss(e,t,n),this.cache.set(r,s)),s}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ts=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Is(e){return e.replace(/\W/g,"_")}let As=0;function Ms(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof Ss)return t.name;if(t.__anonymousType)return t.__anonymousType;if(t.__forward_ref__)return"__forward_ref__";let n=an(t);return n.indexOf("(")>=0?(n="anonymous_"+As++,t.__anonymousType=n):n=Is(n),n}function ks(e){const t=e.reference;return t instanceof Ss?t.filePath:"./"+an(t)}function Ps(e,t){return`View_${Ms({reference:e})}_${t}`}function Ns(e){return"RenderType_"+Ms({reference:e})}function Os(e){return Ms({reference:e})+"NgFactory"}var Rs;function Fs(e){return null!=e.value?Is(e.value):Ms(e.identifier)}function Ls(e){return null!=e.identifier?e.identifier.reference:e.value}!function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(Rs||(Rs={}));class js{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=qs(t),this.styleUrls=qs(n)}}class Vs{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:s,styleUrls:i,externalStylesheets:o,animations:a,ngContentSelectors:l,interpolation:c,isInline:u,preserveWhitespaces:p}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=qs(s),this.styleUrls=qs(i),this.externalStylesheets=qs(o),this.animations=a?Ws(a):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=u,this.preserveWhitespaces=p}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}class Bs{constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:s,changeDetection:i,inputs:o,outputs:a,hostListeners:l,hostProperties:c,hostAttributes:u,providers:p,viewProviders:d,queries:h,guards:f,viewQueries:m,entryComponents:g,template:v,componentViewType:y,rendererType:_,componentFactory:w}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=s,this.changeDetection=i,this.inputs=o,this.outputs=a,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=u,this.providers=qs(p),this.viewProviders=qs(d),this.queries=qs(h),this.guards=f,this.viewQueries=qs(m),this.entryComponents=qs(g),this.template=v,this.componentViewType=y,this.rendererType=_,this.componentFactory=w}static create({isHost:e,type:t,isComponent:n,selector:r,exportAs:s,changeDetection:i,inputs:o,outputs:a,host:l,providers:c,viewProviders:u,queries:p,guards:d,viewQueries:h,entryComponents:f,template:m,componentViewType:g,rendererType:v,componentFactory:y}){const _={},w={},E={};null!=l&&Object.keys(l).forEach(e=>{const t=l[e],n=e.match(Ts);null===n?E[e]=t:null!=n[1]?w[n[1]]=t:null!=n[2]&&(_[n[2]]=t)});const b={};null!=o&&o.forEach(e=>{const t=zt(e,[e,e]);b[t[0]]=t[1]});const C={};return null!=a&&a.forEach(e=>{const t=zt(e,[e,e]);C[t[0]]=t[1]}),new Bs({isHost:e,type:t,isComponent:!!n,selector:r,exportAs:s,changeDetection:i,inputs:b,outputs:C,hostListeners:_,hostProperties:w,hostAttributes:E,providers:c,viewProviders:u,queries:p,guards:d,viewQueries:h,entryComponents:f,template:m,componentViewType:g,rendererType:v,componentFactory:y})}toSummary(){return{summaryKind:Rs.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}class $s{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:Rs.Pipe,type:this.type,name:this.name,pure:this.pure}}}class Hs{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:s,exportedPipes:i,entryComponents:o,bootstrapComponents:a,importedModules:l,exportedModules:c,schemas:u,transitiveModule:p,id:d}){this.type=e||null,this.declaredDirectives=qs(n),this.exportedDirectives=qs(r),this.declaredPipes=qs(s),this.exportedPipes=qs(i),this.providers=qs(t),this.entryComponents=qs(o),this.bootstrapComponents=qs(a),this.importedModules=qs(l),this.exportedModules=qs(c),this.schemas=qs(u),this.id=d||null,this.transitiveModule=p||null}toSummary(){const e=this.transitiveModule;return{summaryKind:Rs.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}class Us{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}function qs(e){return e||[]}class zs{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:s,deps:i,multi:o}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=s||null,this.dependencies=i||null,this.multi=!!o}}function Ws(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?Ws(t):t;return e.concat(n)},[])}function Gs(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Zs(e,t,n){let r;return r=n.isInline?t.type.reference instanceof Ss?`${t.type.reference.filePath}.${t.type.reference.name}.html`:`${Ms(e)}/${Ms(t.type)}.html`:n.templateUrl,t.type.reference instanceof Ss?r:Gs(r)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Ks='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class Qs extends Jr{constructor(){super(!1)}visitDeclareClassStmt(e,t){return t.pushClass(e),this._visitClassConstructor(e,t),null!=e.parent&&(t.print(e,e.name+".prototype = Object.create("),e.parent.visitExpression(this,t),t.println(e,".prototype);")),e.getters.forEach(n=>this._visitClassGetter(e,n,t)),e.methods.forEach(n=>this._visitClassMethod(e,n,t)),t.popClass(),null}_visitClassConstructor(e,t){t.print(e,`function ${e.name}(`),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&e.constructorMethod.body.length>0&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")}_visitClassGetter(e,t,n){n.println(e,`Object.defineProperty(${e.name}.prototype, '${t.name}', { get: function() {`),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"}});")}_visitClassMethod(e,t,n){n.print(e,`${e.name}.prototype.${t.name} = function(`),this._visitParams(t.params,n),n.println(e,") {"),n.incIndent(),t.body.length>0&&(n.println(e,"var self = this;"),this.visitAllStatements(t.body,n)),n.decIndent(),n.println(e,"};")}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitReadVarExpr(e,t){if(e.builtin===ue.This)t.print(e,"self");else{if(e.builtin===ue.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");super.visitReadVarExpr(e,t)}return null}visitDeclareVarStmt(e,t){return t.print(e,"var "+e.name),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitCastExpr(e,t){return e.value.visitExpression(this,t),null}visitInvokeFunctionExpr(e,t){const n=e.fn;return n instanceof ge&&n.builtin===ue.Super?(t.currentClass.parent.visitExpression(this,t),t.print(e,".call(this"),e.args.length>0&&(t.print(e,", "),this.visitAllExpressions(e.args,t,",")),t.print(e,")")):super.visitInvokeFunctionExpr(e,t),null}visitTaggedTemplateExpr(e,t){const n=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${Ks}(`),t.print(e,`[${n.map(e=>es(e.text,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>es(e.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Kr.name}) {`),t.incIndent();const n=[Qr.set(Kr.prop("stack")).toDeclStmt(null,[et.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${Ks}(`);const n=[e.serializeI18nHead()];for(let t=1;t<e.messageParts.length;t++)n.push(e.serializeI18nTemplatePart(t));return t.print(e,`[${n.map(e=>es(e.cooked,!1)).join(", ")}], `),t.print(e,`[${n.map(e=>es(e.raw,!1)).join(", ")}])`),e.expressions.forEach(n=>{t.print(e,", "),n.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(e=>t.print(null,e.name),e,t,",")}getBuiltinMethodName(e){let t;switch(e){case pe.ConcatArray:t="concat";break;case pe.SubscribeObservable:t="subscribe";break;case pe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let Ys;function Xs(e){var t;return(null===(t=function(){if(void 0===Ys&&(Ys=null,dn.trustedTypes))try{Ys=dn.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:e=>e})}catch(e){}return Ys}())||void 0===t?void 0:t.createScript(e))||e}function Js(...e){if(!dn.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=dn.eval(Xs(t));return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(dn))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class ei{evaluateStatements(e,t,n,r){const s=new ti(n),i=Xr.createRoot();return t.length>0&&!t[0].isEquivalent(kt("use strict").toStmt())&&(t=[kt("use strict").toStmt(),...t]),s.visitAllStatements(t,i),s.createReturnStmt(i),this.evaluateCode(e,i,s.getArgs(),r)}evaluateCode(e,t,n,r){let s=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const i=[],o=[];for(const e in n)o.push(n[e]),i.push(e);if(r){const n=Js(...i.concat("return null;")).toString(),r=n.slice(0,n.indexOf("return null;")).split("\n").length-1;s+="\n"+t.toSourceMapGenerator(e,r).toJsComment()}const a=Js(...i.concat(s));return this.executeFunction(a,o)}executeFunction(e,t){return e(...t)}}class ti extends Qs{constructor(e){super(),this.reflector=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new at(new Qe(this._evalExportedVars.map(e=>new Ke(e,Et(e),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}visitDeclareClassStmt(e,t){return e.hasModifier(et.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareClassStmt(e,t)}_emitReferenceToExternal(e,t,n){let r=this._evalArgValues.indexOf(t);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(t);const e=Ms({reference:t})||"val";this._evalArgNames.push(`jit_${e}_${r}`)}n.print(e,this._evalArgNames[r])}}function ni(e){return e>=9&&e<=32||160==e}function ri(e){return 48<=e&&e<=57}function si(e){return e>=97&&e<=122||e>=65&&e<=90}function ii(e){return 10===e||13===e}function oi(e){return 48<=e&&e<=55}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class ai{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,n=t.length;let r=this.offset,s=this.line,i=this.col;for(;r>0&&e<0;){r--,e++;if(10==t.charCodeAt(r)){s--;const e=t.substr(0,r-1).lastIndexOf(String.fromCharCode(10));i=e>0?r-e:r}else i--}for(;r<n&&e>0;){const n=t.charCodeAt(r);r++,e--,10==n?(s++,i=0):i++}return new ai(this.file,r,s,i)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let s=r,i=0,o=0;for(;i<e&&r>0&&(r--,i++,"\n"!=n[r]||++o!=t););for(i=0,o=0;i<e&&s<n.length-1&&(s++,i++,"\n"!=n[s]||++o!=t););return{before:n.substring(r,this.offset),after:n.substring(this.offset,s+1)}}return null}}class li{constructor(e,t){this.content=e,this.url=t}}class ci{constructor(e,t,n=e,r=null){this.start=e,this.end=t,this.fullStart=n,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var ui,pi;!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(ui||(ui={}));class di{constructor(e,t,n=ui.ERROR){this.span=e,this.msg=t,this.level=n}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${ui[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?", "+this.span.details:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function hi(e){const t=new Vr;null!==e.providers&&t.set("providers",e.providers),e.imports.length>0&&t.set("imports",Dt(e.imports));return{expression:bt(Ut.defineInjector).callFn([t.toLiteralMap()],void 0,!0),type:fi(e),statements:[]}}function fi(e){return new J(bt(Ut.InjectorDeclaration,[new J(e.type.type)]))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class mi{constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}parameters(e){throw new Error("Not implemented.")}annotations(e){throw new Error("Not implemented.")}shallowAnnotations(e){throw new Error("Not implemented.")}tryAnnotations(e){throw new Error("Not implemented.")}propMetadata(e){throw new Error("Not implemented.")}hasLifecycleHook(e,t){throw new Error("Not implemented.")}guards(e){throw new Error("Not implemented.")}componentModuleUrl(e,t){throw new Error("Not implemented.")}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function gi(e){const{internalType:t,bootstrap:n,declarations:r,imports:s,exports:i,schemas:o,containsForwardDecls:a,emitInline:l,id:c}=e,u=[],p=new Vr;if(p.set("type",t),n.length>0&&p.set("bootstrap",ls(n,a)),l)r.length>0&&p.set("declarations",ls(r,a)),s.length>0&&p.set("imports",ls(s,a)),i.length>0&&p.set("exports",ls(i,a));else{const t=function(e){const{adjacentType:t,declarations:n,imports:r,exports:s,containsForwardDecls:i}=e,o=new Vr;n.length>0&&o.set("declarations",ls(n,i));r.length>0&&o.set("imports",ls(r,i));s.length>0&&o.set("exports",ls(s,i));if(0===Object.keys(o.values).length)return null;const a=(c=new Ce(bt(Ut.setNgModuleScope),[t,o.toLiteralMap()]),os("ngJitMode",c)),l=new Ue([],[a.toStmt()]);var c;return new Ce(l,[]).toStmt()}(e);null!==t&&u.push(t)}null!==o&&o.length>0&&p.set("schemas",Dt(o.map(e=>e.value))),null!==c&&p.set("id",c);return{expression:bt(Ut.defineNgModule).callFn([p.toLiteralMap()],void 0,!0),type:vi(e),statements:u}}function vi({type:e,declarations:t,imports:n,exports:r}){return new J(bt(Ut.NgModuleDeclaration,[new J(e.type),yi(t),yi(n),yi(r)]))}function yi(e){const t=e.map(e=>St(e.type));return e.length>0?xt(Dt(t)):ae}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function _i(e){const t=[];t.push({key:"name",value:kt(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type.value,quoted:!1}),t.push({key:"pure",value:kt(e.pure),quoted:!1});return{expression:bt(Ut.definePipe).callFn([Tt(t)],void 0,!0),type:wi(e),statements:[]}}function wi(e){return new J(bt(Ut.PipeDeclaration,[ns(e.type.type,e.typeArgumentCount),new J(new De(e.pipeName))]))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ei{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message=`Parser Error: ${e} ${n} [${t}] in ${r}`}}class bi{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new Ki(e+this.start,e+this.end)}}class Ci{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class xi extends Ci{constructor(e,t,n){super(e,t),this.nameSpan=n}}class Si extends Ci{constructor(e,t,n,r,s){super(e,t),this.prefix=n,this.uninterpretedExpression=r,this.location=s}visit(e,t=null){return e.visitQuote(this,t)}toString(){return"Quote"}}class Di extends Ci{visit(e,t=null){}}class Ti extends Ci{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class Ii extends Ti{visit(e,t=null){var n;return null===(n=e.visitThisReceiver)||void 0===n?void 0:n.call(e,this,t)}}class Ai extends Ci{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitChain(this,t)}}class Mi extends Ci{constructor(e,t,n,r,s){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=s}visit(e,t=null){return e.visitConditional(this,t)}}class ki extends xi{constructor(e,t,n,r,s){super(e,t,n),this.receiver=r,this.name=s}visit(e,t=null){return e.visitPropertyRead(this,t)}}class Pi extends xi{constructor(e,t,n,r,s,i){super(e,t,n),this.receiver=r,this.name=s,this.value=i}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class Ni extends xi{constructor(e,t,n,r,s){super(e,t,n),this.receiver=r,this.name=s}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class Oi extends Ci{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e,t=null){return e.visitKeyedRead(this,t)}}class Ri extends Ci{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}class Fi extends Ci{constructor(e,t,n,r,s){super(e,t),this.receiver=n,this.key=r,this.value=s}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class Li extends xi{constructor(e,t,n,r,s,i){super(e,t,i),this.exp=n,this.name=r,this.args=s}visit(e,t=null){return e.visitPipe(this,t)}}class ji extends Ci{constructor(e,t,n){super(e,t),this.value=n}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class Vi extends Ci{constructor(e,t,n){super(e,t),this.expressions=n}visit(e,t=null){return e.visitLiteralArray(this,t)}}class Bi extends Ci{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e,t=null){return e.visitLiteralMap(this,t)}}class $i extends Ci{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e,t=null){return e.visitInterpolation(this,t)}}class Hi extends Ci{constructor(e,t,n,r,s){super(e,t),this.operation=n,this.left=r,this.right=s}visit(e,t=null){return e.visitBinary(this,t)}}class Ui extends Hi{constructor(e,t,n,r,s,i,o){super(e,t,s,i,o),this.operator=n,this.expr=r}static createMinus(e,t,n){return new Ui(e,t,"-",n,"-",new ji(e,t,0),n)}static createPlus(e,t,n){return new Ui(e,t,"+",n,"-",n,new ji(e,t,0))}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class qi extends Ci{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitPrefixNot(this,t)}}class zi extends Ci{constructor(e,t,n){super(e,t),this.expression=n}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class Wi extends xi{constructor(e,t,n,r,s,i,o){super(e,t,n),this.receiver=r,this.name=s,this.args=i,this.argumentSpan=o}visit(e,t=null){return e.visitMethodCall(this,t)}}class Gi extends xi{constructor(e,t,n,r,s,i,o){super(e,t,n),this.receiver=r,this.name=s,this.args=i,this.argumentSpan=o}visit(e,t=null){return e.visitSafeMethodCall(this,t)}}class Zi extends Ci{constructor(e,t,n,r){super(e,t),this.target=n,this.args=r}visit(e,t=null){return e.visitFunctionCall(this,t)}}class Ki{constructor(e,t){this.start=e,this.end=t}}class Qi extends Ci{constructor(e,t,n,r,s){super(new bi(0,null===t?0:t.length),new Ki(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=s}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class Yi{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class Xi{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class Ji{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitQuote(e,t){}visitAll(e,t){for(const n of e)this.visit(n,t)}}class eo{constructor(e,t,n,r,s,i){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=s,this.valueSpan=i,this.isLiteral=this.type===pi.LITERAL_ATTR,this.isAnimation=this.type===pi.ANIMATION}}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(pi||(pi={}));class to{constructor(e,t,n,r,s,i,o){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=s,this.handlerSpan=i,this.keySpan=o}}class no{constructor(e,t,n,r,s){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=s}}class ro{constructor(e,t,n,r,s,i,o,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.keySpan=o,this.valueSpan=a}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const so="@angular/core";class io{}function oo(e){return{identifier:{reference:e}}}function ao(e,t){return oo(e.resolveExternalReference(t))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */io.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:so},io.ElementRef={name:"ElementRef",moduleName:so},io.NgModuleRef={name:"NgModuleRef",moduleName:so},io.ViewContainerRef={name:"ViewContainerRef",moduleName:so},io.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:so},io.QueryList={name:"QueryList",moduleName:so},io.TemplateRef={name:"TemplateRef",moduleName:so},io.Renderer2={name:"Renderer2",moduleName:so},io.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:so},io.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:so},io.ComponentFactory={name:"ComponentFactory",moduleName:so},io.ComponentRef={name:"ComponentRef",moduleName:so},io.NgModuleFactory={name:"NgModuleFactory",moduleName:so},io.createModuleFactory={name:"ɵcmf",moduleName:so},io.moduleDef={name:"ɵmod",moduleName:so},io.moduleProviderDef={name:"ɵmpd",moduleName:so},io.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:so},io.inject={name:"ɵɵinject",moduleName:so},io.directiveInject={name:"ɵɵdirectiveInject",moduleName:so},io.INJECTOR={name:"INJECTOR",moduleName:so},io.Injector={name:"Injector",moduleName:so},io.ViewEncapsulation={name:"ViewEncapsulation",moduleName:so},io.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:so},io.SecurityContext={name:"SecurityContext",moduleName:so},io.LOCALE_ID={name:"LOCALE_ID",moduleName:so},io.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:so},io.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:so},io.interpolate={name:"ɵinterpolate",moduleName:so},io.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:so},io.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:so},io.Renderer={name:"Renderer",moduleName:so},io.viewDef={name:"ɵvid",moduleName:so},io.elementDef={name:"ɵeld",moduleName:so},io.anchorDef={name:"ɵand",moduleName:so},io.textDef={name:"ɵted",moduleName:so},io.directiveDef={name:"ɵdid",moduleName:so},io.providerDef={name:"ɵprd",moduleName:so},io.queryDef={name:"ɵqud",moduleName:so},io.pureArrayDef={name:"ɵpad",moduleName:so},io.pureObjectDef={name:"ɵpod",moduleName:so},io.purePipeDef={name:"ɵppd",moduleName:so},io.pipeDef={name:"ɵpid",moduleName:so},io.nodeValue={name:"ɵnov",moduleName:so},io.ngContentDef={name:"ɵncd",moduleName:so},io.unwrapValue={name:"ɵunv",moduleName:so},io.createRendererType2={name:"ɵcrt",moduleName:so},io.RendererType2={name:"RendererType2",moduleName:so},io.ViewDefinition={name:"ɵViewDefinition",moduleName:so},io.createComponentFactory={name:"ɵccf",moduleName:so};class lo{}lo.event=Et("$event");class co{constructor(e,t){this.stmts=e,this.allowDefault=t,this.render3Stmts=e.map(e=>{if(e instanceof st&&e.name==t.name&&e.value instanceof ze){const t=e.value.lhs;return new at(t.value)}return e})}}function uo(e,t,n,r,s,i,o,a){e||(e=new xo(a));const l=po({createLiteralArrayConverter:e=>e=>Dt(e),createLiteralMapConverter:e=>t=>Tt(e.map((e,n)=>({key:e.key,value:t[n],quoted:e.quoted}))),createPipeConverter:e=>{throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+e)}},n),c=new Co(e,t,r,s,i,o),u=[];!function e(t,n){Array.isArray(t)?t.forEach(t=>e(t,n)):n.push(t)}(l.visit(c,mo.Statement),u),function(e,t,n){for(let r=e-1;r>=0;r--)n.unshift(_o(t,r))}(c.temporaryCount,r,u),c.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const p=u.length-1;let d=null;if(p>=0){const e=function(e){if(e instanceof ot)return e.expr;if(e instanceof at)return e.value;return null}(u[p]);e&&(d=function(e){return Et("pd_"+e)}(r),u[p]=d.set(e.cast(ne).notIdentical(kt(!1))).toDeclStmt(null,[et.Final]))}return new co(u,d)}function po(e,t){return function(e,t){const n=new bo(e);return t.visit(n)}(e,t)}class ho{constructor(e,t){this.stmts=e,this.currValExpr=t}}var fo,mo;function go(e,t,n,r,s,i){e||(e=new xo);const o=new Co(e,t,r,i),a=n.visit(o,mo.Expression),l=vo(o,r);if(o.usesImplicitReceiver&&e.notifyImplicitReceiverUse(),0===o.temporaryCount&&s==fo.TrySimple)return new ho([],a);if(s===fo.Expression)return new ho(l,a);const c=function(e){return Et("currVal_"+e)}(r);return l.push(c.set(a).toDeclStmt(ne,[et.Final])),new ho(l,c)}function vo(e,t){const n=[];for(let r=0;r<e.temporaryCount;r++)n.push(_o(t,r));return n}function yo(e,t){return`tmp_${e}_${t}`}function _o(e,t){return new st(yo(e,t))}function wo(e,t){if(e!==mo.Expression)throw new Error("Expected an expression, but saw "+t)}function Eo(e,t){return e===mo.Statement?t.toStmt():t}!function(e){e[e.General=0]="General",e[e.TrySimple=1]="TrySimple",e[e.Expression=2]="Expression"}(fo||(fo={})),function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}(mo||(mo={}));class bo extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new $i(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new ji(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new ki(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new Pi(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new Ni(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new Wi(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitSafeMethodCall(e,t){return new Gi(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitFunctionCall(e,t){return new Zi(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new Vi(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new Bi(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return Ui.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return Ui.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator "+e.operator)}}visitBinary(e,t){return new Hi(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new qi(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new zi(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new Mi(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new Li(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new Oi(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new Fi(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new Ai(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new Si(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}visitSafeKeyedRead(e,t){return new Ri(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}}{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const n=[e.exp,...e.args].map(e=>e.visit(this,t));return new So(e.span,e.sourceSpan,n,this._converterFactory.createPipeConverter(e.name,n.length))}visitLiteralArray(e,t){const n=e.expressions.map(e=>e.visit(this,t));return new So(e.span,e.sourceSpan,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const n=e.values.map(e=>e.visit(this,t));return new So(e.span,e.sourceSpan,n,this._converterFactory.createLiteralMapConverter(e.keys))}}class Co{constructor(e,t,n,r,s,i){this._localResolver=e,this._implicitReceiver=t,this.bindingId=n,this.interpolationFunction=r,this.baseSourceSpan=s,this.implicitReceiverAccesses=i,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let n;switch(e.operator){case"+":n=le.Plus;break;case"-":n=le.Minus;break;default:throw new Error("Unsupported operator "+e.operator)}return Eo(t,new qe(n,this._visit(e.expr,mo.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let n;switch(e.operation){case"+":n=ce.Plus;break;case"-":n=ce.Minus;break;case"*":n=ce.Multiply;break;case"/":n=ce.Divide;break;case"%":n=ce.Modulo;break;case"&&":n=ce.And;break;case"||":n=ce.Or;break;case"==":n=ce.Equals;break;case"!=":n=ce.NotEquals;break;case"===":n=ce.Identical;break;case"!==":n=ce.NotIdentical;break;case"<":n=ce.Lower;break;case">":n=ce.Bigger;break;case"<=":n=ce.LowerEquals;break;case">=":n=ce.BiggerEquals;break;case"??":return this.convertNullishCoalesce(e,t);default:throw new Error("Unsupported operation "+e.operation)}return Eo(t,new ze(n,this._visit(e.left,mo.Expression),this._visit(e.right,mo.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function(e,t){if(e!==mo.Statement)throw new Error("Expected a statement, but saw "+t)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return Eo(t,this._visit(e.condition,mo.Expression).conditional(this._visit(e.trueExp,mo.Expression),this._visit(e.falseExp,mo.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+e.name)}visitFunctionCall(e,t){const n=this.visitAll(e.args,mo.Expression);let r;return r=e instanceof So?e.converter(n):this._visit(e.target,mo.Expression).callFn(n,this.convertSourceSpan(e.span)),Eo(t,r)}visitImplicitReceiver(e,t){return wo(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,t){return this.visitImplicitReceiver(e,t)}visitInterpolation(e,t){wo(t,e);const n=[kt(e.expressions.length)];for(let t=0;t<e.strings.length-1;t++)n.push(kt(e.strings[t])),n.push(this._visit(e.expressions[t],mo.Expression));return n.push(kt(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(n):e.expressions.length<=9?bt(io.inlineInterpolate).callFn(n):bt(io.interpolate).callFn([n[0],Dt(n.slice(1),void 0,this.convertSourceSpan(e.span))])}visitKeyedRead(e,t){const n=this.leftMostSafeNode(e);return n?this.convertSafeAccess(e,n,t):Eo(t,this._visit(e.receiver,mo.Expression).key(this._visit(e.key,mo.Expression)))}visitKeyedWrite(e,t){const n=this._visit(e.receiver,mo.Expression),r=this._visit(e.key,mo.Expression),s=this._visit(e.value,mo.Expression);return n===this._implicitReceiver&&this._localResolver.maybeRestoreView(),Eo(t,n.key(r).set(s))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const n=null===e.value||void 0===e.value||!0===e.value||!0===e.value?re:void 0;return Eo(t,kt(e.value,n,this.convertSourceSpan(e.span)))}_getLocal(e,t){var n;return(null===(n=this._localResolver.globals)||void 0===n?void 0:n.has(e))&&t instanceof Ii?null:this._localResolver.getLocal(e)}visitMethodCall(e,t){if(e.receiver instanceof Ti&&!(e.receiver instanceof Ii)&&"$any"===e.name){const t=this.visitAll(e.args,mo.Expression);if(1!=t.length)throw new Error("Invalid call to $any, expected 1 argument but received "+(t.length||"none"));return t[0].cast(ne,this.convertSourceSpan(e.span))}const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{const n=this.visitAll(e.args,mo.Expression),r=this.usesImplicitReceiver;let s=null;const i=this._visit(e.receiver,mo.Expression);if(i===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);t&&(this.usesImplicitReceiver=r,s=t.callFn(n),this.addImplicitReceiverAccess(e.name))}return null==s&&(s=i.callMethod(e.name,n,this.convertSourceSpan(e.span))),Eo(t,s)}}visitPrefixNot(e,t){return Eo(t,(n=this._visit(e.expression,mo.Expression),new Ve(n,r)));var n,r}visitNonNullAssert(e,t){return Eo(t,(n=this._visit(e.expression,mo.Expression),new Be(n,r)));var n,r}visitPropertyRead(e,t){const n=this.leftMostSafeNode(e);if(n)return this.convertSafeAccess(e,n,t);{let n=null;const r=this.usesImplicitReceiver,s=this._visit(e.receiver,mo.Expression);return s===this._implicitReceiver&&(n=this._getLocal(e.name,e.receiver),n&&(this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name))),null==n&&(n=s.prop(e.name)),Eo(t,n)}}visitPropertyWrite(e,t){const n=this._visit(e.receiver,mo.Expression),r=this.usesImplicitReceiver;let s=null;if(n===this._implicitReceiver){const t=this._getLocal(e.name,e.receiver);if(t){if(!(t instanceof We)){const t=e.name,n=e.value instanceof ki?e.value.name:void 0;throw new Error(`Cannot assign value "${n}" to template variable "${t}". Template variables are read-only.`)}s=t,this.usesImplicitReceiver=r,this.addImplicitReceiverAccess(e.name)}}return null===s&&(s=n.prop(e.name)),Eo(t,s.set(this._visit(e.value,mo.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeMethodCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeKeyedRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map(e=>this._visit(e,t))}visitQuote(e,t){throw new Error(`Quotes are not supported for evaluation!\n        Statement: ${e.uninterpretedExpression} located at ${e.location}`)}_visit(e,t){const n=this._resultMap.get(e);return n||(this._nodeMap.get(e)||e).visit(this,t)}convertSafeAccess(e,t,n){let r=this._visit(t.receiver,mo.Expression),s=void 0;this.needsTemporaryInSafeAccess(t.receiver)&&(s=this.allocateTemporary(),r=s.set(r),this._resultMap.set(t.receiver,s));const i=r.isBlank();t instanceof Gi?this._nodeMap.set(t,new Wi(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name,t.args,t.argumentSpan)):t instanceof Ri?this._nodeMap.set(t,new Oi(t.span,t.sourceSpan,t.receiver,t.key)):this._nodeMap.set(t,new ki(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const o=this._visit(e,mo.Expression);return this._nodeMap.delete(t),s&&this.releaseTemporary(s),Eo(n,i.conditional(Xe,o))}convertNullishCoalesce(e,t){const n=this._visit(e.left,mo.Expression),r=this._visit(e.right,mo.Expression),s=this.allocateTemporary();return this.releaseTemporary(s),Eo(t,s.set(n).notIdentical(Xe).and(s.notIdentical(kt(void 0))).conditional(s,r))}leftMostSafeNode(e){const t=(e,t)=>(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary:e=>null,visitBinary:e=>null,visitChain:e=>null,visitConditional:e=>null,visitFunctionCall:e=>null,visitImplicitReceiver:e=>null,visitThisReceiver:e=>null,visitInterpolation:e=>null,visitKeyedRead(e){return t(this,e.receiver)},visitKeyedWrite:e=>null,visitLiteralArray:e=>null,visitLiteralMap:e=>null,visitLiteralPrimitive:e=>null,visitMethodCall(e){return t(this,e.receiver)},visitPipe:e=>null,visitPrefixNot:e=>null,visitNonNullAssert:e=>null,visitPropertyRead(e){return t(this,e.receiver)},visitPropertyWrite:e=>null,visitQuote:e=>null,visitSafeMethodCall(e){return t(this,e.receiver)||e},visitSafePropertyRead(e){return t(this,e.receiver)||e},visitSafeKeyedRead(e){return t(this,e.receiver)||e}})}needsTemporaryInSafeAccess(e){const t=(e,t)=>t&&(this._nodeMap.get(t)||t).visit(e);return e.visit({visitUnary(e){return t(this,e.expr)},visitBinary(e){return t(this,e.left)||t(this,e.right)},visitChain:e=>!1,visitConditional(e){return t(this,e.condition)||t(this,e.trueExp)||t(this,e.falseExp)},visitFunctionCall:e=>!0,visitImplicitReceiver:e=>!1,visitThisReceiver:e=>!1,visitInterpolation(e){return((e,n)=>n.some(n=>t(e,n)))(this,e.expressions)},visitKeyedRead:e=>!1,visitKeyedWrite:e=>!1,visitLiteralArray:e=>!0,visitLiteralMap:e=>!0,visitLiteralPrimitive:e=>!1,visitMethodCall:e=>!0,visitPipe:e=>!0,visitPrefixNot(e){return t(this,e.expression)},visitNonNullAssert(e){return t(this,e.expression)},visitPropertyRead:e=>!1,visitPropertyWrite:e=>!1,visitQuote:e=>!1,visitSafeMethodCall:e=>!0,visitSafePropertyRead:e=>!1,visitSafeKeyedRead:e=>!1})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ge(yo(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=yo(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),n=this.baseSourceSpan.start.moveBy(e.end),r=this.baseSourceSpan.fullStart.moveBy(e.start);return new ci(t,n,r)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}class xo{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(e){return e===lo.event.name?lo.event:null}}class So extends Zi{constructor(e,t,n,r){super(e,t,null,n),this.converter=r}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Do{constructor(){this.strictStyling=!0}shimCssText(e,t,n=""){const r=e.match(Wo)||[];e=function(e){return e.replace(zo,"")}(e),e=this._insertDirectives(e);return[this._scopeCssText(e,t,n),...r].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(Io,(function(...e){return e[2]+"{"}))}_insertPolyfillRulesInCssText(e){return e.replace(Ao,(...e)=>{const t=e[0].replace(e[1],"").replace(e[2],"");return e[4]+t})}_scopeCssText(e,t,n){const r=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,n)),(e=e+"\n"+r).trim()}_extractUnscopedRulesFromCssText(e){let t,n="";for(Mo.lastIndex=0;null!==(t=Mo.exec(e));){n+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return n}_convertColonHost(e){return e.replace(Oo,(e,t,n)=>{if(t){const e=[],r=t.split(",").map(e=>e.trim());for(const t of r){if(!t)break;const r=Lo+t.replace(ko,"")+n;e.push(r)}return e.join(",")}return Lo+n})}_convertColonHostContext(e){return e.replace(Ro,e=>{var t;const n=[[]];let r;for(;r=Fo.exec(e);){const s=(null!==(t=r[1])&&void 0!==t?t:"").trim().split(",").map(e=>e.trim()).filter(e=>""!==e),i=n.length;ta(n,s.length);for(let e=0;e<s.length;e++)for(let t=0;t<i;t++)n[t+e*i].push(s[e]);e=r[2]}return n.map(t=>function(e,t){const n=Lo;Ho.lastIndex=0;const r=Ho.test(t);if(0===e.length)return n+t;const s=[e.pop()||""];for(;e.length>0;){const t=s.length,n=e.pop();for(let e=0;e<t;e++){const r=s[e];s[2*t+e]=r+" "+n,s[t+e]=n+" "+r,s[e]=n+r}}return s.map(e=>r?`${e}${t}`:`${e}${n}${t}, ${e} ${n}${t}`).join(",")}(t,e)).join(", ")})}_convertShadowDOMSelectors(e){return Vo.reduce((e,t)=>e.replace(t," "),e)}_scopeSelectors(e,t,n){return Xo(e,e=>{let r=e.selector,s=e.content;return"@"!==e.selector[0]?r=this._scopeSelector(e.selector,t,n,this.strictStyling):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@document")?s=this._scopeSelectors(e.content,t,n):(e.selector.startsWith("@font-face")||e.selector.startsWith("@page"))&&(s=this._stripScopingSelectors(e.content)),new Yo(r,s)})}_stripScopingSelectors(e){return Xo(e,e=>{const t=e.selector.replace(Bo," ").replace(jo," ");return new Yo(t,e.content)})}_scopeSelector(e,t,n,r){return e.split(",").map(e=>e.trim().split(Bo)).map(e=>{const[s,...i]=e;return[(e=>this._selectorNeedsScoping(e,t)?r?this._applyStrictSelectorScope(e,t,n):this._applySelectorScope(e,t,n):e)(s),...i].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+$o,"m")}_applySelectorScope(e,t,n){return this._applySimpleSelectorScope(e,t,n)}_applySimpleSelectorScope(e,t,n){if(Ho.lastIndex=0,Ho.test(e)){const r=this.strictStyling?`[${n}]`:t;return e.replace(jo,(e,t)=>t.replace(/([^:]*)(:*)(.*)/,(e,t,n,s)=>t+r+n+s)).replace(Ho,r+" ")}return t+" "+e}_applyStrictSelectorScope(e,t,n){const r="["+(t=t.replace(/\[is=([^\]]*)\]/g,(e,...t)=>t[0]))+"]",s=e=>{let s=e.trim();if(!s)return"";if(e.indexOf(Lo)>-1)s=this._applySimpleSelectorScope(e,t,n);else{const t=e.replace(Ho,"");if(t.length>0){const e=t.match(/([^:]*)(:*)(.*)/);e&&(s=e[1]+r+e[2]+e[3])}}return s},i=new To(e);let o,a="",l=0;const c=/( |>|\+|~(?!=))\s*/g;let u=!((e=i.content()).indexOf(Lo)>-1);for(;null!==(o=c.exec(e));){const t=o[1],n=e.slice(l,o.index).trim();u=u||n.indexOf(Lo)>-1;a+=`${u?s(n):n} ${t} `,l=c.lastIndex}const p=e.substring(l);return u=u||p.indexOf(Lo)>-1,a+=u?s(p):p,i.restore(a)}_insertPolyfillHostInCssText(e){return e.replace(qo,Po).replace(Uo,ko)}}class To{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(e,t,n)=>{const r=`__ph-${this.index}__`;return this.placeholders.push(n),this.index++,t+r})}restore(e){return e.replace(/__ph-(\d+)__/g,(e,t)=>this.placeholders[+t])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(e,t)=>{const n=`__ph-${this.index}__`;return this.placeholders.push(t),this.index++,n})}}const Io=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Ao=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Mo=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ko="-shadowcsshost",Po="-shadowcsscontext",No="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Oo=new RegExp(ko+No,"gim"),Ro=new RegExp(Po+No,"gim"),Fo=new RegExp(Po+No,"im"),Lo=ko+"-no-combinator",jo=/-shadowcsshost-no-combinator([^\s]*)/,Vo=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Bo=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,$o="([>\\s~+[.,{:][\\s\\S]*)?$",Ho=/-shadowcsshost/gim,Uo=/:host/gim,qo=/:host-context/gim,zo=/\/\*\s*[\s\S]*?\*\//g;const Wo=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const Go=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Zo=/%QUOTED%/g,Ko=new Map([["{","}"]]),Qo=new Map([['"','"'],["'","'"]]);class Yo{constructor(e,t){this.selector=e,this.content=t}}function Xo(e,t){const n=ea(e,Qo,"%QUOTED%"),r=ea(n.escapedString,Ko,"%BLOCK%");let s=0,i=0;return r.escapedString.replace(Go,(...e)=>{const n=e[2];let i="",o=e[4],a="";o&&o.startsWith("{%BLOCK%")&&(i=r.blocks[s++],o=o.substring("%BLOCK%".length+1),a="{");const l=t(new Yo(n,i));return`${e[1]}${l.selector}${e[3]}${a}${l.content}${o}`}).replace(Zo,()=>n.blocks[i++])}class Jo{constructor(e,t){this.escapedString=e,this.blocks=t}}function ea(e,t,n){const r=[],s=[];let i,o,a=0,l=0,c=-1;for(let u=0;u<e.length;u++){const p=e[u];"\\"===p?u++:p===o?(a--,0===a&&(s.push(e.substring(c,u)),r.push(n),l=u,c=-1,i=o=void 0)):p===i?a++:0===a&&t.has(p)&&(i=p,o=t.get(p),a=1,c=u+1,r.push(e.substring(l,c)))}return-1!==c?(s.push(e.substring(c)),r.push(n)):r.push(e.substring(l)),new Jo(r.join(""),s)}function ta(e,t){const n=e.length;for(let r=1;r<t;r++)for(let t=0;t<n;t++)e[t+r*n]=e[t].slice(0)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class na{constructor(e,t,n){this.name=e,this.moduleUrl=t,this.setValue=n}}class ra{constructor(e,t,n,r,s){this.outputCtx=e,this.stylesVar=t,this.dependencies=n,this.isShimmed=r,this.meta=s}}class sa{constructor(e){this._urlResolver=e,this._shadowCss=new Do}compileComponent(e,t){const n=t.template;return this._compileStyles(e,t,new js({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:ks(t.type)}),this.needsStyleShim(t),!0)}compileStyles(e,t,n,r=this.needsStyleShim(t)){return this._compileStyles(e,t,n,r,!1)}needsStyleShim(e){return e.template.encapsulation===T.Emulated}_compileStyles(e,t,n,r,s){const i=n.styles.map(e=>kt(this._shimIfNeeded(e,r))),o=[];n.styleUrls.forEach(t=>{const n=i.length;i.push(null),o.push(new na(ia(null),t,t=>i[n]=e.importExpr(t)))});const a=ia(s?t:null),l=Et(a).set(Dt(i,new ee(ne,[K.Const]))).toDeclStmt(null,s?[et.Final]:[et.Final,et.Exported]);return e.statements.push(l),new ra(e,a,o,r,n)}_shimIfNeeded(e,t){return t?this._shadowCss.shimCssText(e,"_ngcontent-%COMP%","_nghost-%COMP%"):e}}function ia(e){let t="styles";return e&&(t+="_"+Ms(e.type)),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class oa{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class aa extends oa{constructor(e,t,n){super(t,n),this.value=e}visit(e,t){return e.visitText(this,t)}}class la extends oa{constructor(e,t,n,r,s,i){super(r,i),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=s}visit(e,t){return e.visitExpansion(this,t)}}class ca{constructor(e,t,n,r,s){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=s}visit(e,t){return e.visitExpansionCase(this,t)}}class ua extends oa{constructor(e,t,n,r,s,i){super(n,i),this.name=e,this.value=t,this.keySpan=r,this.valueSpan=s}visit(e,t){return e.visitAttribute(this,t)}}class pa extends oa{constructor(e,t,n,r,s,i=null,o){super(r,o),this.name=e,this.attrs=t,this.children=n,this.startSourceSpan=s,this.endSourceSpan=i}visit(e,t){return e.visitElement(this,t)}}class da{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function ha(e,t,n=null){const r=[],s=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=s(e);t&&r.push(t)}),r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const fa={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"Ĳ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",filig:"ﬁ",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ĳ",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ŉ",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var ma;fa.ngsp="",function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",e[e.TEXT=5]="TEXT",e[e.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=7]="RAW_TEXT",e[e.COMMENT_START=8]="COMMENT_START",e[e.COMMENT_END=9]="COMMENT_END",e[e.CDATA_START=10]="CDATA_START",e[e.CDATA_END=11]="CDATA_END",e[e.ATTR_NAME=12]="ATTR_NAME",e[e.ATTR_QUOTE=13]="ATTR_QUOTE",e[e.ATTR_VALUE=14]="ATTR_VALUE",e[e.DOC_TYPE=15]="DOC_TYPE",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(ma||(ma={}));class ga{constructor(e,t,n){this.type=e,this.parts=t,this.sourceSpan=n}}class va extends di{constructor(e,t,n){super(n,e),this.tokenType=t}}class ya{constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}}function _a(e,t,n,r={}){const s=new Sa(new li(e,t),n,r);return s.tokenize(),new ya(function(e){const t=[];let n=void 0;for(let r=0;r<e.length;r++){const s=e[r];n&&n.type==ma.TEXT&&s.type==ma.TEXT?(n.parts[0]+=s.parts[0],n.sourceSpan.end=s.sourceSpan.end):(n=s,t.push(n))}return t}(s.tokens),s.errors,s.nonNormalizedIcuExpressions)}const wa=/\r\n?/g;function Ea(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function ba(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var Ca;!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Ca||(Ca={}));class xa{constructor(e){this.error=e}}class Sa{constructor(e,t,n){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||xs,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(e=>e.codePointAt(0)||0);const r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Pa(e,r):new ka(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._escapedString=n.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(wa,"\n")}tokenize(){for(;0!==this._cursor.peek();){const e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}this._beginToken(ma.EOF),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(125!==this._cursor.peek()&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._cursor.peek()){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new va("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new va("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const n=new ga(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const n=new va(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new xa(n)}handleError(e){if(e instanceof Na&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof xa))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return t=this._cursor.peek(),n=e,Ma(t)==Ma(n)&&(this._cursor.advance(),!0);var t,n}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Ea(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const n=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=n,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(Ea(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const n=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(n)<t)throw this._createError(Ea(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&38===this._cursor.peek())return this._decodeEntity();{const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){const e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(35)){const t=this._cursor.clone();if(this._attemptCharCodeUntilFn(Aa),59!=this._cursor.peek())return this._cursor=t,"&";const n=this._cursor.getChars(t);this._cursor.advance();const r=fa[n];if(!r)throw this._createError(ba(n),this._cursor.getSpan(e));return r}{const n=this._attemptCharCode(120)||this._attemptCharCode(88),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ia),59!=this._cursor.peek()){this._cursor.advance();const r=n?Ca.HEX:Ca.DEC;throw this._createError((t=r,`Unable to parse entity "${this._cursor.getChars(e)}" - ${t} character reference entities must end with ";"`),this._cursor.getSpan())}const s=this._cursor.getChars(r);this._cursor.advance();try{const e=parseInt(s,n?16:10);return String.fromCharCode(e)}catch(t){throw this._createError(ba(this._cursor.getChars(e)),this._cursor.getSpan())}}var t}_consumeRawText(e,t){this._beginToken(e?ma.ESCAPABLE_RAW_TEXT:ma.RAW_TEXT);const n=[];for(;;){const r=this._cursor.clone(),s=t();if(this._cursor=r,s)break;n.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(n.join(""))])}_consumeComment(e){this._beginToken(ma.COMMENT_START,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(ma.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(ma.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(ma.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(ma.DOC_TYPE,e);const t=this._cursor.clone();this._attemptUntilChar(62);const n=this._cursor.getChars(t);this._cursor.advance(),this._endToken([n])}_consumePrefixAndName(){const e=this._cursor.clone();let t="";for(;58!==this._cursor.peek()&&!(((n=this._cursor.peek())<97||122<n)&&(n<65||90<n)&&(n<48||n>57));)this._cursor.advance();var n;let r;58===this._cursor.peek()?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Ta,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,n,s;try{if(!si(this._cursor.peek()))throw this._createError(Ea(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],t=s.parts[1],this._attemptCharCodeUntilFn(Da);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(Da),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(Da),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Da);this._consumeTagOpenEnd()}catch(t){if(t instanceof xa)return void(s?s.type=ma.INCOMPLETE_TAG_OPEN:(this._beginToken(ma.TEXT,e),this._endToken(["<"])));throw t}const i=this._getTagDefinition(t).getContentType(n);i===r.RAW_TEXT?this._consumeRawTextWithTagClose(n,t,!1):i===r.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,t,!0)}_consumeRawTextWithTagClose(e,t,n){this._consumeRawText(n,()=>!!this._attemptCharCode(60)&&(!!this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(Da),!!this._attemptStrCaseInsensitive(t)&&(this._attemptCharCodeUntilFn(Da),this._attemptCharCode(62))))),this._beginToken(ma.TAG_CLOSE),this._requireCharCodeUntilFn(e=>62===e,3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(ma.TAG_OPEN_START,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(Ea(e),this._cursor.getSpan());this._beginToken(ma.ATTR_NAME);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){this._beginToken(ma.ATTR_QUOTE);const t=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(t)]),this._beginToken(ma.ATTR_VALUE);const n=[];for(;this._cursor.peek()!==t;)n.push(this._readChar(!0));e=n.join(""),this._endToken([this._processCarriageReturns(e)]),this._beginToken(ma.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(t)])}else{this._beginToken(ma.ATTR_VALUE);const t=this._cursor.clone();this._requireCharCodeUntilFn(Ta,1),e=this._cursor.getChars(t),this._endToken([this._processCarriageReturns(e)])}}_consumeTagOpenEnd(){const e=this._attemptCharCode(47)?ma.TAG_OPEN_END_VOID:ma.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){this._beginToken(ma.TAG_CLOSE,e),this._attemptCharCodeUntilFn(Da);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Da),this._requireCharCode(62),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(ma.EXPANSION_FORM_START),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(ma.EXPANSION_FORM_START),this._beginToken(ma.RAW_TEXT);const e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Da),this._beginToken(ma.RAW_TEXT);const n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Da)}_consumeExpansionCaseStart(){this._beginToken(ma.EXPANSION_CASE_VALUE);const e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(Da),this._beginToken(ma.EXPANSION_CASE_EXP_START),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Da),this._expansionCaseStack.push(ma.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(ma.EXPANSION_CASE_EXP_END),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Da),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(ma.EXPANSION_FORM_END),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){const e=this._cursor.clone();this._beginToken(ma.TEXT,e);const t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._inInterpolation=!1,this._endToken([this._processCarriageReturns(t.join(""))])}_isTextEnd(){if(this._isTagStart()||0===this._cursor.peek())return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(this.isExpansionFormStart())return!0;if(125===this._cursor.peek()&&this._isInExpansionCase())return!0}return!1}_isTagStart(){if(60===this._cursor.peek()){const e=this._cursor.clone();e.advance();const t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ma.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ma.EXPANSION_FORM_START}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function Da(e){return!ni(e)||0===e}function Ta(e){return ni(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function Ia(e){return 59==e||0==e||!function(e){return e>=97&&e<=102||e>=65&&e<=70||ri(e)}(e)}function Aa(e){return 59==e||0==e||!si(e)}function Ma(e){return e>=97&&e<=122?e-97+65:e}class ka{constructor(e,t){if(e instanceof ka){this.file=e.file,this.input=e.input,this.end=e.end;const t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new ka(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let n=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();const r=this.locationFromCursor(e),s=this.locationFromCursor(this),i=n!==e?this.locationFromCursor(n):r;return new ci(r,s,i)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Na('Unexpected character "EOF"',this);const t=this.charAt(e.offset);10===t?(e.line++,e.column=0):ii(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ai(e.file,e.state.offset,e.state.line,e.state.column)}}class Pa extends ka{constructor(e,t){e instanceof Pa?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Pa(this)}getChars(e){const t=e.clone();let n="";for(;t.internalState.offset<this.internalState.offset;)n+=String.fromCodePoint(t.peek()),t.advance();return n}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),123===e()){this.advanceState(this.internalState);const t=this.clone();let n=0;for(;125!==e();)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(t,n)}else{const e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);const e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(oi(e())){let t="",n=0,r=this.clone();for(;oi(e())&&n<3;)r=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(t,8),this.internalState=r.internalState}else ii(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const n=this.input.substr(e.internalState.offset,t),r=parseInt(n,16);if(isNaN(r))throw e.state=e.internalState,new Na("Invalid hexadecimal escape sequence",e);return r}}class Na{constructor(e,t){this.msg=e,this.cursor=t}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Oa extends di{constructor(e,t,n){super(t,n),this.elementName=e}static create(e,t,n){return new Oa(e,t,n)}}class Ra{constructor(e,t){this.rootNodes=e,this.errors=t}}class Fa{constructor(e){this.getTagDefinition=e}parse(e,t,n){const r=_a(e,t,this.getTagDefinition,n),s=new La(r.tokens,this.getTagDefinition);return s.build(),new Ra(s.rootNodes,r.errors.concat(s.errors))}}class La{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==ma.EOF;)this._peek.type===ma.TAG_OPEN_START||this._peek.type===ma.INCOMPLETE_TAG_OPEN?this._consumeStartTag(this._advance()):this._peek.type===ma.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===ma.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===ma.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===ma.TEXT||this._peek.type===ma.RAW_TEXT||this._peek.type===ma.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===ma.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(ma.CDATA_END)}_consumeComment(e){const t=this._advanceIf(ma.RAW_TEXT);this._advanceIf(ma.COMMENT_END);const n=null!=t?t.parts[0].trim():null;this._addToParent(new da(n,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),n=this._advance(),r=[];for(;this._peek.type===ma.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;r.push(e)}if(this._peek.type!==ma.EXPANSION_FORM_END)return void this.errors.push(Oa.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const s=new ci(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new la(t.parts[0],n.parts[0],r,s,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==ma.EXPANSION_CASE_EXP_START)return this.errors.push(Oa.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),n=this._collectExpansionExpTokens(t);if(!n)return null;const r=this._advance();n.push(new ga(ma.EOF,[],r.sourceSpan));const s=new La(n,this.getTagDefinition);if(s.build(),s.errors.length>0)return this.errors=this.errors.concat(s.errors),null;const i=new ci(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart),o=new ci(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);return new ca(e.parts[0],s.rootNodes,i,e.sourceSpan,o)}_collectExpansionExpTokens(e){const t=[],n=[ma.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==ma.EXPANSION_FORM_START&&this._peek.type!==ma.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===ma.EXPANSION_CASE_EXP_END){if(!ja(n,ma.EXPANSION_CASE_EXP_START))return this.errors.push(Oa.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return t}if(this._peek.type===ma.EXPANSION_FORM_END){if(!ja(n,ma.EXPANSION_FORM_START))return this.errors.push(Oa.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===ma.EOF)return this.errors.push(Oa.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){const e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new aa(t,e.sourceSpan))}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[t,n]=e.parts,r=[];for(;this._peek.type===ma.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));const s=this._getElementFullName(t,n,this._getParentElement());let i=!1;if(this._peek.type===ma.TAG_OPEN_END_VOID){this._advance(),i=!0;const t=this.getTagDefinition(s);t.canSelfClose||null!==l(s)||t.isVoid||this.errors.push(Oa.create(s,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===ma.TAG_OPEN_END&&(this._advance(),i=!1);const o=this._peek.sourceSpan.fullStart,a=new ci(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new ci(e.sourceSpan.start,o,e.sourceSpan.fullStart),u=new pa(s,r,[],a,c,void 0);this._pushElement(u),i?this._popElement(s,a):e.type===ma.INCOMPLETE_TAG_OPEN&&(this._popElement(s,null),this.errors.push(Oa.create(s,a,`Opening tag "${s}" not terminated.`)))}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(Oa.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const n=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Oa.create(t,e.sourceSpan,n))}}_popElement(e,t){let n=!1;for(let r=this._elementStack.length-1;r>=0;r--){const s=this._elementStack[r];if(s.name==e)return s.endSourceSpan=t,s.sourceSpan.end=null!==t?t.end:s.sourceSpan.end,this._elementStack.splice(r,this._elementStack.length-r),!n;this.getTagDefinition(s.name).closedByParent||(n=!0)}return!1}_consumeAttr(e){const t=c(e.parts[0],e.parts[1]);let n=e.sourceSpan.end,r="",s=void 0;if(this._peek.type===ma.ATTR_QUOTE&&this._advance(),this._peek.type===ma.ATTR_VALUE){const e=this._advance();r=e.parts[0],n=e.sourceSpan.end,s=e.sourceSpan}if(this._peek.type===ma.ATTR_QUOTE){n=this._advance().sourceSpan.end}const i=new ci(e.sourceSpan.start,e.sourceSpan.end);return new ua(t,r,new ci(e.sourceSpan.start,n,e.sourceSpan.fullStart),i,s)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,n){if(""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=n){const t=s(n.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=l(n.name))}return c(e,t)}}function ja(e,t){return e.length>0&&e[e.length-1]===t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Va extends Fa{constructor(){super(h)}parse(e,t,n){return super.parse(e,t,n)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ba=new Set(["pre","template","textarea","script","style"]),$a=new RegExp("[^ \f\n\r\t\v ᠎ - \u2028\u2029  　\ufeff]"),Ha=new RegExp("[ \f\n\r\t\v ᠎ - \u2028\u2029  　\ufeff]{2,}","g");function Ua(e){return e.replace(new RegExp("","g")," ")}class qa{visitElement(e,t){return Ba.has(e.name)||e.attrs.some(e=>"ngPreserveWhitespaces"===e.name)?new pa(e.name,ha(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new pa(e.name,e.attrs,function(e,t){const n=[];return t.forEach((r,s)=>{const i={prev:t[s-1],next:t[s+1]},o=r.visit(e,i);o&&n.push(o)}),n}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return"ngPreserveWhitespaces"!==e.name?e:null}visitText(e,t){const n=e.value.match($a),r=t&&(t.prev instanceof la||t.next instanceof la);return n||r?new aa(Ua(e.value).replace(Ha," "),e.sourceSpan,e.i18n):null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}const za=["zero","one","two","few","many","other"];function Wa(e){const t=new Ka;return new Ga(ha(t,e),t.isExpanded,t.errors)}class Ga{constructor(e,t,n){this.nodes=e,this.expanded=t,this.errors=n}}class Za extends di{constructor(e,t){super(e,t)}}class Ka{constructor(){this.isExpanded=!1,this.errors=[]}visitElement(e,t){return new pa(e.name,e.attrs,ha(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitAttribute(e,t){return e}visitText(e,t){return e}visitComment(e,t){return e}visitExpansion(e,t){return this.isExpanded=!0,"plural"==e.type?function(e,t){const n=e.cases.map(e=>{-1!=za.indexOf(e.value)||e.value.match(/^=\d+$/)||t.push(new Za(e.valueSourceSpan,'Plural cases should be "=<number>" or one of '+za.join(", ")));const n=Wa(e.expression);return t.push(...n.errors),new pa("ng-template",[new ua("ngPluralCase",""+e.value,e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new ua("[ngPlural]",e.switchValue,e.switchValueSourceSpan,void 0,void 0,void 0);return new pa("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}(e,this.errors):function(e,t){const n=e.cases.map(e=>{const n=Wa(e.expression);return t.push(...n.errors),"other"===e.value?new pa("ng-template",[new ua("ngSwitchDefault","",e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new pa("ng-template",[new ua("ngSwitchCase",""+e.value,e.valueSourceSpan,void 0,void 0,void 0)],n.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)}),r=new ua("[ngSwitch]",e.switchValue,e.switchValueSourceSpan,void 0,void 0,void 0);return new pa("ng-container",[r],n,e.sourceSpan,e.sourceSpan,e.sourceSpan)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e,this.errors)}visitExpansionCase(e,t){throw new Error("Should not be reached")}}class Qa{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitText(this,t)}}class Ya{constructor(e,t,n){this.value=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitBoundText(this,t)}}class Xa{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}visit(e,t){return e.visitAttr(this,t)}}const Ja={4:4,1:1,2:2,0:0,3:3};class el{constructor(e,t,n,r,s,i){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=s,this.sourceSpan=i,this.isAnimation=4===this.type}static fromBoundProperty(e){const t=Ja[e.type];return new el(e.name,t,e.securityContext,e.value,e.unit,e.sourceSpan)}visit(e,t){return e.visitElementProperty(this,t)}}class tl{constructor(e,t,n,r,s,i){this.name=e,this.target=t,this.phase=n,this.handler=r,this.sourceSpan=s,this.handlerSpan=i,this.fullName=tl.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}static calcFullName(e,t,n){return t?`${t}:${e}`:n?`@${e}.${n}`:e}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,n=1===e.type?e.targetOrPhase:null;return new tl(e.name,t,n,e.handler,e.sourceSpan,e.handlerSpan)}visit(e,t){return e.visitEvent(this,t)}}class nl{constructor(e,t,n,r){this.name=e,this.value=t,this.originalValue=n,this.sourceSpan=r}visit(e,t){return e.visitReference(this,t)}}class rl{constructor(e,t,n,r){this.name=e,this.value=t,this.sourceSpan=n,this.valueSpan=r}static fromParsedVariable(e){return new rl(e.name,e.value,e.sourceSpan,e.valueSpan)}visit(e,t){return e.visitVariable(this,t)}}class sl{constructor(e,t,n,r,s,i,o,a,l,c,u,p,d){this.name=e,this.attrs=t,this.inputs=n,this.outputs=r,this.references=s,this.directives=i,this.providers=o,this.hasViewContainer=a,this.queryMatches=l,this.children=c,this.ngContentIndex=u,this.sourceSpan=p,this.endSourceSpan=d}visit(e,t){return e.visitElement(this,t)}}class il{constructor(e,t,n,r,s,i,o,a,l,c,u){this.attrs=e,this.outputs=t,this.references=n,this.variables=r,this.directives=s,this.providers=i,this.hasViewContainer=o,this.queryMatches=a,this.children=l,this.ngContentIndex=c,this.sourceSpan=u}visit(e,t){return e.visitEmbeddedTemplate(this,t)}}class ol{constructor(e,t,n,r){this.directiveName=e,this.templateName=t,this.value=n,this.sourceSpan=r}visit(e,t){return e.visitDirectiveProperty(this,t)}}class al{constructor(e,t,n,r,s,i){this.directive=e,this.inputs=t,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=s,this.sourceSpan=i}visit(e,t){return e.visitDirective(this,t)}}class ll{constructor(e,t,n,r,s,i,o,a){this.token=e,this.multiProvider=t,this.eager=n,this.providers=r,this.providerType=s,this.lifecycleHooks=i,this.sourceSpan=o,this.isModule=a}visit(e,t){return null}}var cl;!function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Builtin=4]="Builtin"}(cl||(cl={}));class ul{constructor(e,t,n){this.index=e,this.ngContentIndex=t,this.sourceSpan=n}visit(e,t){return e.visitNgContent(this,t)}}function pl(e,t,n=null){const r=[],s=e.visit?t=>e.visit(t,n)||t.visit(e,n):t=>t.visit(e,n);return t.forEach(e=>{const t=s(e);t&&r.push(t)}),r}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class dl extends di{constructor(e,t){super(t,e)}}class hl{constructor(e,t){this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){let t=1;const n=new Map;e.viewQueries&&e.viewQueries.forEach(e=>_l(n,{meta:e,queryId:t++}));return n}(t),this.viewProviders=new Map,t.viewProviders.forEach(e=>{null==this.viewProviders.get(Ls(e.token))&&this.viewProviders.set(Ls(e.token),!0)})}}class fl{constructor(e,t,n,r,s,i,o,a,l){this.viewContext=e,this._parent=t,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=l,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},s.forEach(e=>this._attrs[e.name]=e.value);const c=r.map(e=>e.directive);if(this._allProviders=function(e,t,n){const r=new Map;e.forEach(e=>{yl([{token:{identifier:e.type},useClass:e.type}],e.isComponent?cl.Component:cl.Directive,!0,t,n,r,!1)});return e.filter(e=>e.isComponent).concat(e.filter(e=>!e.isComponent)).forEach(e=>{yl(e.providers,cl.PublicService,!1,t,n,r,!1),yl(e.viewProviders,cl.PrivateService,!1,t,n,r,!1)}),r}(c,l,e.errors),this._contentQueries=function(e,t){let n=e;const r=new Map;return t.forEach((e,t)=>{e.queries&&e.queries.forEach(e=>_l(r,{meta:e,queryId:n++}))}),r}(a,c),Array.from(this._allProviders.values()).forEach(e=>{this._addQueryReadsTo(e.token,e.token,this._queriedTokens)}),o){const e=ao(this.viewContext.reflector,io.TemplateRef);this._addQueryReadsTo(e,e,this._queriedTokens)}i.forEach(e=>{let t=e.value||ao(this.viewContext.reflector,io.ElementRef);this._addQueryReadsTo({value:e.name},t,this._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(io.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(e=>{(e.eager||this._queriedTokens.get(Ls(e.token)))&&this._getOrCreateLocalProvider(e.providerType,e.token,!0)})}afterElement(){Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.providerType,e.token,!1)})}get transformProviders(){const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}get transformedDirectiveAsts(){const e=this.transformProviders.map(e=>e.token.identifier),t=this._directiveAsts.slice();return t.sort((t,n)=>e.indexOf(t.directive.type)-e.indexOf(n.directive.type)),t}get queryMatches(){const e=[];return this._queriedTokens.forEach(t=>{e.push(...t)}),e}_addQueryReadsTo(e,t,n){this._getQueriesFor(e).forEach(e=>{const r=e.meta.read||t,s=Ls(r);let i=n.get(s);i||(i=[],n.set(s,i)),i.push({queryId:e.queryId,value:r})})}_getQueriesFor(e){const t=[];let n,r=this,s=0;for(;null!==r;)n=r._contentQueries.get(Ls(e)),n&&t.push(...n.filter(e=>e.meta.descendants||s<=1)),r._directiveAsts.length>0&&s++,r=r._parent;return n=this.viewContext.viewQueries.get(Ls(e)),n&&t.push(...n),t}_getOrCreateLocalProvider(e,t,n){const r=this._allProviders.get(Ls(t));if(!r||(e===cl.Directive||e===cl.PublicService)&&r.providerType===cl.PrivateService||(e===cl.PrivateService||e===cl.PublicService)&&r.providerType===cl.Builtin)return null;let s=this._transformedProviders.get(Ls(t));if(s)return s;if(null!=this._seenProviders.get(Ls(t)))return this.viewContext.errors.push(new dl("Cannot instantiate cyclic dependency! "+Fs(t),this._sourceSpan)),null;this._seenProviders.set(Ls(t),!0);const i=r.providers.map(e=>{let t=e.useValue,s=e.useExisting,i=void 0;if(null!=e.useExisting){const i=this._getDependency(r.providerType,{token:e.useExisting},n);null!=i.token?s=i.token:(s=null,t=i.value)}else if(e.useFactory){i=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(r.providerType,e,n))}else if(e.useClass){i=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(r.providerType,e,n))}return gl(e,{useExisting:s,useValue:t,deps:i})});return s=vl(r,{eager:n,providers:i}),this._transformedProviders.set(Ls(t),s),s}_getLocalDependency(e,t,n=!1){if(t.isAttribute){const e=this._attrs[t.token.value];return{isValue:!0,value:null==e?null:e}}if(null!=t.token){if(e===cl.Directive||e===cl.Component){if(Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.Renderer)||Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.ElementRef)||Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.ChangeDetectorRef)||Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.TemplateRef))return t;Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Ls(t.token)===this.viewContext.reflector.resolveExternalReference(io.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,n))return t}return null}_getDependency(e,t,n=!1){let r=this,s=n,i=null;if(t.isSkipSelf||(i=this._getLocalDependency(e,t,n)),t.isSelf)!i&&t.isOptional&&(i={isValue:!0,value:null});else{for(;!i&&r._parent;){const e=r;r=r._parent,e._isViewRoot&&(s=!1),i=r._getLocalDependency(cl.PublicService,t,s)}i||(i=!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Ls(t.token)||null!=this.viewContext.viewProviders.get(Ls(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return i||this.viewContext.errors.push(new dl("No provider for "+Fs(t.token),this._sourceSpan)),i}}class ml{constructor(e,t,n,r){this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach(e=>{yl([{token:{identifier:e},useClass:e}],cl.PublicService,!0,r,this._errors,this._allProviders,!0)}),yl(t.transitiveModule.providers.map(e=>e.provider).concat(n),cl.PublicService,!1,r,this._errors,this._allProviders,!1)}parse(){if(Array.from(this._allProviders.values()).forEach(e=>{this._getOrCreateLocalProvider(e.token,e.eager)}),this._errors.length>0){const e=this._errors.join("\n");throw new Error("Provider parse errors:\n"+e)}const e=[],t=[];return this._transformedProviders.forEach(n=>{n.eager?t.push(n):e.push(n)}),e.concat(t)}_getOrCreateLocalProvider(e,t){const n=this._allProviders.get(Ls(e));if(!n)return null;let r=this._transformedProviders.get(Ls(e));if(r)return r;if(null!=this._seenProviders.get(Ls(e)))return this._errors.push(new dl("Cannot instantiate cyclic dependency! "+Fs(e),n.sourceSpan)),null;this._seenProviders.set(Ls(e),!0);const s=n.providers.map(e=>{let r=e.useValue,s=e.useExisting,i=void 0;if(null!=e.useExisting){const i=this._getDependency({token:e.useExisting},t,n.sourceSpan);null!=i.token?s=i.token:(s=null,r=i.value)}else if(e.useFactory){i=(e.deps||e.useFactory.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}else if(e.useClass){i=(e.deps||e.useClass.diDeps).map(e=>this._getDependency(e,t,n.sourceSpan))}return gl(e,{useExisting:s,useValue:r,deps:i})});return r=vl(n,{eager:t,providers:s}),this._transformedProviders.set(Ls(e),r),r}_getDependency(e,t=!1,n){let r=!1;return e.isSkipSelf||null==e.token||(Ls(e.token)===this.reflector.resolveExternalReference(io.Injector)||Ls(e.token)===this.reflector.resolveExternalReference(io.ComponentFactoryResolver)||null!=this._getOrCreateLocalProvider(e.token,t))&&(r=!0),e}}function gl(e,{useExisting:t,useValue:n,deps:r}){return{token:e.token,useClass:e.useClass,useExisting:t,useFactory:e.useFactory,useValue:n,deps:r,multi:e.multi}}function vl(e,{eager:t,providers:n}){return new ll(e.token,e.multiProvider,e.eager||t,n,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function yl(e,t,n,r,s,i,o){e.forEach(e=>{let a=i.get(Ls(e.token));if(null!=a&&!!a.multiProvider!=!!e.multi&&s.push(new dl("Mixing multi and non multi provider is not possible for token "+Fs(a.token),r)),a)e.multi||(a.providers.length=0),a.providers.push(e);else{const s=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],l=!(e.useClass||e.useExisting||e.useFactory);a=new ll(e.token,!!e.multi,n||l,[e],t,s,r,o),i.set(Ls(e.token),a)}})}function _l(e,t){t.meta.selectors.forEach(n=>{let r=e.get(Ls(n));r||(r=[],e.set(Ls(n),r)),r.push(t)})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class wl{constructor(e,t){this.style=e,this.styleUrls=t}}function El(e){if(null==e||0===e.length||"/"==e[0])return!1;const t=e.match(xl);return null===t||"package"==t[1]||"asset"==t[1]}const bl=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,Cl=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,xl=/^([^:/?#]+):/;class Sl{constructor(e,t,n,r,s){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=n,this.errors=s,this.pipesByName=null,this._usedPipes=new Map,r){const e=new Map;r.forEach(t=>e.set(t.name,t)),this.pipesByName=e}}get interpolationConfig(){return this._interpolationConfig}getUsedPipes(){return Array.from(this._usedPipes.values())}createBoundHostProperties(e,t){if(e.hostProperties){const n=[];return Object.keys(e.hostProperties).forEach(r=>{const s=e.hostProperties[r];"string"==typeof s?this.parsePropertyBinding(r,s,!0,t,t.start.offset,void 0,[],n,t):this._reportError(`Value of the host property binding "${r}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}),n}return null}createDirectiveHostPropertyAsts(e,t,n){const r=this.createBoundHostProperties(e,n);return r&&r.map(e=>this.createBoundElementProperty(t,e))}createDirectiveHostEventAsts(e,t){if(e.hostListeners){const n=[];return Object.keys(e.hostListeners).forEach(r=>{const s=e.hostListeners[r];"string"==typeof s?this.parseEvent(r,s,t,t,[],n,t):this._reportError(`Value of the host listener "${r}" needs to be a string representing an expression but got "${s}" (${typeof s})`,t)}),n}return null}parseInterpolation(e,t){const n=t.start.toString(),r=t.fullStart.offset;try{const s=this._exprParser.parseInterpolation(e,n,r,this._interpolationConfig);return s&&this._reportExpressionParserErrors(s.errors,t),this._checkPipes(s,t),s}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}parseInterpolationExpression(e,t){const n=t.start.toString(),r=t.start.offset;try{const s=this._exprParser.parseInterpolationExpression(e,n,r);return s&&this._reportExpressionParserErrors(s.errors,t),this._checkPipes(s,t),s}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}parseInlineTemplateBinding(e,t,n,r,s,i,o,a){const l=n.start.offset+"*".length,c=this._parseTemplateBindings(e,t,n,l,r);for(const e of c){const t=Al(n,e.sourceSpan),l=e.key.source,c=Al(n,e.key.span);if(e instanceof Yi){const r=e.value?e.value.source:"$implicit",s=e.value?Al(n,e.value.span):void 0;o.push(new no(l,r,t,c,s))}else if(e.value){const r=a?t:n,o=Al(n,e.value.ast.sourceSpan);this._parsePropertyAst(l,e.value,r,c,o,s,i)}else s.push([l,""]),this.parseLiteralAttr(l,null,c,r,void 0,s,i,c)}}_parseTemplateBindings(e,t,n,r,s){const i=n.start.toString();try{const o=this._exprParser.parseTemplateBindings(e,t,i,r,s);return this._reportExpressionParserErrors(o.errors,n),o.templateBindings.forEach(e=>{e.value instanceof Qi&&this._checkPipes(e.value,n)}),o.warnings.forEach(e=>{this._reportError(e,n,ui.WARNING)}),o.templateBindings}catch(e){return this._reportError(""+e,n),[]}}parseLiteralAttr(e,t,n,r,s,i,o,a){Tl(e)?(e=e.substring(1),void 0!==a&&(a=Al(a,new Ki(a.start.offset+1,a.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',n,ui.ERROR),this._parseAnimation(e,t,n,r,a,s,i,o)):o.push(new eo(e,this._exprParser.wrapLiteralPrimitive(t,"",r),pi.LITERAL_ATTR,n,a,s))}parsePropertyBinding(e,t,n,r,s,i,o,a,l){0===e.length&&this._reportError("Property name is missing in binding",r);let c=!1;e.startsWith("animate-")?(c=!0,e=e.substring("animate-".length),void 0!==l&&(l=Al(l,new Ki(l.start.offset+"animate-".length,l.end.offset)))):Tl(e)&&(c=!0,e=e.substring(1),void 0!==l&&(l=Al(l,new Ki(l.start.offset+1,l.end.offset)))),c?this._parseAnimation(e,t,r,s,l,i,o,a):this._parsePropertyAst(e,this._parseBinding(t,n,i||r,s),r,l,i,o,a)}parsePropertyInterpolation(e,t,n,r,s,i,o){const a=this.parseInterpolation(t,r||n);return!!a&&(this._parsePropertyAst(e,a,n,o,r,s,i),!0)}_parsePropertyAst(e,t,n,r,s,i,o){i.push([e,t.source]),o.push(new eo(e,t,pi.DEFAULT,n,r,s))}_parseAnimation(e,t,n,r,s,i,o,a){0===e.length&&this._reportError("Animation trigger is missing",n);const l=this._parseBinding(t||"undefined",!1,i||n,r);o.push([e,l.source]),a.push(new eo(e,l,pi.ANIMATION,n,s,i))}_parseBinding(e,t,n,r){const s=(n&&n.start||"(unknown)").toString();try{const i=t?this._exprParser.parseSimpleBinding(e,s,r,this._interpolationConfig):this._exprParser.parseBinding(e,s,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,n),this._checkPipes(i,n),i}catch(e){return this._reportError(""+e,n),this._exprParser.wrapLiteralPrimitive("ERROR",s,r)}}createBoundElementProperty(e,t,n=!1,r=!0){if(t.isAnimation)return new ro(t.name,4,q.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let s=null,i=void 0,o=null;const a=t.name.split(".");let l=void 0;if(a.length>1)if("attr"==a[0]){o=a.slice(1).join("."),n||this._validatePropertyOrAttributeName(o,t.sourceSpan,!0),l=Il(this._schemaRegistry,e,o,!0);const r=o.indexOf(":");if(r>-1){const e=o.substring(0,r),t=o.substring(r+1);o=c(e,t)}i=1}else"class"==a[0]?(o=a[1],i=2,l=[q.NONE]):"style"==a[0]&&(s=a.length>2?a[2]:null,o=a[1],i=3,l=[q.STYLE]);if(null===o){const s=this._schemaRegistry.getMappedPropName(t.name);o=r?s:t.name,l=Il(this._schemaRegistry,e,s,!1),i=0,n||this._validatePropertyOrAttributeName(s,t.sourceSpan,!1)}return new ro(o,i,l[0],t.expression,s,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,n,r,s,i,o){0===e.length&&this._reportError("Event name is missing in binding",n),Tl(e)?(e=e.substr(1),void 0!==o&&(o=Al(o,new Ki(o.start.offset+1,o.end.offset))),this._parseAnimationEvent(e,t,n,r,i,o)):this._parseRegularEvent(e,t,n,r,s,i,o)}calcPossibleSecurityContexts(e,t,n){const r=this._schemaRegistry.getMappedPropName(t);return Il(this._schemaRegistry,e,r,n)}_parseAnimationEvent(e,t,n,r,s,i){const o=Wt(e,".",[e,""]);const a=o[0],l=o[1].toLowerCase(),c=this._parseAction(t,r);s.push(new to(a,l,1,c,n,r,i)),0===a.length&&this._reportError("Animation event name is missing in binding",n),l?"start"!==l&&"done"!==l&&this._reportError(`The provided animation output phase value "${l}" for "@${a}" is not supported (use start or done)`,n):this._reportError(`The animation trigger output event (@${a}) is missing its phase value name (start or done are currently supported)`,n)}_parseRegularEvent(e,t,n,r,s,i,o){const[a,l]=zt(e,[null,e]),c=this._parseAction(t,r);s.push([e,c.source]),i.push(new to(l,a,0,c,n,r,o))}_parseAction(e,t){const n=(t&&t.start||"(unknown").toString(),r=t&&t.start?t.start.offset:0;try{const s=this._exprParser.parseAction(e,n,r,this._interpolationConfig);return s&&this._reportExpressionParserErrors(s.errors,t),!s||s.ast instanceof Di?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)):(this._checkPipes(s,t),s)}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",n,r)}}_reportError(e,t,n=ui.ERROR){this.errors.push(new di(t,e,n))}_reportExpressionParserErrors(e,t){for(const n of e)this._reportError(n.message,t)}_checkPipes(e,t){if(e&&this.pipesByName){const n=new Dl;e.visit(n),n.pipes.forEach((e,n)=>{const r=this.pipesByName.get(n);r?this._usedPipes.set(n,r):this._reportError(`The pipe '${n}' could not be found`,new ci(t.start.moveBy(e.span.start),t.start.moveBy(e.span.end)))})}}_validatePropertyOrAttributeName(e,t,n){const r=n?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);r.error&&this._reportError(r.msg,t,ui.ERROR)}}class Dl extends Ji{constructor(){super(...arguments),this.pipes=new Map}visitPipe(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null}}function Tl(e){return"@"==e[0]}function Il(e,t,n,r){const s=[];return m.parse(t).forEach(t=>{const i=t.element?[t.element]:e.allKnownElementNames(),o=new Set(t.notSelectors.filter(e=>e.isElementSelector()).map(e=>e.element)),a=i.filter(e=>!o.has(e));s.push(...a.map(t=>e.securityContext(t,n,r)))}),0===s.length?[q.NONE]:Array.from(new Set(s)).sort()}function Al(e,t){const n=t.start-e.start.offset,r=t.end-e.end.offset;return new ci(e.start.moveBy(n),e.end.moveBy(r),e.fullStart.moveBy(n),e.details)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ml(e){let t=null,n=null,r=null,s=!1,i="";e.attrs.forEach(e=>{const o=e.name.toLowerCase();"select"==o?t=e.value:"href"==o?n=e.value:"rel"==o?r=e.value:"ngNonBindable"==e.name?s=!0:"ngProjectAs"==e.name&&e.value.length>0&&(i=e.value)}),t=function(e){if(null===e||0===e.length)return"*";return e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t);const a=e.name.toLowerCase();let l=kl.OTHER;return o(a)?l=kl.NG_CONTENT:"style"==a?l=kl.STYLE:"script"==a?l=kl.SCRIPT:"link"==a&&"stylesheet"==r&&(l=kl.STYLESHEET),new Pl(l,t,n,s,i)}var kl;!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(kl||(kl={}));class Pl{constructor(e,t,n,r,s){this.type=e,this.selectAttr=t,this.hrefAttr=n,this.nonBindable=r,this.projectAs=s}}const Nl=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;let Ol;function Rl(){return Ol||(Ol=m.parse("*")[0]),Ol}class Fl extends di{constructor(e,t,n){super(t,e,n)}}class Ll{constructor(e,t,n){this.templateAst=e,this.usedPipes=t,this.errors=n}}class jl{constructor(e,t,n,r,s,i,o){this._config=e,this._reflector=t,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=s,this._console=i,this.transforms=o}get expressionParser(){return this._exprParser}parse(e,t,n,r,s,i,o){var a;const l=this.tryParse(e,t,n,r,s,i,o),c=l.errors.filter(e=>e.level===ui.WARNING),u=l.errors.filter(e=>e.level===ui.ERROR);if(c.length>0&&(null===(a=this._console)||void 0===a||a.warn("Template parse warnings:\n"+c.join("\n"))),u.length>0){throw tn("Template parse errors:\n"+u.join("\n"),u)}return{template:l.templateAst,pipes:l.usedPipes}}tryParse(e,t,n,r,s,i,o){let a="string"==typeof t?this._htmlParser.parse(t,i,{tokenizeExpansionForms:!0,interpolationConfig:this.getInterpolationConfig(e)}):t;var l;return o||(l=a,a=new Ra(ha(new qa,l.rootNodes),l.errors)),this.tryParseHtml(this.expandHtml(a),e,n,r,s)}tryParseHtml(e,t,n,r,s){let i;const o=e.errors,a=[];if(e.rootNodes.length>0){const l=Wl(n),c=Wl(r),u=new hl(this._reflector,t);let p=void 0;t.template&&t.template.interpolation&&(p={start:t.template.interpolation[0],end:t.template.interpolation[1]});const d=new Sl(this._exprParser,p,this._schemaRegistry,c,o),h=new Vl(this._reflector,this._config,u,l,d,this._schemaRegistry,s,o);i=ha(h,e.rootNodes,Ul),o.push(...u.errors),a.push(...d.getUsedPipes())}else i=[];return this._assertNoReferenceDuplicationOnTemplate(i,o),o.length>0||this.transforms&&this.transforms.forEach(e=>{i=pl(e,i)}),new Ll(i,a,o)}expandHtml(e,t=!1){const n=e.errors;if(0==n.length||t){const t=Wa(e.rootNodes);n.push(...t.errors),e=new Ra(t.nodes,n)}return e}getInterpolationConfig(e){if(e.template)return Cs.fromArray(e.template.interpolation)}_assertNoReferenceDuplicationOnTemplate(e,t){const n=[];e.filter(e=>!!e.references).forEach(e=>e.references.forEach(e=>{const r=e.name;if(n.indexOf(r)<0)n.push(r);else{const n=new Fl(`Reference "#${r}" is defined several times`,e.sourceSpan,ui.ERROR);t.push(n)}}))}}class Vl{constructor(e,t,n,r,s,i,o,a){this.reflector=e,this.config=t,this.providerViewContext=n,this._bindingParser=s,this._schemaRegistry=i,this._schemas=o,this._targetErrors=a,this.selectorMatcher=new g,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach((e,t)=>{const n=m.parse(e.selector);this.selectorMatcher.addSelectables(n,e),this.directivesIndex.set(e,t)})}visitExpansion(e,t){return null}visitExpansionCase(e,t){return null}visitText(e,t){const n=t.findNgContentIndex(Rl()),r=Ua(e.value),s=this._bindingParser.parseInterpolation(r,e.sourceSpan);return s?new Ya(s,n,e.sourceSpan):new Qa(r,n,e.sourceSpan)}visitAttribute(e,t){return new Xa(e.name,e.value,e.sourceSpan)}visitComment(e,t){return null}visitElement(e,t){const n=this.contentQueryStartId,r=e.name,s=Ml(e);if(s.type===kl.SCRIPT||s.type===kl.STYLE)return null;if(s.type===kl.STYLESHEET&&El(s.hrefAttr))return null;const i=[],o=[],l=[],c=[],u=[],p=[],d=[],h=[];let f=!1;const g=[],v=a(e.name);e.attrs.forEach(e=>{const t=this._parseAttr(v,e,i,o,u,l,c);let n,r;c.push(...[].map(e=>rl.fromParsedVariable(e)));const s=this._normalizeAttributeName(e.name);s.startsWith("*")&&(n=e.value,r=s.substring("*".length));const a=null!=n;if(a){f&&this._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),f=!0;const t=[],s=(e.valueSpan||e.sourceSpan).start.offset;this._bindingParser.parseInlineTemplateBinding(r,n,e.sourceSpan,s,d,p,t,!1),h.push(...t.map(e=>rl.fromParsedVariable(e)))}t||a||(g.push(this.visitAttribute(e,null)),i.push([e.name,e.value]))});const y=Hl(r,i),{directives:_,matchElement:w}=this._parseDirectives(this.selectorMatcher,y),E=[],b=new Set,C=this._createDirectiveAsts(v,e.name,_,o,l,e.sourceSpan,E,b),x=this._createElementPropertyAsts(e.name,o,b),S=t.isTemplateElement||f,D=new fl(this.providerViewContext,t.providerContext,S,C,g,E,v,n,e.sourceSpan),T=ha(s.nonBindable?ql:this,e.children,$l.create(v,C,v?t.providerContext:D));D.afterElement();const I=""!=s.projectAs?m.parse(s.projectAs)[0]:y,A=t.findNgContentIndex(I);let M;if(s.type===kl.NG_CONTENT)e.children&&!e.children.every(zl)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),M=new ul(this.ngContentCount++,f?null:A,e.sourceSpan);else if(v)this._assertAllEventsPublishedByDirectives(C,u),this._assertNoComponentsNorElementBindingsOnTemplate(C,x,e.sourceSpan),M=new il(g,u,E,c,D.transformedDirectiveAsts,D.transformProviders,D.transformedHasViewContainer,D.queryMatches,T,f?null:A,e.sourceSpan);else{this._assertElementExists(w,e),this._assertOnlyOneComponent(C,e.sourceSpan);const n=f?null:t.findNgContentIndex(I);M=new sl(r,g,x,u,E,D.transformedDirectiveAsts,D.transformProviders,D.transformedHasViewContainer,D.queryMatches,T,f?null:n,e.sourceSpan,e.endSourceSpan||null)}if(f){const n=this.contentQueryStartId,s=Hl("ng-template",d),{directives:i}=this._parseDirectives(this.selectorMatcher,s),o=new Set,a=this._createDirectiveAsts(!0,r,i,p,[],e.sourceSpan,[],o),l=this._createElementPropertyAsts(r,p,o);this._assertNoComponentsNorElementBindingsOnTemplate(a,l,e.sourceSpan);const c=new fl(this.providerViewContext,t.providerContext,t.isTemplateElement,a,[],[],!0,n,e.sourceSpan);c.afterElement(),M=new il([],[],[],h,c.transformedDirectiveAsts,c.transformProviders,c.transformedHasViewContainer,c.queryMatches,[M],A,e.sourceSpan)}return M}_parseAttr(e,t,n,r,s,i,o){const a=this._normalizeAttributeName(t.name),l=t.value,c=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:c.start.offset,p=[],d=a.match(Nl);let h=!1;if(null!==d)if(h=!0,null!=d[1])this._bindingParser.parsePropertyBinding(d[7],l,!1,c,u,t.valueSpan,n,r);else if(d[2])if(e){const e=d[7];this._parseVariable(e,l,c,o)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(d[3]){const e=d[7];this._parseReference(e,l,c,i)}else d[4]?this._bindingParser.parseEvent(d[7],l,c,t.valueSpan||c,n,p):d[5]?(this._bindingParser.parsePropertyBinding(d[7],l,!1,c,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[7],l,c,t.valueSpan||c,n,p)):d[6]?this._bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r):d[8]?(this._bindingParser.parsePropertyBinding(d[8],l,!1,c,u,t.valueSpan,n,r),this._parseAssignmentEvent(d[8],l,c,t.valueSpan||c,n,p)):d[9]?this._bindingParser.parsePropertyBinding(d[9],l,!1,c,u,t.valueSpan,n,r):d[10]&&this._bindingParser.parseEvent(d[10],l,c,t.valueSpan||c,n,p);else h=this._bindingParser.parsePropertyInterpolation(a,l,c,t.valueSpan,n,r);return h||this._bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r),s.push(...p.map(e=>tl.fromParsedEvent(e))),h}_normalizeAttributeName(e){return/^data-/i.test(e)?e.substring(5):e}_parseVariable(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in variable names',n):0===e.length&&this._reportError("Variable does not have a name",n),r.push(new rl(e,t,n))}_parseReference(e,t,n,r){e.indexOf("-")>-1?this._reportError('"-" is not allowed in reference names',n):0===e.length&&this._reportError("Reference does not have a name",n),r.push(new Bl(e,t,n))}_parseAssignmentEvent(e,t,n,r,s,i){this._bindingParser.parseEvent(e+"Change",t+"=$event",n,r,s,i)}_parseDirectives(e,t){const n=hn(this.directivesIndex.size);let r=!1;return e.match(t,(e,t)=>{n[this.directivesIndex.get(t)]=t,r=r||e.hasElementSelector()}),{directives:n.filter(e=>!!e),matchElement:r}}_createDirectiveAsts(e,t,n,r,s,i,o,a){const l=new Set;let c=null;const u=n.map(e=>{const n=new ci(i.start,i.end,i.fullStart,"Directive "+Ms(e.type));e.isComponent&&(c=e);const u=[];let p=this._bindingParser.createDirectiveHostPropertyAsts(e,t,n).map(e=>el.fromBoundProperty(e));p=this._checkPropertiesInSchema(t,p);const d=this._bindingParser.createDirectiveHostEventAsts(e,n);this._createDirectivePropertyAsts(e.inputs,r,u,a),s.forEach(t=>{(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(o.push(new nl(t.name,oo(e.type.reference),t.value,t.sourceSpan)),l.add(t.name))});const h=d.map(e=>tl.fromParsedEvent(e)),f=this.contentQueryStartId;return this.contentQueryStartId+=e.queries.length,new al(e,u,p,h,f,n)});return s.forEach(t=>{if(t.value.length>0)l.has(t.name)||this._reportError(`There is no directive with "exportAs" set to "${t.value}"`,t.sourceSpan);else if(!c){let n=null;e&&(n=ao(this.reflector,io.TemplateRef)),o.push(new nl(t.name,n,t.value,t.sourceSpan))}}),u}_createDirectivePropertyAsts(e,t,n,r){if(e){const s=new Map;t.forEach(e=>{const t=s.get(e.name);t&&!t.isLiteral||s.set(e.name,e)}),Object.keys(e).forEach(t=>{const i=e[t],o=s.get(i);o&&(r.add(o.name),Gl(o.expression)||n.push(new ol(t,o.name,o.expression,o.sourceSpan)))})}}_createElementPropertyAsts(e,t,n){const r=[];return t.forEach(t=>{if(!t.isLiteral&&!n.has(t.name)){const n=this._bindingParser.createBoundElementProperty(e,t);r.push(el.fromBoundProperty(n))}}),this._checkPropertiesInSchema(e,r)}_findComponentDirectives(e){return e.filter(e=>e.directive.isComponent)}_findComponentDirectiveNames(e){return this._findComponentDirectives(e).map(e=>Ms(e.directive.type))}_assertOnlyOneComponent(e,t){const n=this._findComponentDirectiveNames(e);n.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),t)}_assertElementExists(e,t){const n=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(n,this._schemas)){let e=`'${n}' is not a known element:\n`;e+=`1. If '${n}' is an Angular component, then verify that it is part of this module.\n`,n.indexOf("-")>-1?e+=`2. If '${n}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(e,t.sourceSpan)}}_assertNoComponentsNorElementBindingsOnTemplate(e,t,n){const r=this._findComponentDirectiveNames(e);r.length>0&&this._reportError("Components on an embedded template: "+r.join(","),n),t.forEach(e=>{this._reportError(`Property binding ${e.name} not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,n)})}_assertAllEventsPublishedByDirectives(e,t){const n=new Set;e.forEach(e=>{Object.keys(e.directive.outputs).forEach(t=>{const r=e.directive.outputs[t];n.add(r)})}),t.forEach(e=>{null==e.target&&n.has(e.name)||this._reportError(`Event binding ${e.fullName} not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".`,e.sourceSpan)})}_checkPropertiesInSchema(e,t){return t.filter(t=>{if(0===t.type&&!this._schemaRegistry.hasProperty(e,t.name,this._schemas)){let n=`Can't bind to '${t.name}' since it isn't a known property of '${e}'.`;e.startsWith("ng-")?n+=`\n1. If '${t.name}' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`:e.indexOf("-")>-1&&(n+=`\n1. If '${e}' is an Angular component and it has '${t.name}' input, then verify that it is part of this module.\n2. If '${e}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.`),this._reportError(n,t.sourceSpan)}return!Gl(t.value)})}_reportError(e,t,n=ui.ERROR){this._targetErrors.push(new di(t,e,n))}}class Bl{constructor(e,t,n){this.name=e,this.value=t,this.sourceSpan=n}isReferenceToDirective(e){return-1!==(t=e.exportAs,t?t.split(",").map(e=>e.trim()):[]).indexOf(this.value);var t}}class $l{constructor(e,t,n,r){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=n,this.providerContext=r}static create(e,t,n){const r=new g;let s=null;const i=t.find(e=>e.directive.isComponent);if(i){const e=i.directive.template.ngContentSelectors;for(let t=0;t<e.length;t++){"*"===e[t]?s=t:r.addSelectables(m.parse(e[t]),t)}}return new $l(e,r,s,n)}findNgContentIndex(e){const t=[];return this._ngContentIndexMatcher.match(e,(e,n)=>{t.push(n)}),t.sort(),null!=this._wildcardNgContentIndex&&t.push(this._wildcardNgContentIndex),t.length>0?t[0]:null}}function Hl(e,t){const n=new m,r=s(e)[1];n.setElement(r);for(let e=0;e<t.length;e++){const r=t[e][0],i=s(r)[1],o=t[e][1];if(n.addAttribute(i,o),"class"==r.toLowerCase()){o.trim().split(/\s+/g).forEach(e=>n.addClassName(e))}}return n}const Ul=new $l(!0,new g,null,null),ql=new class{visitElement(e,t){const n=Ml(e);if(n.type===kl.SCRIPT||n.type===kl.STYLE||n.type===kl.STYLESHEET)return null;const r=e.attrs.map(e=>[e.name,e.value]),s=Hl(e.name,r),i=t.findNgContentIndex(s),o=ha(this,e.children,Ul);return new sl(e.name,ha(this,e.attrs),[],[],[],[],[],!1,[],o,i,e.sourceSpan,e.endSourceSpan)}visitComment(e,t){return null}visitAttribute(e,t){return new Xa(e.name,e.value,e.sourceSpan)}visitText(e,t){const n=t.findNgContentIndex(Rl());return new Qa(e.value,n,e.sourceSpan)}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}};function zl(e){return e instanceof aa&&0==e.value.trim().length}function Wl(e){const t=new Map;return e.forEach(e=>{t.get(e.type.reference)||t.set(e.type.reference,e)}),Array.from(t.values())}function Gl(e){return e instanceof Qi&&(e=e.ast),e instanceof Di}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Zl(e){const t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){const t=e.substring(1,e.length-1);-1==t.indexOf("'")&&-1==t.indexOf('"')&&(e=t)}return e}function Kl(e){return e.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}class Ql{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,n=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(n,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(n,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(n,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,n){let r=null;const s=e.substring(0,6),i="style"===e||"style."===s||"style!"===s;if(i||!i&&("class"===e||"class."===s||"class!"===s)){const s="."!==e.charAt(5),o=e.substr(s?5:6);r=i?this.registerStyleInput(o,s,t,n):this.registerClassInput(o,s,t,n)}return r}registerStyleInput(e,t,n,r,s){if(Gl(n))return null;(function(e){return e.startsWith("--")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */)(e)||(e=Kl(e));const{property:i,hasOverrideFlag:o,suffix:a}=Xl(e),l={name:i,suffix:s="string"==typeof s&&0!==s.length?s:a,value:n,sourceSpan:r,hasOverrideFlag:o};return t?this._styleMapInput=l:((this._singleStyleInputs=this._singleStyleInputs||[]).push(l),Yl(this._stylesIndex,i)),this._lastStylingInput=l,this._firstStylingInput=this._firstStylingInput||l,this._checkForPipes(n),this.hasBindings=!0,l}registerClassInput(e,t,n,r){if(Gl(n))return null;const{property:s,hasOverrideFlag:i}=Xl(e),o={name:s,value:n,sourceSpan:r,hasOverrideFlag:i,suffix:null};return t?this._classMapInput=o:((this._singleClassInputs=this._singleClassInputs||[]).push(o),Yl(this._classesIndex,s)),this._lastStylingInput=o,this._firstStylingInput=this._firstStylingInput||o,this._checkForPipes(n),this.hasBindings=!0,o}_checkForPipes(e){e instanceof Qi&&e.ast instanceof Li&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function(e){const t=[];let n=0,r=0,s=0,i=0,o=0,a=null,l=!1;for(;n<e.length;){switch(e.charCodeAt(n++)){case 40:r++;break;case 41:r--;break;case 39:l=l||i>0,0===s?s=39:39===s&&92!==e.charCodeAt(n-1)&&(s=0);break;case 34:l=l||i>0,0===s?s=34:34===s&&92!==e.charCodeAt(n-1)&&(s=0);break;case 58:a||0!==r||0!==s||(a=Kl(e.substring(o,n-1).trim()),i=n);break;case 59:if(a&&i>0&&0===r&&0===s){const r=e.substring(i,n-1).trim();t.push(a,l?Zl(r):r),o=n,i=0,a=null,l=!1}}}if(a&&i){const n=e.substr(i).trim();t.push(a,l?Zl(n):n)}return t}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(kt(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(kt(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(kt(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(kt(this._initialStyleValues[t]),kt(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",Dt(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,n){let r=2;const s=n.value.visit(e);let i;return s instanceof $i?(r+=s.expressions.length,i=t?function(e){switch(Hr(e)){case 1:return Ut.classMap;case 3:return Ut.classMapInterpolate1;case 5:return Ut.classMapInterpolate2;case 7:return Ut.classMapInterpolate3;case 9:return Ut.classMapInterpolate4;case 11:return Ut.classMapInterpolate5;case 13:return Ut.classMapInterpolate6;case 15:return Ut.classMapInterpolate7;case 17:return Ut.classMapInterpolate8;default:return Ut.classMapInterpolateV}}(s):function(e){switch(Hr(e)){case 1:return Ut.styleMap;case 3:return Ut.styleMapInterpolate1;case 5:return Ut.styleMapInterpolate2;case 7:return Ut.styleMapInterpolate3;case 9:return Ut.styleMapInterpolate4;case 11:return Ut.styleMapInterpolate5;case 13:return Ut.styleMapInterpolate6;case 15:return Ut.styleMapInterpolate7;case 17:return Ut.styleMapInterpolate8;default:return Ut.styleMapInterpolateV}}(s)):i=t?Ut.classMap:Ut.styleMap,{reference:i,calls:[{supportsInterpolation:!0,sourceSpan:n.sourceSpan,allocateBindingSlots:r,params:e=>{const t=e(s);return Array.isArray(t)?t:[t]}}]}}_buildSingleInputs(e,t,n,r,s){const i=[];return t.forEach(t=>{const o=i[i.length-1],a=t.value.visit(n);let l=e,c=2;a instanceof $i&&(c+=a.expressions.length,r&&(l=r(a)));const u={sourceSpan:t.sourceSpan,allocateBindingSlots:c,supportsInterpolation:!!r,params:e=>{const n=[];n.push(kt(t.name));const r=e(a);return Array.isArray(r)?n.push(...r):n.push(r),s||null===t.suffix||n.push(kt(t.suffix)),n}};o&&o.reference===l?o.calls.push(u):i.push({reference:l,calls:[u]})}),i}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(Ut.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(Ut.styleProp,this._singleStyleInputs,e,Jl,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const n=this.buildStyleMapInstruction(e);n&&t.push(n);const r=this.buildClassMapInstruction(e);r&&t.push(r),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function Yl(e,t){e.has(t)||e.set(t,e.size)}function Xl(e){let t=!1;const n=e.indexOf("!important");-1!==n&&(e=n>0?e.substring(0,n):"",t=!0);let r=null,s=e;const i=e.lastIndexOf(".");return i>0&&(r=e.substr(i+1),s=e.substring(0,i)),{property:s,suffix:r,hasOverrideFlag:t}}function Jl(e){switch(Hr(e)){case 1:return Ut.styleProp;case 3:return Ut.stylePropInterpolate1;case 5:return Ut.stylePropInterpolate2;case 7:return Ut.stylePropInterpolate3;case 9:return Ut.stylePropInterpolate4;case 11:return Ut.stylePropInterpolate5;case 13:return Ut.stylePropInterpolate6;case 15:return Ut.stylePropInterpolate7;case 17:return Ut.stylePropInterpolate8;default:return Ut.stylePropInterpolateV}}var ec;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"}(ec||(ec={}));const tc=["var","let","as","null","undefined","true","false","if","else","this"];class nc{tokenize(e){const t=new ac(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}}class rc{constructor(e,t,n,r,s){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=s}isCharacter(e){return this.type==ec.Character&&this.numValue==e}isNumber(){return this.type==ec.Number}isString(){return this.type==ec.String}isOperator(e){return this.type==ec.Operator&&this.strValue==e}isIdentifier(){return this.type==ec.Identifier}isPrivateIdentifier(){return this.type==ec.PrivateIdentifier}isKeyword(){return this.type==ec.Keyword}isKeywordLet(){return this.type==ec.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==ec.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==ec.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==ec.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==ec.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==ec.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==ec.Keyword&&"this"==this.strValue}isError(){return this.type==ec.Error}toNumber(){return this.type==ec.Number?this.numValue:-1}toString(){switch(this.type){case ec.Character:case ec.Identifier:case ec.Keyword:case ec.Operator:case ec.PrivateIdentifier:case ec.String:case ec.Error:return this.strValue;case ec.Number:return this.numValue.toString();default:return null}}}function sc(e,t,n){return new rc(e,t,ec.Character,n,String.fromCharCode(n))}function ic(e,t,n){return new rc(e,t,ec.Operator,0,n)}const oc=new rc(-1,-1,ec.Character,0,"");class ac{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=32;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(lc(n))return this.scanIdentifier();if(ri(n))return this.scanNumber(r);const s=r;switch(n){case 46:return this.advance(),ri(this.peek)?this.scanNumber(s):sc(s,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(s,n);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(s,String.fromCharCode(n));case 63:return this.scanQuestion(s);case 60:case 62:return this.scanComplexOperator(s,String.fromCharCode(n),61,"=");case 33:case 61:return this.scanComplexOperator(s,String.fromCharCode(n),61,"=",61,"=");case 38:return this.scanComplexOperator(s,"&",38,"&");case 124:return this.scanComplexOperator(s,"|",124,"|");case 160:for(;ni(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(n)}]`,0)}scanCharacter(e,t){return this.advance(),sc(e,this.index,t)}scanOperator(e,t){return this.advance(),ic(e,this.index,t)}scanComplexOperator(e,t,n,r,s,i){this.advance();let o=t;return this.peek==n&&(this.advance(),o+=r),null!=s&&this.peek==s&&(this.advance(),o+=i),ic(e,this.index,o)}scanIdentifier(){const e=this.index;for(this.advance();cc(this.peek);)this.advance();const t=this.input.substring(e,this.index);return tc.indexOf(t)>-1?(n=e,r=this.index,s=t,new rc(n,r,ec.Keyword,0,s)):function(e,t,n){return new rc(e,t,ec.Identifier,0,n)}(e,this.index,t);var n,r,s}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!lc(this.peek))return this.error("Invalid character [#]",-1);for(;cc(this.peek);)this.advance();const t=this.input.substring(e,this.index);return n=e,r=this.index,s=t,new rc(n,r,ec.PrivateIdentifier,0,s);var n,r,s}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(ri(this.peek));else if(95===this.peek){if(!ri(this.input.charCodeAt(this.index-1))||!ri(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(46===this.peek)t=!1;else{if(101!=(r=this.peek)&&69!=r)break;if(this.advance(),uc(this.peek)&&this.advance(),!ri(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var r;let s=this.input.substring(e,this.index);n&&(s=s.replace(/_/g,""));const i=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(s):parseFloat(s);return o=e,a=this.index,l=i,new rc(o,a,ec.Number,l,"");var o,a,l}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const s=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=s.substring(r,this.index),this.advance(),this.peek=this.peek,117==this.peek){const t=s.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error(`Invalid unicode escape [\\u${t}]`,0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=dc(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const i=s.substring(r,this.index);return this.advance(),o=e,a=this.index,l=n+i,new rc(o,a,ec.String,0,l);var o,a,l}scanQuestion(e){this.advance();let t="?";return 63!==this.peek&&46!==this.peek||(t+=46===this.peek?".":"?",this.advance()),ic(e,this.index,t)}error(e,t){const n=this.index+t;return function(e,t,n){return new rc(e,t,ec.Error,0,n)}(n,this.index,`Lexer Error: ${e} at column ${n} in expression [${this.input}]`)}}function lc(e){return 97<=e&&e<=122||65<=e&&e<=90||95==e||36==e}function cc(e){return si(e)||ri(e)||95==e||36==e}function uc(e){return 45==e||43==e}function pc(e){return 39===e||34===e||96===e}function dc(e){switch(e){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}class hc{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class fc{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}class mc{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=_c}parseAction(e,t,n,r=xs){this._checkNoInterpolation(e,t,r);const s=this._stripComments(e),i=this._lexer.tokenize(this._stripComments(e)),o=new yc(e,t,n,i,s.length,!0,this.errors,e.length-s.length).parseChain();return new Qi(o,e,t,n,this.errors)}parseBinding(e,t,n,r=xs){const s=this._parseBindingAst(e,t,n,r);return new Qi(s,e,t,n,this.errors)}checkSimpleExpression(e){const t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n,r=xs){const s=this._parseBindingAst(e,t,n,r),i=this.checkSimpleExpression(s);return i.length>0&&this._reportError("Host binding expression cannot contain "+i.join(" "),e,t),new Qi(s,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new Ei(e,t,n,r))}_parseBindingAst(e,t,n,r){const s=this._parseQuote(e,t,n);if(null!=s)return s;this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),o=this._lexer.tokenize(i);return new yc(e,t,n,o,i.length,!1,this.errors,e.length-i.length).parseChain()}_parseQuote(e,t,n){if(null==e)return null;const r=e.indexOf(":");if(-1==r)return null;const s=e.substring(0,r).trim();if(!function(e){if(0==e.length)return!1;const t=new ac(e);if(!lc(t.peek))return!1;for(t.advance();0!==t.peek;){if(!cc(t.peek))return!1;t.advance()}return!0}(s))return null;const i=e.substring(r+1),o=new bi(0,e.length);return new Si(o,o.toAbsolute(n),s,i,t)}parseTemplateBindings(e,t,n,r,s){const i=this._lexer.tokenize(t);return new yc(t,n,s,i,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new Ki(r,r+e.length)})}parseInterpolation(e,t,n,r=xs){const{strings:s,expressions:i,offsets:o}=this.splitInterpolation(e,t,r);if(0===i.length)return null;const a=[];for(let r=0;r<i.length;++r){const s=i[r].text,l=this._stripComments(s),c=this._lexer.tokenize(l),u=new yc(e,t,n,c,l.length,!1,this.errors,o[r]+(s.length-l.length)).parseChain();a.push(u)}return this.createInterpolationAst(s.map(e=>e.text),a,e,t,n)}parseInterpolationExpression(e,t,n){const r=this._stripComments(e),s=this._lexer.tokenize(r),i=new yc(e,t,n,s,r.length,!1,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[i],e,t,n)}createInterpolationAst(e,t,n,r,s){const i=new bi(0,n.length),o=new $i(i,i.toAbsolute(s),e,t);return new Qi(o,n,r,s,this.errors)}splitInterpolation(e,t,n=xs){const r=[],s=[],i=[];let o=0,a=!1,l=!1,{start:c,end:u}=n;for(;o<e.length;)if(a){const n=o,r=n+c.length,p=this._getInterpolationEndIndex(e,u,r);if(-1===p){a=!1,l=!0;break}const d=p+u.length,h=e.substring(r,p);0===h.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${o} in`,t),s.push({text:h,start:n,end:d}),i.push(r),o=d,a=!1}else{const t=o;o=e.indexOf(c,o),-1===o&&(o=e.length);const n=e.substring(t,o);r.push({text:n,start:t,end:o}),a=!0}if(!a)if(l){const t=r[r.length-1];t.text+=e.substring(o),t.end=e.length}else r.push({text:e.substring(o),start:o,end:e.length});return new hc(r,s,i)}wrapLiteralPrimitive(e,t,n){const r=new bi(0,null==e?0:e.length);return new Qi(new ji(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),s=e.charCodeAt(n+1);if(47===r&&47==s&&null==t)return n;t===r?t=null:null==t&&pc(r)&&(t=r)}return null}_checkNoInterpolation(e,t,{start:n,end:r}){let s=-1,i=-1;for(const t of this._forEachUnquotedChar(e,0))if(-1===s)e.startsWith(n)&&(s=t);else if(i=this._getInterpolationEndIndex(e,r,t),i>-1)break;s>-1&&i>-1&&this._reportError(`Got interpolation (${n}${r}) where expression was expected`,e,`at column ${s} in`,t)}_getInterpolationEndIndex(e,t,n){for(const r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let s=t;s<e.length;s++){const t=e[s];!pc(e.charCodeAt(s))||null!==n&&n!==t||r%2!=0?null===n&&(yield s):n=null===n?t:null,r="\\"===t?r+1:0}}}class gc extends mc{constructor(){super(...arguments),this.simpleExpressionChecker=wc}}var vc;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(vc||(vc={}));class yc{constructor(e,t,n,r,s,i,o,a){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=s,this.parseAction=i,this.errors=o,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=vc.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:oc}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(n=t),e>n){const t=n;n=e,e=t}return new bi(e,n)}sourceSpan(e,t){const n=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected "+String.fromCharCode(e))}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator "+e)}prettyPrintToken(e){return e===oc?"end of input":"token "+e}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(59))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(59););else this.index<this.tokens.length&&this.error(`Unexpected token '${this.next}'`)}if(0==e.length){const e=this.offset,t=this.offset+this.inputLength;return new Di(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new Ai(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{const n=this.inputIndex;let r,s=this.expectIdentifierOrKeyword(),i=void 0;null!==s?r=this.sourceSpan(n):(s="",i=-1!==this.next.index?this.next.index:this.inputLength+this.offset,r=new bi(i,i).toAbsolute(this.absoluteOffset));const o=[];for(;this.consumeOptionalCharacter(58);)o.push(this.parseExpression());t=new Li(this.span(e),this.sourceSpan(e,i),t,s,o,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(58))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error(`Conditional expression ${n} requires all 3 expressions`),r=new Di(this.span(e),this.sourceSpan(e))}return new Mi(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const n=this.parseLogicalAnd();t=new Hi(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const n=this.parseNullishCoalescing();t=new Hi(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const n=this.parseEquality();t=new Hi(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==ec.Operator;){const n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();const r=this.parseRelational();t=new Hi(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==ec.Operator;){const n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":this.advance();const r=this.parseAdditive();t=new Hi(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==ec.Operator;){const n=this.next.strValue;switch(n){case"+":case"-":this.advance();let r=this.parseMultiplicative();t=new Hi(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==ec.Operator;){const n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let r=this.parsePrefix();t=new Hi(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parsePrefix(){if(this.next.type==ec.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),Ui.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),Ui.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new qi(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMemberOrMethodCall(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),t=new Zi(this.span(e),this.sourceSpan(e),t,n)}else{if(!this.consumeOptionalOperator("!"))return t;t=new zi(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new ji(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new ji(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new ji(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new ji(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Ii(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Vi(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Ti(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new ji(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new ji(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Di(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new Di(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token "+this.next),new Di(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{const n=this.inputIndex,r=this.next.isString(),s=this.expectIdentifierOrKeywordOrString();if(e.push({key:s,quoted:r}),r)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{const e=this.span(n),r=this.sourceSpan(n);t.push(new ki(e,r,r,new Ti(e,r),s))}}while(this.consumeOptionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new Bi(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t,n){const r=this.inputIndex,s=this.withContext(vc.Writable,()=>{var t;const n=null!==(t=this.expectIdentifierOrKeyword())&&void 0!==t?t:"";return 0===n.length&&this.error("Expected identifier for property access",e.span.end),n}),i=this.sourceSpan(r);if(this.consumeOptionalCharacter(40)){const r=this.inputIndex;this.rparensExpected++;const o=this.parseCallArguments(),a=this.span(r,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const l=this.span(t),c=this.sourceSpan(t);return n?new Gi(l,c,i,e,s,o,a):new Wi(l,c,i,e,s,o,a)}if(n)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Di(this.span(t),this.sourceSpan(t))):new Ni(this.span(t),this.sourceSpan(t),i,e,s);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Di(this.span(t),this.sourceSpan(t));const n=this.parseConditional();return new Pi(this.span(t),this.sourceSpan(t),i,e,s,n)}return new ki(this.span(t),this.sourceSpan(t),i,e,s)}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new Ki(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new fc(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(vc.Writable,()=>{this.rbracketsExpected++;const r=this.parsePipe();if(r instanceof Di&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.consumeOptionalOperator("="))return n?new Ri(this.span(t),this.sourceSpan(t),e,r):new Oi(this.span(t),this.sourceSpan(t),e,r);if(!n){const n=this.parseConditional();return new Fi(this.span(t),this.sourceSpan(t),e,r,n)}return this.error("The '?.' operator cannot be used in the assignment"),new Di(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(58);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const s=this.parseAsBinding(e);s||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const i=new Ki(e.span.start,r);return t.push(new Xi(i,e,n)),s&&t.push(s),t}getDirectiveBoundTarget(){if(this.next===oc||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new Qi(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new Ki(e.span.start,this.currentAbsoluteOffset);return new Yi(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new Ki(e,this.currentAbsoluteOffset);return new Yi(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=null){this.errors.push(new Ei(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n="Private identifiers are not supported. Unexpected private identifier: "+e;null!==t&&(n+=", "+t),this.error(n)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(59)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter(125)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&vc.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new Ei(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class _c{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map(e=>e.visit(this,t))}visitChain(e,t){}visitQuote(e,t){}visitSafeKeyedRead(e,t){}}class wc extends Ji{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ec(e,t=!1){return Tt(Object.keys(e).map(n=>({key:n,quoted:t,value:e[n]})))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let bc;function Cc(){return bc||(bc={},xc(q.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),xc(q.STYLE,["*|style"]),xc(q.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),xc(q.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),bc}function xc(e,t){for(const n of t)bc[n.toLowerCase()]=e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Sc{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Dc=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Tc={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ic=Object.keys(Tc).reduce((e,t)=>(e[Tc[t]]=t,e),{});class Ac extends Sc{constructor(){super(),this._schema={},Dc.forEach(e=>{const t={},[n,r]=e.split("|"),s=r.split(","),[i,o]=n.split("^");i.split(",").forEach(e=>this._schema[e.toLowerCase()]=t);const a=o&&this._schema[o.toLowerCase()];a&&Object.keys(a).forEach(e=>{t[e]=a[e]}),s.forEach(e=>{if(e.length>0)switch(e[0]){case"*":break;case"!":t[e.substring(1)]="boolean";break;case"#":t[e.substring(1)]="number";break;case"%":t[e.substring(1)]="object";break;default:t[e]="string"}})})}hasProperty(e,t,n){if(n.some(e=>e.name===j.name))return!0;if(e.indexOf("-")>-1){if(i(e)||o(e))return!1;if(n.some(e=>e.name===L.name))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]}hasElement(e,t){if(t.some(e=>e.name===j.name))return!0;if(e.indexOf("-")>-1){if(i(e)||o(e))return!0;if(t.some(e=>e.name===L.name))return!0}return!!this._schema[e.toLowerCase()]}securityContext(e,t,n){n&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let r=Cc()[e+"|"+t];return r||(r=Cc()["*|"+t],r||q.NONE)}getMappedPropName(e){return Tc[e]||e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}allKnownAttributesOfElement(e){const t=this._schema[e.toLowerCase()]||this._schema.unknown;return Object.keys(t).map(e=>{var t;return null!==(t=Ic[e])&&void 0!==t?t:e})}normalizeAnimationStyleProperty(e){return e.replace(qt,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,n){let r="";const s=n.toString().trim();let i=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(i=`Please provide a CSS unit value for ${t}:${n}`)}return{error:i,value:s+r}}}const Mc=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function kc(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),Mc.has(e+"|"+t)||Mc.has("*|"+t)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Pc=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Nc={start:"[(",end:")]"},Oc={start:"[",end:"]"},Rc={start:"(",end:")"};class Fc{constructor(e,t){this.bindingParser=e,this.options=t,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(e){const t=yr(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const n=Ml(e);if(n.type===kl.SCRIPT)return null;if(n.type===kl.STYLE){const t=1===(r=e).children.length&&r.children[0]instanceof aa?r.children[0].value:null;return null!==t&&this.styles.push(t),null}if(n.type===kl.STYLESHEET&&El(n.hrefAttr))return this.styleUrls.push(n.hrefAttr),null;var r;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const s=a(e.name),i=[],o=[],l=[],c=[],u=[],p={},d=[],h=[];let f=!1;for(const t of e.attrs){let e=!1;const n=jc(t.name);let r=!1;if(t.i18n&&(p[t.name]=t.i18n),n.startsWith("*")){f&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",t.sourceSpan),r=!0,f=!0;const e=t.value,s=n.substring("*".length),i=[],o=t.valueSpan?t.valueSpan.start.offset:t.sourceSpan.start.offset+t.name.length;this.bindingParser.parseInlineTemplateBinding(s,e,t.sourceSpan,o,[],d,i,!0),h.push(...i.map(e=>new Cn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan)))}else e=this.parseAttribute(s,t,[],i,o,l,c);e||r||u.push(this.visitAttribute(t))}const m=ha(n.nonBindable?Lc:this,e.children);let g;if(n.type===kl.NG_CONTENT){e.children&&!e.children.every(e=>function(e){return e instanceof aa&&0==e.value.trim().length}(e)||function(e){return e instanceof da}(e))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const t=n.selectAttr,r=e.attrs.map(e=>this.visitAttribute(e));g=new bn(t,r,e.sourceSpan,e.i18n),this.ngContentSelectors.push(t)}else if(s){const t=this.extractAttributes(e.name,i,p);g=new En(e.name,u,t.bound,o,[],m,c,l,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const t=this.extractAttributes(e.name,i,p);g=new wn(e.name,u,t.bound,o,m,c,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(f){const n=this.extractAttributes("ng-template",d,p),r=[];n.literal.forEach(e=>r.push(e)),n.bound.forEach(e=>r.push(e));const i=g instanceof wn?{attributes:g.attributes,inputs:g.inputs,outputs:g.outputs}:{attributes:[],inputs:[],outputs:[]},o=s&&t?void 0:e.i18n;g=new En(g.name,i.attributes,i.inputs,i.outputs,r,[g],[],h,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,o)}return t&&(this.inI18nBlock=!1),g}visitAttribute(e){return new vn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!yr(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,n={},r={};return Object.keys(t.placeholders).forEach(e=>{const s=t.placeholders[e];if(e.startsWith("VAR_")){const t=e.trim(),r=this.bindingParser.parseInterpolationExpression(s.text,s.sourceSpan);n[t]=new gn(r,s.sourceSpan)}else r[e]=this._visitTextWithInterpolation(s.text,s.sourceSpan)}),new Sn(n,r,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new fn(e.value||"",e.sourceSpan)),null}extractAttributes(e,t,n){const r=[],s=[];return t.forEach(t=>{const i=n[t.name];if(t.isLiteral)s.push(new vn(t.name,t.expression.source||"",t.sourceSpan,t.keySpan,t.valueSpan,i));else{const n=this.bindingParser.createBoundElementProperty(e,t,!0,!1);r.push(yn.fromBoundElementProperty(n,i))}}),{bound:r,literal:s}}parseAttribute(e,t,n,r,s,i,o){const a=jc(t.name),l=t.value,c=t.sourceSpan,u=t.valueSpan?t.valueSpan.start.offset:c.start.offset;function p(e,n,r){const s=t.name.length-a.length,i=e.start.moveBy(n.length+s),o=i.moveBy(r.length);return new ci(i,o,i,r)}const d=a.match(Pc);if(d){if(null!=d[1]){const e=d[7],s=p(c,d[1],e);this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,s)}else if(d[2])if(e){const e=d[7],n=p(c,d[2],e);this.parseVariable(e,l,c,n,t.valueSpan,i)}else this.reportError('"let-" is only supported on ng-template elements.',c);else if(d[3]){const e=d[7],n=p(c,d[3],e);this.parseReference(e,l,c,n,t.valueSpan,o)}else if(d[4]){const e=[],r=d[7],i=p(c,d[4],r);this.bindingParser.parseEvent(r,l,c,t.valueSpan||c,n,e,i),Vc(e,s)}else if(d[5]){const e=d[7],i=p(c,d[5],e);this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,i),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,s,i)}else if(d[6]){const e=p(c,"",a);this.bindingParser.parseLiteralAttr(a,l,c,u,t.valueSpan,n,r,e)}return!0}let h=null;if(a.startsWith(Nc.start)?h=Nc:a.startsWith(Oc.start)?h=Oc:a.startsWith(Rc.start)&&(h=Rc),null!==h&&a.endsWith(h.end)&&a.length>h.start.length+h.end.length){const e=a.substring(h.start.length,a.length-h.end.length),i=p(c,h.start,e);if(h.start===Nc.start)this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,i),this.parseAssignmentEvent(e,l,c,t.valueSpan,n,s,i);else if(h.start===Oc.start)this.bindingParser.parsePropertyBinding(e,l,!1,c,u,t.valueSpan,n,r,i);else{const r=[];this.bindingParser.parseEvent(e,l,c,t.valueSpan||c,n,r,i),Vc(r,s)}return!0}const f=p(c,"",a);return this.bindingParser.parsePropertyInterpolation(a,l,c,t.valueSpan,n,r,f)}_visitTextWithInterpolation(e,t,n){const r=Ua(e),s=this.bindingParser.parseInterpolation(r,t);return s?new gn(s,t,n):new mn(r,t)}parseVariable(e,t,n,r,s,i){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',n):0===e.length&&this.reportError("Variable does not have a name",n),i.push(new Cn(e,t,n,r,s))}parseReference(e,t,n,r,s,i){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',n):0===e.length?this.reportError("Reference does not have a name",n):i.some(t=>t.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,n),i.push(new xn(e,t,n,r,s))}parseAssignmentEvent(e,t,n,r,s,i,o){const a=[];this.bindingParser.parseEvent(e+"Change",t+"=$event",n,r||n,s,a,o),Vc(a,i)}reportError(e,t,n=ui.ERROR){this.errors.push(new di(t,e,n))}}const Lc=new class{visitElement(e){const t=Ml(e);if(t.type===kl.SCRIPT||t.type===kl.STYLE||t.type===kl.STYLESHEET)return null;const n=ha(this,e.children,null);return new wn(e.name,ha(this,e.attrs),[],[],n,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new vn(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new mn(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function jc(e){return/^data-/i.test(e)?e.substring(5):e}function Vc(e,t){t.push(...e.map(e=>_n.fromParsedEvent(e)))}var Bc;!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE"}(Bc||(Bc={}));class $c{constructor(e,t,n=0,r=null,s,i){this.index=e,this.ref=t,this.level=n,this.templateIndex=r,this.meta=s,this.registry=i,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=i||{getUniqueId:Cr(),icus:new Map},this.id=this._registry.getUniqueId()}appendTag(e,t,n,r){if(t.isVoid&&r)return;const s=t.isVoid||!r?t.startName:t.closeName,i={type:e,index:n,ctx:this.id,isVoid:t.isVoid,closed:r};Sr(this.placeholders,s,i)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;return this.placeholders.forEach((t,n)=>e.set(n,t.map(zc))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){Sr(this._registry.icus,e,t)}appendBoundText(e){Dr(e,this.bindings.size,this.id).forEach((e,t)=>Sr(this.placeholders,t,...e))}appendTemplate(e,t){this.appendTag(Bc.TEMPLATE,e,t,!1),this.appendTag(Bc.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,n){this.appendTag(Bc.ELEMENT,e,t,n)}appendProjection(e,t){this.appendTag(Bc.ELEMENT,e,t,!1),this.appendTag(Bc.ELEMENT,e,t,!0)}forkChildContext(e,t,n){return new $c(e,this.ref,this.level+1,t,n,this._registry)}reconcileChildContext(e){["start","close"].forEach(t=>{const n=e.meta[t+"Name"],r=(this.placeholders.get(n)||[]).find(qc(this.id,e.templateIndex));r&&(r.ctx=e.id)});e.placeholders.forEach((t,n)=>{const r=this.placeholders.get(n);if(!r)return void this.placeholders.set(n,t);const s=r.findIndex(qc(e.id,e.templateIndex));if(s>=0){const e=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))r.splice(s+(e?0:1),0,...t);else{t[e?t.length-1:0].tmpl=r[s],r.splice(s,1,...t)}}else r.push(...t);this.placeholders.set(n,r)}),this._unresolvedCtxCount--}}function Hc(e,t,n,r){return br(`${r?"/":""}${e}${t}`,n)}function Uc(e,{index:t,ctx:n,isVoid:r},s){return r?Hc(e,t,n)+Hc(e,t,n,!0):Hc(e,t,n,s)}function qc(e,t){return n=>"object"==typeof n&&n.type===Bc.TEMPLATE&&n.index===t&&n.ctx===e}function zc(e){const t=(e,t)=>Uc("#",e,t),n=(e,t)=>Uc("*",e,t);switch(e.type){case Bc.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?n(e.tmpl,!0):""):e.tmpl?n(e.tmpl)+t(e)+(e.isVoid?n(e.tmpl,!0):""):t(e);case Bc.TEMPLATE:return n(e,e.closed);default:return e}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Wc=new class{visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${Ir(e,!1)}}`}};function Gc(e){return e.visit(Wc)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Zc={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class Kc{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,n){const r=this._hashTag(e,t,n);if(this._signatureToName[r])return this._signatureToName[r];const s=e.toUpperCase(),i=Zc[s]||"TAG_"+s,o=this._generateUniqueName(n?i:"START_"+i);return this._signatureToName[r]=o,o}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const n=e.toUpperCase(),r=Zc[n]||"TAG_"+n,s=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[t]=s,s}getPlaceholderName(e,t){const n=e.toUpperCase(),r=`PH: ${n}=${t}`;if(this._signatureToName[r])return this._signatureToName[r];const s=this._generateUniqueName(n);return this._signatureToName[r]=s,s}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,n){return"<"+e+Object.keys(t).sort().map(e=>` ${e}=${t[e]}`).join("")+(n?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag("/"+e,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,`${e}_${t}`}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Qc=new mc(new nc);function Yc(e){const t=new Jc(Qc,e);return(e,n,r,s,i)=>t.toI18nMessage(e,n,r,s,i)}function Xc(e,t){return t}class Jc{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",n="",r="",s){const i={isIcu:1==e.length&&e[0]instanceof la,icuDepth:0,placeholderRegistry:new Kc,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:s||Xc},o=ha(this,e,i);return new Tn(o,i.placeholderToContent,i.placeholderToMessage,t,n,r)}visitElement(e,t){var n;const r=ha(this,e.children,t),s={};e.attrs.forEach(e=>{s[e.name]=e.value});const i=h(e.name).isVoid,o=t.placeholderRegistry.getStartTagPlaceholderName(e.name,s,i);t.placeholderToContent[o]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let a="";i||(a=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[a]={text:`</${e.name}>`,sourceSpan:null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan});const l=new kn(e.name,s,o,a,r,i,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,l)}visitAttribute(e,t){const n=this._visitTextWithInterpolation(e.value,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitText(e,t){const n=this._visitTextWithInterpolation(e.value,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,n)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const n={},r=new Mn(e.switchValue,e.type,n,e.sourceSpan);if(e.cases.forEach(e=>{n[e.value]=new An(e.expression.map(e=>e.visit(this,t)),e.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const n=t.placeholderRegistry.getUniquePlaceholder("VAR_"+e.type);return r.expressionPlaceholder=n,t.placeholderToContent[n]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,r)}const s=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[s]=this.toI18nMessage([e],"","","",void 0);const i=new Nn(r,s,e.sourceSpan);return t.visitNodeFn(e,i)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,n,r){const{strings:s,expressions:i}=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(0===i.length)return new In(e,t);const o=[];for(let e=0;e<s.length-1;e++)this._addText(o,s[e],t),this._addPlaceholder(o,n,i[e],t);return this._addText(o,s[s.length-1],t),function(e,t){t instanceof Tn&&(!function(e){const t=e.nodes;if(1!==t.length||!(t[0]instanceof An))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(t),t=t.nodes[0]);if(t instanceof An){!function(e,t){if(e.length!==t.length)throw new Error("The number of i18n message children changed between first and second pass.");if(e.some((e,n)=>t[n].constructor!==e.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(t.children,e);for(let n=0;n<e.length;n++)e[n].sourceSpan=t.children[n].sourceSpan}}(o,r),new An(o,t)}_addText(e,t,n){if(t.text.length>0){const r=eu(n,t);e.push(new In(t.text,r))}}_addPlaceholder(e,t,n,r){const s=eu(r,n),i=n.text.split(tu)[2]||"INTERPOLATION";const o=t.placeholderRegistry.getPlaceholderName(i,n.text),a=this._interpolationConfig.start+n.text+this._interpolationConfig.end;t.placeholderToContent[o]={text:a,sourceSpan:s},e.push(new Pn(n.text,o,s))}}function eu(e,{start:t,end:n}){return new ci(e.fullStart.moveBy(t),e.fullStart.moveBy(n))}const tu=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class nu extends di{constructor(e,t){super(e,t)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const ru=(e,t)=>(e instanceof oa&&(t instanceof Nn&&e.i18n instanceof Tn&&(t.previousMessage=e.i18n),e.i18n=t),t);class su{constructor(e=xs,t=!1,n=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=n,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=Yc(this.interpolationConfig)}_generateI18nMessage(e,t="",n){const{meaning:r,description:s,customId:i}=this._parseMetadata(t),o=this._createI18nMessage(e,r,s,i,n);return this._setMessageId(o,t),this._setLegacyIds(o,t),o}visitAllWithErrors(e){const t=e.map(e=>e.visit(this,null));return new Ra(t,this._errors)}visitElement(e){if(function(e){return e.attrs.some(e=>vr(e.name))}(e)){this.hasI18nMeta=!0;const t=[],n={};for(const r of e.attrs)if("i18n"===r.name){const t=e.i18n||r.value,n=this._generateI18nMessage(e.children,t,ru);n.nodes.length&&(e.i18n=n)}else if(r.name.startsWith("i18n-")){const t=r.name.slice("i18n-".length);kc(e.name,t)?this._reportError(r,`Translating attribute '${t}' is disallowed for security reasons.`):n[t]=r.value}else t.push(r);if(Object.keys(n).length)for(const e of t){const t=n[e.name];void 0!==t&&e.value&&(e.i18n=this._generateI18nMessage([e],e.i18n||t))}this.keepI18nAttrs||(e.attrs=t)}return ha(this,e.children,e.i18n),e}visitExpansion(e,t){let n;const r=e.i18n;if(this.hasI18nMeta=!0,r instanceof Nn){const t=r.name;n=this._generateI18nMessage([e],r);Er(n).name=t}else n=this._generateI18nMessage([e],t||r);return e.i18n=n,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function(e=""){let t,n,r;if(e=e.trim()){const s=e.indexOf("@@"),i=e.indexOf("|");let o;[o,t]=s>-1?[e.slice(0,s),e.slice(s+2)]:[e,""],[n,r]=i>-1?[o.slice(0,i),o.slice(i+1)]:["",o]}return{customId:t,meaning:n,description:r}}(e):e instanceof Tn?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof Tn&&t.id||jn(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[Ln(e),Vn(e)];else if("string"!=typeof t){const n=t instanceof Tn?t:t instanceof Nn?t.previousMessage:void 0;e.legacyIds=n?n.legacyIds:[]}}_reportError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}function iu(e){const t=[];return e.description&&t.push({tagName:"desc",text:e.description}),e.meaning&&t.push({tagName:"meaning",text:e.meaning}),0==t.length?null:function(e=[]){return new nt(e)}(t)}function ou(e,t,n,r){const s=[kt(function(e){return e.nodes.map(e=>e.visit(au,null)).join("")}(t))];Object.keys(r).length&&s.push(Ec(r,!0));const i=n.set(Et("goog.getMsg").callFn(s)).toConstDecl(),o=iu(t);null!==o&&i.addLeadingComment(o);return[i,new ot(e.set(n))]}const au=new class{formatPh(e){return`{$${Ir(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e){return Gc(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(e=>e.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function lu(e,t,n){const{messageParts:r,placeHolders:s}=function(e){const t=[];return e.nodes.forEach(e=>e.visit(cu,t)),function(e){const t=[],n=[];e[0]instanceof ke&&t.push(uu(e[0].sourceSpan.start));for(let r=0;r<e.length;r++){const s=e[r];s instanceof Me?t.push(s):(n.push(s),e[r-1]instanceof ke&&t.push(uu(e[r-1].sourceSpan.end)))}e[e.length-1]instanceof ke&&t.push(uu(e[e.length-1].sourceSpan.end));return{messageParts:t,placeHolders:n}}(t)}(t),i=function(e){const t=e.nodes[0],n=e.nodes[e.nodes.length-1];return new ci(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart,t.sourceSpan.details)}(t),o=s.map(e=>n[e.text]),a=function(e,t,n,r,s){return new Pe(e,t,n,r,s)}(t,r,s,o,i),l=e.set(a);return[new ot(l)]}const cu=new class{visitText(e,t){t[t.length-1]instanceof Me?t[t.length-1].text+=e.value:t.push(new Me(e.value,e.sourceSpan))}visitContainer(e,t){e.children.forEach(e=>e.visit(this,t))}visitIcu(e,t){t.push(new Me(Gc(e),e.sourceSpan))}visitTagPlaceholder(e,t){var n,r;t.push(this.createPlaceholderPiece(e.startName,null!==(n=e.startSourceSpan)&&void 0!==n?n:e.sourceSpan)),e.isVoid||(e.children.forEach(e=>e.visit(this,t)),t.push(this.createPlaceholderPiece(e.closeName,null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan)))}visitPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e,t){t.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}createPlaceholderPiece(e,t){return new ke(Ir(e,!1),t)}};function uu(e){return new Me("",new ci(e,e))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const pu=new Set(["$event"]),du=new Map([["window",Ut.resolveWindow],["document",Ut.resolveDocument],["body",Ut.resolveBody]]),hu=[" ","\n","\r","\t"];function fu(e,t){return At(Et("rf").bitwiseAnd(kt(e),null,!1),t)}function mu(e,t=null,n=null){const{type:r,name:s,target:i,phase:o,handler:a}=e;if(i&&!du.has(i))throw new Error(`Unexpected global target '${i}' defined for '${s}' event.\n        Supported list of global targets: ${Array.from(du.keys())}.`);const l=new Set,c=null===n||0===n.bindingLevel?Et("ctx"):n.getOrCreateSharedContextVar(0),u=uo(n,c,a,"b",()=>en("Unexpected interpolation"),e.handlerSpan,l,pu),p=[];n&&(p.push(...n.variableDeclarations()),p.unshift(...n.restoreViewStatement())),p.push(...u.render3Stmts);const d=1===r?function(e,t){return`@${e}.${t}`}(s,o):s,h=t&&Is(t),f=[];l.has("$event")&&f.push(new He("$event",ne));const m=It(f,p,re,null,h),g=[kt(d),m];return i&&g.push(kt(!1),bt(du.get(i))),g}class gu{constructor(e,t,n=0,r,s,i,o,a,l,c,u,p,d,h,f=function(){return{prepareStatements:[],constExpressions:[],i18nVarRefsCache:new Map}}()){this.constantPool=e,this.level=n,this.contextName=r,this.i18nContext=s,this.templateIndex=i,this.templateName=o,this.directiveMatcher=a,this.directives=l,this.pipeTypeByName=c,this.pipes=u,this._namespace=p,this.i18nUseExternalIds=h,this._constants=f,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=Nr,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=Or,this.visitVariable=Or,this.visitTextAttribute=Or,this.visitBoundAttribute=Or,this.visitBoundEvent=Or,this._bindingScope=t.nestedScope(n),this.fileBasedI18nSuffix=d.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new vu(e,()=>this.allocateDataSlot(),e=>this.allocatePureFunctionSlots(e),(e,t,n,r)=>{const s=c.get(e);s&&this.pipes.add(s),this._bindingScope.set(this.level,t,r),this.creationInstruction(null,Ut.pipe,[kt(n),kt(e)])})}buildTemplateFunction(e,t,n=0,r){this._ngContentSelectorsOffset=n,this._namespace!==Ut.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(e=>this.registerContextVariables(e));const s=this.i18nContext||yr(r)&&!_r(r)&&!(1===(i=e).length&&i[0]instanceof wn&&e[0].i18n===r);var i;const o=Nu(e);if(s&&this.i18nStart(null,r,o),Dn(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(e=>e()),0===this.level&&this._ngContentReservedSlots.length){const e=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const t=this._ngContentReservedSlots.map(e=>"*"!==e?Z(e):e);e.push(this.constantPool.getConstLiteral(Rr(t),!0))}this.creationInstruction(null,Ut.projectionDef,e,!0)}s&&this.i18nEnd(null,o);const a=this._creationCodeFns.map(e=>e()),l=this._updateCodeFns.map(e=>e()),c=this._bindingScope.viewSnapshotStatements(),u=this._bindingScope.variableDeclarations().concat(this._tempVariables),p=a.length>0?[fu(1,c.concat(a))]:[],d=l.length>0?[fu(2,u.concat(l))]:[];return It([new He("rf",ie),new He("ctx",null)],[...this._prefixCode,...p,...d],re,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}maybeRestoreView(){this._bindingScope.maybeRestoreView()}i18nTranslate(e,t={},n,r){const s=n||this.i18nGenerateMainBlockVar(),i=function(e,t,n,r={},s){const i=[Mr(t),At(Ou(),ou(t,e,n,Tr(r,!0)),lu(t,e,Tr(r,!1)))];s&&i.push(new ot(t.set(s(t))));return i}(e,s,this.i18nGenerateClosureVar(e.id),t,r);return this._constants.prepareStatements.push(...i),s}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),n=this.level,r=Et(e.name+t);this._bindingScope.set(n,e.name,r,1,(t,s)=>{let i;if(t.bindingLevel===n)t.isListenerScope()&&t.hasRestoreViewVariable()?(i=Et("restoredCtx"),t.notifyRestoredViewContextUse()):i=Et("ctx");else{const e=t.getSharedContextName(n);i=e||Eu(s)}return[r.set(i.prop(e.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(e=>this.i18n.appendBinding(e))}i18nBindProps(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];if(r instanceof mn)t[n]=kt(r.value);else{const e=r.value.visit(this._valueConverter);if(this.allocateBindingSlots(e),e instanceof $i){const{strings:r,expressions:s}=e,{id:i,bindings:o}=this.i18n,a=function(e,t=0,n=0){if(!e.length)return"";let r="";const s=e.length-1;for(let i=0;i<s;i++)r+=`${e[i]}${br(t+i,n)}`;return r+=e[s],r}(r,o.size,i);this.i18nAppendBindings(s),t[n]=kt(a)}}}),t}i18nGenerateMainBlockVar(){return Et(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const n=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const r=Ar("EXTERNAL_"),s=this.constantPool.uniqueName(n);t=`${r}${Is(e)}$$${s}`}else{const e=Ar(n);t=this.constantPool.uniqueName(e)}return Et(t)}i18nUpdateRef(e){const{icus:t,meta:n,isRoot:r,isResolved:s,isEmitted:i}=e;if(r&&s&&!i&&!_r(n)){e.isEmitted=!0;const r=e.getSerializedPlaceholders();let s={},i=r.size?xr(r):{};t.size&&t.forEach((e,t)=>{if(1===e.length)i[t]=e[0];else{const n=br("I18N_EXP_"+t);i[t]=kt(n),s[t]=Dt(e)}});let o;(Array.from(r.values()).some(e=>e.length>1)||Object.keys(s).length)&&(o=e=>{const t=[e];return Object.keys(s).length&&t.push(Ec(s,!0)),wu(null,Ut.i18nPostprocess,t)}),this.i18nTranslate(n,i,e.ref,o)}}i18nStart(e=null,t,n){const r=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(r,this.templateIndex,t):new $c(r,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:s,ref:i}=this.i18n,o=[kt(r),this.addToConsts(i)];s>0&&o.push(kt(s)),this.creationInstruction(e,n?Ut.i18n:Ut.i18nStart,o)}i18nEnd(e=null,t){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:n,bindings:r}=this.i18n;if(r.size){const t=[];r.forEach(n=>{t.push({sourceSpan:e,value:()=>this.convertPropertyBinding(n)})}),this.updateInstructionChainWithAdvance(this.getConstCount()-1,Ut.i18nExp,t),this.updateInstruction(e,Ut.i18nApply,[kt(n)])}t||this.creationInstruction(e,Ut.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,n){let r=!1;const s=[],i=[];if(t.forEach(e=>{const t=e.i18n,o=e.value.visit(this._valueConverter);if(this.allocateBindingSlots(o),o instanceof $i){const a=xr(Dr(t));s.push(kt(e.name),this.i18nTranslate(t,a)),o.expressions.forEach(e=>{r=!0,i.push({sourceSpan:n,value:()=>this.convertPropertyBinding(e)})})}}),i.length>0&&this.updateInstructionChainWithAdvance(e,Ut.i18nExp,i),s.length>0){const e=kt(this.allocateDataSlot()),t=this.addToConsts(Dt(s));this.creationInstruction(n,Ut.i18nAttributes,[e,t]),r&&this.updateInstruction(n,Ut.i18nApply,[e])}}getNamespaceInstruction(e){switch(e){case"math":return Ut.namespaceMathML;case"svg":return Ut.namespaceSVG;default:return Ut.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.startSourceSpan,e)}interpolatedUpdateInstruction(e,t,n,r,s,i){this.updateInstructionWithAdvance(t,r.sourceSpan,e,()=>[kt(n),...this.getUpdateInstructionArguments(s),...i])}visitContent(e){const t=this.allocateDataSlot(),n=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,r=[kt(t)];this._ngContentReservedSlots.push(e.selector);const s=e.attributes.filter(e=>"select"!==e.name.toLowerCase()),i=this.getAttributeExpressions(e.name,s,[],[]);i.length>0?r.push(kt(n),Dt(i)):0!==n&&r.push(kt(n)),this.creationInstruction(e.sourceSpan,Ut.projection,r),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){var t,n;const r=this.allocateDataSlot(),o=new Ql(null);let a=!1;const l=yr(e.i18n)&&!_r(e.i18n),c=[],[u,p]=s(e.name),d=i(e.name);for(const t of e.attributes){const{name:e,value:n}=t;"ngNonBindable"===e?a=!0:"style"===e?o.registerStyleAttr(n):"class"===e?o.registerClassAttr(n):c.push(t)}this.matchDirectives(e.name,e);const h=[kt(r)];d||h.push(kt(p));const f=[],m=[];e.inputs.forEach(e=>{o.registerBoundInput(e)||(0===e.type&&e.i18n?m.push(e):f.push(e))});const g=this.getAttributeExpressions(e.name,c,f,e.outputs,o,[],m);h.push(this.addAttrsToConsts(g));const v=this.prepareRefsArray(e.references);h.push(this.addToConsts(v));const y=this._namespace,_=this.getNamespaceInstruction(u);_!==y&&this.addNamespaceInstruction(_,e),this.i18n&&this.i18n.appendElement(e.i18n,r);const w=!l&&this.i18n?!Nu(e.children):e.children.length>0,E=!o.hasBindingsWithPipes&&0===e.outputs.length&&0===m.length&&!w,b=!E&&Nu(e.children);if(E)this.creationInstruction(e.sourceSpan,d?Ut.elementContainer:Ut.element,Lr(h));else{if(this.creationInstruction(e.startSourceSpan,d?Ut.elementContainerStart:Ut.elementStart,Lr(h)),a&&this.creationInstruction(e.startSourceSpan,Ut.disableBindings),m.length>0&&this.i18nAttributesInstruction(r,m,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),e.outputs.length>0){const t=e.outputs.map(t=>({sourceSpan:t.sourceSpan,params:this.prepareListenerParameter(e.name,t,r)}));this.creationInstructionChain(Ut.listener,t)}l&&this.i18nStart(e.startSourceSpan,e.i18n,b)}const C=o.buildUpdateLevelInstructions(this._valueConverter),x=C.length-1;for(let e=0;e<=x;e++){const t=C[e];this._bindingSlots+=this.processStylingUpdateInstruction(r,t)}const S=kt(void 0),D=[],T=[];if(f.forEach(e=>{const t=e.type;if(4===t){const t=e.value.visit(this._valueConverter),n=!(t instanceof ji)||!!t.value;this.allocateBindingSlots(t),D.push({name:rs(e.name),sourceSpan:e.sourceSpan,value:()=>n?this.convertPropertyBinding(t):S})}else{if(e.i18n)return;const n=e.value.visit(this._valueConverter);if(void 0!==n){const i=[],[o,a]=s(e.name),l=1===t,c=Mu(e.securityContext,l);if(c&&i.push(c),o){const e=kt(o);c?i.push(e):i.push(kt(null),e)}if(this.allocateBindingSlots(n),0===t)n instanceof $i?this.interpolatedUpdateInstruction(Du(n),r,a,e,n,i):D.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(n),params:i});else if(1===t)if(n instanceof $i&&Hr(n)>1)this.interpolatedUpdateInstruction(function(e){switch(Hr(e)){case 3:return Ut.attributeInterpolate1;case 5:return Ut.attributeInterpolate2;case 7:return Ut.attributeInterpolate3;case 9:return Ut.attributeInterpolate4;case 11:return Ut.attributeInterpolate5;case 13:return Ut.attributeInterpolate6;case 15:return Ut.attributeInterpolate7;case 17:return Ut.attributeInterpolate8;default:return Ut.attributeInterpolateV}}(n),r,a,e,n,i);else{const t=n instanceof $i?n.expressions[0]:n;T.push({name:a,sourceSpan:e.sourceSpan,value:()=>this.convertPropertyBinding(t),params:i})}else this.updateInstructionWithAdvance(r,e.sourceSpan,Ut.classProp,()=>[kt(r),kt(a),this.convertPropertyBinding(n),...i])}}}),D.length>0&&this.updateInstructionChainWithAdvance(r,Ut.property,D),T.length>0&&this.updateInstructionChainWithAdvance(r,Ut.attribute,T),Dn(this,e.children),!l&&this.i18n&&this.i18n.appendElement(e.i18n,r,!0),!E){const t=null!==(n=e.endSourceSpan)&&void 0!==n?n:e.sourceSpan;l&&this.i18nEnd(t,b),a&&this.creationInstruction(t,Ut.enableBindings),this.creationInstruction(t,d?Ut.elementContainerEnd:Ut.elementEnd)}}visitTemplate(e){var t;const n=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,n);const r=e.tagName?s(e.tagName)[1]:e.tagName,i=`${this.contextName}${e.tagName?"_"+Is(e.tagName):""}_${n}`,o=i+"_Template",a=[kt(n),Et(o),kt(r)];this.matchDirectives("ng-template",e);const l=this.getAttributeExpressions("ng-template",e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(a.push(this.addAttrsToConsts(l)),e.references&&e.references.length){const t=this.prepareRefsArray(e.references);a.push(this.addToConsts(t)),a.push(bt(Ut.templateRefExtractor))}const c=new gu(this.constantPool,this._bindingScope,this.level+1,i,this.i18n,n,o,this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const t=c.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(t.toDeclStmt(o)),c._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...c._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,Ut.templateCreate,()=>(a.splice(2,0,kt(c.getConstCount()),kt(c.getVarCount())),Lr(a))),this.templatePropertyBindings(n,e.templateAttrs),"ng-template"===r){const[r,s]=function(e,t){const n=[],r=[];for(const s of e)(t(s)?n:r).push(s);return[n,r]}(e.inputs,wr);if(r.length>0&&this.i18nAttributesInstruction(n,r,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),s.length>0&&this.templatePropertyBindings(n,s),e.outputs.length>0){const t=e.outputs.map(e=>({sourceSpan:e.sourceSpan,params:this.prepareListenerParameter("ng_template",e,n)}));this.creationInstructionChain(Ut.listener,t)}}}visitBoundText(e){if(this.i18n){const t=e.value.visit(this._valueConverter);return this.allocateBindingSlots(t),void(t instanceof $i&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(t.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Ut.text,[kt(t)]);const n=e.value.visit(this._valueConverter);this.allocateBindingSlots(n),n instanceof $i?this.updateInstructionWithAdvance(t,e.sourceSpan,function(e){switch(Hr(e)){case 1:return Ut.textInterpolate;case 3:return Ut.textInterpolate1;case 5:return Ut.textInterpolate2;case 7:return Ut.textInterpolate3;case 9:return Ut.textInterpolate4;case 11:return Ut.textInterpolate5;case 13:return Ut.textInterpolate6;case 15:return Ut.textInterpolate7;case 17:return Ut.textInterpolate8;default:return Ut.textInterpolateV}}(n),()=>this.getUpdateInstructionArguments(n)):en("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,Ut.text,[kt(this.allocateDataSlot()),kt(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));const n=this.i18n,r=this.i18nBindProps(e.vars),s=this.i18nBindProps(e.placeholders),i=e.i18n,o=e=>{const t=Tr(Object.assign(Object.assign({},r),s),!1);return wu(null,Ut.i18nPostprocess,[e,Ec(t,!0)])};if(_r(n.meta))this.i18nTranslate(i,{},n.ref,o);else{const e=this.i18nTranslate(i,{},void 0,o);n.appendIcu(Er(i).name,e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(Rr(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const n=[];t.forEach(t=>{if(t instanceof yn){const r=t.value.visit(this._valueConverter);if(void 0!==r)if(this.allocateBindingSlots(r),r instanceof $i){const n=[];this.interpolatedUpdateInstruction(Du(r),e,t.name,t,r,n)}else n.push({name:t.name,sourceSpan:t.sourceSpan,value:()=>this.convertPropertyBinding(r)})}}),n.length>0&&this.updateInstructionChainWithAdvance(e,Ut.property,n)}instructionFn(e,t,n,r,s=!1){e[s?"unshift":"push"](()=>{const e=Array.isArray(r)?r:r();return wu(t,n,e).toStmt()})}processStylingUpdateInstruction(e,t){let n=0;if(t){const r=[];t.calls.forEach(e=>{n+=e.allocateBindingSlots,r.push({sourceSpan:e.sourceSpan,value:()=>e.params(t=>e.supportsInterpolation&&t instanceof $i?this.getUpdateInstructionArguments(t):this.convertPropertyBinding(t))})}),this.updateInstructionChainWithAdvance(e,t.reference,r)}return n}creationInstruction(e,t,n,r){this.instructionFn(this._creationCodeFns,e,t,n||[],r)}creationInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._creationCodeFns.push(()=>$r(e,t.map(e=>e.params()),n).toStmt())}updateInstructionWithAdvance(e,t,n,r){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,n,r)}updateInstruction(e,t,n){this.instructionFn(this._updateCodeFns,e,t,n||[])}updateInstructionChain(e,t){const n=t.length?t[0].sourceSpan:null;this._updateCodeFns.push(()=>{const r=t.map(e=>{const t=e.value(),n=Array.isArray(t)?t:[t];return e.params&&n.push(...e.params),e.name&&n.unshift(kt(e.name)),n});return $r(e,r,n).toStmt()})}updateInstructionChainWithAdvance(e,t,n){this.addAdvanceInstructionIfNecessary(e,n.length?n[0].sourceSpan:null),this.updateInstructionChain(t,n)}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const n=e-this._currentIndex;if(n<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,Ut.advance,[kt(n)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof $i?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?Et("ctx"):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=go(this,this.getImplicitReceiverExpr(),e,this.bindingContext(),fo.Expression,()=>en("Unexpected interpolation")),n=t.currValExpr;return this._tempVariables.push(...t.stmts),n}getUpdateInstructionArguments(e){const{args:t,stmts:n}=function(e,t,n,r){const s=new Co(e,t,r,void 0),i=n.visit(s,mo.Expression);s.usesImplicitReceiver&&e.notifyImplicitReceiverUse();const o=vo(s,r);let a=i.args.slice(1);if(n instanceof $i){const e=n.strings;3===a.length&&""===e[0]&&""===e[1]?a=[a[1]]:a.length>=19&&(a=[Dt(a)])}return{stmts:o,args:a}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...n),t}matchDirectives(e,t){if(this.directiveMatcher){const n=Su(e,Br(t));this.directiveMatcher.match(n,(e,t)=>{this.directives.add(t)})}}getAttributeExpressions(e,t,n,r,s,i=[],o=[]){const a=new Set,l=[];let c;for(const n of t)if("ngProjectAs"===n.name&&(c=n),n.i18n){const{i18nVarRefsCache:e}=this._constants;let t;e.has(n.i18n)?t=e.get(n.i18n):(t=this.i18nTranslate(n.i18n),e.set(n.i18n,t)),l.push(kt(n.name),t)}else l.push(...Cu(n.name),ku(e,n));function u(e,t){"string"==typeof e?a.has(e)||(l.push(...Cu(e)),void 0!==t&&l.push(t),a.add(e)):l.push(kt(e))}if(c&&l.push(...function(e){const t=Z(e.value)[0];return[kt(5),Rr(t)]}(c)),s&&s.populateInitialStylingAttrs(l),n.length||r.length){const e=l.length;for(let e=0;e<n.length;e++){const t=n[e];4!==t.type&&1!==t.type&&u(t.name)}for(let e=0;e<r.length;e++){const t=r[e];1!==t.type&&u(t.name)}l.length!==e&&l.splice(e,0,kt(3))}return i.length&&(l.push(kt(4)),i.forEach(e=>u(e.name))),o.length&&(l.push(kt(6)),o.forEach(e=>u(e.name))),l}addToConsts(e){if(Pt(e))return Je;const t=this._constants.constExpressions;for(let n=0;n<t.length;n++)if(t[n].isEquivalent(e))return kt(n);return kt(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(Dt(e)):Je}prepareRefsArray(e){if(!e||0===e.length)return Je;return Rr(Ws(e.map(e=>{const t=this.allocateDataSlot(),n=this._bindingScope.freshReferenceName(),r=this.level,s=Et(n);return this._bindingScope.set(r,e.name,s,0,(e,n)=>{const r=n>0?[Eu(n).toStmt()]:[],i=s.set(bt(Ut.reference).callFn([kt(t)]));return r.concat(i.toConstDecl())},!0),[e.name,e.value]})))}prepareListenerParameter(e,t,n){return()=>{const r=t.name,s=1===t.type?is(r,t.phase):Is(r),i=`${this.templateName}_${e}_${s}_${n}_listener`,o=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,pu);return mu(t,i,o)}}}class vu extends class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new $i(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new ki(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new Pi(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new Ni(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new Wi(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitSafeMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new Gi(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitFunctionCall(e,t){const n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new Zi(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Vi(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new Bi(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return Ui.createPlus(e.span,e.sourceSpan,n);case"-":return Ui.createMinus(e.span,e.sourceSpan,n);default:throw new Error("Unknown unary operator "+e.operator)}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new Hi(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new qi(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new zi(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),s=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||s!==e.falseExp?new Mi(e.span,e.sourceSpan,n,r,s):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new Li(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new Oi(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.receiver.visit(this),r=e.key.visit(this),s=e.value.visit(this);return n!==e.receiver||r!==e.key||s!==e.value?new Fi(e.span,e.sourceSpan,n,r,s):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const s=e[r],i=s.visit(this);t[r]=i,n=n||i!==s}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new Ai(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}visitSafeKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new Ri(e.span,e.sourceSpan,n,r):e}}{constructor(e,t,n,r){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=n,this.definePipe=r,this._pipeBindExprs=[]}visitPipe(e,t){const n=this.allocateSlot(),r="PIPE:"+n,s=this.allocatePureFunctionSlots(2+e.args.length),i=new ki(e.span,e.sourceSpan,e.nameSpan,new Ti(e.span,e.sourceSpan),r),{identifier:o,isVarLength:a}=function(e){const t=yu[e.length];return{identifier:t||Ut.pipeBindV,isVarLength:!t}}(e.args);this.definePipe(e.name,r,n,bt(o));const l=[e.exp,...e.args],c=a?this.visitAll([new Vi(e.span,e.sourceSpan,l)]):this.visitAll(l),u=new Zi(e.span,e.sourceSpan,i,[new ji(e.span,e.sourceSpan,n),new ji(e.span,e.sourceSpan,s),...c]);return this._pipeBindExprs.push(u),u}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(t=>{t.args[1].value+=e})}visitLiteralArray(e,t){return new So(e.span,e.sourceSpan,this.visitAll(e.expressions),e=>{const t=Dt(e);return bu(this.constantPool,t,this.allocatePureFunctionSlots)})}visitLiteralMap(e,t){return new So(e.span,e.sourceSpan,this.visitAll(e.values),t=>{const n=Tt(t.map((t,n)=>({key:e.keys[n].key,value:t,quoted:e.keys[n].quoted})));return bu(this.constantPool,n,this.allocatePureFunctionSlots)})}}const yu=[Ut.pipeBind1,Ut.pipeBind2,Ut.pipeBind3,Ut.pipeBind4];const _u=[Ut.pureFunction0,Ut.pureFunction1,Ut.pureFunction2,Ut.pureFunction3,Ut.pureFunction4,Ut.pureFunction5,Ut.pureFunction6,Ut.pureFunction7,Ut.pureFunction8];function wu(e,t,n){return bt(t,null,e).callFn(n,e)}function Eu(e){return bt(Ut.nextContext).callFn(e>1?[kt(e)]:[])}function bu(e,t,n){const{literalFactory:r,literalFactoryArguments:s}=e.getLiteralFactory(t),i=n(1+s.length),{identifier:o,isVarLength:a}=function(e){const t=_u[e.length];return{identifier:t||Ut.pureFunctionV,isVarLength:!t}}(s),l=[kt(i),r];return a?l.push(Dt(s)):l.push(...s),bt(o).callFn(l)}function Cu(e){const[t,n]=s(e),r=kt(n);return t?[kt(0),kt(t),r]:[r]}class xu{constructor(e=0,t=null,n){if(this.bindingLevel=e,this.parent=t,this.globals=n,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,void 0!==n)for(const e of n)this.set(0,e,Et(e))}static createRootScope(){return new xu}get(e){let t=this;for(;t;){let n=t.map.get(e);if(null!=n)return t!==this&&(n={retrievalLevel:n.retrievalLevel,lhs:n.lhs,declareLocalCallback:n.declareLocalCallback,declare:!1,priority:n.priority},this.map.set(e,n),this.maybeGenerateSharedContextVar(n),this.maybeRestoreView()),n.declareLocalCallback&&!n.declare&&(n.declare=!0),n.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,n,r=0,s,i){if(this.map.has(t)){if(i)return this;en(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:n,declare:!1,declareLocalCallback:s,priority:r}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get("$$shared_ctx$$0").declare=!0)}nestedScope(e,t){const n=new xu(e,this,t);return e>0&&n.generateSharedContextVar(0),n}getOrCreateSharedContextVar(e){const t="$$shared_ctx$$"+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get("$$shared_ctx$$"+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get("$$shared_ctx$$"+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=Et("ctx"+this.freshReferenceName());this.map.set("$$shared_ctx$$"+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(e,n)=>[t.set(Eu(n)).toConstDecl()],declare:!1,priority:2})}getComponentProperty(e){const t=this.map.get("$$shared_ctx$$0");return t.declare=!0,this.maybeRestoreView(),t.lhs.prop(e)}maybeRestoreView(){this.isListenerScope()&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=Et(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){const e=[];if(this.restoreViewVariable){const t=wu(null,Ut.restoreView,[this.restoreViewVariable]);e.push(this.usesRestoredViewContext?Et("restoredCtx").set(t).toConstDecl():t.toStmt())}return e}viewSnapshotStatements(){return this.restoreViewVariable?[this.restoreViewVariable.set(wu(null,Ut.getCurrentView,[])).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(e=>e.declare).sort((e,t)=>t.retrievalLevel-e.retrievalLevel||t.priority-e.priority).reduce((t,n)=>{const r=this.bindingLevel-n.retrievalLevel,s=n.declareLocalCallback(this,r-e);return e=r,t.concat(s)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}hasRestoreViewVariable(){return!!this.restoreViewVariable}notifyRestoredViewContextUse(){this.usesRestoredViewContext=!0}}function Su(e,t){const n=new m,r=s(e)[1];return n.setElement(r),Object.getOwnPropertyNames(t).forEach(e=>{const r=s(e)[1],i=t[e];if(n.addAttribute(r,i),"class"===e.toLowerCase()){i.trim().split(/\s+/).forEach(e=>n.addClassName(e))}}),n}function Du(e){switch(Hr(e)){case 1:return Ut.propertyInterpolate;case 3:return Ut.propertyInterpolate1;case 5:return Ut.propertyInterpolate2;case 7:return Ut.propertyInterpolate3;case 9:return Ut.propertyInterpolate4;case 11:return Ut.propertyInterpolate5;case 13:return Ut.propertyInterpolate6;case 15:return Ut.propertyInterpolate7;case 17:return Ut.propertyInterpolate8;default:return Ut.propertyInterpolateV}}function Tu(e,t,n={}){const{interpolationConfig:r,preserveWhitespaces:s,enableI18nLegacyMessageIdFormat:i}=n,o=Au(r),a=(new Va).parse(e,t,Object.assign(Object.assign({leadingTriviaChars:hu},n),{tokenizeExpansionForms:!0}));if(!n.alwaysAttemptHtmlToR3AstConversion&&a.errors&&a.errors.length>0){const e={interpolationConfig:r,preserveWhitespaces:s,errors:a.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}let l=a.rootNodes;const c=new su(r,!s,i),u=c.visitAllWithErrors(l);if(!n.alwaysAttemptHtmlToR3AstConversion&&u.errors&&u.errors.length>0){const e={interpolationConfig:r,preserveWhitespaces:s,errors:u.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return n.collectCommentNodes&&(e.commentNodes=[]),e}l=u.rootNodes,s||(l=ha(new qa,l),c.hasI18nMeta&&(l=ha(new su(r,!1),l)));const{nodes:p,errors:d,styleUrls:h,styles:f,ngContentSelectors:m,commentNodes:g}=function(e,t,n){const r=new Fc(t,n),s={nodes:ha(r,e),errors:t.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return n.collectCommentNodes&&(s.commentNodes=r.commentNodes),s}(l,o,{collectCommentNodes:!!n.collectCommentNodes});d.push(...a.errors,...u.errors);const v={interpolationConfig:r,preserveWhitespaces:s,errors:d.length>0?d:null,nodes:p,styleUrls:h,styles:f,ngContentSelectors:m};return n.collectCommentNodes&&(v.commentNodes=g),v}const Iu=new Ac;function Au(e=xs){return new Sl(new gc(new nc),e,Iu,null,[])}function Mu(e,t){switch(e){case q.HTML:return bt(Ut.sanitizeHtml);case q.SCRIPT:return bt(Ut.sanitizeScript);case q.STYLE:return t?bt(Ut.sanitizeStyle):null;case q.URL:return bt(Ut.sanitizeUrl);case q.RESOURCE_URL:return bt(Ut.sanitizeResourceUrl);default:return null}}function ku(e,t){const n=Rr(t.value);if(!kc(e,t.name))return n;switch(Iu.securityContext(e,t.name,!0)){case q.HTML:return Mt(bt(Ut.trustConstantHtml),new Te([new Ie(t.value)],[]),void 0,t.valueSpan);case q.RESOURCE_URL:return Mt(bt(Ut.trustConstantResourceUrl),new Te([new Ie(t.value)],[]),void 0,t.valueSpan);default:return n}}function Pu(e){return e instanceof mn||e instanceof gn||e instanceof Sn}function Nu(e){return e.every(Pu)}function Ou(){return St(Et("ngI18nClosureMode")).notIdentical(kt("undefined",oe)).and(Et("ngI18nClosureMode"))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ru=/attr\.([^\]]+)/;function Fu(e,t,n){const r=new Vr,s=Z(e.selector);return r.set("type",e.internalType),s.length>0&&r.set("selectors",Rr(s)),e.queries.length>0&&r.set("contentQueries",function(e,t,n){const r=[],s=[],i=Pr(s,"_t");for(const n of e){r.push(bt(Ut.contentQuery).callFn([Et("dirIndex"),...$u(n,t)]).toStmt());const e=i(),o=bt(Ut.loadQuery).callFn([]),a=bt(Ut.queryRefresh).callFn([e.set(o)]),l=Et("ctx").prop(n.propertyName).set(n.first?e.prop("first"):e);s.push(a.and(l).toStmt())}const o=n?n+"_ContentQueries":null;return It([new He("rf",ie),new He("ctx",null),new He("dirIndex",null)],[fu(1,r),fu(2,s)],re,null,o)}(e.queries,t,e.name)),e.viewQueries.length&&r.set("viewQuery",function(e,t,n){const r=[],s=[],i=Pr(s,"_t");e.forEach(e=>{const n=bt(Ut.viewQuery).callFn($u(e,t));r.push(n.toStmt());const o=i(),a=bt(Ut.loadQuery).callFn([]),l=bt(Ut.queryRefresh).callFn([o.set(a)]),c=Et("ctx").prop(e.propertyName).set(e.first?o.prop("first"):o);s.push(l.and(c).toStmt())});const o=n?n+"_Query":null;return It([new He("rf",ie),new He("ctx",null)],[fu(1,r),fu(2,s)],re,null,o)}(e.viewQueries,t,e.name)),r.set("hostBindings",function(e,t,n,r,s,i,o){const a=Et("ctx"),l=new Ql(a),{styleAttr:c,classAttr:u}=e.specialAttributes;void 0!==c&&l.registerStyleAttr(c);void 0!==u&&l.registerClassAttr(u);const p=[],d=[],h=t,f=Zu(e),m=n.createDirectiveHostEventAsts(f,h);if(m&&m.length){const e=function(e,t){const n=[],r=[],s=[];e.forEach(e=>{let s=e.name&&Is(e.name);const i=1===e.type?is(s,e.targetOrPhase):s,o=t&&s?`${t}_${i}_HostBindingHandler`:null,a=mu(_n.fromParsedEvent(e),o);1==e.type?r.push(a):n.push(a)}),r.length>0&&s.push($r(Ut.syntheticHostListener,r).toStmt());n.length>0&&s.push($r(Ut.listener,n).toStmt());return s}(m,i);p.push(...e)}const g=n.createBoundHostProperties(f,h),v=[];let y,_=0;g&&g.forEach(e=>{l.registerInputBasedOnName(e.name,e.expression,h)?_+=2:(v.push(e),_++)});const w=()=>{if(!y){y=new vu(r,()=>en("Unexpected node"),e=>{const t=_;return _+=e,t},()=>en("Unexpected pipe"))}return y},E=[],b=[],C=[];v.forEach(e=>{const t=e.expression.visit(w()),r=Gu(a,t),{bindingName:i,instruction:o,isAttribute:l}=function(e){let t,n=e.name;const r=n.match(Ru);r?(n=r[1],t=Ut.attribute):e.isAnimation?(n=rs(n),t=Ut.syntheticHostProperty):t=Ut.hostProperty;return{bindingName:n,instruction:t,isAttribute:!!r}}(e),c=n.calcPossibleSecurityContexts(s,i,l).filter(e=>e!==q.NONE);let u=null;c.length&&(u=2===c.length&&c.indexOf(q.URL)>-1&&c.indexOf(q.RESOURCE_URL)>-1?bt(Ut.sanitizeUrlOrResourceUrl):Mu(c[0],l));const p=[kt(i),r.currValExpr];u&&p.push(u),d.push(...r.stmts),o===Ut.hostProperty?E.push(p):o===Ut.attribute?b.push(p):o===Ut.syntheticHostProperty?C.push(p):d.push(bt(o).callFn(p).toStmt())}),E.length>0&&d.push($r(Ut.hostProperty,E).toStmt());b.length>0&&d.push($r(Ut.attribute,b).toStmt());C.length>0&&d.push($r(Ut.syntheticHostProperty,C).toStmt());const x=function(e){const t=[];for(let n of Object.getOwnPropertyNames(e)){const r=e[n];t.push(kt(n),r)}return t}(e.attributes);l.assignHostAttrs(x,o),l.hasBindings&&l.buildUpdateLevelInstructions(w()).forEach(e=>{if(e.calls.length>0){const t=[];e.calls.forEach(e=>{_+=Math.max(e.allocateBindingSlots-2,0),t.push(function(e,t,n){return e.params(e=>n(t,e).currValExpr)}(e,a,Gu))}),d.push($r(e.reference,t).toStmt())}});_&&o.set("hostVars",kt(_));if(p.length>0||d.length>0){const e=i?i+"_HostBindings":null,t=[];return p.length>0&&t.push(fu(1,p)),d.length>0&&t.push(fu(2,d)),It([new He("rf",ie),new He("ctx",null)],t,re,null,e)}return null}(e.host,e.typeSourceSpan,n,t,e.selector||"",e.name,r)),r.set("inputs",Fr(e.inputs,!0)),r.set("outputs",Fr(e.outputs)),null!==e.exportAs&&r.set("exportAs",Dt(e.exportAs.map(e=>kt(e)))),r}function Lu(e,t){const n=[],r=t.providers,s=t.viewProviders;if(r||s){const e=[r||new Ze([])];s&&e.push(s),n.push(bt(Ut.ProvidersFeature).callFn(e))}t.usesInheritance&&n.push(bt(Ut.InheritDefinitionFeature)),t.fullInheritance&&n.push(bt(Ut.CopyDefinitionFeature)),t.lifecycle.usesOnChanges&&n.push(bt(Ut.NgOnChangesFeature)),n.length&&e.set("features",Dt(n))}function ju(e,t,n){const r=Fu(e,t,n);Lu(r,e);const s=e.selector&&m.parse(e.selector),i=s&&s[0];if(i){const e=i.getAttrs();e.length&&r.set("attrs",t.getConstLiteral(Dt(e.map(e=>kt(null!=e?e:void 0))),!0))}let o=null;if(e.directives.length>0){const t=new g;for(const{selector:n,type:r}of e.directives)t.addSelectables(m.parse(n),r);o=t}const a=e.name,l=a?a+"_Template":null,c=new Set,u=new Set,p=e.changeDetection,d=e.template,h=new gu(t,xu.createRootScope(),0,a,null,null,l,o,c,e.pipes,u,Ut.namespaceHTML,e.relativeContextFilePath,e.i18nUseExternalIds),f=h.buildTemplateFunction(d.nodes,[]),v=h.getNgContentSelectors();v&&r.set("ngContentSelectors",v),r.set("decls",kt(h.getConstCount())),r.set("vars",kt(h.getVarCount()));const{constExpressions:y,prepareStatements:_}=h.getConsts();if(y.length>0){let e=Dt(y);_.length>0&&(e=It([],[..._,new at(e)])),r.set("consts",e)}if(r.set("template",f),c.size){const t=Bu(Dt(Array.from(c)),e.declarationListEmitMode);r.set("directives",t)}if(u.size){const t=Bu(Dt(Array.from(u)),e.declarationListEmitMode);r.set("pipes",t)}if(null===e.encapsulation&&(e.encapsulation=T.Emulated),e.styles&&e.styles.length){const n=(e.encapsulation==T.Emulated?function(e,t,n){const r=new Do;return e.map(e=>r.shimCssText(e,t,n))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e.styles,"_ngcontent-%COMP%","_nghost-%COMP%"):e.styles).map(e=>t.getConstLiteral(kt(e)));r.set("styles",Dt(n))}else e.encapsulation===T.Emulated&&(e.encapsulation=T.None);e.encapsulation!==T.Emulated&&r.set("encapsulation",kt(e.encapsulation)),null!==e.animations&&r.set("data",Tt([{key:"animation",value:e.animations,quoted:!1}])),null!=p&&p!==I.Default&&r.set("changeDetection",kt(p));return{expression:bt(Ut.defineComponent).callFn([r.toLiteralMap()],void 0,!0),type:Vu(e),statements:[]}}function Vu(e){const t=zu(e);return t.push(qu(e.template.ngContentSelectors)),xt(bt(Ut.ComponentDeclaration,t))}function Bu(e,t){switch(t){case 0:return e;case 1:return It([],[new at(e)]);case 2:const t=e.callMethod("map",[bt(Ut.resolveForwardRef)]);return It([],[new at(t)])}}function $u(e,t){const n=[jr(e,t),kt(Hu(e))];return e.read&&n.push(e.read),n}function Hu(e){return(e.descendants?1:0)|(e.static?2:0)|(e.emitDistinctChangesOnly?4:0)}function Uu(e){return xt(Tt(Object.keys(e).map(t=>({key:t,value:kt(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}))))}function qu(e){return e.length>0?xt(Dt(e.map(e=>kt(e)))):ae}function zu(e){const t=null!==e.selector?e.selector.replace(/\n/g,""):null;return[ns(e.type.type,e.typeArgumentCount),null!==t?(n=t,xt(kt(n))):ae,null!==e.exportAs?qu(e.exportAs):ae,Uu(e.inputs),Uu(e.outputs),qu(e.queries.map(e=>e.propertyName))];var n}function Wu(e){const t=zu(e);return xt(bt(Ut.DirectiveDeclaration,t))}function Gu(e,t){return go(null,e,t,"b",fo.Expression,()=>en("Unexpected interpolation"))}function Zu(e){return{hostAttributes:{},hostListeners:e.listeners,hostProperties:e.properties}}const Ku=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;class Qu{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Yu{constructor(e=new ei){this.jitEvaluator=e,this.FactoryTarget=us,this.ResourceLoader=Qu,this.elementSchemaRegistry=new Ac}compilePipe(e,t,n){const r=_i({name:n.name,type:as(n.type),internalType:new ye(n.type),typeArgumentCount:0,deps:null,pipeName:n.pipeName,pure:n.pure});return this.jitExpression(r.expression,e,t,[])}compilePipeDeclaration(e,t,n){const r=_i(function(e){var t;return{name:e.type.name,type:as(e.type),internalType:new ye(e.type),typeArgumentCount:0,pipeName:e.name,deps:null,pure:null===(t=e.pure)||void 0===t||t}}(n));return this.jitExpression(r.expression,e,t,[])}compileInjectable(e,t,n){var r;const{expression:s,statements:i}=gs({name:n.name,type:as(n.type),internalType:new ye(n.type),typeArgumentCount:n.typeArgumentCount,providedIn:hp(n.providedIn),useClass:pp(n,Xu),useFactory:dp(n,Ju),useValue:pp(n,ep),useExisting:pp(n,tp),deps:null===(r=n.deps)||void 0===r?void 0:r.map(fp)},!0);return this.jitExpression(s,e,t,i)}compileInjectableDeclaration(e,t,n){var r;const{expression:s,statements:i}=gs({name:n.type.name,type:as(n.type),internalType:new ye(n.type),typeArgumentCount:0,providedIn:hp(n.providedIn),useClass:pp(n,Xu),useFactory:dp(n,Ju),useValue:pp(n,ep),useExisting:pp(n,tp),deps:null===(r=n.deps)||void 0===r?void 0:r.map(mp)},!0);return this.jitExpression(s,e,t,i)}compileInjector(e,t,n){const r=hi({name:n.name,type:as(n.type),internalType:new ye(n.type),providers:new ye(n.providers),imports:n.imports.map(e=>new ye(e))});return this.jitExpression(r.expression,e,t,[])}compileInjectorDeclaration(e,t,n){const r=hi(function(e){return{name:e.type.name,type:as(e.type),internalType:new ye(e.type),providers:void 0!==e.providers?new ye(e.providers):null,imports:void 0!==e.imports?e.imports.map(e=>new ye(e)):[]}}(n));return this.jitExpression(r.expression,e,t,[])}compileNgModule(e,t,n){const r=gi({type:as(n.type),internalType:new ye(n.type),adjacentType:new ye(n.type),bootstrap:n.bootstrap.map(as),declarations:n.declarations.map(as),imports:n.imports.map(as),exports:n.exports.map(as),emitInline:!0,containsForwardDecls:!1,schemas:n.schemas?n.schemas.map(as):null,id:n.id?new ye(n.id):null});return this.jitExpression(r.expression,e,t,[])}compileNgModuleDeclaration(e,t,n){const r=function(e){const t=new Vr;return t.set("type",new ye(e.type)),void 0!==e.bootstrap&&t.set("bootstrap",new ye(e.bootstrap)),void 0!==e.declarations&&t.set("declarations",new ye(e.declarations)),void 0!==e.imports&&t.set("imports",new ye(e.imports)),void 0!==e.exports&&t.set("exports",new ye(e.exports)),void 0!==e.schemas&&t.set("schemas",new ye(e.schemas)),void 0!==e.id&&t.set("id",new ye(e.id)),bt(Ut.defineNgModule).callFn([t.toLiteralMap()])}(n);return this.jitExpression(r,e,t,[])}compileDirective(e,t,n){const r=sp(n);return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveDeclaration(e,t,n){const r=ip(n,this.createParseSourceSpan("Directive",n.type.name,t));return this.compileDirectiveFromMeta(e,t,r)}compileDirectiveFromMeta(e,t,n){const r=new Lt,s=function(e,t,n){const r=Fu(e,t,n);return Lu(r,e),{expression:bt(Ut.defineDirective).callFn([r.toLiteralMap()],void 0,!0),type:Wu(e),statements:[]}}(n,r,Au());return this.jitExpression(s.expression,e,t,r.statements)}compileComponent(e,t,n){const{template:r,interpolation:s}=up(n.template,n.name,t,n.preserveWhitespaces,n.interpolation),i=Object.assign(Object.assign(Object.assign({},n),sp(n)),{selector:n.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:r,declarationListEmitMode:0,styles:[...n.styles,...r.styles],encapsulation:n.encapsulation,interpolation:s,changeDetection:n.changeDetection,animations:null!=n.animations?new ye(n.animations):null,viewProviders:null!=n.viewProviders?new ye(n.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),o=`ng:///${n.name}.js`;return this.compileComponentFromMeta(e,o,i)}compileComponentDeclaration(e,t,n){const r=function(e,t,n){var r,s,i,o,a,l;const{template:c,interpolation:u}=up(e.template,e.type.name,n,null!==(r=e.preserveWhitespaces)&&void 0!==r&&r,e.interpolation);return Object.assign(Object.assign({},ip(e,t)),{template:c,styles:null!==(s=e.styles)&&void 0!==s?s:[],directives:(null!==(i=e.components)&&void 0!==i?i:[]).concat(null!==(o=e.directives)&&void 0!==o?o:[]).map(lp),pipes:cp(e.pipes),viewProviders:void 0!==e.viewProviders?new ye(e.viewProviders):null,animations:void 0!==e.animations?new ye(e.animations):null,changeDetection:null!==(a=e.changeDetection)&&void 0!==a?a:I.Default,encapsulation:null!==(l=e.encapsulation)&&void 0!==l?l:T.Emulated,interpolation:u,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0})}(n,this.createParseSourceSpan("Component",n.type.name,t),t);return this.compileComponentFromMeta(e,t,r)}compileComponentFromMeta(e,t,n){const r=new Lt,s=ju(n,r,Au(n.interpolation));return this.jitExpression(s.expression,e,t,r.statements)}compileFactory(e,t,n){const r=ps({name:n.name,type:as(n.type),internalType:new ye(n.type),typeArgumentCount:n.typeArgumentCount,deps:(s=n.deps,null==s?null:s.map(fp)),target:n.target});var s;return this.jitExpression(r.expression,e,t,r.statements)}compileFactoryDeclaration(e,t,n){const r=ps({name:n.type.name,type:as(n.type),internalType:new ye(n.type),typeArgumentCount:0,deps:n.deps&&n.deps.map(mp),target:n.target});return this.jitExpression(r.expression,e,t,r.statements)}createParseSourceSpan(e,t,n){return function(e,t,n){const r=new li("",`in ${e} ${t} in ${n}`);return new ci(new ai(r,-1,-1,-1),new ai(r,-1,-1,-1))}(e,t,n)}jitExpression(e,t,n,r){const s=[...r,new st("$def",e,void 0,[et.Exported])];return this.jitEvaluator.evaluateStatements(n,s,new mi(t),!0).$def}}const Xu=Object.keys({useClass:null})[0],Ju=Object.keys({useFactory:null})[0],ep=Object.keys({useValue:null})[0],tp=Object.keys({useExisting:null})[0];function np(e){return Object.assign(Object.assign({},e),{predicate:Array.isArray(e.predicate)?e.predicate:new ye(e.predicate),read:e.read?new ye(e.read):null,static:e.static,emitDistinctChangesOnly:e.emitDistinctChangesOnly})}function rp(e){var t,n,r,s;return{propertyName:e.propertyName,first:null!==(t=e.first)&&void 0!==t&&t,predicate:Array.isArray(e.predicate)?e.predicate:new ye(e.predicate),descendants:null!==(n=e.descendants)&&void 0!==n&&n,read:e.read?new ye(e.read):null,static:null!==(r=e.static)&&void 0!==r&&r,emitDistinctChangesOnly:null===(s=e.emitDistinctChangesOnly)||void 0===s||s}}function sp(e){const t=wp(e.inputs||[]),n=wp(e.outputs||[]),r=e.propMetadata,s={},i={};for(const e in r)r.hasOwnProperty(e)&&r[e].forEach(t=>{"Input"===t.ngMetadataName?s[e]=t.bindingPropertyName?[t.bindingPropertyName,e]:e:_p(t)&&(i[e]=t.bindingPropertyName||e)});return Object.assign(Object.assign({},e),{typeArgumentCount:0,typeSourceSpan:e.typeSourceSpan,type:as(e.type),internalType:new ye(e.type),deps:null,host:vp(e.propMetadata,e.typeSourceSpan,e.host),inputs:Object.assign(Object.assign({},t),s),outputs:Object.assign(Object.assign({},n),i),queries:e.queries.map(np),providers:null!=e.providers?new ye(e.providers):null,viewQueries:e.viewQueries.map(np),fullInheritance:!1})}function ip(e,t){var n,r,s,i,o,a,l,c;return{name:e.type.name,type:as(e.type),typeSourceSpan:t,internalType:new ye(e.type),selector:null!==(n=e.selector)&&void 0!==n?n:null,inputs:null!==(r=e.inputs)&&void 0!==r?r:{},outputs:null!==(s=e.outputs)&&void 0!==s?s:{},host:op(e.host),queries:(null!==(i=e.queries)&&void 0!==i?i:[]).map(rp),viewQueries:(null!==(o=e.viewQueries)&&void 0!==o?o:[]).map(rp),providers:void 0!==e.providers?new ye(e.providers):null,exportAs:null!==(a=e.exportAs)&&void 0!==a?a:null,usesInheritance:null!==(l=e.usesInheritance)&&void 0!==l&&l,lifecycle:{usesOnChanges:null!==(c=e.usesOnChanges)&&void 0!==c&&c},deps:null,typeArgumentCount:0,fullInheritance:!1}}function op(e={}){var t,n,r;return{attributes:ap(null!==(t=e.attributes)&&void 0!==t?t:{}),listeners:null!==(n=e.listeners)&&void 0!==n?n:{},properties:null!==(r=e.properties)&&void 0!==r?r:{},specialAttributes:{classAttr:e.classAttribute,styleAttr:e.styleAttribute}}}function ap(e){const t={};for(const n of Object.keys(e))t[n]=new ye(e[n]);return t}function lp(e){var t,n,r;return{selector:e.selector,type:new ye(e.type),inputs:null!==(t=e.inputs)&&void 0!==t?t:[],outputs:null!==(n=e.outputs)&&void 0!==n?n:[],exportAs:null!==(r=e.exportAs)&&void 0!==r?r:null}}function cp(e){const t=new Map;if(void 0===e)return t;for(const n of Object.keys(e)){const r=e[n];t.set(n,new ye(r))}return t}function up(e,t,n,r,s){const i=s?Cs.fromArray(s):xs,o=Tu(e,n,{preserveWhitespaces:r,interpolationConfig:i});if(null!==o.errors){const e=o.errors.map(e=>e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${t}: ${e}`)}return{template:o,interpolation:i}}function pp(e,t){return e.hasOwnProperty(t)?ms(new ye(e[t]),!1):void 0}function dp(e,t){return e.hasOwnProperty(t)?new ye(e[t]):void 0}function hp(e){return ms(null==e||"string"==typeof e?new De(null!=e?e:null):new ye(e),!1)}function fp(e){const t=null!=e.attribute,n=null===e.token?null:new ye(e.token);return gp(t?new ye(e.attribute):n,t,e.host,e.optional,e.self,e.skipSelf)}function mp(e){var t,n,r,s,i;const o=null!==(t=e.attribute)&&void 0!==t&&t;return gp(null===e.token?null:new ye(e.token),o,null!==(n=e.host)&&void 0!==n&&n,null!==(r=e.optional)&&void 0!==r&&r,null!==(s=e.self)&&void 0!==s&&s,null!==(i=e.skipSelf)&&void 0!==i&&i)}function gp(e,t,n,r,s,i){return{token:e,attributeNameType:t?kt("unknown"):null,host:n,optional:r,self:s,skipSelf:i}}function vp(e,t,n){const r=function(e){const t={},n={},r={},s={};for(const i of Object.keys(e)){const o=e[i],a=i.match(Ku);if(null===a)switch(i){case"class":if("string"!=typeof o)throw new Error("Class binding must be string");s.classAttr=o;break;case"style":if("string"!=typeof o)throw new Error("Style binding must be string");s.styleAttr=o;break;default:t[i]="string"==typeof o?kt(o):o}else if(null!=a[1]){if("string"!=typeof o)throw new Error("Property binding must be string");r[a[1]]=o}else if(null!=a[2]){if("string"!=typeof o)throw new Error("Event binding must be string");n[a[2]]=o}}return{attributes:t,listeners:n,properties:r,specialAttributes:s}}(n||{}),s=function(e,t){const n=Zu(e),r=Au();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}(r,t);if(s.length)throw new Error(s.map(e=>e.msg).join("\n"));for(const t in e)e.hasOwnProperty(t)&&e[t].forEach(e=>{"HostBinding"===e.ngMetadataName?r.properties[e.hostPropertyName||t]=ss("this",t):yp(e)&&(r.listeners[e.eventName||t]=`${t}(${(e.args||[]).join(",")})`)});return r}function yp(e){return"HostListener"===e.ngMetadataName}function _p(e){return"Output"===e.ngMetadataName}function wp(e){return e.reduce((e,t)=>{const[n,r]=t.split(",").map(e=>e.trim());return e[n]=r||n,e},{})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
new class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("12.2.1");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ep{constructor({defaultEncapsulation:e=T.Emulated,useJit:t=!0,jitDevMode:n=!1,missingTranslation:r=null,preserveWhitespaces:s,strictInjectionParameters:i}={}){this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!n,this.missingTranslation=r,this.preserveWhitespaces=bp(Kt(s)),this.strictInjectionParameters=!0===i}}function bp(e,t=!1){return null===e?t:e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Cp{constructor(e,t,n,r){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}clearCache(){this._resourceLoaderCache.clear()}clearCacheFor(e){if(!e.isComponent)return;const t=e.template;this._resourceLoaderCache.delete(t.templateUrl),t.externalStylesheets.forEach(e=>{this._resourceLoaderCache.delete(e.moduleUrl)})}_fetch(e){let t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t}normalizeTemplate(e){if(Zt(e.template)){if(Zt(e.templateUrl))throw tn(`'${an(e.componentType)}' component cannot define both template and templateUrl`);if("string"!=typeof e.template)throw tn(`The template specified for component ${an(e.componentType)} is not a string`)}else{if(!Zt(e.templateUrl))throw tn("No template specified for component "+an(e.componentType));if("string"!=typeof e.templateUrl)throw tn(`The templateUrl specified for component ${an(e.componentType)} is not a string`)}if(Zt(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw tn(`The preserveWhitespaces option for component ${an(e.componentType)} must be a boolean`);return Xt(this._preParseTemplate(e),t=>this._normalizeTemplateMetadata(e,t))}_preParseTemplate(e){let t,n;return null!=e.template?(t=e.template,n=e.moduleUrl):(n=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(n)),Xt(t,t=>this._preparseLoadedTemplate(e,t,n))}_preparseLoadedTemplate(e,t,n){const r=!!e.template,s=Cs.fromArray(e.interpolation),i=Zs({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:r,templateUrl:n}),o=this._htmlParser.parse(t,i,{tokenizeExpansionForms:!0,interpolationConfig:s});if(o.errors.length>0){throw tn("Template parse errors:\n"+o.errors.join("\n"))}const a=this._normalizeStylesheet(new js({styles:e.styles,moduleUrl:e.moduleUrl})),l=new xp;ha(l,o.rootNodes);const c=this._normalizeStylesheet(new js({styles:l.styles,styleUrls:l.styleUrls,moduleUrl:n}));return{template:t,templateUrl:n,isInline:r,htmlAst:o,styles:a.styles.concat(c.styles),inlineStyleUrls:a.styleUrls.concat(c.styleUrls),styleUrls:this._normalizeStylesheet(new js({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:l.ngContentSelectors}}_normalizeTemplateMetadata(e,t){return Xt(this._loadMissingExternalStylesheets(t.styleUrls.concat(t.inlineStyleUrls)),n=>this._normalizeLoadedTemplateMetadata(e,t,n))}_normalizeLoadedTemplateMetadata(e,t,n){const r=[...t.styles];this._inlineStyles(t.inlineStyleUrls,n,r);const s=t.styleUrls,i=s.map(e=>{const t=n.get(e),r=[...t.styles];return this._inlineStyles(t.styleUrls,n,r),new js({moduleUrl:e,styles:r})});let o=e.encapsulation;return null==o&&(o=this._config.defaultEncapsulation),o===T.Emulated&&0===r.length&&0===s.length&&(o=T.None),new Vs({encapsulation:o,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:r,styleUrls:s,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:i,preserveWhitespaces:bp(e.preserveWhitespaces,this._config.preserveWhitespaces)})}_inlineStyles(e,t,n){e.forEach(e=>{const r=t.get(e);r.styles.forEach(e=>n.push(e)),this._inlineStyles(r.styleUrls,t,n)})}_loadMissingExternalStylesheets(e,t=new Map){return Xt(Jt(e.filter(e=>!t.has(e)).map(e=>Xt(this._fetch(e),n=>{const r=this._normalizeStylesheet(new js({styles:[n],moduleUrl:e}));return t.set(e,r),this._loadMissingExternalStylesheets(r.styleUrls,t)}))),e=>t)}_normalizeStylesheet(e){const t=e.moduleUrl,n=e.styleUrls.filter(El).map(e=>this._urlResolver.resolve(t,e)),r=e.styles.map(e=>{const r=function(e,t,n){const r=[],s=n.replace(Cl,"").replace(bl,(...n)=>{const s=n[1]||n[2];return El(s)?(r.push(e.resolve(t,s)),""):n[0]});return new wl(s,r)}(this._urlResolver,t,e);return n.push(...r.styleUrls),r.style});return new js({styles:r,styleUrls:n,moduleUrl:t})}}class xp{constructor(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}visitElement(e,t){const n=Ml(e);switch(n.type){case kl.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case kl.STYLE:let t="";e.children.forEach(e=>{e instanceof aa&&(t+=e.value)}),this.styles.push(t);break;case kl.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,ha(this,e.children),n.nonBindable&&this.ngNonBindableStackCount--,null}visitExpansion(e,t){ha(this,e.cases)}visitExpansionCase(e,t){ha(this,e.expression)}visitComment(e,t){return null}visitAttribute(e,t){return null}visitText(e,t){return null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Sp=[S,x,C,b];class Dp{constructor(e){this._reflector=e}isDirective(e){const t=this._reflector.annotations(ln(e));return t&&t.some(Tp)}resolve(e,t=!0){const n=this._reflector.annotations(ln(e));if(n){const t=Ip(n,Tp);if(t){const n=this._reflector.propMetadata(e),r=this._reflector.guards(e);return this._mergeWithPropertyMetadata(t,n,r,e)}}if(t)throw new Error("No Directive annotation found on "+an(e));return null}_mergeWithPropertyMetadata(e,t,n,r){const s=[],i=[],o={},a={};return Object.keys(t).forEach(e=>{const n=Ip(t[e],e=>k.isTypeOf(e));n&&(n.bindingPropertyName?s.push(`${e}: ${n.bindingPropertyName}`):s.push(e));const r=Ip(t[e],e=>P.isTypeOf(e));r&&(r.bindingPropertyName?i.push(`${e}: ${r.bindingPropertyName}`):i.push(e));t[e].filter(e=>N.isTypeOf(e)).forEach(t=>{if(t.hostPropertyName){const n=t.hostPropertyName[0];if("("===n)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===n)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");o[`[${t.hostPropertyName}]`]=e}else o[`[${e}]`]=e});t[e].filter(e=>O.isTypeOf(e)).forEach(t=>{const n=t.args||[];o[`(${t.eventName})`]=`${e}(${n.join(",")})`});const l=Ip(t[e],e=>Sp.some(t=>t.isTypeOf(e)));l&&(a[e]=l)}),this._merge(e,s,i,o,a,n,r)}_extractPublicName(e){return zt(e,[null,e])[1].trim()}_dedupeBindings(e){const t=new Set,n=new Set,r=[];for(let s=e.length-1;s>=0;s--){const i=e[s],o=this._extractPublicName(i);n.add(o),t.has(o)||(t.add(o),r.push(i))}return r.reverse()}_merge(e,t,n,r,s,i,o){const a=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),l=this._dedupeBindings(e.outputs?e.outputs.concat(n):n),c=e.host?Object.assign(Object.assign({},e.host),r):r,u=e.queries?Object.assign(Object.assign({},e.queries),s):s;if(A.isTypeOf(e)){const t=e;return A({selector:t.selector,inputs:a,outputs:l,host:c,exportAs:t.exportAs,moduleId:t.moduleId,queries:u,changeDetection:t.changeDetection,providers:t.providers,viewProviders:t.viewProviders,entryComponents:t.entryComponents,template:t.template,templateUrl:t.templateUrl,styles:t.styles,styleUrls:t.styleUrls,encapsulation:t.encapsulation,animations:t.animations,interpolation:t.interpolation,preserveWhitespaces:e.preserveWhitespaces})}return D({selector:e.selector,inputs:a,outputs:l,host:c,exportAs:e.exportAs,queries:u,providers:e.providers,guards:i})}}function Tp(e){return D.isTypeOf(e)||A.isTypeOf(e)}function Ip(e,t){for(let n=e.length-1;n>=0;n--)if(t(e[n]))return e[n];return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Ap=/^i18n:?/;let Mp=!1;class kp{constructor(e,t){this.messages=e,this.errors=t}}var Pp;!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(Pp||(Pp={}));class Np{constructor(e,t){this._implicitTags=e,this._implicitAttrs=t}extract(e,t){return this._init(Pp.Extract,t),e.forEach(e=>e.visit(this,null)),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new kp(this._messages,this._errors)}merge(e,t,n){this._init(Pp.Merge,n),this._translations=t;const r=new pa("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new Ra(r.children,this._errors)}visitExpansionCase(e,t){const n=ha(this,e.expression,t);if(this._mode===Pp.Merge)return new ca(e.value,n,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)}visitExpansion(e,t){this._mayBeAddBlockChildren(e);const n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);const r=ha(this,e.cases,t);return this._mode===Pp.Merge&&(e=new la(e.switchValue,e.type,r,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=n,e}visitComment(e,t){const n=!!((r=e)instanceof da&&r.value&&r.value.startsWith("i18n"));var r;if(n&&this._isInTranslatableSection)return void this._reportError(e,"Could not start a block inside a translatable section");const s=function(e){return!!(e instanceof da&&e.value&&"/i18n"===e.value)}(e);if(!s||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(s){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;const t=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return ha(this,this._translateMessage(e,t))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!Mp&&console&&console.warn){Mp=!0;const t=e.sourceSpan.details?", "+e.sourceSpan.details:"";console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${e.sourceSpan.start}${t})`)}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(Ap,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}visitText(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e}visitElement(e,t){this._mayBeAddBlockChildren(e),this._depth++;const n=this._inI18nNode,r=this._inImplicitNode;let s=[],i=void 0;const o=e.attrs.find(e=>"i18n"===e.name)||null;const a=o?o.value:"",l=this._implicitTags.some(t=>e.name===t)&&!this._inIcu&&!this._isInTranslatableSection,c=!r&&l;if(this._inImplicitNode=r||l,this._isInTranslatableSection||this._inIcu)(o||c)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==Pp.Extract&&ha(this,e.children);else{if(o||c){this._inI18nNode=!0;const t=this._addMessage(e.children,a);i=this._translateMessage(e,t)}if(this._mode==Pp.Extract){const t=o||c;t&&this._openTranslatableSection(e),ha(this,e.children),t&&this._closeTranslatableSection(e,e.children)}}if(this._mode===Pp.Merge){(i||e.children).forEach(e=>{const n=e.visit(this,t);n&&!this._isInTranslatableSection&&(s=s.concat(n))})}if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=r,this._mode===Pp.Merge){const t=this._translateAttributes(e);return new pa(e.name,t,s,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null}visitAttribute(e,t){throw new Error("unreachable code")}_init(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=Yc(t)}_visitAttributesOf(e){const t={},n=this._implicitAttrs[e.name]||[];e.attrs.filter(e=>e.name.startsWith("i18n-")).forEach(e=>t[e.name.slice("i18n-".length)]=e.value),e.attrs.forEach(e=>{e.name in t?this._addMessage([e],t[e.name]):n.some(t=>e.name===t)&&this._addMessage([e])})}_addMessage(e,t){if(0==e.length||1==e.length&&e[0]instanceof ua&&!e[0].value)return null;const{meaning:n,description:r,id:s}=Op(t),i=this._createI18nMessage(e,n,r,s);return this._messages.push(i),i}_translateMessage(e,t){if(t&&this._mode===Pp.Merge){const n=this._translations.get(t);if(n)return n;this._reportError(e,`Translation unavailable for message id="${this._translations.digest(t)}"`)}return[]}_translateAttributes(e){const t=e.attrs,n={};t.forEach(e=>{e.name.startsWith("i18n-")&&(n[e.name.slice("i18n-".length)]=Op(e.value))});const r=[];return t.forEach(t=>{if("i18n"!==t.name&&!t.name.startsWith("i18n-"))if(t.value&&""!=t.value&&n.hasOwnProperty(t.name)){const{meaning:s,description:i,id:o}=n[t.name],a=this._createI18nMessage([t],s,i,o),l=this._translations.get(a);if(l)if(0==l.length)r.push(new ua(t.name,"",t.sourceSpan,void 0,void 0,void 0));else if(l[0]instanceof aa){const e=l[0].value;r.push(new ua(t.name,e,t.sourceSpan,void 0,void 0,void 0))}else this._reportError(e,`Unexpected translation for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`);else this._reportError(e,`Translation unavailable for attribute "${t.name}" (id="${o||this._translations.digest(a)}")`)}else r.push(t)}),r}_mayBeAddBlockChildren(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)}_openTranslatableSection(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length}get _isInTranslatableSection(){return void 0!==this._msgCountAtSectionStart}_closeTranslatableSection(e,t){if(!this._isInTranslatableSection)return void this._reportError(e,"Unexpected section end");const n=this._msgCountAtSectionStart;if(1==t.reduce((e,t)=>e+(t instanceof da?0:1),0))for(let e=this._messages.length-1;e>=n;e--){const t=this._messages[e].nodes;if(!(1==t.length&&t[0]instanceof In)){this._messages.splice(e,1);break}}this._msgCountAtSectionStart=void 0}_reportError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}function Op(e){if(!e)return{meaning:"",description:"",id:""};const t=e.indexOf("@@"),n=e.indexOf("|"),[r,s]=t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],[i,o]=n>-1?[r.slice(0,n),r.slice(n+1)]:["",r];return{meaning:i,description:o,id:s.trim()}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Rp=new class{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return r.PARSABLE_DATA}};function Fp(e){return Rp}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Lp extends Fa{constructor(){super(Fp)}parse(e,t,n){return super.parse(e,t,n)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class jp extends tr{write(e,t){const n=new Vp,r=[];e.forEach(e=>{let t=[];e.sources.forEach(e=>{let n=new ar("context-group",{purpose:"location"});n.children.push(new cr(10),new ar("context",{"context-type":"sourcefile"},[new lr(e.filePath)]),new cr(10),new ar("context",{"context-type":"linenumber"},[new lr(""+e.startLine)]),new cr(8)),t.push(new cr(8),n)});const s=new ar("trans-unit",{id:e.id,datatype:"html"});s.children.push(new cr(8),new ar("source",{},n.serialize(e.nodes)),...t),e.description&&s.children.push(new cr(8),new ar("note",{priority:"1",from:"description"},[new lr(e.description)])),e.meaning&&s.children.push(new cr(8),new ar("note",{priority:"1",from:"meaning"},[new lr(e.meaning)])),s.children.push(new cr(6)),r.push(new cr(6),s)});const s=new ar("body",{},[...r,new cr(4)]),i=new ar("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new cr(4),s,new cr(2)]),o=new ar("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new cr(2),i,new cr]);return sr([new ir({version:"1.0",encoding:"UTF-8"}),new cr,o,new cr])}load(e,t){const n=new Bp,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new $p;if(Object.keys(s).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(s[e],t);i.push(...r),o[e]=n}),i.length)throw new Error("xliff parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return Fn(e)}}class Vp{visitText(e,t){return[new lr(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new lr(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new lr(t+" {"),...e.cases[t].visit(this),new lr("} "))}),n.push(new lr("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+e}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e.tag);if(e.isVoid)return[new ar("x",{id:e.startName,ctype:n,"equiv-text":`<${e.tag}/>`})];const r=new ar("x",{id:e.startName,ctype:n,"equiv-text":`<${e.tag}>`}),s=new ar("x",{id:e.closeName,ctype:n,"equiv-text":`</${e.tag}>`});return[r,...this.serialize(e.children),s]}visitPlaceholder(e,t){return[new ar("x",{id:e.name,"equiv-text":`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=`{${e.value.expression}, ${e.value.type}, ${Object.keys(e.value.cases).map(e=>e+" {...}").join(" ")}}`;return[new ar("x",{id:e.name,"equiv-text":n})]}serialize(e){return[].concat(...e.map(e=>e.visit(this)))}}class Bp{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new Lp).parse(e,t);return this._errors=n.errors,ha(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case"trans-unit":this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(ha(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<trans-unit> misses the "id" attribute');break;case"source":case"seg-source":case"alt-trans":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=s;break;case"file":const i=e.attrs.find(e=>"target-language"===e.name);i&&(this._locale=i.value),ha(this,e.children,null);break;default:ha(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}class $p{convert(e,t){const n=(new Lp).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ha(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new In(e.value,e.sourceSpan)}visitElement(e,t){if("x"===e.name){const t=e.attrs.find(e=>"id"===e.name);return t?new Pn("",t.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)}return"mrk"===e.name?[].concat(...ha(this,e.children)):(this._addError(e,"Unexpected tag"),null)}visitExpansion(e,t){const n={};return ha(this,e.cases).forEach(t=>{n[t.value]=new An(t.nodes,e.sourceSpan)}),new Mn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ha(this,e.expression)}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}class Hp extends tr{write(e,t){const n=new Up,r=[];e.forEach(e=>{const t=new ar("unit",{id:e.id}),s=new ar("notes");(e.description||e.meaning)&&(e.description&&s.children.push(new cr(8),new ar("note",{category:"description"},[new lr(e.description)])),e.meaning&&s.children.push(new cr(8),new ar("note",{category:"meaning"},[new lr(e.meaning)]))),e.sources.forEach(e=>{s.children.push(new cr(8),new ar("note",{category:"location"},[new lr(`${e.filePath}:${e.startLine}${e.endLine!==e.startLine?","+e.endLine:""}`)]))}),s.children.push(new cr(6)),t.children.push(new cr(6),s);const i=new ar("segment");i.children.push(new cr(8),new ar("source",{},n.serialize(e.nodes)),new cr(6)),t.children.push(new cr(6),i,new cr(4)),r.push(new cr(4),t)});const s=new ar("file",{original:"ng.template",id:"ngi18n"},[...r,new cr(2)]),i=new ar("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new cr(2),s,new cr]);return sr([new ir({version:"1.0",encoding:"UTF-8"}),new cr,i,new cr])}load(e,t){const n=new qp,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new zp;if(Object.keys(s).forEach(e=>{const{i18nNodes:n,errors:r}=a.convert(s[e],t);i.push(...r),o[e]=n}),i.length)throw new Error("xliff2 parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return jn(e)}}class Up{visitText(e,t){return[new lr(e.value)]}visitContainer(e,t){const n=[];return e.children.forEach(e=>n.push(...e.visit(this))),n}visitIcu(e,t){const n=[new lr(`{${e.expressionPlaceholder}, ${e.type}, `)];return Object.keys(e.cases).forEach(t=>{n.push(new lr(t+" {"),...e.cases[t].visit(this),new lr("} "))}),n.push(new lr("}")),n}visitTagPlaceholder(e,t){const n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e.tag);if(e.isVoid){return[new ar("ph",{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:`<${e.tag}/>`})]}const r=new ar("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:`<${e.tag}>`,dispEnd:`</${e.tag}>`}),s=[].concat(...e.children.map(e=>e.visit(this)));return s.length?s.forEach(e=>r.children.push(e)):r.children.push(new lr("")),[r]}visitPlaceholder(e,t){const n=(this._nextPlaceholderId++).toString();return[new ar("ph",{id:n,equiv:e.name,disp:`{{${e.value}}}`})]}visitIcuPlaceholder(e,t){const n=Object.keys(e.value.cases).map(e=>e+" {...}").join(" "),r=(this._nextPlaceholderId++).toString();return[new ar("ph",{id:r,equiv:e.name,disp:`{${e.value.expression}, ${e.value.type}, ${n}}`})]}serialize(e){return this._nextPlaceholderId=0,[].concat(...e.map(e=>e.visit(this)))}}class qp{constructor(){this._locale=null}parse(e,t){this._unitMlString=null,this._msgIdToHtml={};const n=(new Lp).parse(e,t);return this._errors=n.errors,ha(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case"unit":this._unitMlString=null;const t=e.attrs.find(e=>"id"===e.name);if(t){const n=t.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(ha(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,`Message ${n} misses a translation`))}else this._addError(e,'<unit> misses the "id" attribute');break;case"source":break;case"target":const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._unitMlString=s;break;case"xliff":const i=e.attrs.find(e=>"trgLang"===e.name);i&&(this._locale=i.value);const o=e.attrs.find(e=>"version"===e.name);if(o){const t=o.value;"2.0"!==t?this._addError(e,`The XLIFF file version ${t} is not compatible with XLIFF 2.0 serializer`):ha(this,e.children,null)}break;default:ha(this,e.children,null)}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}class zp{convert(e,t){const n=(new Lp).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:[].concat(...ha(this,n.rootNodes)),errors:this._errors}}visitText(e,t){return new In(e.value,e.sourceSpan)}visitElement(e,t){switch(e.name){case"ph":const t=e.attrs.find(e=>"equiv"===e.name);if(t)return[new Pn("",t.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":const n=e.attrs.find(e=>"equivStart"===e.name),r=e.attrs.find(e=>"equivEnd"===e.name);if(n){if(r){const t=n.value,s=r.value;return[].concat(new Pn("",t,e.sourceSpan),...e.children.map(e=>e.visit(this,null)),new Pn("",s,e.sourceSpan))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat(...ha(this,e.children));default:this._addError(e,"Unexpected tag")}return null}visitExpansion(e,t){const n={};return ha(this,e.cases).forEach(t=>{n[t.value]=new An(t.nodes,e.sourceSpan)}),new Mn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:[].concat(...ha(this,e.expression))}}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}class Wp extends tr{write(e,t){throw new Error("Unsupported")}load(e,t){const n=new Gp,{locale:r,msgIdToHtml:s,errors:i}=n.parse(e,t),o={},a=new Zp;if(Object.keys(s).forEach(e=>{!function(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){const r=n();return Object.defineProperty(e,t,{enumerable:!0,value:r}),r},set:e=>{throw new Error("Could not overwrite an XTB translation")}})}(o,e,(function(){const{i18nNodes:n,errors:r}=a.convert(s[e],t);if(r.length)throw new Error("xtb parse errors:\n"+r.join("\n"));return n}))}),i.length)throw new Error("xtb parse errors:\n"+i.join("\n"));return{locale:r,i18nNodesByMsgId:o}}digest(e){return fr(e)}createNameMapper(e){return new nr(e,gr)}}class Gp{constructor(){this._locale=null}parse(e,t){this._bundleDepth=0,this._msgIdToHtml={};const n=(new Lp).parse(e,t);return this._errors=n.errors,ha(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}}visitElement(e,t){switch(e.name){case"translationbundle":this._bundleDepth++,this._bundleDepth>1&&this._addError(e,"<translationbundle> elements can not be nested");const t=e.attrs.find(e=>"lang"===e.name);t&&(this._locale=t.value),ha(this,e.children,null),this._bundleDepth--;break;case"translation":const n=e.attrs.find(e=>"id"===e.name);if(n){const t=n.value;if(this._msgIdToHtml.hasOwnProperty(t))this._addError(e,"Duplicated translations for msg "+t);else{const n=e.startSourceSpan.end.offset,r=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(n,r);this._msgIdToHtml[t]=s}}else this._addError(e,'<translation> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}}visitAttribute(e,t){}visitText(e,t){}visitComment(e,t){}visitExpansion(e,t){}visitExpansionCase(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}class Zp{convert(e,t){const n=(new Lp).parse(e,t,{tokenizeExpansionForms:!0});this._errors=n.errors;return{i18nNodes:this._errors.length>0||0==n.rootNodes.length?[]:ha(this,n.rootNodes),errors:this._errors}}visitText(e,t){return new In(e.value,e.sourceSpan)}visitExpansion(e,t){const n={};return ha(this,e.cases).forEach(t=>{n[t.value]=new An(t.nodes,e.sourceSpan)}),new Mn(e.switchValue,e.type,n,e.sourceSpan)}visitExpansionCase(e,t){return{value:e.value,nodes:ha(this,e.expression)}}visitElement(e,t){if("ph"===e.name){const t=e.attrs.find(e=>"name"===e.name);if(t)return new Pn("",t.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null}visitComment(e,t){}visitAttribute(e,t){}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Kp{constructor(e={},t,n,r,s=z.Warning,i){this._i18nNodesByMsgId=e,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new Qp(e,t,n,r,s,i)}static load(e,t,n,r,s){const{locale:i,i18nNodesByMsgId:o}=n.load(e,t);return new Kp(o,i,e=>n.digest(e),e=>n.createNameMapper(e),r,s)}get(e){const t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes}has(e){return this.digest(e)in this._i18nNodesByMsgId}}class Qp{constructor(e={},t,n,r,s,i){this._i18nNodesByMsgId=e,this._locale=t,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=s,this._console=i,this._contextStack=[],this._errors=[]}convert(e){this._contextStack.length=0,this._errors.length=0;const t=this._convertToText(e),n=e.nodes[0].sourceSpan.start.file.url,r=(new Va).parse(t,n,{tokenizeExpansionForms:!0});return{nodes:r.rootNodes,errors:[...this._errors,...r.errors]}}visitText(e,t){return pr(e.value)}visitContainer(e,t){return e.children.map(e=>e.visit(this)).join("")}visitIcu(e,t){const n=Object.keys(e.cases).map(t=>`${t} {${e.cases[t].visit(this)}}`);return`{${this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression].text:e.expression}, ${e.type}, ${n.join(" ")}}`}visitPlaceholder(e,t){const n=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n].text:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(e,`Unknown placeholder "${e.name}"`),"")}visitTagPlaceholder(e,t){const n=""+e.tag,r=Object.keys(e.attrs).map(t=>`${t}="${e.attrs[t]}"`).join(" ");if(e.isVoid)return`<${n} ${r}/>`;return`<${n} ${r}>${e.children.map(e=>e.visit(this)).join("")}</${n}>`}visitIcuPlaceholder(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])}_convertToText(e){const t=this._digest(e),n=this._mapperFactory?this._mapperFactory(e):null;let r;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(t))r=this._i18nNodesByMsgId[t],this._mapper=e=>n?n.toInternalName(e):e;else{if(this._missingTranslationStrategy===z.Error){const n=this._locale?` for locale "${this._locale}"`:"";this._addError(e.nodes[0],`Missing translation for message "${t}"${n}`)}else if(this._console&&this._missingTranslationStrategy===z.Warning){const e=this._locale?` for locale "${this._locale}"`:"";this._console.warn(`Missing translation for message "${t}"${e}`)}r=e.nodes,this._mapper=e=>e}const s=r.map(e=>e.visit(this)).join(""),i=this._contextStack.pop();return this._srcMsg=i.msg,this._mapper=i.mapper,s}_addError(e,t){this._errors.push(new nu(e.sourceSpan,t))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Yp{constructor(e,t,n,r=z.Warning,s){if(this._htmlParser=e,t){const e=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new dr;case"xtb":return new Wp;case"xliff2":case"xlf2":return new Hp;case"xliff":case"xlf":default:return new jp}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(n);this._translationBundle=Kp.load(t,"i18n",e,r,s)}else this._translationBundle=new Kp({},null,Fn,void 0,r,s)}parse(e,t,n={}){const r=n.interpolationConfig||xs,s=this._htmlParser.parse(e,t,Object.assign({interpolationConfig:r},n));return s.errors.length?new Ra(s.rootNodes,s.errors):function(e,t,n,r,s){return new Np(r,s).merge(e,t,n)}(s.rootNodes,this._translationBundle,r,[],{})}}function Xp(e,t,n=null){return Gt(t,new Jp(e),n)}class Jp{constructor(e){this.ctx=e}visitArray(e,t){const n=[];for(let t=0;t<e.length;++t)n.push(Gt(e[t],this,null));return Dt(n,t)}visitStringMap(e,t){const n=[],r=new Set(e&&e.$quoted$);return Object.keys(e).forEach(t=>{n.push(new Ke(t,Gt(e[t],this,null),r.has(t)))}),new Qe(n,t)}visitPrimitive(e,t){return kt(e,t)}visitOther(e,t){return e instanceof me?e:this.ctx.importExpr(e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function ed(e,t=!1){const n=td(e,t);return`${n[0]}.ngfactory${nd(n[1])}`}function td(e,t=!1){if(e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];const n=e.lastIndexOf(".");return-1!==n?[e.substring(0,n),e.substring(n)]:[e,""]}function nd(e){return".tsx"===e?".ts":e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var rd;!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(rd||(rd={}));const sd=[rd.OnInit,rd.OnDestroy,rd.DoCheck,rd.OnChanges,rd.AfterContentInit,rd.AfterContentChecked,rd.AfterViewInit,rd.AfterViewChecked];function id(e,t,n){return e.hasLifecycleHook(n,function(e){switch(e){case rd.OnInit:return"ngOnInit";case rd.OnDestroy:return"ngOnDestroy";case rd.DoCheck:return"ngDoCheck";case rd.OnChanges:return"ngOnChanges";case rd.AfterContentInit:return"ngAfterContentInit";case rd.AfterContentChecked:return"ngAfterContentChecked";case rd.AfterViewInit:return"ngAfterViewInit";case rd.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t))}class od{constructor(e,t,n,r,s,i,o,a,l,c,u,p){this._config=e,this._htmlParser=t,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=s,this._summaryResolver=i,this._schemaRegistry=o,this._directiveNormalizer=a,this._console=l,this._staticSymbolCache=c,this._reflector=u,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}getReflector(){return this._reflector}clearCacheFor(e){const t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)}clearCache(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()}_createProxyClass(e,t){let n=null;const r=function(){if(!n)throw new Error(`Illegal state: Class ${t} for type ${an(e)} is not compiled yet!`);return n.apply(this,arguments)};return r.setDelegate=e=>{n=e,r.prototype=e.prototype},r.overriddenName=t,r}getGeneratedClass(e,t){return e instanceof Ss?this._staticSymbolCache.get(ed(e.filePath),t):this._createProxyClass(e,t)}getComponentViewClass(e){return this.getGeneratedClass(e,Ps(e,0))}getHostComponentViewClass(e){return this.getGeneratedClass(e,"HostView_"+Ms({reference:e}))}getHostComponentType(e){const t=Ms({reference:e})+"_Host";return e instanceof Ss?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)}getRendererType(e){return e instanceof Ss?this._staticSymbolCache.get(ed(e.filePath),Ns(e)):{}}getComponentFactory(e,t,n,r){if(t instanceof Ss)return this._staticSymbolCache.get(ed(t.filePath),Os(t));{const s=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(io.createComponentFactory)(e,t,s,n,r,[])}}initComponentFactory(e,t){e instanceof Ss||e.ngContentSelectors.push(...t)}_loadSummary(e,t){let n=this._summaryCache.get(e);if(!n){const t=this._summaryResolver.resolveSummary(e);n=t?t.type:null,this._summaryCache.set(e,n||null)}return n&&n.summaryKind===t?n:null}getHostComponentMetadata(e,t){const n=this.getHostComponentType(e.type.reference);t||(t=this.getHostComponentViewClass(n));const r=m.parse(e.selector)[0].getMatchingElementTemplate(),s=this._htmlParser.parse(r,"");return Bs.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Vs({encapsulation:T.None,template:r,templateUrl:"",htmlAst:s,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:I.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:T.None,styles:[],data:{}},entryComponents:[],componentFactory:null})}loadDirectiveMetadata(e,t,n){if(this._directiveCache.has(t))return null;t=ln(t);const{annotation:r,metadata:s}=this.getNonNormalizedDirectiveMetadata(t),i=e=>{const n=new Bs({isHost:!1,type:s.type,isComponent:s.isComponent,selector:s.selector,exportAs:s.exportAs,changeDetection:s.changeDetection,inputs:s.inputs,outputs:s.outputs,hostListeners:s.hostListeners,hostProperties:s.hostProperties,hostAttributes:s.hostAttributes,providers:s.providers,viewProviders:s.viewProviders,queries:s.queries,guards:s.guards,viewQueries:s.viewQueries,entryComponents:s.entryComponents,componentViewType:s.componentViewType,rendererType:s.rendererType,componentFactory:s.componentFactory,template:e});return e&&this.initComponentFactory(s.componentFactory,e.ngContentSelectors),this._directiveCache.set(t,n),this._summaryCache.set(t,n.toSummary()),null};if(s.isComponent){const o=s.template,a=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:t,moduleUrl:this._reflector.componentModuleUrl(t,r),encapsulation:o.encapsulation,template:o.template,templateUrl:o.templateUrl,styles:o.styles,styleUrls:o.styleUrls,animations:o.animations,interpolation:o.interpolation,preserveWhitespaces:o.preserveWhitespaces});return cn(a)&&n?(this._reportError(function(e){const t=Error(`Can't compile synchronously as ${an(e)} is still being loaded!`);return t.ngComponentType=e,t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t),t),null):Xt(a,i)}return i(null),null}getNonNormalizedDirectiveMetadata(e){if(!(e=ln(e)))return null;let t=this._nonNormalizedDirectiveCache.get(e);if(t)return t;const n=this._directiveResolver.resolve(e,!1);if(!n)return null;let r=void 0;if(A.isTypeOf(n)){const e=n;ws("styles",e.styles),ws("styleUrls",e.styleUrls),bs("interpolation",e.interpolation);const t=e.animations;r=new Vs({encapsulation:Kt(e.encapsulation),template:Kt(e.template),templateUrl:Kt(e.templateUrl),htmlAst:null,styles:e.styles||[],styleUrls:e.styleUrls||[],animations:t||[],interpolation:Kt(e.interpolation),isInline:!!e.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:Kt(n.preserveWhitespaces)})}let s=null,i=[],o=[],a=n.selector;if(A.isTypeOf(n)){const t=n;s=t.changeDetection,t.viewProviders&&(i=this._getProvidersMetadata(t.viewProviders,o,`viewProviders for "${ud(e)}"`,[],e)),t.entryComponents&&(o=ad(t.entryComponents).map(e=>this._getEntryComponentMetadata(e)).concat(o)),a||(a=this._schemaRegistry.getDefaultComponentElementName())}else a||(a=null);let l=[];null!=n.providers&&(l=this._getProvidersMetadata(n.providers,o,`providers for "${ud(e)}"`,[],e));let c=[],u=[];null!=n.queries&&(c=this._getQueriesMetadata(n.queries,!1,e),u=this._getQueriesMetadata(n.queries,!0,e));const p=Bs.create({isHost:!1,selector:a,exportAs:Kt(n.exportAs),isComponent:!!r,type:this._getTypeMetadata(e),template:r,changeDetection:s,inputs:n.inputs||[],outputs:n.outputs||[],host:n.host||{},providers:l||[],viewProviders:i||[],queries:c||[],guards:n.guards||{},viewQueries:u||[],entryComponents:o,componentViewType:r?this.getComponentViewClass(e):null,rendererType:r?this.getRendererType(e):null,componentFactory:null});return r&&(p.componentFactory=this.getComponentFactory(a,e,p.inputs,p.outputs)),t={metadata:p,annotation:n},this._nonNormalizedDirectiveCache.set(e,t),t}getDirectiveMetadata(e){const t=this._directiveCache.get(e);return t||this._reportError(tn(`Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive ${ud(e)}.`),e),t}getDirectiveSummary(e){const t=this._loadSummary(e,Rs.Directive);return t||this._reportError(tn(`Illegal state: Could not load the summary for directive ${ud(e)}.`),e),t}isDirective(e){return!!this._loadSummary(e,Rs.Directive)||this._directiveResolver.isDirective(e)}isAbstractDirective(e){const t=this._loadSummary(e,Rs.Directive);if(t&&!t.isComponent)return!t.selector;const n=this._directiveResolver.resolve(e,!1);return!(!n||A.isTypeOf(n))&&!n.selector}isPipe(e){return!!this._loadSummary(e,Rs.Pipe)||this._pipeResolver.isPipe(e)}isNgModule(e){return!!this._loadSummary(e,Rs.NgModule)||this._ngModuleResolver.isNgModule(e)}getNgModuleSummary(e,t=null){let n=this._loadSummary(e,Rs.NgModule);if(!n){const r=this.getNgModuleMetadata(e,!1,t);n=r?r.toSummary():null,n&&this._summaryCache.set(e,n)}return n}loadNgModuleDirectiveAndPipeMetadata(e,t,n=!0){const r=this.getNgModuleMetadata(e,n),s=[];return r&&(r.declaredDirectives.forEach(n=>{const r=this.loadDirectiveMetadata(e,n.reference,t);r&&s.push(r)}),r.declaredPipes.forEach(e=>this._loadPipeMetadata(e.reference))),Promise.all(s)}getShallowModuleMetadata(e){let t=this._shallowModuleCache.get(e);if(t)return t;const n=Ip(this._reflector.shallowAnnotations(e),R.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:n.exports,rawImports:n.imports,rawProviders:n.providers},this._shallowModuleCache.set(e,t),t}getNgModuleMetadata(e,t=!0,n=null){e=ln(e);let r=this._ngModuleCache.get(e);if(r)return r;const s=this._ngModuleResolver.resolve(e,t);if(!s)return null;const i=[],o=[],a=[],l=[],c=[],u=[],p=[],d=[],h=[];s.imports&&ad(s.imports).forEach(t=>{let r=void 0;if(ld(t))r=t;else if(t&&t.ngModule){const e=t;r=e.ngModule,e.providers&&u.push(...this._getProvidersMetadata(e.providers,p,`provider for the NgModule '${ud(r)}'`,[],t))}if(r){if(this._checkSelfImport(e,r))return;if(n||(n=new Set),n.has(r))return void this._reportError(tn(`${this._getTypeDescriptor(r)} '${ud(t)}' is imported recursively by the module '${ud(e)}'.`),e);n.add(r);const s=this.getNgModuleSummary(r,n);if(n.delete(r),!s){const n=tn(`Unexpected ${this._getTypeDescriptor(t)} '${ud(t)}' imported by the module '${ud(e)}'. Please add a @NgModule annotation.`);return t instanceof Ss&&(n.ngMissingNgModuleMetadataErrorData={fileName:t.filePath,className:t.name}),void this._reportError(n,e)}l.push(s)}else this._reportError(tn(`Unexpected value '${ud(t)}' imported by the module '${ud(e)}'`),e)}),s.exports&&ad(s.exports).forEach(t=>{if(!ld(t))return void this._reportError(tn(`Unexpected value '${ud(t)}' exported by the module '${ud(e)}'`),e);if(n||(n=new Set),n.has(t))return void this._reportError(tn(`${this._getTypeDescriptor(t)} '${an(t)}' is exported recursively by the module '${ud(e)}'`),e);n.add(t);const r=this.getNgModuleSummary(t,n);n.delete(t),r?c.push(r):o.push(this._getIdentifierMetadata(t))});const f=this._getTransitiveNgModuleMetadata(l,c);s.declarations&&ad(s.declarations).forEach(t=>{if(!ld(t))return void this._reportError(tn(`Unexpected value '${ud(t)}' declared by the module '${ud(e)}'`),e);const n=this._getIdentifierMetadata(t);if(this.isDirective(t))this.isAbstractDirective(t)&&this._reportError(tn(`Directive ${ud(t)} has no selector, please add it!`),t),f.addDirective(n),i.push(n),this._addTypeToModule(t,e);else{if(!this.isPipe(t))return void this._reportError(tn(`Unexpected ${this._getTypeDescriptor(t)} '${ud(t)}' declared by the module '${ud(e)}'. Please add a @Pipe/@Directive/@Component annotation.`),e);f.addPipe(n),f.pipes.push(n),a.push(n),this._addTypeToModule(t,e)}});const m=[],g=[];return o.forEach(t=>{if(f.directivesSet.has(t.reference))m.push(t),f.addExportedDirective(t);else{if(!f.pipesSet.has(t.reference))return void this._reportError(tn(`Can't export ${this._getTypeDescriptor(t.reference)} ${ud(t.reference)} from ${ud(e)} as it was neither declared nor imported!`),e);g.push(t),f.addExportedPipe(t)}}),s.providers&&u.push(...this._getProvidersMetadata(s.providers,p,`provider for the NgModule '${ud(e)}'`,[],e)),s.entryComponents&&p.push(...ad(s.entryComponents).map(e=>this._getEntryComponentMetadata(e))),s.bootstrap&&ad(s.bootstrap).forEach(t=>{ld(t)?d.push(this._getIdentifierMetadata(t)):this._reportError(tn(`Unexpected value '${ud(t)}' used in the bootstrap property of module '${ud(e)}'`),e)}),p.push(...d.map(e=>this._getEntryComponentMetadata(e.reference))),s.schemas&&h.push(...ad(s.schemas)),r=new Hs({type:this._getTypeMetadata(e),providers:u,entryComponents:p,bootstrapComponents:d,schemas:h,declaredDirectives:i,exportedDirectives:m,declaredPipes:a,exportedPipes:g,importedModules:l,exportedModules:c,transitiveModule:f,id:s.id||null}),p.forEach(e=>f.addEntryComponent(e)),u.forEach(e=>f.addProvider(e,r.type)),f.addModule(r.type),this._ngModuleCache.set(e,r),r}_checkSelfImport(e,t){return e===t&&(this._reportError(tn(`'${ud(e)}' module can't import itself`),e),!0)}_getTypeDescriptor(e){if(ld(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"}_addTypeToModule(e,t){const n=this._ngModuleOfTypes.get(e);n&&n!==t?this._reportError(tn(`Type ${ud(e)} is part of the declarations of 2 modules: ${ud(n)} and ${ud(t)}! Please consider moving ${ud(e)} to a higher module that imports ${ud(n)} and ${ud(t)}. You can also create a new NgModule that exports and includes ${ud(e)} then import that NgModule in ${ud(n)} and ${ud(t)}.`),t):this._ngModuleOfTypes.set(e,t)}_getTransitiveNgModuleMetadata(e,t){const n=new Us,r=new Map;return e.concat(t).forEach(e=>{e.modules.forEach(e=>n.addModule(e)),e.entryComponents.forEach(e=>n.addEntryComponent(e));const t=new Set;e.providers.forEach(e=>{const s=Ls(e.provider.token);let i=r.get(s);i||(i=new Set,r.set(s,i));const o=e.module.reference;!t.has(s)&&i.has(o)||(i.add(o),t.add(s),n.addProvider(e.provider,e.module))})}),t.forEach(e=>{e.exportedDirectives.forEach(e=>n.addExportedDirective(e)),e.exportedPipes.forEach(e=>n.addExportedPipe(e))}),e.forEach(e=>{e.exportedDirectives.forEach(e=>n.addDirective(e)),e.exportedPipes.forEach(e=>n.addPipe(e))}),n}_getIdentifierMetadata(e){return{reference:e=ln(e)}}isInjectable(e){return this._reflector.tryAnnotations(e).some(e=>F.isTypeOf(e))}getInjectableSummary(e){return{summaryKind:Rs.Injectable,type:this._getTypeMetadata(e,null,!1)}}getInjectableMetadata(e,t=null,n=!0){const r=this._loadSummary(e,Rs.Injectable),s=r?r.type:this._getTypeMetadata(e,t,n),i=this._reflector.annotations(e).filter(e=>F.isTypeOf(e));if(0===i.length)return null;const o=i[i.length-1];return{symbol:e,type:s,providedIn:o.providedIn,useValue:o.useValue,useClass:o.useClass,useExisting:o.useExisting,useFactory:o.useFactory,deps:o.deps}}_getTypeMetadata(e,t=null,n=!0){const r=this._getIdentifierMetadata(e);return{reference:r.reference,diDeps:this._getDependenciesMetadata(r.reference,t,n),lifecycleHooks:(s=this._reflector,i=r.reference,sd.filter(e=>id(s,e,i)))};var s,i}_getFactoryMetadata(e,t=null){return{reference:e=ln(e),diDeps:this._getDependenciesMetadata(e,t)}}getPipeMetadata(e){const t=this._pipeCache.get(e);return t||this._reportError(tn(`Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe ${ud(e)}.`),e),t||null}getPipeSummary(e){const t=this._loadSummary(e,Rs.Pipe);return t||this._reportError(tn(`Illegal state: Could not load the summary for pipe ${ud(e)}.`),e),t}getOrLoadPipeMetadata(e){let t=this._pipeCache.get(e);return t||(t=this._loadPipeMetadata(e)),t}_loadPipeMetadata(e){e=ln(e);const t=this._pipeResolver.resolve(e),n=new $s({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,n),this._summaryCache.set(e,n.toSummary()),n}_getDependenciesMetadata(e,t,n=!0){let r=!1;const s=(t||this._reflector.parameters(e)||[]).map(e=>{let t=!1,n=!1,s=!1,i=!1,o=!1,a=null;return Array.isArray(e)?e.forEach(e=>{H.isTypeOf(e)?n=!0:B.isTypeOf(e)?s=!0:$.isTypeOf(e)?i=!0:V.isTypeOf(e)?o=!0:E.isTypeOf(e)?(t=!0,a=e.attributeName):_.isTypeOf(e)?a=e.token:(w.isTypeOf(e)||e instanceof Ss||ld(e)&&null==a)&&(a=e)}):a=e,null==a?(r=!0,{}):{isAttribute:t,isHost:n,isSelf:s,isSkipSelf:i,isOptional:o,token:this._getTokenMetadata(a)}});if(r){const t=s.map(e=>e.token?ud(e.token):"?").join(", "),r=`Can't resolve all parameters for ${ud(e)}: (${t}).`;(n||this._config.strictInjectionParameters)&&this._reportError(tn(r),e)}return s}_getTokenMetadata(e){let t;return t="string"==typeof(e=ln(e))?{value:e}:{identifier:{reference:e}},t}_getProvidersMetadata(e,t,n,r=[],s){return e.forEach((i,o)=>{if(Array.isArray(i))this._getProvidersMetadata(i,t,n,r);else{let a=void 0;if((i=ln(i))&&"object"==typeof i&&i.hasOwnProperty("provide"))this._validateProvider(i),a=new zs(i.provide,i);else{if(!ld(i)){if(void 0===i)return void this._reportError(tn("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));{const t=e.reduce((e,t,n)=>(n<o?e.push(""+ud(t)):n==o?e.push(`?${ud(t)}?`):n==o+1&&e.push("..."),e),[]).join(", ");return void this._reportError(tn(`Invalid ${n||"provider"} - only instances of Provider and Type are allowed, got: [${t}]`),s)}}a=new zs(i,{useClass:i})}a.token===this._reflector.resolveExternalReference(io.ANALYZE_FOR_ENTRY_COMPONENTS)?t.push(...this._getEntryComponentsFromProvider(a,s)):r.push(this.getProviderMetadata(a))}}),r}_validateProvider(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(tn(`Invalid provider for ${ud(e.provide)}. useClass cannot be ${e.useClass}.\n           Usually it happens when:\n           1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n           2. Class was used before it was declared. Use forwardRef in this case.`))}_getEntryComponentsFromProvider(e,t){const n=[],r=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(tn("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(s=e.useValue,i=r,Gt(s,new cd,i),r.forEach(e=>{const t=this._getEntryComponentMetadata(e.reference,!1);t&&n.push(t)}),n):(this._reportError(tn("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[]);var s,i}_getEntryComponentMetadata(e,t=!0){const n=this.getNonNormalizedDirectiveMetadata(e);if(n&&n.metadata.isComponent)return{componentType:e,componentFactory:n.metadata.componentFactory};const r=this._loadSummary(e,Rs.Directive);if(r&&r.isComponent)return{componentType:e,componentFactory:r.componentFactory};if(t)throw tn(e.name+" cannot be used as an entry component.");return null}_getInjectableTypeMetadata(e,t=null){const n=this._loadSummary(e,Rs.Injectable);return n?n.type:this._getTypeMetadata(e,t)}getProviderMetadata(e){let t=void 0,n=null,r=null,s=this._getTokenMetadata(e.token);return e.useClass?(n=this._getInjectableTypeMetadata(e.useClass,e.dependencies),t=n.diDeps,e.token===e.useClass&&(s={identifier:n})):e.useFactory&&(r=this._getFactoryMetadata(e.useFactory,e.dependencies),t=r.diDeps),{token:s,useClass:n,useValue:e.useValue,useFactory:r,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}}_getQueriesMetadata(e,t,n){const r=[];return Object.keys(e).forEach(s=>{const i=e[s];i.isViewQuery===t&&r.push(this._getQueryMetadata(i,s,n))}),r}_queryVarBindings(e){return e.split(/\s*,\s*/)}_getQueryMetadata(e,t,n){let r;return"string"==typeof e.selector?r=this._queryVarBindings(e.selector).map(e=>this._getTokenMetadata(e)):e.selector?r=[this._getTokenMetadata(e.selector)]:(this._reportError(tn(`Can't construct a query for the property "${t}" of "${ud(n)}" since the query selector wasn't defined.`),n),r=[]),{selectors:r,first:e.first,descendants:e.descendants,emitDistinctChangesOnly:e.emitDistinctChangesOnly,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null,static:e.static}}_reportError(e,t,n){if(!this._errorCollector)throw e;this._errorCollector(e,t),n&&this._errorCollector(e,n)}}function ad(e){return(t=function e(t,n=[]){if(t)for(let r=0;r<t.length;r++){const s=ln(t[r]);Array.isArray(s)?e(s,n):n.push(s)}return n}(e))?Array.from(new Set(t)):[];var t}function ld(e){return e instanceof Ss||e instanceof U}class cd extends Qt{visitOther(e,t){t.push({reference:e})}}function ud(e){return e instanceof Ss?`${e.name} in ${e.filePath}`:an(e)}function pd(e,t){let n=0;t.eager||(n|=4096),t.providerType===cl.PrivateService&&(n|=8192),t.isModule&&(n|=1073741824),t.lifecycleHooks.forEach(e=>{e!==rd.OnDestroy&&t.providerType!==cl.Directive&&t.providerType!==cl.Component||(n|=md(e))});const{providerExpr:r,flags:s,depsExpr:i}=t.multiProvider?function(e,t,n){const r=[],s=[],i=n.map((t,n)=>{let r;if(t.useClass){const s=o(n,t.deps||t.useClass.diDeps);r=e.importExpr(t.useClass.reference).instantiate(s)}else if(t.useFactory){const s=o(n,t.deps||t.useFactory.diDeps);r=e.importExpr(t.useFactory.reference).callFn(s)}else if(t.useExisting){r=o(n,[{token:t.useExisting}])[0]}else r=Xp(e,t.useValue);return r});return{providerExpr:It(s,[new at(Dt(i))],re),flags:1024|t,depsExpr:Dt(r)};function o(t,n){return n.map((n,i)=>{const o=`p${t}_${i}`;return s.push(new He(o,ne)),r.push(fd(e,n)),Et(o)})}}(e,n,t.providers):dd(e,n,t.providerType,t.providers[0]);return{providerExpr:r,flags:s,depsExpr:i,tokenExpr:hd(e,t.token)}}function dd(e,t,n,r){let s,i;n===cl.Directive||n===cl.Component?(s=e.importExpr(r.useClass.reference),t|=16384,i=r.deps||r.useClass.diDeps):r.useClass?(s=e.importExpr(r.useClass.reference),t|=512,i=r.deps||r.useClass.diDeps):r.useFactory?(s=e.importExpr(r.useFactory.reference),t|=1024,i=r.deps||r.useFactory.diDeps):r.useExisting?(s=Xe,t|=2048,i=[{token:r.useExisting}]):(s=Xp(e,r.useValue),t|=256,i=[]);return{providerExpr:s,flags:t,depsExpr:Dt(i.map(t=>fd(e,t)))}}function hd(e,t){return t.identifier?e.importExpr(t.identifier.reference):kt(t.value)}function fd(e,t){const n=t.isValue?Xp(e,t.value):hd(e,t.token);let r=0;return t.isSkipSelf&&(r|=1),t.isOptional&&(r|=2),t.isSelf&&(r|=4),t.isValue&&(r|=8),0===r?n:Dt([kt(r),n])}function md(e){let t=0;switch(e){case rd.AfterContentChecked:t=2097152;break;case rd.AfterContentInit:t=1048576;break;case rd.AfterViewChecked:t=8388608;break;case rd.AfterViewInit:t=4194304;break;case rd.DoCheck:t=262144;break;case rd.OnChanges:t=524288;break;case rd.OnDestroy:t=131072;break;case rd.OnInit:t=65536}return t}function gd(e,t,n,r){const s=r.map(e=>t.importExpr(e.componentFactory)),i=ao(e,io.ComponentFactoryResolver),o={diDeps:[{isValue:!0,value:Dt(s)},{token:i,isSkipSelf:!0,isOptional:!0},{token:ao(e,io.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(io.CodegenComponentFactoryResolver)},{providerExpr:a,flags:l,depsExpr:c}=dd(t,n,cl.PrivateService,{token:i,multi:!1,useClass:o});return{providerExpr:a,flags:l,depsExpr:c,tokenExpr:hd(t,i)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class vd{constructor(e){this.ngModuleFactoryVar=e}}const yd=Et("_l");class _d{constructor(e){this.reflector=e}compile(e,t,n){const r=function(e,t){const n=ks(t),r=null!=n?`in ${e} ${Ms(t)} in ${n}`:`in ${e} ${Ms(t)}`,s=new li("",r);return new ci(new ai(s,-1,-1,-1),new ai(s,-1,-1,-1))}("NgModule",t.type),s=t.transitiveModule.entryComponents,i=t.bootstrapComponents,o=new ml(this.reflector,t,n,r),a=[gd(this.reflector,e,0,s)].concat(o.parse().map(t=>pd(e,t))).map(({providerExpr:e,depsExpr:t,flags:n,tokenExpr:r})=>bt(io.moduleProviderDef).callFn([kt(n),r,e,t])),l=bt(io.moduleDef).callFn([Dt(a)]),c=It([new He(yd.name)],[new at(l)],re),u=Ms(t.type)+"NgFactory";if(this._createNgModuleFactory(e,t.type.reference,bt(io.createModuleFactory).callFn([e.importExpr(t.type.reference),Dt(i.map(t=>e.importExpr(t.reference))),c])),t.id){const n="string"==typeof t.id?kt(t.id):e.importExpr(t.id),r=bt(io.RegisterModuleFactoryFn).callFn([n,Et(u)]).toStmt();e.statements.push(r)}return new vd(u)}createStub(e,t){this._createNgModuleFactory(e,t,Xe)}_createNgModuleFactory(e,t,n){const r=Et(Ms({reference:t})+"NgFactory").set(n).toDeclStmt(Ct(io.NgModuleFactory,[xt(e.importExpr(t))],[K.Const]),[et.Final,et.Exported]);e.statements.push(r)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class wd{constructor(e){this._reflector=e}isNgModule(e){return this._reflector.annotations(e).some(R.isTypeOf)}resolve(e,t=!0){const n=Ip(this._reflector.annotations(e),R.isTypeOf);if(n)return n;if(t)throw new Error(`No NgModule metadata found for '${an(e)}'.`);return null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Ed extends Jr{constructor(e,t){super(!1),this.referenceFilter=e,this.importFilter=t,this.typeExpression=0,this.importsWithPrefixes=new Map,this.reexports=new Map}visitType(e,t,n="any"){e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,n)}visitLiteralExpr(e,t){const n=e.value;return null==n&&e.type!=re?(t.print(e,`(${n} as any)`),null):super.visitLiteralExpr(e,t)}visitLiteralArrayExpr(e,t){0===e.entries.length&&t.print(e,"(");const n=super.visitLiteralArrayExpr(e,t);return 0===e.entries.length&&t.print(e," as any[])"),n}visitExternalExpr(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null}visitAssertNotNullExpr(e,t){const n=super.visitAssertNotNullExpr(e,t);return t.print(e,"!"),n}visitDeclareVarStmt(e,t){if(e.hasModifier(et.Exported)&&e.value instanceof Le&&!e.type){const{name:t,moduleName:n}=e.value.value;if(n){let r=this.reexports.get(n);return r||(r=[],this.reexports.set(n,r)),r.push({name:t,as:e.name}),null}}return e.hasModifier(et.Exported)&&t.print(e,"export "),e.hasModifier(et.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e," "+e.name),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitWrappedNodeExpr(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")}visitCastExpr(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null}visitInstantiateExpr(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitDeclareClassStmt(e,t){return t.pushClass(e),e.hasModifier(et.Exported)&&t.print(e,"export "),t.print(e,"class "+e.name),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach(e=>this._visitClassField(e,t)),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach(e=>this._visitClassGetter(e,t)),e.methods.forEach(e=>this._visitClassMethod(e,t)),t.decIndent(),t.println(e,"}"),t.popClass(),null}_visitClassField(e,t){e.hasModifier(et.Private)&&t.print(null,"/*private*/ "),e.hasModifier(et.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")}_visitClassGetter(e,t){e.hasModifier(et.Private)&&t.print(null,"private "),t.print(null,`get ${e.name}()`),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}_visitClassConstructor(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")}_visitClassMethod(e,t){e.hasModifier(et.Private)&&t.print(null,"private "),t.print(null,e.name+"("),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")}visitFunctionExpr(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return e.hasModifier(et.Exported)&&t.print(e,"export "),t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitTryCatchStmt(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,`} catch (${Kr.name}) {`),t.incIndent();const n=[Qr.set(Kr.prop("stack",null)).toDeclStmt(null,[et.Final])].concat(e.catchStmts);return this.visitAllStatements(n,t),t.decIndent(),t.println(e,"}"),null}visitBuiltinType(e,t){let n;switch(e.name){case Q.Bool:n="boolean";break;case Q.Dynamic:n="any";break;case Q.Function:n="Function";break;case Q.Number:case Q.Int:n="number";break;case Q.String:n="string";break;case Q.None:n="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return t.print(null,n),null}visitExpressionType(e,t){return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects(e=>this.visitType(e,t),e.typeParams,t,","),t.print(null,">")),null}visitArrayType(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null}visitMapType(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null}getBuiltinMethodName(e){let t;switch(e){case pe.ConcatArray:t="concat";break;case pe.SubscribeObservable:t="subscribe";break;case pe.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t}_visitParams(e,t){this.visitAllObjects(e=>{t.print(null,e.name),this._printColonType(e.type,t)},e,t,",")}_visitIdentifier(e,t,n){const{name:r,moduleName:s}=e;if(this.referenceFilter&&this.referenceFilter(e))n.print(null,"(null as any)");else{if(s&&(!this.importFilter||!this.importFilter(e))){let e=this.importsWithPrefixes.get(s);null==e&&(e="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(s,e)),n.print(null,e+".")}if(n.print(null,r),this.typeExpression>0){(t||[]).length>0&&(n.print(null,"<"),this.visitAllObjects(e=>e.visitType(this,n),t,n,","),n.print(null,">"))}}}_printColonType(e,t,n){e!==re&&(t.print(null,":"),this.visitType(e,t,n))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class bd{constructor(e){this._reflector=e}isPipe(e){const t=this._reflector.annotations(ln(e));return t&&t.some(M.isTypeOf)}resolve(e,t=!0){const n=this._reflector.annotations(ln(e));if(n){const e=Ip(n,M.isTypeOf);if(e)return e}if(t)throw new Error("No Pipe decorator found on "+an(e));return null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */new class{notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(e){return e===lo.event.name?Et("_any"):null}};class Cd{constructor(e,t){this.viewClassVar=e,this.rendererTypeVar=t}}class xd{constructor(e){this._reflector=e}compileComponent(e,t,n,r,s){let i=0,o=void 0;if(!t.isHost){const n=t.template,s=[];n.animations&&n.animations.length&&s.push(new Ke("animation",Xp(e,n.animations),!0));const i=Et(Ns(t.type.reference));o=i.name,e.statements.push(i.set(bt(io.createRendererType2).callFn([new Qe([new Ke("encapsulation",kt(n.encapsulation),!1),new Ke("styles",r,!1),new Ke("data",new Qe(s),!1)])])).toDeclStmt(Ct(io.RendererType2),[et.Final,et.Exported]))}const a=n=>{const r=i++;return new kd(this._reflector,e,n,t,r,s,a)},l=a(null);return l.visitAll([],n),e.statements.push(...l.build()),new Cd(l.viewName,o)}}const Sd=Et("_l"),Dd=Et("_v"),Td=Et("_ck"),Id=Et("_co"),Ad=Et("en"),Md=Et("ad");class kd{constructor(e,t,n,r,s,i,o){this.reflector=e,this.outputCtx=t,this.parent=n,this.component=r,this.embeddedViewIndex=s,this.usedPipes=i,this.viewBuilderFactory=o,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?ne:xt(t.importExpr(this.component.type.reference)),this.viewName=Ps(this.component.type.reference,this.embeddedViewIndex)}visitAll(e,t){this.variables=e,this.parent||this.usedPipes.forEach(e=>{e.pure&&(this.purePipeNodeIndices[e.name]=this._createPipe(null,e))}),this.parent||this.component.viewQueries.forEach((e,t)=>{const n=t+1,r=e.first?0:1,s=134217728|Fd(e);this.nodes.push(()=>({sourceSpan:null,nodeFlags:s,nodeDef:bt(io.queryDef).callFn([kt(s),kt(n),new Qe([new Ke(e.propertyName,kt(r),!1)])])}))}),pl(this,t),this.parent&&(0===t.length||function e(t){const n=t[t.length-1];if(n instanceof il)return n.hasViewContainer;if(n instanceof sl)return i(n.name)&&n.children.length?e(n.children):n.hasViewContainer;return n instanceof ul}(t))&&this.nodes.push(()=>({sourceSpan:null,nodeFlags:1,nodeDef:bt(io.anchorDef).callFn([kt(0),Xe,Xe,kt(0)])}))}build(e=[]){this.children.forEach(t=>t.build(e));const{updateRendererStmts:t,updateDirectivesStmts:n,nodeDefExprs:r}=this._createNodeExpressions(),s=this._createUpdateFn(t),i=this._createUpdateFn(n);let o=0;this.parent||this.component.changeDetection!==I.OnPush||(o|=2);const a=new it(this.viewName,[new He(Sd.name)],[new at(bt(io.viewDef).callFn([kt(o),Dt(r),i,s]))],Ct(io.ViewDefinition),0===this.embeddedViewIndex?[et.Exported]:[]);return e.push(a),e}_createUpdateFn(e){let t;if(e.length>0){const n=[];!this.component.isHost&&gt(e).has(Id.name)&&n.push(Id.set(Dd.prop("component")).toDeclStmt(this.compType)),t=It([new He(Td.name,re),new He(Dd.name,re)],[...n,...e],re)}else t=Xe;return t}visitNgContent(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:bt(io.ngContentDef).callFn([kt(e.ngContentIndex),kt(e.index)])}))}visitText(e,t){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:bt(io.textDef).callFn([kt(-1),kt(e.ngContentIndex),Dt([kt(e.value)])])}))}visitBoundText(e,t){const n=this.nodes.length;this.nodes.push(null);const r=e.value.ast,s=r.expressions.map((t,r)=>this._preprocessUpdateExpression({nodeIndex:n,bindingIndex:r,sourceSpan:e.sourceSpan,context:Id,value:t})),i=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:bt(io.textDef).callFn([kt(i),kt(e.ngContentIndex),Dt(r.strings.map(e=>kt(e)))]),updateRenderer:s})}visitEmbeddedTemplate(e,t){const n=this.nodes.length;this.nodes.push(null);const{flags:r,queryMatchesExpr:s,hostEvents:i}=this._visitElementOrTemplate(n,e),o=this.viewBuilderFactory(this);this.children.push(o),o.visitAll(e.variables,e.children);const a=this.nodes.length-n-1;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|r,nodeDef:bt(io.anchorDef).callFn([kt(r),s,kt(e.ngContentIndex),kt(a),this._createElementHandleEventFn(n,i),Et(o.viewName)])})}visitElement(e,t){const n=this.nodes.length;this.nodes.push(null);const r=i(e.name)?null:e.name,{flags:s,usedEvents:o,queryMatchesExpr:a,hostBindings:l,hostEvents:c}=this._visitElementOrTemplate(n,e);let u=[],p=[],d=[];if(r){const t=e.inputs.map(e=>({context:Id,inputAst:e,dirAst:null})).concat(l);t.length&&(p=t.map((e,t)=>this._preprocessUpdateExpression({context:e.context,nodeIndex:n,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})),u=t.map(e=>function(e,t){const n=e.type;switch(n){case 1:return Dt([kt(1),kt(e.name),kt(e.securityContext)]);case 0:return Dt([kt(8),kt(e.name),kt(e.securityContext)]);case 4:return Dt([kt(8|(t&&t.directive.isComponent?32:16)),kt("@"+e.name),kt(e.securityContext)]);case 2:return Dt([kt(2),kt(e.name),Xe]);case 3:return Dt([kt(4),kt(e.name),kt(e.unit)]);default:throw new Error("unexpected "+n)}}(e.inputAst,e.dirAst))),d=o.map(([e,t])=>Dt([kt(e),kt(t)]))}pl(this,e.children);const h=this.nodes.length-n-1,f=e.directives.find(e=>e.directive.isComponent);let m=Xe,g=Xe;f&&(g=this.outputCtx.importExpr(f.directive.componentViewType),m=this.outputCtx.importExpr(f.directive.rendererType));const v=n;this.nodes[n]=()=>({sourceSpan:e.sourceSpan,nodeFlags:1|s,nodeDef:bt(io.elementDef).callFn([kt(v),kt(s),a,kt(e.ngContentIndex),kt(h),kt(r),r?Pd(e):Xe,u.length?Dt(u):Xe,d.length?Dt(d):Xe,this._createElementHandleEventFn(n,c),g,m]),updateRenderer:p})}_visitElementOrTemplate(e,t){let n=0;t.hasViewContainer&&(n|=16777216);const r=new Map;t.outputs.forEach(e=>{const{name:t,target:n}=Rd(e,null);r.set(Ld(n,t),[n,t])}),t.directives.forEach(e=>{e.hostEvents.forEach(t=>{const{name:n,target:s}=Rd(t,e);r.set(Ld(s,n),[s,n])})});const s=[],i=[];this._visitComponentFactoryResolverProvider(t.directives),t.providers.forEach(e=>{let n=void 0;if(t.directives.forEach(t=>{t.directive.type.reference===Ls(e.token)&&(n=t)}),n){const{hostBindings:o,hostEvents:a}=this._visitDirective(e,n,t.references,t.queryMatches,r);s.push(...o),i.push(...a)}else this._visitProvider(e,t.queryMatches)});let o=[];return t.queryMatches.forEach(e=>{let t=void 0;Ls(e.value)===this.reflector.resolveExternalReference(io.ElementRef)?t=0:Ls(e.value)===this.reflector.resolveExternalReference(io.ViewContainerRef)?t=3:Ls(e.value)===this.reflector.resolveExternalReference(io.TemplateRef)&&(t=2),null!=t&&o.push(Dt([kt(e.queryId),kt(t)]))}),t.references.forEach(t=>{let n=void 0;t.value?Ls(t.value)===this.reflector.resolveExternalReference(io.TemplateRef)&&(n=2):n=1,null!=n&&(this.refNodeIndices[t.name]=e,o.push(Dt([kt(t.name),kt(n)])))}),t.outputs.forEach(e=>{i.push({context:Id,eventAst:e,dirAst:null})}),{flags:n,usedEvents:Array.from(r.values()),queryMatchesExpr:o.length?Dt(o):Xe,hostBindings:s,hostEvents:i}}_visitDirective(e,t,n,r,s){const i=this.nodes.length;this.nodes.push(null),t.directive.queries.forEach((e,n)=>{const r=t.contentQueryStartId+n,s=67108864|Fd(e),i=e.first?0:1;this.nodes.push(()=>({sourceSpan:t.sourceSpan,nodeFlags:s,nodeDef:bt(io.queryDef).callFn([kt(s),kt(r),new Qe([new Ke(e.propertyName,kt(i),!1)])])}))});const o=this.nodes.length-i-1;let{flags:a,queryMatchExprs:l,providerExpr:c,depsExpr:u}=this._visitProviderOrDirective(e,r);n.forEach(t=>{t.value&&Ls(t.value)===Ls(e.token)&&(this.refNodeIndices[t.name]=i,l.push(Dt([kt(t.name),kt(4)])))}),t.directive.isComponent&&(a|=32768);const p=t.inputs.map((e,t)=>{const n=Dt([kt(t),kt(e.directiveName)]);return new Ke(e.directiveName,n,!1)}),d=[],h=t.directive;Object.keys(h.outputs).forEach(e=>{const t=h.outputs[e];s.has(t)&&d.push(new Ke(e,kt(t),!1))});let f=[];(t.inputs.length||(327680&a)>0)&&(f=t.inputs.map((e,t)=>this._preprocessUpdateExpression({nodeIndex:i,bindingIndex:t,sourceSpan:e.sourceSpan,context:Id,value:e.value})));const m=bt(io.nodeValue).callFn([Dd,kt(i)]),g=t.hostProperties.map(e=>({context:m,dirAst:t,inputAst:e})),v=t.hostEvents.map(e=>({context:m,eventAst:e,dirAst:t})),y=i;return this.nodes[i]=()=>({sourceSpan:t.sourceSpan,nodeFlags:16384|a,nodeDef:bt(io.directiveDef).callFn([kt(y),kt(a),l.length?Dt(l):Xe,kt(o),c,u,p.length?new Qe(p):Xe,d.length?new Qe(d):Xe]),updateDirectives:f,directive:t.directive.type}),{hostBindings:g,hostEvents:v}}_visitProvider(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))}_visitComponentFactoryResolverProvider(e){const t=e.find(e=>e.directive.isComponent);if(t&&t.directive.entryComponents.length){const{providerExpr:e,depsExpr:n,flags:r,tokenExpr:s}=gd(this.reflector,this.outputCtx,8192,t.directive.entryComponents);this._addProviderNode({providerExpr:e,depsExpr:n,flags:r,tokenExpr:s,queryMatchExprs:[],sourceSpan:t.sourceSpan})}}_addProviderNode(e){this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:bt(io.providerDef).callFn([kt(e.flags),e.queryMatchExprs.length?Dt(e.queryMatchExprs):Xe,e.tokenExpr,e.providerExpr,e.depsExpr])}))}_visitProviderOrDirective(e,t){let n=[];t.forEach(t=>{Ls(t.value)===Ls(e.token)&&n.push(Dt([kt(t.queryId),kt(4)]))});const{providerExpr:r,depsExpr:s,flags:i,tokenExpr:o}=pd(this.outputCtx,e);return{flags:0|i,queryMatchExprs:n,providerExpr:r,depsExpr:s,tokenExpr:o,sourceSpan:e.sourceSpan}}getLocal(e){if(e==lo.event.name)return lo.event;let t=Dd;for(let n=this;n;n=n.parent,t=t.prop("parent").cast(ne)){const r=n.refNodeIndices[e];if(null!=r)return bt(io.nodeValue).callFn([t,kt(r)]);const s=n.variables.find(t=>t.name===e);if(s){const e=s.value||"$implicit";return t.prop("context").prop(e)}}return null}notifyImplicitReceiverUse(){}maybeRestoreView(){}_createLiteralArrayConverter(e,t){if(0===t){const e=bt(io.EMPTY_ARRAY);return()=>e}const n=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:32,nodeDef:bt(io.pureArrayDef).callFn([kt(n),kt(t)])})),e=>Nd(n,e)}_createLiteralMapConverter(e,t){if(0===t.length){const e=bt(io.EMPTY_MAP);return()=>e}const n=Tt(t.map((e,t)=>Object.assign(Object.assign({},e),{value:kt(t)}))),r=this.nodes.length;return this.nodes.push(()=>({sourceSpan:e,nodeFlags:64,nodeDef:bt(io.pureObjectDef).callFn([kt(r),n])})),e=>Nd(r,e)}_createPipeConverter(e,t,n){const r=this.usedPipes.find(e=>e.name===t);if(r.pure){const r=this.nodes.length;this.nodes.push(()=>({sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:bt(io.purePipeDef).callFn([kt(r),kt(n)])}));let s=Dd,i=this;for(;i.parent;)i=i.parent,s=s.prop("parent").cast(ne);const o=i.purePipeNodeIndices[t],a=bt(io.nodeValue).callFn([s,kt(o)]);return t=>Od(e.nodeIndex,e.bindingIndex,Nd(r,[a].concat(t)))}{const t=this._createPipe(e.sourceSpan,r),n=bt(io.nodeValue).callFn([Dd,kt(t)]);return t=>Od(e.nodeIndex,e.bindingIndex,n.callMethod("transform",t))}}_createPipe(e,t){const n=this.nodes.length;let r=0;t.type.lifecycleHooks.forEach(e=>{e===rd.OnDestroy&&(r|=md(e))});const s=t.type.diDeps.map(e=>fd(this.outputCtx,e));return this.nodes.push(()=>({sourceSpan:e,nodeFlags:16,nodeDef:bt(io.pipeDef).callFn([kt(r),this.outputCtx.importExpr(t.type.reference),Dt(s)])})),n}_preprocessUpdateExpression(e){return{nodeIndex:e.nodeIndex,bindingIndex:e.bindingIndex,sourceSpan:e.sourceSpan,context:e.context,value:po({createLiteralArrayConverter:t=>this._createLiteralArrayConverter(e.sourceSpan,t),createLiteralMapConverter:t=>this._createLiteralMapConverter(e.sourceSpan,t),createPipeConverter:(t,n)=>this._createPipeConverter(e,t,n)},e.value)}}_createNodeExpressions(){const e=this;let t=0;const n=[],r=[],s=this.nodes.map((e,t)=>{const{nodeDef:s,nodeFlags:o,updateDirectives:a,updateRenderer:l,sourceSpan:c}=e();l&&n.push(...i(t,c,l,!1)),a&&r.push(...i(t,c,a,(327680&o)>0));return _t(3&o?new Ye([Sd.callFn([]).callFn([]),s]):s,c)});return{updateRendererStmts:n,updateDirectivesStmts:r,nodeDefExprs:s};function i(n,r,s,i){const o=[],a=s.map(({sourceSpan:n,context:r,value:s})=>{const i=""+t++,a=r===Id?e:null,{stmts:l,currValExpr:c}=go(a,r,s,i,fo.General);return o.push(...l.map(e=>yt(e,n))),_t(c,n)});return(s.length||i)&&o.push(yt(Nd(n,a).toStmt(),r)),o}}_createElementHandleEventFn(e,t){const n=[];let r,s=0;if(t.forEach(({context:e,eventAst:t,dirAst:r})=>{const i=""+s++,o=e===Id?this:null,{stmts:a,allowDefault:l}=uo(o,e,t.handler,i),c=a;l&&c.push(Md.set(l.and(Md)).toStmt());const{target:u,name:p}=Rd(t,r),d=Ld(u,p);n.push(yt(new dt(kt(d).identical(Ad),c),t.sourceSpan))}),n.length>0){const e=[Md.set(kt(!0)).toDeclStmt(se)];!this.component.isHost&&gt(n).has(Id.name)&&e.push(Id.set(Dd.prop("component")).toDeclStmt(this.compType)),r=It([new He(Dd.name,re),new He(Ad.name,re),new He(lo.event.name,re)],[...e,...n,new at(Md)],re)}else r=Xe;return r}visitDirective(e,t){}visitDirectiveProperty(e,t){}visitReference(e,t){}visitVariable(e,t){}visitEvent(e,t){}visitElementProperty(e,t){}visitAttr(e,t){}}function Pd(e){const t=Object.create(null);return e.attrs.forEach(e=>{t[e.name]=e.value}),e.directives.forEach(e=>{Object.keys(e.directive.hostAttributes).forEach(n=>{const r=e.directive.hostAttributes[n],s=t[n];var i,o,a;t[n]=null!=s?(o=s,a=r,"class"==(i=n)||"style"==i?`${o} ${a}`:a):r})}),Dt(Object.keys(t).sort().map(e=>Dt([kt(e),kt(t[e])])))}function Nd(e,t){return t.length>10?Td.callFn([Dd,kt(e),kt(1),Dt(t)]):Td.callFn([Dd,kt(e),kt(0),...t])}function Od(e,t,n){return bt(io.unwrapValue).callFn([Dd,kt(e),kt(t),n])}function Rd(e,t){return e.isAnimation?{name:`@${e.name}.${e.phase}`,target:t&&t.directive.isComponent?"component":null}:e}function Fd(e){let t=0;return e.first&&e.static?t|=268435456:t|=536870912,e.emitDistinctChangesOnly&&(t|=-2147483648),t}function Ld(e,t){return e?`${e}:${t}`:t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
new Set(["useValue","useFactory","data","id","loadChildren"]);class jd{static build(){const e=new Map;return{define:function(t,n){return e.set(t,n),this},done:function(){return e.size>0?new Vd(e):jd.empty}}}}jd.missing={},jd.empty={resolve:e=>jd.missing};class Vd extends jd{constructor(e){super(),this.bindings=e}resolve(e){return this.bindings.has(e)?this.bindings.get(e):jd.missing}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Bd{}class $d{constructor(){this._summaries=new Map}isLibraryFile(){return!1}toSummaryFileName(e){return e}fromSummaryFileName(e){return e}resolveSummary(e){return this._summaries.get(e)||null}getSymbolsOf(){return[]}getImportAs(e){return e}getKnownModuleName(e){return null}addSummary(e){this._summaries.set(e.symbol,e)}}function Hd(e,t,n,r,s){const i=r.createChildWihtLocalVars();for(let n=0;n<e.length;n++)i.vars.set(e[n],t[n]);const o=s.visitAllStatements(n,i);return o?o.value:null}class Ud{constructor(e,t,n,r){this.parent=e,this.instance=t,this.className=n,this.vars=r,this.exports=[]}createChildWihtLocalVars(){return new Ud(this,this.instance,this.className,new Map)}}class qd{constructor(e){this.value=e}}class zd{constructor(e){this.reflector=e}debugAst(e){return function(e){const t=new Ed,n=Xr.createRoot();return(Array.isArray(e)?e:[e]).forEach(e=>{if(e instanceof rt)e.visitStatement(t,n);else if(e instanceof me)e.visitExpression(t,n);else{if(!(e instanceof Y))throw new Error("Don't know how to print debug info for "+e);e.visitType(t,n)}}),n.toSource()}(e)}visitDeclareVarStmt(e,t){const n=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,n),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitWriteVarExpr(e,t){const n=e.value.visitExpression(this,t);let r=t;for(;null!=r;){if(r.vars.has(e.name))return r.vars.set(e.name,n),n;r=r.parent}throw new Error("Not declared variable "+e.name)}visitWrappedNodeExpr(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")}visitTypeofExpr(e,t){throw new Error("Cannot interpret a TypeofExpr")}visitReadVarExpr(e,t){let n=e.name;if(null!=e.builtin)switch(e.builtin){case ue.Super:return Object.getPrototypeOf(t.instance);case ue.This:return t.instance;case ue.CatchError:n=Gd;break;case ue.CatchStack:n=Zd;break;default:throw new Error("Unknown builtin variable "+e.builtin)}let r=t;for(;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)}visitWriteKeyExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.index.visitExpression(this,t),s=e.value.visitExpression(this,t);return n[r]=s,s}visitWritePropExpr(e,t){const n=e.receiver.visitExpression(this,t),r=e.value.visitExpression(this,t);return n[e.name]=r,r}visitInvokeMethodExpr(e,t){const n=e.receiver.visitExpression(this,t),r=this.visitAllExpressions(e.args,t);let s;if(null!=e.builtin)switch(e.builtin){case pe.ConcatArray:s=n.concat(...r);break;case pe.SubscribeObservable:s=n.subscribe({next:r[0]});break;case pe.Bind:s=n.bind(...r);break;default:throw new Error("Unknown builtin method "+e.builtin)}else s=n[e.name].apply(n,r);return s}visitInvokeFunctionExpr(e,t){const n=this.visitAllExpressions(e.args,t),r=e.fn;if(r instanceof ge&&r.builtin===ue.Super)return t.instance.constructor.prototype.constructor.apply(t.instance,n),null;return e.fn.visitExpression(this,t).apply(null,n)}visitTaggedTemplateExpr(e,t){const n=e.template.elements.map(e=>e.text);Object.defineProperty(n,"raw",{value:e.template.elements.map(e=>e.rawText)});const r=this.visitAllExpressions(e.template.expressions,t);r.unshift(n);return e.tag.visitExpression(this,t).apply(null,r)}visitReturnStmt(e,t){return new qd(e.value.visitExpression(this,t))}visitDeclareClassStmt(e,t){const n=function(e,t,n){const r={};e.getters.forEach(s=>{r[s.name]={configurable:!1,get:function(){const r=new Ud(t,this,e.name,t.vars);return Hd([],[],s.body,r,n)}}}),e.methods.forEach((function(s){const i=s.params.map(e=>e.name);r[s.name]={writable:!1,configurable:!1,value:function(...r){const o=new Ud(t,this,e.name,t.vars);return Hd(i,r,s.body,o,n)}}}));const s=e.constructorMethod.params.map(e=>e.name),i=function(...r){const i=new Ud(t,this,e.name,t.vars);e.fields.forEach(e=>{this[e.name]=void 0}),Hd(s,r,e.constructorMethod.body,i,n)},o=e.parent?e.parent.visitExpression(n,t):Object;return i.prototype=Object.create(o.prototype,r),i}(e,t,this);return t.vars.set(e.name,n),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitExpressionStmt(e,t){return e.expr.visitExpression(this,t)}visitIfStmt(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null}visitTryCatchStmt(e,t){try{return this.visitAllStatements(e.bodyStmts,t)}catch(n){const r=t.createChildWihtLocalVars();return r.vars.set(Gd,n),r.vars.set(Zd,n.stack),this.visitAllStatements(e.catchStmts,r)}}visitThrowStmt(e,t){throw e.error.visitExpression(this,t)}visitInstantiateExpr(e,t){const n=this.visitAllExpressions(e.args,t);return new(e.classExpr.visitExpression(this,t))(...n)}visitLiteralExpr(e,t){return e.value}visitLocalizedString(e,t){return null}visitExternalExpr(e,t){return this.reflector.resolveExternalReference(e.value)}visitConditionalExpr(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null}visitNotExpr(e,t){return!e.condition.visitExpression(this,t)}visitAssertNotNullExpr(e,t){return e.condition.visitExpression(this,t)}visitCastExpr(e,t){return e.value.visitExpression(this,t)}visitFunctionExpr(e,t){return Wd(e.params.map(e=>e.name),e.statements,t,this)}visitDeclareFunctionStmt(e,t){const n=e.params.map(e=>e.name);return t.vars.set(e.name,Wd(n,e.statements,t,this)),e.hasModifier(et.Exported)&&t.exports.push(e.name),null}visitUnaryOperatorExpr(e,t){const n=()=>e.expr.visitExpression(this,t);switch(e.operator){case le.Plus:return+n();case le.Minus:return-n();default:throw new Error("Unknown operator "+e.operator)}}visitBinaryOperatorExpr(e,t){var n;const r=()=>e.lhs.visitExpression(this,t),s=()=>e.rhs.visitExpression(this,t);switch(e.operator){case ce.Equals:return r()==s();case ce.Identical:return r()===s();case ce.NotEquals:return r()!=s();case ce.NotIdentical:return r()!==s();case ce.And:return r()&&s();case ce.Or:return r()||s();case ce.Plus:return r()+s();case ce.Minus:return r()-s();case ce.Divide:return r()/s();case ce.Multiply:return r()*s();case ce.Modulo:return r()%s();case ce.Lower:return r()<s();case ce.LowerEquals:return r()<=s();case ce.Bigger:return r()>s();case ce.BiggerEquals:return r()>=s();case ce.NullishCoalesce:return null!==(n=r())&&void 0!==n?n:s();default:throw new Error("Unknown operator "+e.operator)}}visitReadPropExpr(e,t){let n;return n=e.receiver.visitExpression(this,t)[e.name],n}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t)[e.index.visitExpression(this,t)]}visitLiteralArrayExpr(e,t){return this.visitAllExpressions(e.entries,t)}visitLiteralMapExpr(e,t){const n={};return e.entries.forEach(e=>n[e.key]=e.value.visitExpression(this,t)),n}visitCommaExpr(e,t){const n=this.visitAllExpressions(e.parts,t);return n[n.length-1]}visitAllExpressions(e,t){return e.map(e=>e.visitExpression(this,t))}visitAllStatements(e,t){for(let n=0;n<e.length;n++){const r=e[n].visitStatement(this,t);if(r instanceof qd)return r}return null}}function Wd(e,t,n,r){return(...s)=>Hd(e,s,t,n,r)}const Gd="error",Zd="stack";
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Kd{constructor(e,t,n,r,s,i,o,a,l,c,u){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=s,this._summaryResolver=i,this._reflector=o,this._jitEvaluator=a,this._compilerConfig=l,this._console=c,this.getExtraNgModuleProviders=u,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}compileModuleSync(e){return Yt(this._compileModuleAndComponents(e,!0))}compileModuleAsync(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))}compileModuleAndAllComponentsSync(e){return Yt(this._compileModuleAndAllComponents(e,!0))}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))}getComponentFactory(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory}loadAotSummaries(e){this.clearCache(),this._addAotSummaries(e)}_addAotSummaries(e){if(this._addedAotSummaries.has(e))return;this._addedAotSummaries.add(e);const t=e();for(let e=0;e<t.length;e++){const n=t[e];if("function"==typeof n)this._addAotSummaries(n);else{const e=n;this._summaryResolver.addSummary({symbol:e.type.reference,metadata:null,type:e})}}}hasAotSummary(e){return!!this._summaryResolver.resolveSummary(e)}_filterJitIdentifiers(e){return e.map(e=>e.reference).filter(e=>!this.hasAotSummary(e))}_compileModuleAndComponents(e,t){return Xt(this._loadModules(e,t),()=>(this._compileComponents(e,null),this._compileModule(e)))}_compileModuleAndAllComponents(e,t){return Xt(this._loadModules(e,t),()=>{const t=[];return this._compileComponents(e,t),{ngModuleFactory:this._compileModule(e),componentFactories:t}})}_loadModules(e,t){const n=[],r=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(r.transitiveModule.modules).forEach(e=>{const r=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(r.declaredDirectives).forEach(e=>{const s=this._metadataResolver.loadDirectiveMetadata(r.type.reference,e,t);s&&n.push(s)}),this._filterJitIdentifiers(r.declaredPipes).forEach(e=>this._metadataResolver.getOrLoadPipeMetadata(e))}),Jt(n)}_compileModule(e){let t=this._compiledNgModuleCache.get(e);if(!t){const n=this._metadataResolver.getNgModuleMetadata(e),r=this.getExtraNgModuleProviders(n.type.reference),s=Xd(),i=this._ngModuleCompiler.compile(s,n,r);t=this._interpretOrJit(function(e){return Gs(Ms(e.type)+"/module.ngfactory.js")}(n),s.statements)[i.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,t)}return t}_compileComponents(e,t){const n=this._metadataResolver.getNgModuleMetadata(e),r=new Map,s=new Set,i=this._filterJitIdentifiers(n.transitiveModule.modules);i.forEach(e=>{const n=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(n.declaredDirectives).forEach(e=>{r.set(e,n);const i=this._metadataResolver.getDirectiveMetadata(e);if(i.isComponent&&(s.add(this._createCompiledTemplate(i,n)),t)){const e=this._createCompiledHostTemplate(i.type.reference,n);s.add(e),t.push(i.componentFactory)}})}),i.forEach(e=>{const t=this._metadataResolver.getNgModuleMetadata(e);this._filterJitIdentifiers(t.declaredDirectives).forEach(e=>{const t=this._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach(e=>{const t=r.get(e.componentType);s.add(this._createCompiledHostTemplate(e.componentType,t))})}),t.entryComponents.forEach(e=>{if(!this.hasAotSummary(e.componentType)){const t=r.get(e.componentType);s.add(this._createCompiledHostTemplate(e.componentType,t))}})}),s.forEach(e=>this._compileTemplate(e))}clearCacheFor(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e);this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)}clearCache(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()}_createCompiledHostTemplate(e,t){if(!t)throw new Error(`Component ${an(e)} is not part of any NgModule or the module has not been imported into your module.`);let n=this._compiledHostTemplateCache.get(e);if(!n){const r=this._metadataResolver.getDirectiveMetadata(e);Yd(r);const s=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new Qd(!0,r.type,s,t,[r.type]),this._compiledHostTemplateCache.set(e,n)}return n}_createCompiledTemplate(e,t){let n=this._compiledTemplateCache.get(e.type.reference);return n||(Yd(e),n=new Qd(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,n)),n}_compileTemplate(e){if(e.isCompiled)return;const t=e.compMeta,n=new Map,r=Xd(),s=this._styleCompiler.compileComponent(r,t);t.template.externalStylesheets.forEach(e=>{const r=this._styleCompiler.compileStyles(Xd(),t,e);n.set(e.moduleUrl,r)}),this._resolveStylesCompileResult(s,n);e.ngModule.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));const{template:i,pipes:o}=this._parseTemplate(t,e.ngModule,e.directives),a=this._viewCompiler.compileComponent(r,t,i,Et(s.stylesVar),o),l=this._interpretOrJit(function(e,t){return Gs(`${Ms(e)}/${Ms(t.type)}.ngfactory.js`)}(e.ngModule.type,e.compMeta),r.statements),c=l[a.viewClassVar],u=l[a.rendererTypeVar];e.compiled(c,u)}_parseTemplate(e,t,n){const r=e.template.preserveWhitespaces,s=n.map(e=>this._metadataResolver.getDirectiveSummary(e.reference)),i=t.transitiveModule.pipes.map(e=>this._metadataResolver.getPipeSummary(e.reference));return this._templateParser.parse(e,e.template.htmlAst,s,i,t.schemas,Zs(t.type,e,e.template),r)}_resolveStylesCompileResult(e,t){e.dependencies.forEach((e,n)=>{const r=t.get(e.moduleUrl),s=this._resolveAndEvalStylesCompileResult(r,t);e.setValue(s)})}_resolveAndEvalStylesCompileResult(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(function(e,t){const n=e.moduleUrl.split(/\/\\/g);return Gs(`css/${t}${n[n.length-1]}.ngstyle.js`)}(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]}_interpretOrJit(e,t){return this._compilerConfig.useJit?this._jitEvaluator.evaluateStatements(e,t,this._reflector,this._compilerConfig.jitDevMode):function(e,t){const n=new Ud(null,null,null,new Map);new zd(t).visitAllStatements(e,n);const r={};return n.exports.forEach(e=>{r[e]=n.vars.get(e)}),r}(t,this._reflector)}}class Qd{constructor(e,t,n,r,s){this.isHost=e,this.compType=t,this.compMeta=n,this.ngModule=r,this.directives=s,this._viewClass=null,this.isCompiled=!1}compiled(e,t){this._viewClass=e,this.compMeta.componentViewType.setDelegate(e);for(let e in t)this.compMeta.rendererType[e]=t[e];this.isCompiled=!0}}function Yd(e){if(!e.isComponent)throw new Error(`Could not compile '${Ms(e.type)}' because it is not a component.`)}function Xd(){return{statements:[],genFilePath:"",importExpr:e=>bt({name:Ms(e),moduleName:null,runtime:e}),constantPool:new Lt}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Jd{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const eh=class{constructor(e=null){this._packagePrefix=e}resolve(e,t){let n=t;null!=e&&e.length>0&&(n=function(e,t){const n=ih(encodeURI(t)),r=ih(e);if(null!=n[rh.Scheme])return oh(n);n[rh.Scheme]=r[rh.Scheme];for(let e=rh.Scheme;e<=rh.Port;e++)null==n[e]&&(n[e]=r[e]);if("/"==n[rh.Path][0])return oh(n);let s=r[rh.Path];null==s&&(s="/");const i=s.lastIndexOf("/");return s=s.substring(0,i+1)+n[rh.Path],n[rh.Path]=s,oh(n)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e,n));const r=ih(n);let s=this._packagePrefix;if(null!=s&&null!=r&&"package"==r[rh.Scheme]){let e=r[rh.Path];return s=s.replace(/\/+$/,""),e=e.replace(/^\/+/,""),`${s}/${e}`}return n}};function th(e){const t=ih(e);return t&&t[rh.Scheme]||""}const nh=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");var rh,sh;function ih(e){return e.match(nh)}function oh(e){let t=e[rh.Path];return t=null==t?"":function(e){if("/"==e)return"/";const t="/"==e[0]?"/":"",n="/"===e[e.length-1]?"/":"",r=e.split("/"),s=[];let i=0;for(let e=0;e<r.length;e++){const t=r[e];switch(t){case"":case".":break;case"..":s.length>0?s.pop():i++;break;default:s.push(t)}}if(""==t){for(;i-- >0;)s.unshift("..");0===s.length&&s.push(".")}return t+s.join("/")+n}(t),e[rh.Path]=t,function(e,t,n,r,s,i,o){const a=[];return null!=e&&a.push(e+":"),null!=n&&(a.push("//"),null!=t&&a.push(t+"@"),a.push(n),null!=r&&a.push(":"+r)),null!=s&&a.push(s),null!=i&&a.push("?"+i),null!=o&&a.push("#"+o),a.join("")}(e[rh.Scheme],e[rh.UserInfo],e[rh.Domain],e[rh.Port],t,e[rh.QueryData],e[rh.Fragment])}!function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(rh||(rh={}));!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(sh||(sh={}));
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
!function(e){(e.ng||(e.ng={})).ɵcompilerFacade=new Yu}(dn)}).call(this,n(14))},function(e,t,n){"use strict";n.d(t,"a",(function(){return rt})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return lt})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return st})),n.d(t,"f",(function(){return i})),n.d(t,"g",(function(){return ge})),n.d(t,"h",(function(){return o}));var r=n(0);
/**
 * @license Angular v12.2.1
 * (c) 2010-2021 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */let s=null;function i(){return s}function o(e){s||(s=e)}class a{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const l=new r.InjectionToken("DocumentToken");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class c{historyGo(e){throw new Error("Not implemented")}}function u(){return Object(r["ɵɵinject"])(p)}c.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:u,token:c,providedIn:"platform"}),c.decorators=[{type:r.Injectable,args:[{providedIn:"platform",useFactory:u}]}];new r.InjectionToken("Location Initialized");class p extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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){d()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){d()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function d(){return!!window.history.pushState}function h(){return new p(Object(r["ɵɵinject"])(l))}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function f(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}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function g(e){return e&&"?"!==e[0]?"?"+e:e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */p.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:h,token:p,providedIn:"platform"}),p.decorators=[{type:r.Injectable,args:[{providedIn:"platform",useFactory:h}]}],p.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[l]}]}];class v{historyGo(e){throw new Error("Not implemented")}}function y(e){const t=Object(r["ɵɵinject"])(l).location;return new w(Object(r["ɵɵinject"])(c),t&&t.origin||"")}v.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:y,token:v,providedIn:"root"}),v.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:y}]}];const _=new r.InjectionToken("appBaseHref");class w extends v{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],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}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return f(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+g(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+g(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+g(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}w.decorators=[{type:r.Injectable}],w.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[_]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class E extends v{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(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=f(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+g(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+g(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}E.decorators=[{type:r.Injectable}],E.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[_]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class b{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(x(n)),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(e,t=""){return this.path()==this.normalize(e+g(t))}normalize(e){return b.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,x(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+g(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+g(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=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})}}function C(){return new b(Object(r["ɵɵinject"])(v),Object(r["ɵɵinject"])(c))}function x(e){return e.replace(/\/index.html$/,"")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */b.normalizeQueryParams=g,b.joinWithSlash=f,b.stripTrailingSlash=m,b.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:C,token:b,providedIn:"root"}),b.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:C}]}],b.ctorParameters=()=>[{type:v},{type:c}];const S={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],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,"р.",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¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],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:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",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,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],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,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",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],XXX:["¤"],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]};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */var D,T,I,A,M,k,P;function N(e,t){return B(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateFormat],t)}function O(e,t){return B(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].TimeFormat],t)}function R(e,t){return B(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateTimeFormat],t)}function F(e,t){const n=Object(r["ɵfindLocaleData"])(e),s=n[r["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===s){if(t===k.CurrencyDecimal)return n[r["ɵLocaleDataIndex"].NumberSymbols][k.Decimal];if(t===k.CurrencyGroup)return n[r["ɵLocaleDataIndex"].NumberSymbols][k.Group]}return s}function L(e,t){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].NumberFormats][t]}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(D||(D={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(T||(T={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(I||(I={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(A||(A={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(M||(M={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(k||(k={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(P||(P={}));const j=r["ɵgetLocalePluralCase"];function V(e){if(!e[r["ɵLocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["ɵLocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(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 $(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function H(e,t,n="en"){const s=function(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Currencies]}(n)[e]||S[e]||[],i=s[1];return"narrow"===t&&"string"==typeof i?i:s[0]||e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const U=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,q={},z=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{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]*)/;var W,G,Z;function K(e,t,n,s){let i=function(e){if(ae(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map(e=>+e);return Q(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(U))return function(e){const t=new Date(0);let n=0,r=0;const s=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));s.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!ae(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const s=function(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].LocaleId]}(t);if(q[s]=q[s]||{},q[s][n])return q[s][n];let i="";switch(n){case"shortDate":i=N(t,M.Short);break;case"mediumDate":i=N(t,M.Medium);break;case"longDate":i=N(t,M.Long);break;case"fullDate":i=N(t,M.Full);break;case"shortTime":i=O(t,M.Short);break;case"mediumTime":i=O(t,M.Medium);break;case"longTime":i=O(t,M.Long);break;case"fullTime":i=O(t,M.Full);break;case"short":const n=e(t,"shortTime"),r=e(t,"shortDate");i=Y(R(t,M.Short),[n,r]);break;case"medium":const s=e(t,"mediumTime"),o=e(t,"mediumDate");i=Y(R(t,M.Medium),[s,o]);break;case"long":const a=e(t,"longTime"),l=e(t,"longDate");i=Y(R(t,M.Long),[a,l]);break;case"full":const c=e(t,"fullTime"),u=e(t,"fullDate");i=Y(R(t,M.Full),[c,u])}i&&(q[s][n]=i);return i}(n,t)||t;let o,a=[];for(;t;){if(o=z.exec(t),!o){a.push(t);break}{a=a.concat(o.slice(1));const e=a.pop();if(!e)break;t=e}}let l=i.getTimezoneOffset();s&&(l=oe(s,l),i=function(e,t,n){const r=n?-1:1,s=e.getTimezoneOffset(),i=oe(t,s);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(i-s))}(i,s,!0));let c="";return a.forEach(e=>{const t=function(e){if(ie[e])return ie[e];let t;switch(e){case"G":case"GG":case"GGG":t=ee(Z.Eras,A.Abbreviated);break;case"GGGG":t=ee(Z.Eras,A.Wide);break;case"GGGGG":t=ee(Z.Eras,A.Narrow);break;case"y":t=J(G.FullYear,1,0,!1,!0);break;case"yy":t=J(G.FullYear,2,0,!0,!0);break;case"yyy":t=J(G.FullYear,3,0,!1,!0);break;case"yyyy":t=J(G.FullYear,4,0,!1,!0);break;case"Y":t=se(1);break;case"YY":t=se(2,!0);break;case"YYY":t=se(3);break;case"YYYY":t=se(4);break;case"M":case"L":t=J(G.Month,1,1);break;case"MM":case"LL":t=J(G.Month,2,1);break;case"MMM":t=ee(Z.Months,A.Abbreviated);break;case"MMMM":t=ee(Z.Months,A.Wide);break;case"MMMMM":t=ee(Z.Months,A.Narrow);break;case"LLL":t=ee(Z.Months,A.Abbreviated,I.Standalone);break;case"LLLL":t=ee(Z.Months,A.Wide,I.Standalone);break;case"LLLLL":t=ee(Z.Months,A.Narrow,I.Standalone);break;case"w":t=re(1);break;case"ww":t=re(2);break;case"W":t=re(1,!0);break;case"d":t=J(G.Date,1);break;case"dd":t=J(G.Date,2);break;case"c":case"cc":t=J(G.Day,1);break;case"ccc":t=ee(Z.Days,A.Abbreviated,I.Standalone);break;case"cccc":t=ee(Z.Days,A.Wide,I.Standalone);break;case"ccccc":t=ee(Z.Days,A.Narrow,I.Standalone);break;case"cccccc":t=ee(Z.Days,A.Short,I.Standalone);break;case"E":case"EE":case"EEE":t=ee(Z.Days,A.Abbreviated);break;case"EEEE":t=ee(Z.Days,A.Wide);break;case"EEEEE":t=ee(Z.Days,A.Narrow);break;case"EEEEEE":t=ee(Z.Days,A.Short);break;case"a":case"aa":case"aaa":t=ee(Z.DayPeriods,A.Abbreviated);break;case"aaaa":t=ee(Z.DayPeriods,A.Wide);break;case"aaaaa":t=ee(Z.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":t=ee(Z.DayPeriods,A.Abbreviated,I.Standalone,!0);break;case"bbbb":t=ee(Z.DayPeriods,A.Wide,I.Standalone,!0);break;case"bbbbb":t=ee(Z.DayPeriods,A.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":t=ee(Z.DayPeriods,A.Abbreviated,I.Format,!0);break;case"BBBB":t=ee(Z.DayPeriods,A.Wide,I.Format,!0);break;case"BBBBB":t=ee(Z.DayPeriods,A.Narrow,I.Format,!0);break;case"h":t=J(G.Hours,1,-12);break;case"hh":t=J(G.Hours,2,-12);break;case"H":t=J(G.Hours,1);break;case"HH":t=J(G.Hours,2);break;case"m":t=J(G.Minutes,1);break;case"mm":t=J(G.Minutes,2);break;case"s":t=J(G.Seconds,1);break;case"ss":t=J(G.Seconds,2);break;case"S":t=J(G.FractionalSeconds,1);break;case"SS":t=J(G.FractionalSeconds,2);break;case"SSS":t=J(G.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=te(W.Short);break;case"ZZZZZ":t=te(W.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=te(W.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=te(W.Long);break;default:return null}return ie[e]=t,t}(e);c+=t?t(i,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Q(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Y(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function X(e,t,n="-",r,s){let i="";(e<0||s&&e<=0)&&(s?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length<t;)o="0"+o;return r&&(o=o.substr(o.length-t)),i+o}function J(e,t,n=0,r=!1,s=!1){return function(i,o){let a=function(e,t){switch(e){case G.FullYear:return t.getFullYear();case G.Month:return t.getMonth();case G.Date:return t.getDate();case G.Hours:return t.getHours();case G.Minutes:return t.getMinutes();case G.Seconds:return t.getSeconds();case G.FractionalSeconds:return t.getMilliseconds();case G.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((n>0||a>-n)&&(a+=n),e===G.Hours)0===a&&-12===n&&(a=12);else if(e===G.FractionalSeconds)return l=t,X(a,3).substr(0,l);var l;const c=F(o,k.MinusSign);return X(a,t,c,r,s)}}function ee(e,t,n=I.Format,s=!1){return function(i,o){return function(e,t,n,s,i,o){switch(n){case Z.Months:return function(e,t,n){const s=Object(r["ɵfindLocaleData"])(e),i=B([s[r["ɵLocaleDataIndex"].MonthsFormat],s[r["ɵLocaleDataIndex"].MonthsStandalone]],t);return B(i,n)}(t,i,s)[e.getMonth()];case Z.Days:return function(e,t,n){const s=Object(r["ɵfindLocaleData"])(e),i=B([s[r["ɵLocaleDataIndex"].DaysFormat],s[r["ɵLocaleDataIndex"].DaysStandalone]],t);return B(i,n)}(t,i,s)[e.getDay()];case Z.DayPeriods:const a=e.getHours(),l=e.getMinutes();if(o){const e=function(e){const t=Object(r["ɵfindLocaleData"])(e);return V(t),(t[r["ɵLocaleDataIndex"].ExtraData][2]||[]).map(e=>"string"==typeof e?$(e):[$(e[0]),$(e[1])])}(t),n=function(e,t,n){const s=Object(r["ɵfindLocaleData"])(e);V(s);const i=B([s[r["ɵLocaleDataIndex"].ExtraData][0],s[r["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return B(i,n)||[]}(t,i,s),o=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&l>=t.minutes,s=a<n.hours||a===n.hours&&l<n.minutes;if(t.hours<n.hours){if(r&&s)return!0}else if(r||s)return!0}else if(e.hours===a&&e.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(e,t,n){const s=Object(r["ɵfindLocaleData"])(e),i=B([s[r["ɵLocaleDataIndex"].DayPeriodsFormat],s[r["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return B(i,n)}(t,i,s)[a<12?0:1];case Z.Eras:return function(e,t){return B(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Eras],t)}(t,s)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(i,o,e,t,n,s)}}function te(e){return function(t,n,r){const s=-1*r,i=F(n,k.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(e){case W.Short:return(s>=0?"+":"")+X(o,2,i)+X(Math.abs(s%60),2,i);case W.ShortGMT:return"GMT"+(s>=0?"+":"")+X(o,1,i);case W.Long:return"GMT"+(s>=0?"+":"")+X(o,2,i)+":"+X(Math.abs(s%60),2,i);case W.Extended:return 0===r?"Z":(s>=0?"+":"")+X(o,2,i)+":"+X(Math.abs(s%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(W||(W={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(G||(G={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(Z||(Z={}));function ne(e){return Q(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function re(e,t=!1){return function(n,r){let s;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();s=1+Math.floor((t+e)/7)}else{const e=ne(n),t=function(e){const t=Q(e,0,1).getDay();return Q(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();s=1+Math.round(r/6048e5)}return X(s,e,F(r,k.MinusSign))}}function se(e,t=!1){return function(n,r){return X(ne(n).getFullYear(),e,F(r,k.MinusSign),t)}}const ie={};function oe(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ae(e){return e instanceof Date&&!isNaN(e.valueOf())}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const le=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ce(e,t,n,r,s,i,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,s,i,o=Math.abs(e)+"",a=0;(n=o.indexOf("."))>-1&&(o=o.replace(".",""));(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length);for(r=0;"0"===o.charAt(r);r++);if(r===(i=o.length))t=[0],n=1;else{for(i--;"0"===o.charAt(i);)i--;for(n-=r,t=[],s=0;r<=i;r++,s++)t[s]=Number(o.charAt(r))}n>22&&(t=t.splice(0,21),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let u=t.minInt,p=t.minFrac,d=t.maxFrac;if(i){const e=i.match(le);if(null===e)throw new Error(i+" is not a valid digit info");const t=e[1],n=e[3],r=e[5];null!=t&&(u=de(t)),null!=n&&(p=de(n)),null!=r?d=de(r):null!=n&&p>d&&(d=p)}!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 r=e.digits,s=r.length-e.integerLen;const i=Math.min(Math.max(t,s),n);let o=i+e.integerLen,a=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e<r.length;e++)r[e]=0}else{s=Math.max(0,s),e.integerLen=1,r.length=Math.max(1,o=i+1),r[0]=0;for(let e=1;e<o;e++)r[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[o-1]++;for(;s<Math.max(0,i);s++)r.push(0);let l=0!==i;const c=t+e.integerLen,u=r.reduceRight((function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,l&&(0===r[n]&&n>=c?r.pop():l=!1),t>=10?1:0}),0);u&&(r.unshift(u),e.integerLen++)}(c,p,d);let h=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=h.every(e=>!e);f<u;f++)h.unshift(0);for(;f<0;f++)h.unshift(0);f>0?g=h.splice(f,h.length):(g=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(F(n,r)),g.length&&(a+=F(n,s)+g.join("")),m&&(a+=F(n,k.Exponential)+"+"+m)}else a=F(n,k.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function ue(e,t,n,r,s){const i=pe(L(t,D.Currency),F(t,k.MinusSign));i.minFrac=function(e){let t;const n=S[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),i.maxFrac=i.minFrac;return ce(e,i,t,k.CurrencyGroup,k.CurrencyDecimal,s).replace("¤",n).replace("¤","").trim()}function pe(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),s=r[0],i=r[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let e=0;e<l.length;e++){const t=l.charAt(e);"0"===t?n.minFrac=n.maxFrac=e+1:"#"===t?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){const e=s.length-n.posPre.length-n.posSuf.length,t=i.indexOf("#");n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function de(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class he{}function fe(e,t,n,r){let s="="+e;if(t.indexOf(s)>-1)return s;if(s=n.getPluralCategory(e,r),t.indexOf(s)>-1)return s;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}class me extends he{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(j(t||this.locale)(e)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ge(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */me.decorators=[{type:r.Injectable}],me.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class ve{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(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(r["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){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(r["ɵstringify"])(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)})}}ve.decorators=[{type:r.Directive,args:[{selector:"[ngClass]"}]}],ve.ctorParameters=()=>[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}],ve.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class ye{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(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}ye.decorators=[{type:r.Directive,args:[{selector:"[ngComponentOutlet]"}]}],ye.ctorParameters=()=>[{type:r.ViewContainerRef}],ye.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class _e{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}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}}class we{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){"undefined"!=typeof ngDevMode&&!ngDevMode||null==e||"function"==typeof e||console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#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 t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error(`Cannot find a differ supporting object '${t}' of type '${e=t,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new _e(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new Ee(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new Ee(e,s);t.push(i)}});for(let e=0;e<t.length;e++)this._perViewChange(t[e].view,t[e].record);for(let e=0,t=this._viewContainer.length;e<t;e++){const n=this._viewContainer.get(e);n.context.index=e,n.context.count=t,n.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}we.decorators=[{type:r.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],we.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}],we.propDecorators={ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]};class Ee{constructor(e,t){this.record=e,this.view=t}}class be{constructor(e,t){this._viewContainer=e,this._context=new Ce,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){xe("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){xe("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 ngTemplateContextGuard(e,t){return!0}}be.decorators=[{type:r.Directive,args:[{selector:"[ngIf]"}]}],be.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef}],be.propDecorators={ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]};class Ce{constructor(){this.$implicit=null,this.ngIf=null}}function xe(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Object(r["ɵstringify"])(t)}'.`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class Se{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()}}class De{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<this._defaultViews.length;t++){this._defaultViews[t].enforceState(e)}}}}De.decorators=[{type:r.Directive,args:[{selector:"[ngSwitch]"}]}],De.propDecorators={ngSwitch:[{type:r.Input}]};class Te{constructor(e,t,n){this.ngSwitch=n,"undefined"!=typeof ngDevMode&&!ngDevMode||n||Ae("ngSwitchCase","NgSwitchCase"),n._addCase(),this._view=new Se(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Te.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchCase]"}]}],Te.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:De,decorators:[{type:r.Optional},{type:r.Host}]}],Te.propDecorators={ngSwitchCase:[{type:r.Input}]};class Ie{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||Ae("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new Se(e,t))}}function Ae(e,t){throw new r["ɵRuntimeError"]("305",`An element with the "${e}" attribute (matching the "${t}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Ie.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchDefault]"}]}],Ie.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:De,decorators:[{type:r.Optional},{type:r.Host}]}];class Me{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=fe(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())}}Me.decorators=[{type:r.Directive,args:[{selector:"[ngPlural]"}]}],Me.ctorParameters=()=>[{type:he}],Me.propDecorators={ngPlural:[{type:r.Input}]};class ke{constructor(e,t,n,r){this.value=e;const s=!isNaN(Number(e));r.addCase(s?"="+e:e,new Se(n,t))}}ke.decorators=[{type:r.Directive,args:[{selector:"[ngPluralCase]"}]}],ke.ctorParameters=()=>[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:Me,decorators:[{type:r.Host}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class Pe{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_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))}}Pe.decorators=[{type:r.Directive,args:[{selector:"[ngStyle]"}]}],Pe.ctorParameters=()=>[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}],Pe.propDecorators={ngStyle:[{type:r.Input,args:["ngStyle"]}]};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Ne{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Ne.decorators=[{type:r.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],Ne.ctorParameters=()=>[{type:r.ViewContainerRef}],Ne.propDecorators={ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const Oe=[ve,ye,we,be,Ne,Pe,De,Te,Ie,Me,ke];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Re(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r["ɵstringify"])(e)}'`)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const Fe=new class{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}},Le=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}};class je{constructor(e){this._ref=e,this._latestValue=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)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r["ɵisPromise"])(e))return Fe;if(Object(r["ɵisSubscribable"])(e))return Le;throw Re(je,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}je.decorators=[{type:r.Pipe,args:[{name:"async",pure:!1}]}],je.ctorParameters=()=>[{type:r.ChangeDetectorRef}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class Ve{transform(e){if(null==e)return null;if("string"!=typeof e)throw Re(Ve,e);return e.toLowerCase()}}Ve.decorators=[{type:r.Pipe,args:[{name:"lowercase"}]}];const Be=/(?:[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;class $e{transform(e){if(null==e)return null;if("string"!=typeof e)throw Re($e,e);return e.replace(Be,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}$e.decorators=[{type:r.Pipe,args:[{name:"titlecase"}]}];class He{transform(e){if(null==e)return null;if("string"!=typeof e)throw Re(He,e);return e.toUpperCase()}}He.decorators=[{type:r.Pipe,args:[{name:"uppercase"}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Ue{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return K(e,t,r||this.locale,n)}catch(e){throw Re(Ue,e.message)}}}Ue.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],Ue.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;const qe=/#/g;class ze{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw Re(ze,t);return t[fe(e,Object.keys(t),this._localization,n)].replace(qe,e.toString())}}ze.decorators=[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],ze.ctorParameters=()=>[{type:he}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;class We{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw Re(We,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}We.decorators=[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Ge{transform(e){return JSON.stringify(e,null,2)}}Ge.decorators=[{type:r.Pipe,args:[{name:"json",pure:!1}]}];class Ze{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=Ke}transform(e,t=Ke){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e),r=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(e=>{
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))})),(n||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function Ke(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const s=String(n),i=String(r);return s==i?0:s<i?-1:1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Ze.decorators=[{type:r.Pipe,args:[{name:"keyvalue",pure:!1}]}],Ze.ctorParameters=()=>[{type:r.KeyValueDiffers}];class Qe{constructor(e){this._locale=e}transform(e,t,n){if(!Je(e))return null;n=n||this._locale;try{return function(e,t,n){return ce(e,pe(L(t,D.Decimal),F(t,k.MinusSign)),t,k.Group,k.Decimal,n)}(et(e),n,t)}catch(e){throw Re(Qe,e.message)}}}Qe.decorators=[{type:r.Pipe,args:[{name:"number"}]}],Qe.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class Ye{constructor(e){this._locale=e}transform(e,t,n){if(!Je(e))return null;n=n||this._locale;try{return function(e,t,n){return ce(e,pe(L(t,D.Percent),F(t,k.MinusSign)),t,k.Group,k.Decimal,n,!0).replace(new RegExp("%","g"),F(t,k.PercentSign))}(et(e),n,t)}catch(e){throw Re(Ye,e.message)}}}Ye.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],Ye.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class Xe{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",r,s){if(!Je(e))return null;s=s||this._locale,"boolean"==typeof n&&(("undefined"==typeof ngDevMode||ngDevMode)&&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".'),n=n?"symbol":"code");let i=t||this._defaultCurrencyCode;"code"!==n&&(i="symbol"===n||"symbol-narrow"===n?H(i,"symbol"===n?"wide":"narrow",s):n);try{return ue(et(e),s,i,t,r)}catch(e){throw Re(Xe,e.message)}}}function Je(e){return!(null==e||""===e||e!=e)}function et(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}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Xe.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],Xe.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:String,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}];class tt{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw Re(tt,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}tt.decorators=[{type:r.Pipe,args:[{name:"slice",pure:!1}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const nt=[je,He,Ve,Ge,tt,Qe,Ye,$e,Xe,Ue,ze,We,Ze];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class rt{}rt.decorators=[{type:r.NgModule,args:[{declarations:[Oe,nt],exports:[Oe,nt],providers:[{provide:he,useClass:me}]}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const st="browser";
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
new r.Version("12.2.1");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class it{}it.ɵprov=Object(r["ɵɵdefineInjectable"])({token:it,providedIn:"root",factory:()=>new ot(Object(r["ɵɵinject"])(l),window)});class ot{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(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,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=at(this.window.history)||at(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function at(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class lt{}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(6);var s=n(10),i=n(11);var o=n(8),a=n(16);function l(e){return 0===e.length?a.a:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var c=n(7),u=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o=this.operator,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[s.a])return e[s.a]()}return e||t||n?new r.a(e,t,n):new r.a(i.a)}(e,t,n);if(o?a.add(o.call(a,this.source)):a.add(this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),!function(e){for(;e;){var t=e,n=t.closed,s=t.destination,i=t.isStopped;if(n||i)return!1;e=s&&s instanceof r.a?s:null}return!0}(e)?console.warn(t):e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=p(t))((function(t,r){var s;s=n.subscribe((function(t){try{e(t)}catch(e){r(e),s&&s.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[o.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:l(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=p(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function p(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var r=function(e,t){return(r=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 s(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}(),s=n(15),i=n(12),o=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,a=this._ctorUnsubscribe,c=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var p=0;p<n.length;++p){n[p].remove(this)}if(Object(i.a)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(e){t=e instanceof o?l(e.errors):[e]}}if(r(u)){p=-1;for(var d=u.length;++p<d;){var h=u[p];if(Object(s.a)(h))try{h.unsubscribe()}catch(e){t=t||[],e instanceof o?t=t.concat(l(e.errors)):t.push(e)}}}if(t)throw new o(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var s=n._parentOrParents;if(null===s)n._parentOrParents=this;else if(s instanceof e){if(s===this)return n;n._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return n;s.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function l(e){return e.reduce((function(e,t){return e.concat(t instanceof o?t.errors:t)}),[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(4),s=n(12),i=n(11),o=n(5),a=n(10),l=n(7),c=n(9),u=function(e){function t(n,r,s){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=i.a;break;case 1:if(!n){o.destination=i.a;break}if("object"==typeof n){n instanceof t?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new p(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new p(o,n,r,s)}return o}return r.a(t,e),t.prototype[a.a]=function(){return this},t.create=function(e,n,r){var s=new t(e,n,r);return s.syncErrorThrowable=!1,s},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(o.a),p=function(e){function t(t,n,r,o){var a,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return Object(s.a)(n)?a=n:n&&(a=n.next,r=n.error,o=n.complete,n!==i.a&&(c=Object.create(n),Object(s.a)(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=a,l._error=r,l._complete=o,l}return r.a(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};l.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw e;Object(c.a)(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(c.a)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(u)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=!1,s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(7),s=n(9),i={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(s.a)(e)},complete:function(){}}},function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return p}));var r=n(4),s=n(3),i=n(6),o=n(5),a=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),l=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return r.a(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(o.a),c=n(10),u=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.a(t,e),t}(i.a),p=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.a(t,e),t.prototype[c.a]=function(){return new u(this)},t.prototype.lift=function(e){var t=new d(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),s=0;s<n;s++)r[s].next(e)},t.prototype.error=function(e){if(this.closed)throw new a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),s=0;s<n;s++)r[s].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new l(this,e))},t.prototype.asObservable=function(){var e=new s.a;return e.source=this,e},t.create=function(e,t){return new d(e,t)},t}(s.a),d=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return r.a(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):o.a.EMPTY},t}(p)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),s(n(32),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationService=void 0;var s=n(0),i=n(17),o=function(){function e(){}return e.prototype.builder=function(){return new i.AnimationBuilder},e=r([s.Injectable()],e)}();t.AnimationService=o},function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return ve})),n.d(t,"BrowserTransferStateModule",(function(){return Ne})),n.d(t,"By",(function(){return Oe})),n.d(t,"DomSanitizer",(function(){return se})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return E})),n.d(t,"EventManager",(function(){return b})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return z})),n.d(t,"HAMMER_LOADER",(function(){return W})),n.d(t,"HammerGestureConfig",(function(){return G})),n.d(t,"HammerModule",(function(){return X})),n.d(t,"Meta",(function(){return _e})),n.d(t,"Title",(function(){return be})),n.d(t,"TransferState",(function(){return ke})),n.d(t,"VERSION",(function(){return Re})),n.d(t,"disableDebugTools",(function(){return Ie})),n.d(t,"enableDebugTools",(function(){return Te})),n.d(t,"makeStateKey",(function(){return Me})),n.d(t,"platformBrowser",(function(){return me})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS",(function(){return fe})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return he})),n.d(t,"ɵBrowserDomAdapter",(function(){return o})),n.d(t,"ɵBrowserGetTestability",(function(){return d})),n.d(t,"ɵDomEventsPlugin",(function(){return U})),n.d(t,"ɵDomRendererFactory2",(function(){return L})),n.d(t,"ɵDomSanitizerImpl",(function(){return oe})),n.d(t,"ɵDomSharedStylesHost",(function(){return S})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS",(function(){return w})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return y})),n.d(t,"ɵHAMMER_PROVIDERS__POST_R3__",(function(){return K})),n.d(t,"ɵHammerGesturesPlugin",(function(){return Z})),n.d(t,"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return pe})),n.d(t,"ɵKeyEventsPlugin",(function(){return re})),n.d(t,"ɵNAMESPACE_URIS",(function(){return T})),n.d(t,"ɵSharedStylesHost",(function(){return x})),n.d(t,"ɵTRANSITION_ID",(function(){return c})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_a",(function(){return le})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_b",(function(){return ce})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_c",(function(){return ge})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_d",(function(){return ye})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_e",(function(){return Ee})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_f",(function(){return Pe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_g",(function(){return C})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_h",(function(){return Q})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_i",(function(){return Y})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_j",(function(){return ie})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_k",(function(){return u})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_l",(function(){return p})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_m",(function(){return v})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_n",(function(){return _})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_o",(function(){return h})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_p",(function(){return i})),n.d(t,"ɵescapeHtml",(function(){return Ae})),n.d(t,"ɵflattenStyles",(function(){return O})),n.d(t,"ɵinitDomAdapter",(function(){return ae})),n.d(t,"ɵshimContentAttribute",(function(){return P})),n.d(t,"ɵshimHostAttribute",(function(){return N}));var r=n(2);n.d(t,"ɵgetDOM",(function(){return r.f}));var s=n(0);
/**
 * @license Angular v12.2.1
 * (c) 2010-2021 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class i extends r.d{constructor(){super(...arguments),this.supportsDOMEvents=!0}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class o extends i{static makeCurrent(){Object(r.h)(new o)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==t?null:function(e){a=a||document.createElement("a"),a.setAttribute("href",e);const t=a.pathname;return"/"===t.charAt(0)?t:"/"+t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Object(r.g)(document.cookie,e)}}let a,l=null;const c=new s.InjectionToken("TRANSITION_ID");function u(e,t,n){return()=>{n.get(s.ApplicationInitStatus).donePromise.then(()=>{const n=Object(r.f)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}}const p=[{provide:s.APP_INITIALIZER,useFactory:u,deps:[c,r.b,s.Injector],multi:!0}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class d{static init(){Object(s.setTestabilityGetter)(new d)}addToWindow(e){s["ɵglobal"].getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},s["ɵglobal"].getAllAngularTestabilities=()=>e.getAllTestabilities(),s["ɵglobal"].getAllAngularRootElements=()=>e.getAllRootElements();s["ɵglobal"].frameworkStabilizers||(s["ɵglobal"].frameworkStabilizers=[]),s["ɵglobal"].frameworkStabilizers.push(e=>{const t=s["ɵglobal"].getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const s=e.getTestability(t);return null!=s?s:n?Object(r.f)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class h{build(){return new XMLHttpRequest}}h.decorators=[{type:s.Injectable}];function f(e,t){if("undefined"==typeof COMPILED||!COMPILED){(s["ɵglobal"].ng=s["ɵglobal"].ng||{})[e]=t}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const m={ApplicationRef:s.ApplicationRef,NgZone:s.NgZone};function g(e){return Object(s["ɵgetDebugNodeR2"])(e)}function v(e){return f("probe",g),f("coreTokens",Object.assign(Object.assign({},m),(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>g}const y=[],_=[{provide:s.APP_INITIALIZER,useFactory:v,deps:[[s.NgProbeToken,new s.Optional]],multi:!0}],w=_,E=new s.InjectionToken("EventManagerPlugins");class b{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 t=0;t<n.length;t++){const r=n[t];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)}}b.decorators=[{type:s.Injectable}],b.ctorParameters=()=>[{type:Array,decorators:[{type:s.Inject,args:[E]}]},{type:s.NgZone}];class C{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const s=Object(r.f)().getGlobalEventTarget(this._doc,e);if(!s)throw new Error(`Unsupported event target ${s} for event ${t}`);return this.addEventListener(s,t,n)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class x{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)}}x.decorators=[{type:s.Injectable}];class S extends x{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(D),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(D))}}function D(e){Object(r.f)().remove(e)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */S.decorators=[{type:s.Injectable}],S.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}];const T={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/"},I=/%COMP%/g,A="undefined"==typeof ngDevMode||!!ngDevMode,M="_nghost-%COMP%",k="_ngcontent-%COMP%";function P(e){return k.replace(I,e)}function N(e){return M.replace(I,e)}function O(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?O(e,s,n):(s=s.replace(I,e),n.push(s))}return n}function R(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let F=!1;class L{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new j(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case s.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new $(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case s.ViewEncapsulation.ShadowDom:return"undefined"!=typeof ngDevMode&&!ngDevMode||F||1!==t.encapsulation||(F=!0,console.warn("ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.")),new H(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=O(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}L.decorators=[{type:s.Injectable}],L.ctorParameters=()=>[{type:b},{type:S},{type:String,decorators:[{type:s.Inject,args:[s.APP_ID]}]}];class j{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(T[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,r){if(r){t=r+":"+t;const s=T[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=T[n];r?e.removeAttributeNS(r,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&(s.RendererStyleFlags2.DashCase|s.RendererStyleFlags2.Important)?e.style.setProperty(t,n,r&s.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&s.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){A&&B(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return A&&B(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,R(n)):this.eventManager.addEventListener(e,t,R(n))}}const V="@".charCodeAt(0);function B(e,t){if(e.charCodeAt(0)===V)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class $ extends j{constructor(e,t,n,r){super(e),this.component=n;const s=O(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=P(r+"-"+n.id),this.hostAttr=N(r+"-"+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 H extends j{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=O(r.id,r.styles,[]);for(let e=0;e<s.length;e++){const t=document.createElement("style");t.textContent=s[e],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class U extends C{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}U.decorators=[{type:s.Injectable}],U.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;const q={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},z=new s.InjectionToken("HammerGestureConfig"),W=new s.InjectionToken("HammerLoader");class G{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 e in this.overrides)t.get(e).set(this.overrides[e]);return t}}G.decorators=[{type:s.Injectable}];class Z extends C{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!q.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!(!window.Hammer&&!this.loader)||(("undefined"==typeof ngDevMode||ngDevMode)&&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 r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let r=!1,s=()=>{r=!0};return this._loaderPromise.then(()=>{if(!window.Hammer)return("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{("undefined"==typeof ngDevMode||ngDevMode)&&this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,i),()=>{s.off(t,i),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}Z.decorators=[{type:s.Injectable}],Z.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]},{type:G,decorators:[{type:s.Inject,args:[z]}]},{type:s["ɵConsole"]},{type:void 0,decorators:[{type:s.Optional},{type:s.Inject,args:[W]}]}];const K=[],Q=[{provide:E,useClass:Z,multi:!0,deps:[r.b,z,s["ɵConsole"],[new s.Optional,W]]},{provide:z,useClass:G,deps:[]}],Y=Q;class X{}X.decorators=[{type:s.NgModule,args:[{providers:Q}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const J=["alt","control","meta","shift"],ee={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},te={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},ne={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class re extends C{constructor(e){super(e)}supports(e){return null!=re.parseEventName(e)}addEventListener(e,t,n){const s=re.parseEventName(t),i=re.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.f)().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=re._normalizeKey(t.pop());let s="";if(J.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")}),s+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=s,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&te.hasOwnProperty(t)&&(t=te[t]))}return ee[t]||t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach(r=>{if(r!=n){(0,ne[r])(e)&&(t+=r+".")}}),t+=n,t}static eventCallback(e,t,n){return r=>{re.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}re.decorators=[{type:s.Injectable}],re.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}];class se{}function ie(e){return new oe(e.get(r.b))}se.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:function(){return Object(s["ɵɵinject"])(oe)},token:se,providedIn:"root"}),se.decorators=[{type:s.Injectable,args:[{providedIn:"root",useExisting:Object(s.forwardRef)(()=>oe)}]}];class oe extends se{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case s.SecurityContext.NONE:return t;case s.SecurityContext.HTML:return Object(s["ɵallowSanitizationBypassAndThrow"])(t,"HTML")?Object(s["ɵunwrapSafeValue"])(t):Object(s["ɵ_sanitizeHtml"])(this._doc,String(t)).toString();case s.SecurityContext.STYLE:return Object(s["ɵallowSanitizationBypassAndThrow"])(t,"Style")?Object(s["ɵunwrapSafeValue"])(t):t;case s.SecurityContext.SCRIPT:if(Object(s["ɵallowSanitizationBypassAndThrow"])(t,"Script"))return Object(s["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case s.SecurityContext.URL:Object(s["ɵgetSanitizationBypassType"])(t);return Object(s["ɵallowSanitizationBypassAndThrow"])(t,"URL")?Object(s["ɵunwrapSafeValue"])(t):Object(s["ɵ_sanitizeUrl"])(String(t));case s.SecurityContext.RESOURCE_URL:if(Object(s["ɵallowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(s["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(s["ɵbypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return Object(s["ɵbypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return Object(s["ɵbypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return Object(s["ɵbypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return Object(s["ɵbypassSanitizationTrustResourceUrl"])(e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ae(){o.makeCurrent(),d.init()}function le(){return new s.ErrorHandler}function ce(){return Object(s["ɵsetDocument"])(document),document}oe.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:function(){return ie(Object(s["ɵɵinject"])(s.INJECTOR))},token:oe,providedIn:"root"}),oe.decorators=[{type:s.Injectable,args:[{providedIn:"root",useFactory:ie,deps:[s.Injector]}]}],oe.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}];const ue=r.e,pe=[{provide:s.PLATFORM_ID,useValue:ue},{provide:s.PLATFORM_INITIALIZER,useValue:ae,multi:!0},{provide:r.b,useFactory:ce,deps:[]}],de=[{provide:s.Sanitizer,useExisting:se},{provide:se,useClass:oe,deps:[r.b]}],he=[],fe=de,me=Object(s.createPlatformFactory)(s.platformCore,"browser",pe),ge=[fe,{provide:s["ɵINJECTOR_SCOPE"],useValue:"root"},{provide:s.ErrorHandler,useFactory:le,deps:[]},{provide:E,useClass:U,multi:!0,deps:[r.b,s.NgZone,s.PLATFORM_ID]},{provide:E,useClass:re,multi:!0,deps:[r.b]},Y,{provide:L,useClass:L,deps:[b,S,s.APP_ID]},{provide:s.RendererFactory2,useExisting:L},{provide:x,useExisting:S},{provide:S,useClass:S,deps:[r.b]},{provide:s.Testability,useClass:s.Testability,deps:[s.NgZone]},{provide:b,useClass:b,deps:[E,s.NgZone]},{provide:r.c,useClass:h,deps:[]},w];class ve{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(e){return{ngModule:ve,providers:[{provide:s.APP_ID,useValue:e.appId},{provide:c,useExisting:s.APP_ID},p]}}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ye(){return new _e(Object(s["ɵɵinject"])(r.b))}ve.decorators=[{type:s.NgModule,args:[{providers:ge,exports:[r.a,s.ApplicationModule]}]}],ve.ctorParameters=()=>[{type:ve,decorators:[{type:s.Optional},{type:s.SkipSelf},{type:s.Inject,args:[ve]}]}];class _e{constructor(e){this._doc=e,this._dom=Object(r.f)()}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._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`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.getTags(t).filter(t=>this._containsAttributes(e,t))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(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=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return we[e]||e}}_e.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:ye,token:_e,providedIn:"root"}),_e.decorators=[{type:s.Injectable,args:[{providedIn:"root",useFactory:ye,deps:[]}]}],_e.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}];const we={httpEquiv:"http-equiv"};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ee(){return new be(Object(s["ɵɵinject"])(r.b))}class be{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}be.ɵprov=Object(s["ɵɵdefineInjectable"])({factory:Ee,token:be,providedIn:"root"}),be.decorators=[{type:s.Injectable,args:[{providedIn:"root",useFactory:Ee,deps:[]}]}],be.ctorParameters=()=>[{type:void 0,decorators:[{type:s.Inject,args:[r.b]}]}]
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */;const Ce="undefined"!=typeof window&&window||{};
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */class xe{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class Se{constructor(e){this.appRef=e.injector.get(s.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n=null!=Ce.console.profile;t&&n&&Ce.console.profile("Change Detection");const r=De();let s=0;for(;s<5||De()-r<500;)this.appRef.tick(),s++;const i=De();t&&n&&Ce.console.profileEnd("Change Detection");const o=(i-r)/s;return Ce.console.log(`ran ${s} change detection cycles`),Ce.console.log(o.toFixed(2)+" ms per check"),new xe(o,s)}}function De(){return Ce.performance&&Ce.performance.now?Ce.performance.now():(new Date).getTime()}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Te(e){return f("profiler",new Se(e)),e}function Ie(){f("profiler",null)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function Ae(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,e=>t[e])}function Me(e){return e}class ke{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const t=new ke;return t.store=e,t}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}function Pe(e,t){const n=e.getElementById(t+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(e){const t={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return e.replace(/&[^;]+;/g,e=>t[e])}(n.textContent))}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return ke.init(r)}ke.decorators=[{type:s.Injectable}];class Ne{}Ne.decorators=[{type:s.NgModule,args:[{providers:[{provide:ke,useFactory:Pe,deps:[r.b,s.APP_ID]}]}]}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class Oe{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(Object(r.f)().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const Re=new s.Version("12.2.1");
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */},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=20},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),s(n(31),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},s=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimatesDirective=void 0;var o=n(0),a=n(18),l=function(){function e(e,t){this._elementRef=e,this._animationBuilder=t.builder()}return Object.defineProperty(e.prototype,"animates",{set:function(e){this._defaultOptions=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animatesOnInit",{set:function(e){this._initOptions=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animatesInitMode",{set:function(e){"string"==typeof e&&(this._initMode=e.toLowerCase())},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationBuilder",{get:function(){return this._animationBuilder},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){if(this._initOptions){var e,t=this._animationBuilder.setOptions(this._initOptions);switch(this._initMode){case"show":e=t.show(this._elementRef.nativeElement);break;case"hide":e=t.hide(this._elementRef.nativeElement);break;default:e=t.animate(this._elementRef.nativeElement)}e.then((function(e){return e}),(function(e){}))}},e.prototype.start=function(e){return this._started=!0,this.setOptions(e),this._animationBuilder.animate(this._elementRef.nativeElement).then((function(e){return e}),(function(e){}))},e.prototype.hide=function(e){return this.setOptions(e),this._animationBuilder.setOptions(e).hide(this._elementRef.nativeElement).then((function(e){return e}),(function(e){}))},e.prototype.show=function(e){return this.setOptions(e),this._animationBuilder.show(this._elementRef.nativeElement).then((function(e){return e}),(function(e){}))},e.prototype.animate=function(e){return this.setOptions(e),this._animationBuilder.setOptions(this._defaultOptions).animate(this._elementRef.nativeElement).then((function(e){return e}),(function(e){}))},e.prototype.pause=function(){this._started&&this._animationBuilder.setPlayState("paused").applyPlayState(this._elementRef.nativeElement)},e.prototype.resume=function(){this._started&&this._animationBuilder.setPlayState("running").applyPlayState(this._elementRef.nativeElement)},e.prototype.toggle=function(){this._started&&this._animationBuilder.setPlayState("running"===this._animationBuilder.playState?"paused":"running").applyPlayState(this._elementRef.nativeElement)},e.prototype.stop=function(){this._started=!1,this._animationBuilder.stop(this._elementRef.nativeElement).then((function(e){return e}),(function(e){}))},e.prototype.startOrStop=function(e){this._started?this.stop():this.start(e)},e.prototype.setOptions=function(e){e?this._animationBuilder.setOptions(e):this._animationBuilder.setOptions(this._defaultOptions)},e=r([o.Directive({selector:"[animates]",exportAs:"animates",inputs:["animates","animatesOnInit","animatesInitMode"]}),i(0,o.Inject(o.ElementRef)),i(1,o.Inject(a.AnimationService)),s("design:paramtypes",[o.ElementRef,a.AnimationService])],e)}();t.AnimatesDirective=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(24),n(40)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(25),n(27);var r=n(0),s=n(28),i=n(29);r.enableProdMode(),s.platformBrowserDynamic().bootstrapModule(i.AppModule)},function(e,t,n){(function(e,t){
/*! *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var n;!function(n){!function(r){var s="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=o(n);function o(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0===s.Reflect?s.Reflect=n:i=o(s.Reflect,i),function(t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,s=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,a={__proto__:[]}instanceof Array,l=!o&&!a,c={create:o?function(){return N(Object.create(null))}:a?function(){return N({__proto__:null})}:function(){return N({})},has:l?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),p="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,d=p||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,s=n+1;s<r;s++)this._keys[s-1]=this._keys[s],this._values[s-1]=this._values[s];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,s)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[i]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function s(e,t){return t}function o(e,t){return[e,t]}}():Map,h=p||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new d}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[i]=function(){return this.keys()},e}():Set,f=new(p||"function"!=typeof WeakMap?function(){var e=c.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=s(e,!1);return void 0!==t&&c.has(t,this._key)},e.prototype.get=function(e){var t=s(e,!1);return void 0!==t?c.get(t,this._key):void 0},e.prototype.set=function(e,t){return s(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=s(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+o()}while(c.has(e,t));return e[t]=!0,t}function s(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:c.create()})}return e[t]}function i(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e,t=(e=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):i(new Uint8Array(e),e):i(new Array(e),e));t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",r=0;r<16;++r){var s=t[r];4!==r&&6!==r&&8!==r||(n+="-"),s<16&&(n+="0"),n+=s.toString(16).toLowerCase()}return n}}():WeakMap);function m(e,t,n){var r=f.get(e);if(E(r)){if(!n)return;r=new d,f.set(e,r)}var s=r.get(t);if(E(s)){if(!n)return;s=new d,r.set(t,s)}return s}function g(e,t,n){var r=m(t,n,!1);return!E(r)&&!!r.has(e)}function v(e,t,n){var r=m(t,n,!1);if(!E(r))return r.get(e)}function y(e,t,n,r){m(n,r,!0).set(e,t)}function _(e,t){var n=[],r=m(e,t,!1);if(E(r))return n;for(var s=function(e){var t=A(e,i);if(!T(t))throw new TypeError;var n=t.call(e);if(!C(n))throw new TypeError;return n}(r.keys()),o=0;;){var a=M(s);if(!a)return n.length=o,n;var l=a.value;try{n[o]=l}catch(e){try{k(s)}finally{throw e}}o++}}function w(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function E(e){return void 0===e}function b(e){return null===e}function C(e){return"object"==typeof e?null!==e:"function"==typeof e}function x(e,t){switch(w(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=A(e,s);if(void 0!==r){var i=r.call(e,n);if(C(i))throw new TypeError;return i}return function(e,t){if("string"===t){var n=e.toString;if(T(n))if(!C(s=n.call(e)))return s;if(T(r=e.valueOf))if(!C(s=r.call(e)))return s}else{var r;if(T(r=e.valueOf))if(!C(s=r.call(e)))return s;var s,i=e.toString;if(T(i))if(!C(s=i.call(e)))return s}throw new TypeError}(e,"default"===n?"number":n)}function S(e){var t=x(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function D(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function T(e){return"function"==typeof e}function I(e){return"function"==typeof e}function A(e,t){var n=e[t];if(null!=n){if(!T(n))throw new TypeError;return n}}function M(e){var t=e.next();return!t.done&&t}function k(e){var t=e.return;t&&t.call(e)}function P(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===u)return t;if(t!==u)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var s=r.constructor;return"function"!=typeof s||s===e?t:s}function N(e){return e.__=void 0,delete e.__,e}t("decorate",(function(e,t,n,r){if(E(n)){if(!D(e))throw new TypeError;if(!I(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!E(r)&&!b(r)){if(!I(r))throw new TypeError;t=r}}return t}(e,t)}if(!D(e))throw new TypeError;if(!C(t))throw new TypeError;if(!C(r)&&!E(r)&&!b(r))throw new TypeError;return b(r)&&(r=void 0),function(e,t,n,r){for(var s=e.length-1;s>=0;--s){var i=(0,e[s])(t,n,r);if(!E(i)&&!b(i)){if(!C(i))throw new TypeError;r=i}}return r}(e,t,n=S(n),r)})),t("metadata",(function(e,t){return function(n,r){if(!C(n))throw new TypeError;if(!E(r)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;y(e,t,n,r)}})),t("defineMetadata",(function(e,t,n,r){if(!C(n))throw new TypeError;return E(r)||(r=S(r)),y(e,t,n,r)})),t("hasMetadata",(function(e,t,n){if(!C(t))throw new TypeError;return E(n)||(n=S(n)),function e(t,n,r){if(g(t,n,r))return!0;var s=P(n);return!b(s)&&e(t,s,r)}(e,t,n)})),t("hasOwnMetadata",(function(e,t,n){if(!C(t))throw new TypeError;return E(n)||(n=S(n)),g(e,t,n)})),t("getMetadata",(function(e,t,n){if(!C(t))throw new TypeError;return E(n)||(n=S(n)),function e(t,n,r){if(g(t,n,r))return v(t,n,r);var s=P(n);return b(s)?void 0:e(t,s,r)}(e,t,n)})),t("getOwnMetadata",(function(e,t,n){if(!C(t))throw new TypeError;return E(n)||(n=S(n)),v(e,t,n)})),t("getMetadataKeys",(function(e,t){if(!C(e))throw new TypeError;return E(t)||(t=S(t)),function e(t,n){var r=_(t,n),s=P(t);if(null===s)return r;var i=e(s,n);if(i.length<=0)return r;if(r.length<=0)return i;for(var o=new h,a=[],l=0,c=r;l<c.length;l++){var u=c[l];o.has(u)||(o.add(u),a.push(u))}for(var p=0,d=i;p<d.length;p++){u=d[p];o.has(u)||(o.add(u),a.push(u))}return a}(e,t)})),t("getOwnMetadataKeys",(function(e,t){if(!C(e))throw new TypeError;return E(t)||(t=S(t)),_(e,t)})),t("deleteMetadata",(function(e,t,n){if(!C(t))throw new TypeError;E(n)||(n=S(n));var r=m(t,n,!1);if(E(r))return!1;if(!r.delete(e))return!1;if(r.size>0)return!0;var s=f.get(t);return s.delete(n),s.size>0||f.delete(t),!0}))}(i)}()}(n||(n={}))}).call(this,n(26),n(14))},function(e,t){var n,r,s=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],u=!1,p=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):p=-1,c.length&&h())}function h(){if(!u){var e=a(d);u=!0;for(var t=c.length;t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||u||a(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=m,s.addListener=m,s.once=m,s.off=m,s.removeListener=m,s.removeAllListeners=m,s.emit=m,s.prependListener=m,s.prependOnceListener=m,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";(function(e){
/**
 * @license Angular v12.0.0-next.0
 * (c) 2010-2020 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const s=e.__Zone_symbol_prefix||"__zone_symbol__";function i(e){return s+e}const o=!0===e[i("forceDuplicateZoneCheck")];if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==A.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return k.zone}static get currentTask(){return P}static __load_patch(t,s,i=!1){if(A.hasOwnProperty(t)){if(!i&&o)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const i="Zone:"+t;n(i),A[t]=s(e,a,M),r(i,i)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}}run(e,t,n,r){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{k=k.parent}}runGuarded(e,t=null,n,r){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{k=k.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");if(e.state===w&&(e.type===I||e.type===T))return;const r=e.state!=C;r&&e._transitionTo(C,b),e.runCount++;const s=P;P=e,k={parent:k,zone:this};try{e.type==T&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(e){if(this._zoneDelegate.handleError(this,e))throw e}}finally{e.state!==w&&e.state!==S&&(e.type==I||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,C):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(w,C,w))),k=k.parent,P=s}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(E,w);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(t){throw e._transitionTo(S,E,w),this._zoneDelegate.handleError(this,t),t}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==E&&e._transitionTo(b,E),e}scheduleMicroTask(e,t,n,r){return this.scheduleTask(new u(D,e,t,n,r,void 0))}scheduleMacroTask(e,t,n,r,s){return this.scheduleTask(new u(T,e,t,n,r,s))}scheduleEventTask(e,t,n,r,s){return this.scheduleTask(new u(I,e,t,n,r,s))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");e._transitionTo(x,b,C);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(S,x),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(w,x),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)}}a.__symbol__=i;const l={name:"",onHasTask:(e,t,n,r)=>e.hasTask(n,r),onScheduleTask:(e,t,n,r)=>e.scheduleTask(n,r),onInvokeTask:(e,t,n,r,s,i)=>e.invokeTask(n,r,s,i),onCancelTask:(e,t,n,r)=>e.cancelTask(n,r)};class c{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const r=n&&n.onHasTask,s=t&&t._hasTaskZS;(r||s)&&(this._hasTaskZS=r?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,r,s){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,s):t.apply(n,r)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=D)throw new Error("Task is missing scheduleFn.");v(t)}return n}invokeTask(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(t){this.handleError(e,t)}}_updateTaskCount(e,t){const n=this._taskCounts,r=n[e],s=n[e]=r+t;if(s<0)throw new Error("More tasks executed then were scheduled.");if(0==r||0==s){const t={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};this.hasTask(this.zone,t)}}}class u{constructor(t,n,r,s,i,o){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=s,this.scheduleFn=i,this.cancelFn=o,!r)throw new Error("callback is not defined");this.callback=r;const a=this;t===I&&s&&s.useG?this.invoke=u.invokeTask:this.invoke=function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),N++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==N&&y(),N--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(w,E)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==w&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const p=i("setTimeout"),d=i("Promise"),h=i("then");let f,m=[],g=!1;function v(t){if(0===N&&0===m.length)if(f||e[d]&&(f=e[d].resolve(0)),f){let e=f[h];e||(e=f.then),e.call(f,y)}else e[p](y,0);t&&m.push(t)}function y(){if(!g){for(g=!0;m.length;){const e=m;m=[];for(let t=0;t<e.length;t++){const n=e[t];try{n.zone.runTask(n,null,null)}catch(e){M.onUnhandledError(e)}}}M.microtaskDrainDone(),g=!1}}const _={name:"NO ZONE"},w="notScheduled",E="scheduling",b="scheduled",C="running",x="canceling",S="unknown",D="microTask",T="macroTask",I="eventTask",A={},M={symbol:i,currentZoneFrame:()=>k,onUnhandledError:O,microtaskDrainDone:O,scheduleMicroTask:v,showUncaughtError:()=>!a[i("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:O,patchMethod:()=>O,bindArguments:()=>[],patchThen:()=>O,patchMacroTask:()=>O,patchEventPrototype:()=>O,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>O,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>O,wrapWithCurrentZone:()=>O,filterProperties:()=>[],attachOriginToPatched:()=>O,_redefineProperty:()=>O,patchCallbacks:()=>O};let k={parent:null,zone:new a(null,null)},P=null,N=0;function O(){}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||e);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const t=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,s=Object.create,i=Array.prototype.slice,o=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),l=Zone.__symbol__("");function c(e,t){return Zone.current.wrap(e,t)}function u(e,t,n,r,s){return Zone.current.scheduleMacroTask(e,t,n,r,s)}const p=Zone.__symbol__,d="undefined"!=typeof window,h=d?window:void 0,f=d&&h||"object"==typeof self&&self||e,m=[null];function g(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=c(e[n],t+"_"+n));return e}function v(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,_=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),w=!_&&!y&&!(!d||!h.HTMLElement),E=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!y&&!(!d||!h.HTMLElement),b={},C=function(e){if(!(e=e||f.event))return;let t=b[e.type];t||(t=b[e.type]=p("ON_PROPERTY"+e.type));const n=this||e.target||f,r=n[t];let s;if(w&&n===h&&"error"===e.type){const t=e;s=r&&r.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===s&&e.preventDefault()}else s=r&&r.apply(this,arguments),null==s||s||e.preventDefault();return s};function x(e,r,s){let i=t(e,r);if(!i&&s){t(s,r)&&(i={enumerable:!0,configurable:!0})}if(!i||!i.configurable)return;const o=p("on"+r+"patched");if(e.hasOwnProperty(o)&&e[o])return;delete i.writable,delete i.value;const a=i.get,l=i.set,c=r.substr(2);let u=b[c];u||(u=b[c]=p("ON_PROPERTY"+c)),i.set=function(t){let n=this;n||e!==f||(n=f),n&&(n[u]&&n.removeEventListener(c,C),l&&l.apply(n,m),"function"==typeof t?(n[u]=t,n.addEventListener(c,C,!1)):n[u]=null)},i.get=function(){let t=this;if(t||e!==f||(t=f),!t)return null;const n=t[u];if(n)return n;if(a){let e=a&&a.call(this);if(e)return i.set.call(this,e),"function"==typeof t.removeAttribute&&t.removeAttribute(r),e}return null},n(e,r,i),e[o]=!0}function S(e,t,n){if(t)for(let r=0;r<t.length;r++)x(e,"on"+t[r],n);else{const t=[];for(const n in e)"on"==n.substr(0,2)&&t.push(n);for(let r=0;r<t.length;r++)x(e,t[r],n)}}const D=p("originalInstance");function T(e){const t=f[e];if(!t)return;f[p(e)]=t,f[e]=function(){const n=g(arguments,e);switch(n.length){case 0:this[D]=new t;break;case 1:this[D]=new t(n[0]);break;case 2:this[D]=new t(n[0],n[1]);break;case 3:this[D]=new t(n[0],n[1],n[2]);break;case 4:this[D]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},M(f[e],t);const r=new t((function(){}));let s;for(s in r)"XMLHttpRequest"===e&&"responseBlob"===s||function(t){"function"==typeof r[t]?f[e].prototype[t]=function(){return this[D][t].apply(this[D],arguments)}:n(f[e].prototype,t,{set:function(n){"function"==typeof n?(this[D][t]=c(n,e+"."+t),M(this[D][t],n)):this[D][t]=n},get:function(){return this[D][t]}})}(s);for(s in t)"prototype"!==s&&t.hasOwnProperty(s)&&(f[e][s]=t[s])}function I(e,n,s){let i=e;for(;i&&!i.hasOwnProperty(n);)i=r(i);!i&&e[n]&&(i=e);const o=p(n);let a=null;if(i&&(!(a=i[o])||!i.hasOwnProperty(o))){a=i[o]=i[n];if(v(i&&t(i,n))){const e=s(a,o,n);i[n]=function(){return e(this,arguments)},M(i[n],a)}}return a}function A(e,t,n){let r=null;function s(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=I(e,t,e=>function(t,r){const i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?u(i.name,r[i.cbIdx],i,s):e.apply(t,r)})}function M(e,t){e[p("OriginalDelegate")]=t}let k=!1,P=!1;function N(){try{const e=h.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function O(){if(k)return P;k=!0;try{const e=h.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(P=!0)}catch(e){}return P}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const r=Object.getOwnPropertyDescriptor,s=Object.defineProperty;const i=n.symbol,o=[],a=!0===e[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=i("Promise"),c=i("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;o.length;){const e=o.shift();try{e.zone.runGuarded(()=>{if(e.throwOriginal)throw e.rejection;throw e})}catch(e){p(e)}}};const u=i("unhandledPromiseRejectionHandler");function p(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(e){}}function d(e){return e&&e.then}function h(e){return e}function f(e){return T.reject(e)}const m=i("state"),g=i("value"),v=i("finally"),y=i("parentPromiseValue"),_=i("parentPromiseState");function w(e,t){return n=>{try{b(e,t,n)}catch(t){b(e,!1,t)}}}const E=i("currentTaskTrace");function b(e,r,i){const l=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===i)throw new TypeError("Promise resolved with itself");if(null===e[m]){let c=null;try{"object"!=typeof i&&"function"!=typeof i||(c=i&&i.then)}catch(t){return l(()=>{b(e,!1,t)})(),e}if(!1!==r&&i instanceof T&&i.hasOwnProperty(m)&&i.hasOwnProperty(g)&&null!==i[m])x(i),b(e,i[m],i[g]);else if(!1!==r&&"function"==typeof c)try{c.call(i,l(w(e,r)),l(w(e,!1)))}catch(t){l(()=>{b(e,!1,t)})()}else{e[m]=r;const l=e[g];if(e[g]=i,e[v]===v&&!0===r&&(e[m]=e[_],e[g]=e[y]),!1===r&&i instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&s(i,E,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)S(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&0==r){e[m]=0;let r=i;try{throw new Error("Uncaught (in promise): "+function(e){if(e&&e.toString===Object.prototype.toString){const t=e.constructor&&e.constructor.name;return(t||"")+": "+JSON.stringify(e)}return e?e.toString():Object.prototype.toString.call(e)}(i)+(i&&i.stack?"\n"+i.stack:""))}catch(e){r=e}a&&(r.throwOriginal=!0),r.rejection=i,r.promise=e,r.zone=t.current,r.task=t.currentTask,o.push(r),n.scheduleMicroTask()}}}return e}const C=i("rejectionHandledHandler");function x(e){if(0===e[m]){try{const n=t[C];n&&"function"==typeof n&&n.call(this,{rejection:e[g],promise:e})}catch(e){}e[m]=!1;for(let t=0;t<o.length;t++)e===o[t].promise&&o.splice(t,1)}}function S(e,t,n,r,s){x(e);const i=e[m],o=i?"function"==typeof r?r:h:"function"==typeof s?s:f;t.scheduleMicroTask("Promise.then",()=>{try{const r=e[g],s=!!n&&v===n[v];s&&(n[y]=r,n[_]=i);const a=t.run(o,void 0,s&&o!==f&&o!==h?[]:[r]);b(n,!0,a)}catch(e){b(n,!1,e)}},n)}const D=function(){};class T{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return b(new this(null),!0,e)}static reject(e){return b(new this(null),!1,e)}static race(e){let t,n,r=new this((e,r)=>{t=e,n=r});function s(e){t(e)}function i(e){n(e)}for(let t of e)d(t)||(t=this.resolve(t)),t.then(s,i);return r}static all(e){return T.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof T?this:T).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,r,s=new this((e,t)=>{n=e,r=t}),i=2,o=0;const a=[];for(let s of e){d(s)||(s=this.resolve(s));const e=o;try{s.then(r=>{a[e]=t?t.thenCallback(r):r,i--,0===i&&n(a)},s=>{t?(a[e]=t.errorCallback(s),i--,0===i&&n(a)):r(s)})}catch(e){r(e)}i++,o++}return i-=2,0===i&&n(a),s}constructor(e){const t=this;if(!(t instanceof T))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(w(t,!0),w(t,!1))}catch(e){b(t,!1,e)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return T}then(e,n){let r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=this.constructor||T);const s=new r(D),i=t.current;return null==this[m]?this[g].push(i,s,e,n):S(this,i,s,e,n),s}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=T);const r=new n(D);r[v]=v;const s=t.current;return null==this[m]?this[g].push(s,r,e,e):S(this,s,r,e,e),r}}T.resolve=T.resolve,T.reject=T.reject,T.race=T.race,T.all=T.all;const A=e[l]=e.Promise;e.Promise=T;const M=i("thenPatched");function k(e){const t=e.prototype,n=r(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const s=t.then;t[c]=s,e.prototype.then=function(e,t){return new T((e,t)=>{s.call(this,e,t)}).then(e,t)},e[M]=!0}return n.patchThen=k,A&&(k(A),I(e,"fetch",e=>{return t=e,function(e,n){let r=t.apply(e,n);if(r instanceof T)return r;let s=r.constructor;return s[M]||k(s),r};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=o,T}),
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=p("OriginalDelegate"),r=p("Promise"),s=p("Error"),i=function(){if("function"==typeof this){const i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){const n=e[r];if(n)return t.call(n)}if(this===Error){const n=e[s];if(n)return t.call(n)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;const o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
let R=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){R=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){R=!1}const F={useG:!0},L={},j={},V=new RegExp("^"+l+"(\\w+)(true|false)$"),B=p("propagationStopped");function $(e,t){const n=(t?t(e):e)+"false",r=(t?t(e):e)+"true",s=l+n,i=l+r;L[e]={},L[e].false=s,L[e].true=i}function H(e,t,n){const s=n&&n.add||"addEventListener",i=n&&n.rm||"removeEventListener",o=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",c=p(s),u="."+s+":",d=function(e,t,n){if(e.isRemoved)return;const r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=e=>r.handleEvent(e),e.originalDelegate=r),e.invoke(e,t,[n]);const s=e.options;if(s&&"object"==typeof s&&s.once){const r=e.originalDelegate?e.originalDelegate:e.callback;t[i].call(t,n.type,r,s)}},h=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[L[t.type].false];if(r)if(1===r.length)d(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[B]);r++)d(e[r],n,t)}},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,r=n[L[t.type].true];if(r)if(1===r.length)d(r[0],n,t);else{const e=r.slice();for(let r=0;r<e.length&&(!t||!0!==t[B]);r++)d(e[r],n,t)}};function m(t,n){if(!t)return!1;let d=!0;n&&void 0!==n.useG&&(d=n.useG);const m=n&&n.vh;let g=!0;n&&void 0!==n.chkDup&&(g=n.chkDup);let v=!1;n&&void 0!==n.rt&&(v=n.rt);let y=t;for(;y&&!y.hasOwnProperty(s);)y=r(y);if(!y&&t[s]&&(y=t),!y)return!1;if(y[c])return!1;const w=n&&n.eventNameToString,E={},b=y[c]=y[s],C=y[p(i)]=y[i],x=y[p(o)]=y[o],S=y[p(a)]=y[a];let D;function T(e,t){return!R&&"object"==typeof e&&e?!!e.capture:R&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}n&&n.prepend&&(D=y[p(n.prepend)]=y[n.prepend]);const I=function(e){return D.call(E.target,E.eventName,e.invoke,E.options)},A=d?function(e){if(!E.isExisting)return b.call(E.target,E.eventName,E.capture?f:h,E.options)}:function(e){return b.call(E.target,E.eventName,e.invoke,E.options)},k=d?function(e){if(!e.isRemoved){const t=L[e.eventName];let n;t&&(n=t[e.capture?"true":"false"]);const r=n&&e.target[n];if(r)for(let t=0;t<r.length;t++){if(r[t]===e){r.splice(t,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}}if(e.allRemoved)return C.call(e.target,e.eventName,e.capture?f:h,e.options)}:function(e){return C.call(e.target,e.eventName,e.invoke,e.options)},P=n&&n.diff?n.diff:function(e,t){const n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},N=Zone[p("UNPATCHED_EVENTS")],O=e[p("PASSIVE_EVENTS")],B=function(t,r,s,i,o=!1,a=!1){return function(){const l=this||e;let c=arguments[0];n&&n.transferEventName&&(c=n.transferEventName(c));let u=arguments[1];if(!u)return t.apply(this,arguments);if(_&&"uncaughtException"===c)return t.apply(this,arguments);let p=!1;if("function"!=typeof u){if(!u.handleEvent)return t.apply(this,arguments);p=!0}if(m&&!m(t,u,l,arguments))return;const h=R&&!!O&&-1!==O.indexOf(c),f=T(arguments[2],h);if(N)for(let e=0;e<N.length;e++)if(c===N[e])return h?t.call(l,c,u,f):t.apply(this,arguments);const v=!!f&&("boolean"==typeof f||f.capture),y=!(!f||"object"!=typeof f)&&f.once,b=Zone.current;let C=L[c];C||($(c,w),C=L[c]);const x=C[v?"true":"false"];let S,D=l[x],I=!1;if(D){if(I=!0,g)for(let e=0;e<D.length;e++)if(P(D[e],u))return}else D=l[x]=[];const A=l.constructor.name,M=j[A];M&&(S=M[c]),S||(S=A+r+(w?w(c):c)),E.options=f,y&&(E.options.once=!1),E.target=l,E.capture=v,E.eventName=c,E.isExisting=I;const k=d?F:void 0;k&&(k.taskData=E);const V=b.scheduleEventTask(S,u,k,s,i);return E.target=null,k&&(k.taskData=null),y&&(f.once=!0),(R||"boolean"!=typeof V.options)&&(V.options=f),V.target=l,V.capture=v,V.eventName=c,p&&(V.originalDelegate=u),a?D.unshift(V):D.push(V),o?l:void 0}};return y[s]=B(b,u,A,k,v),D&&(y.prependListener=B(D,".prependListener:",I,k,v,!0)),y[i]=function(){const t=this||e;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=arguments[2],i=!!s&&("boolean"==typeof s||s.capture),o=arguments[1];if(!o)return C.apply(this,arguments);if(m&&!m(C,o,t,arguments))return;const a=L[r];let c;a&&(c=a[i?"true":"false"]);const u=c&&t[c];if(u)for(let e=0;e<u.length;e++){const n=u[e];if(P(n,o)){if(u.splice(e,1),n.isRemoved=!0,0===u.length&&(n.allRemoved=!0,t[c]=null,"string"==typeof r)){t[l+"ON_PROPERTY"+r]=null}return n.zone.cancelTask(n),v?t:void 0}}return C.apply(this,arguments)},y[o]=function(){const t=this||e;let r=arguments[0];n&&n.transferEventName&&(r=n.transferEventName(r));const s=[],i=U(t,w?w(r):r);for(let e=0;e<i.length;e++){const t=i[e];let n=t.originalDelegate?t.originalDelegate:t.callback;s.push(n)}return s},y[a]=function(){const t=this||e;let r=arguments[0];if(r){n&&n.transferEventName&&(r=n.transferEventName(r));const e=L[r];if(e){const n=e.false,s=e.true,o=t[n],a=t[s];if(o){const e=o.slice();for(let t=0;t<e.length;t++){const n=e[t];let s=n.originalDelegate?n.originalDelegate:n.callback;this[i].call(this,r,s,n.options)}}if(a){const e=a.slice();for(let t=0;t<e.length;t++){const n=e[t];let s=n.originalDelegate?n.originalDelegate:n.callback;this[i].call(this,r,s,n.options)}}}}else{const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t],r=V.exec(n);let s=r&&r[1];s&&"removeListener"!==s&&this[a].call(this,s)}this[a].call(this,"removeListener")}if(v)return this},M(y[s],b),M(y[i],C),S&&M(y[a],S),x&&M(y[o],x),!0}let g=[];for(let e=0;e<t.length;e++)g[e]=m(t[e],n);return g}function U(e,t){if(!t){const n=[];for(let r in e){const s=V.exec(r);let i=s&&s[1];if(i&&(!t||i===t)){const t=e[r];if(t)for(let e=0;e<t.length;e++)n.push(t[e])}}return n}let n=L[t];n||($(t),n=L[t]);const r=e[n.false],s=e[n.true];return r?s?r.concat(s):r.slice():s?s.slice():[]}function q(e,t){const n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",e=>function(t,n){t[B]=!0,e&&e.apply(t,n)})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */function z(e,t,n,r,s){const i=Zone.__symbol__(r);if(t[i])return;const o=t[i]=t[r];t[r]=function(i,a,l){return a&&a.prototype&&s.forEach((function(t){const s=`${n}.${r}::`+t,i=a.prototype;if(i.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(i,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,s),e._redefineProperty(a.prototype,t,n)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],s))})),o.call(t,i,a,l)},e.attachOriginToPatched(t[r],o)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const W=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],Z=["load"],K=["blur","error","focus","load","resize","scroll","messageerror"],Q=["bounce","finish","start"],Y=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],X=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],J=["close","error","open","message"],ee=["error","message"],te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],W,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ne(e,t,n){if(!n||0===n.length)return t;const r=n.filter(t=>t.target===e);if(!r||0===r.length)return t;const s=r[0].ignoreProperties;return t.filter(e=>-1===s.indexOf(e))}function re(e,t,n,r){if(!e)return;S(e,ne(e,t,n),r)}function se(e,t){if(_&&!E)return;if(Zone[e.symbol("patchEvents")])return;const n="undefined"!=typeof WebSocket,s=t.__Zone_ignore_on_properties;if(w){const e=window,t=N()?[{target:e,ignoreProperties:["error"]}]:[];re(e,te.concat(["messageerror"]),s?s.concat(t):s,r(e)),re(Document.prototype,te,s),void 0!==e.SVGElement&&re(e.SVGElement.prototype,te,s),re(Element.prototype,te,s),re(HTMLElement.prototype,te,s),re(HTMLMediaElement.prototype,G,s),re(HTMLFrameSetElement.prototype,W.concat(K),s),re(HTMLBodyElement.prototype,W.concat(K),s),re(HTMLFrameElement.prototype,Z,s),re(HTMLIFrameElement.prototype,Z,s);const n=e.HTMLMarqueeElement;n&&re(n.prototype,Q,s);const i=e.Worker;i&&re(i.prototype,ee,s)}const i=t.XMLHttpRequest;i&&re(i.prototype,Y,s);const o=t.XMLHttpRequestEventTarget;o&&re(o&&o.prototype,Y,s),"undefined"!=typeof IDBIndex&&(re(IDBIndex.prototype,X,s),re(IDBRequest.prototype,X,s),re(IDBOpenDBRequest.prototype,X,s),re(IDBDatabase.prototype,X,s),re(IDBTransaction.prototype,X,s),re(IDBCursor.prototype,X,s)),n&&re(WebSocket.prototype,J,s)}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */Zone.__load_patch("util",(e,r,o)=>{o.patchOnProperties=S,o.patchMethod=I,o.bindArguments=g,o.patchMacroTask=A;const a=r.__symbol__("BLACK_LISTED_EVENTS"),u=r.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[a]=e[u]),e[a]&&(r[a]=r[u]=e[a]),o.patchEventPrototype=q,o.patchEventTarget=H,o.isIEOrEdge=O,o.ObjectDefineProperty=n,o.ObjectGetOwnPropertyDescriptor=t,o.ObjectCreate=s,o.ArraySlice=i,o.patchClass=T,o.wrapWithCurrentZone=c,o.filterProperties=ne,o.attachOriginToPatched=M,o._redefineProperty=Object.defineProperty,o.patchCallbacks=z,o.getGlobalObjects=()=>({globalSources:j,zoneSymbolEventNames:L,eventNames:te,isBrowser:w,isMix:E,isNode:_,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:l,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const ie=p("zoneTask");function oe(e,t,n,r){let s=null,i=null;n+=r;const o={};function a(t){const n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=s.apply(e,n.args),t}function l(t){return i.call(e,t.data.handleId)}s=I(e,t+=r,n=>function(s,i){if("function"==typeof i[0]){const e={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},n=i[0];i[0]=function(){try{return n.apply(this,arguments)}finally{e.isPeriodic||("number"==typeof e.handleId?delete o[e.handleId]:e.handleId&&(e.handleId[ie]=null))}};const s=u(t,i[0],e,a,l);if(!s)return s;const c=s.data.handleId;return"number"==typeof c?o[c]=s:c&&(c[ie]=s),c&&c.ref&&c.unref&&"function"==typeof c.ref&&"function"==typeof c.unref&&(s.ref=c.ref.bind(c),s.unref=c.unref.bind(c)),"number"==typeof c||c?c:s}return n.apply(e,i)}),i=I(e,n,t=>function(n,r){const s=r[0];let i;"number"==typeof s?i=o[s]:(i=s&&s[ie],i||(i=s)),i&&"string"==typeof i.type?"notScheduled"!==i.state&&(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&("number"==typeof s?delete o[s]:s&&(s[ie]=null),i.zone.cancelTask(i)):t.apply(e,r)})}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
function ae(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:r,TRUE_STR:s,FALSE_STR:i,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let e=0;e<n.length;e++){const t=n[e],a=o+(t+i),l=o+(t+s);r[t]={},r[t][i]=a,r[t][s]=l}const a=e.EventTarget;return a&&a.prototype?(t.patchEventTarget(e,[a&&a.prototype]),!0):void 0}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",(e,t,n)=>{n.patchMethod(e,"queueMicrotask",e=>function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])})}),Zone.__load_patch("timers",e=>{oe(e,"set","clear","Timeout"),oe(e,"set","clear","Interval"),oe(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{oe(e,"request","cancel","AnimationFrame"),oe(e,"mozRequest","mozCancel","AnimationFrame"),oe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++){I(e,n[r],(n,r,s)=>function(r,i){return t.current.run(n,e,i,s)})}}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ae(e,n);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,t,n)=>{T("MutationObserver"),T("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,n)=>{T("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,n)=>{T("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{se(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:r}=t.getGlobalObjects();if(!n&&!r||!e.customElements||!("customElements"in e))return;t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const d=e.XMLHttpRequest;if(!d)return;const h=d.prototype;let f=h[o],m=h[a];if(!f){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;f=e[o],m=e[a]}}function g(e){const r=e.data,l=r.target;l[i]=!1,l[c]=!1;const u=l[s];f||(f=l[o],m=l[a]),u&&m.call(l,"readystatechange",u);const p=l[s]=()=>{if(l.readyState===l.DONE)if(!r.aborted&&l[i]&&"scheduled"===e.state){const n=l[t.__symbol__("loadfalse")];if(0!==l.status&&n&&n.length>0){const s=e.invoke;e.invoke=function(){const n=l[t.__symbol__("loadfalse")];for(let t=0;t<n.length;t++)n[t]===e&&n.splice(t,1);r.aborted||"scheduled"!==e.state||s.call(e)},n.push(e)}else e.invoke()}else r.aborted||!1!==l[i]||(l[c]=!0)};f.call(l,"readystatechange",p);return l[n]||(l[n]=e),b.apply(l,r.args),l[i]=!0,e}function v(){}function y(e){const t=e.data;return t.aborted=!0,C.apply(t.target,t.args)}const _=I(h,"open",()=>function(e,t){return e[r]=0==t[2],e[l]=t[1],_.apply(e,t)}),w=p("fetchTaskAborting"),E=p("fetchTaskScheduling"),b=I(h,"send",()=>function(e,n){if(!0===t.current[E])return b.apply(e,n);if(e[r])return b.apply(e,n);{const t={target:e,url:e[l],isPeriodic:!1,args:n,aborted:!1},r=u("XMLHttpRequest.send",v,t,g,y);e&&!0===e[c]&&!t.aborted&&"scheduled"===r.state&&r.invoke()}}),C=I(h,"abort",()=>function(e,r){const s=e[n];if(s&&"string"==typeof s.type){if(null==s.cancelFn||s.data&&s.data.aborted)return;s.zone.cancelTask(s)}else if(!0===t.current[w])return C.apply(e,r)})}(e);const n=p("xhrTask"),r=p("xhrSync"),s=p("xhrListener"),i=p("xhrScheduled"),l=p("xhrURL"),c=p("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,n){const r=e.constructor.name;for(let s=0;s<n.length;s++){const i=n[s],o=e[i];if(o){if(!v(t(e,i)))continue;e[i]=(e=>{const t=function(){return e.apply(this,g(arguments,r+"."+i))};return M(t,e),t})(o)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){U(e,t).forEach(r=>{const s=e.PromiseRejectionEvent;if(s){const e=new s(t,{promise:n.promise,reason:n.rejection});r.invoke(e)}})}}e.PromiseRejectionEvent&&(t[p("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[p("rejectionHandledHandler")]=n("rejectionhandled"))})}).call(this,n(14))},function(e,t,n){"use strict";n.r(t),n.d(t,"JitCompilerFactory",(function(){return _})),n.d(t,"RESOURCE_CACHE_PROVIDER",(function(){return A})),n.d(t,"VERSION",(function(){return I})),n.d(t,"platformBrowserDynamic",(function(){return M})),n.d(t,"ɵCOMPILER_PROVIDERS__POST_R3__",(function(){return v})),n.d(t,"ɵCompilerImpl",(function(){return d})),n.d(t,"ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS",(function(){return D})),n.d(t,"ɵResourceLoaderImpl",(function(){return C})),n.d(t,"ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a",(function(){return T})),n.d(t,"ɵplatformCoreDynamic",(function(){return b}));var r=n(1),s=n(0),i=n(2),o=n(19);
/**
 * @license Angular v12.2.1
 * (c) 2010-2021 Google LLC. https://angular.io/
 * License: MIT
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const a=function(){const e=new Map;return e.set(r.j.ANALYZE_FOR_ENTRY_COMPONENTS,s.ANALYZE_FOR_ENTRY_COMPONENTS),e.set(r.j.ElementRef,s.ElementRef),e.set(r.j.NgModuleRef,s.NgModuleRef),e.set(r.j.ViewContainerRef,s.ViewContainerRef),e.set(r.j.ChangeDetectorRef,s.ChangeDetectorRef),e.set(r.j.Renderer2,s.Renderer2),e.set(r.j.QueryList,s.QueryList),e.set(r.j.TemplateRef,s.TemplateRef),e.set(r.j.CodegenComponentFactoryResolver,s["ɵCodegenComponentFactoryResolver"]),e.set(r.j.ComponentFactoryResolver,s.ComponentFactoryResolver),e.set(r.j.ComponentFactory,s.ComponentFactory),e.set(r.j.ComponentRef,s.ComponentRef),e.set(r.j.NgModuleFactory,s.NgModuleFactory),e.set(r.j.createModuleFactory,s["ɵcmf"]),e.set(r.j.moduleDef,s["ɵmod"]),e.set(r.j.moduleProviderDef,s["ɵmpd"]),e.set(r.j.RegisterModuleFactoryFn,s["ɵregisterModuleFactory"]),e.set(r.j.Injector,s.Injector),e.set(r.j.ViewEncapsulation,s.ViewEncapsulation),e.set(r.j.ChangeDetectionStrategy,s.ChangeDetectionStrategy),e.set(r.j.SecurityContext,s.SecurityContext),e.set(r.j.LOCALE_ID,s.LOCALE_ID),e.set(r.j.TRANSLATIONS_FORMAT,s.TRANSLATIONS_FORMAT),e.set(r.j.inlineInterpolate,s["ɵinlineInterpolate"]),e.set(r.j.interpolate,s["ɵinterpolate"]),e.set(r.j.EMPTY_ARRAY,s["ɵEMPTY_ARRAY"]),e.set(r.j.EMPTY_MAP,s["ɵEMPTY_MAP"]),e.set(r.j.viewDef,s["ɵvid"]),e.set(r.j.elementDef,s["ɵeld"]),e.set(r.j.anchorDef,s["ɵand"]),e.set(r.j.textDef,s["ɵted"]),e.set(r.j.directiveDef,s["ɵdid"]),e.set(r.j.providerDef,s["ɵprd"]),e.set(r.j.queryDef,s["ɵqud"]),e.set(r.j.pureArrayDef,s["ɵpad"]),e.set(r.j.pureObjectDef,s["ɵpod"]),e.set(r.j.purePipeDef,s["ɵppd"]),e.set(r.j.pipeDef,s["ɵpid"]),e.set(r.j.nodeValue,s["ɵnov"]),e.set(r.j.ngContentDef,s["ɵncd"]),e.set(r.j.unwrapValue,s["ɵunv"]),e.set(r.j.createRendererType2,s["ɵcrt"]),e.set(r.j.createComponentFactory,s["ɵccf"]),e}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */();const l=new s.InjectionToken("ErrorCollector"),c={provide:s.PACKAGE_ROOT_URL,useValue:"/"},u={get(e){throw new Error(`No ResourceLoader implementation has been provided. Can't read the url "${e}"`)}},p=new s.InjectionToken("HtmlParser");class d{constructor(e,t,n,s,i,o,a,l,c,u,p){this._metadataResolver=t,this._delegate=new r.k(t,n,s,i,o,a,l,c,u,p,this.getExtraNgModuleProviders.bind(this)),this.injector=e}getExtraNgModuleProviders(){return[this._metadataResolver.getProviderMetadata(new r.s(s.Compiler,{useValue:this}))]}compileModuleSync(e){return this._delegate.compileModuleSync(e)}compileModuleAsync(e){return this._delegate.compileModuleAsync(e)}compileModuleAndAllComponentsSync(e){const t=this._delegate.compileModuleAndAllComponentsSync(e);return{ngModuleFactory:t.ngModuleFactory,componentFactories:t.componentFactories}}compileModuleAndAllComponentsAsync(e){return this._delegate.compileModuleAndAllComponentsAsync(e).then(e=>({ngModuleFactory:e.ngModuleFactory,componentFactories:e.componentFactories}))}loadAotSummaries(e){this._delegate.loadAotSummaries(e)}hasAotSummary(e){return this._delegate.hasAotSummary(e)}getComponentFactory(e){return this._delegate.getComponentFactory(e)}clearCache(){this._delegate.clearCache()}clearCacheFor(e){this._delegate.clearCacheFor(e)}getModuleId(e){const t=this._metadataResolver.getNgModuleMetadata(e);return t&&t.id||void 0}}const h=new class{constructor(){this.reflectionCapabilities=new s["ɵReflectionCapabilities"]}componentModuleUrl(e,t){const n=t.moduleId;if("string"==typeof n){return Object(r.A)(n)?n:"package:"+n}if(null!=n)throw Object(r.B)(`moduleId should be a string in "${Object(s["ɵstringify"])(e)}". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);return"./"+Object(s["ɵstringify"])(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}tryAnnotations(e){return this.annotations(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}shallowAnnotations(e){throw new Error("Not supported in JIT mode")}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}guards(e){return this.reflectionCapabilities.guards(e)}resolveExternalReference(e){return a.get(e)||e.runtime}},f=u,m=new r.c,g=[{provide:r.b,useValue:h},{provide:r.t,useValue:f},{provide:r.m,deps:[]},{provide:r.w,useExisting:r.m},{provide:s["ɵConsole"],deps:[]},{provide:r.n,deps:[]},{provide:r.q,deps:[r.n]},{provide:p,useClass:r.h,deps:[]},{provide:r.i,useFactory:(e,t,n,i,o)=>{const a=(t=t||"")?i.missingTranslation:s.MissingTranslationStrategy.Ignore;return new r.i(e,t,n,a,o)},deps:[p,[new s.Optional,new s.Inject(s.TRANSLATIONS)],[new s.Optional,new s.Inject(s.TRANSLATIONS_FORMAT)],[r.c],[s["ɵConsole"]]]},{provide:r.h,useExisting:r.i},{provide:r.x,deps:[r.c,r.b,r.q,r.g,r.i,s["ɵConsole"]]},{provide:r.l,useClass:r.l,deps:[]},{provide:r.d,deps:[r.t,r.y,r.h,r.c]},{provide:r.a,deps:[r.c,r.h,r.p,r.e,r.r,r.w,r.g,r.d,s["ɵConsole"],[s.Optional,r.u],r.b,[s.Optional,l]]},c,{provide:r.v,deps:[r.y]},{provide:r.z,deps:[r.b]},{provide:r.o,deps:[r.b]},{provide:r.c,useValue:m},{provide:s.Compiler,useClass:d,deps:[s.Injector,r.a,r.x,r.v,r.z,r.o,r.w,r.b,r.l,r.c,s["ɵConsole"]]},{provide:r.f,deps:[]},{provide:r.g,useExisting:r.f},{provide:r.y,deps:[s.PACKAGE_ROOT_URL]},{provide:r.e,deps:[r.b]},{provide:r.r,deps:[r.b]},{provide:r.p,deps:[r.b]}],v=[{provide:s.Compiler,useFactory:()=>new s.Compiler}],y=g;class _{constructor(e){const t={useJit:!0,defaultEncapsulation:s.ViewEncapsulation.Emulated,missingTranslation:s.MissingTranslationStrategy.Warning};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t={useJit:w((n=this._defaultOptions.concat(e)).map(e=>e.useJit)),defaultEncapsulation:w(n.map(e=>e.defaultEncapsulation)),providers:E(n.map(e=>e.providers)),missingTranslation:w(n.map(e=>e.missingTranslation)),preserveWhitespaces:w(n.map(e=>e.preserveWhitespaces))};var n;return s.Injector.create([y,{provide:r.c,useFactory:()=>new r.c({useJit:t.useJit,jitDevMode:Object(s.isDevMode)(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]).get(s.Compiler)}}function w(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}function E(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const b=Object(s.createPlatformFactory)(s.platformCore,"coreDynamic",[{provide:s.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:s.CompilerFactory,useClass:_,deps:[s.COMPILER_OPTIONS]}]);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class C extends r.t{get(e){let t,n;const r=new Promise((e,r)=>{t=e,n=r}),s=new XMLHttpRequest;return s.open("GET",e,!0),s.responseType="text",s.onload=function(){const r=s.response||s.responseText;let i=1223===s.status?204:s.status;0===i&&(i=r?200:0),200<=i&&i<=300?t(r):n("Failed to load "+e)},s.onerror=function(){n("Failed to load "+e)},s.send(),r}}C.decorators=[{type:s.Injectable}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
const x={providers:[{provide:r.t,useClass:C,deps:[]}]},S=i.e,D=[o["ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS"],{provide:s.COMPILER_OPTIONS,useValue:x,multi:!0},{provide:s.PLATFORM_ID,useValue:S}];
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
class T extends r.t{constructor(){if(super(),this._cache=s["ɵglobal"].$templateCache,null==this._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.")}get(e){return this._cache.hasOwnProperty(e)?Promise.resolve(this._cache[e]):Promise.reject("CachedResourceLoader: Did not find cached template for "+e)}}
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */const I=new s.Version("12.2.1"),A=[{provide:r.t,useClass:T,deps:[]}],M=Object(s.createPlatformFactory)(b,"browserDynamic",D);
/**
 * @license
 * Copyright Google LLC All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.AppModule=void 0;var s=n(0),i=n(19),o=n(30),a=n(21),l=function(){function e(){}return e=r([s.NgModule({imports:[i.BrowserModule,a.AnimatorModule],declarations:[o.AppComponent],bootstrap:[o.AppComponent]})],e)}();t.AppModule=l},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},s=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AppComponent=void 0;var i=n(0),o=n(21),a=function(){function e(e){this.isVisible=!0,this.isAnimating=!1,this.animator=e.builder(),this.animator.useVisibility=!0}return e.prototype.show=function(e){var t=this;this.isAnimating=!0,this.animator.setType("fadeInUp").setDuration(1e3).show(e).then((function(){t.isVisible=!0,t.isAnimating=!1})).catch((function(e){t.isAnimating=!1,console.log("css-animator: Animation aborted",e)}))},e.prototype.shake=function(e){var t=this;this.isAnimating=!0,this.animator.setType("shake").setDuration(1500).animate(e).then((function(){t.isAnimating=!1})).catch((function(e){t.isAnimating=!1,console.log("css-animator: Animation aborted",e)}))},e.prototype.hide=function(e){var t=this;this.isAnimating=!0,this.animator.setType("fadeOutDown").setDuration(1e3).hide(e).then((function(){t.isVisible=!1,t.isAnimating=!1})).catch((function(e){t.isAnimating=!1,console.log("css-animator: Animation aborted",e)}))},e=r([i.Component({selector:"angular-app",template:'\n  <nav>\n    <button (click)="show(toAnimate)" [disabled]="isAnimating || isVisible">Show</button>\n    <button (click)="shake(toAnimate)" [disabled]="isAnimating || !isVisible">Shake</button>\n    <button (click)="hide(toAnimate)" [disabled]="isAnimating || !isVisible">Hide</button>\n  </nav>\n  <div\n    class="el"\n    #toAnimate\n    animates\n    animatesInitMode="show"\n    [animatesOnInit]="{useVisibility: true, type: \'fadeInUp\', delay: 100, duration: 1000}"\n  >\n  </div>\n  <div\n    class="el2"\n    animates\n    #animation="animates"\n    animatesInitMode="show"\n    [animatesOnInit]="{ delay: 350, type: \'fadeInUp\' }"\n    (click)="animation.startOrStop({delay: 0, duration: 1500, type: \'shake\', iterationCount: \'infinite\'})"\n    (mouseleave)="animation.pause()"\n    (mouseenter)="animation.resume()"\n    hidden\n  >\n  </div>\n  ',styles:["\n    .el {\n      visibility: hidden;\n      width: 100px;\n      height: 100px;\n      margin: 0 auto;\n      background-color: cyan;\n    }\n    .el2 {\n      position: absolute;\n      width: 100px;\n      height: 100px;\n      top: 300px;\n      left: 50%;\n      margin-left: -50px;\n      background-color: yellow;\n    }"]}),s("design:paramtypes",[o.AnimationService])],e)}();t.AppComponent=a},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),s(n(17),t),s(n(33),t),s(n(35),t)},function(e,t,n){"use strict";var r,s=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,s=e.length;n<r;n++,s++)e[s]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationBuilder=t.AnimationMode=void 0,function(e){e[e.Animate=0]="Animate",e[e.Show=1]="Show",e[e.Hide=2]="Hide"}(r=t.AnimationMode||(t.AnimationMode={}));var i=function(){function e(){this.animationOptions=Object.assign({},e.defaults),this.defaultOptions=Object.assign({},this.animationOptions),this.classes=[],this.activeClasses=new Map,this.listeners=new Map,this.timeouts=new Map,this.styles=new Map,this.log("AnimationBuilder created.")}return e.prototype.show=function(e){return this.animate(e,r.Show)},e.prototype.hide=function(e){return this.animate(e,r.Hide)},e.prototype.stop=function(e,t){return void 0===t&&(t=!0),this.removeTimeouts(e),this.removeListeners(e),t&&this.reset(e,!1),Promise.resolve(e)},e.prototype.animate=function(t,n){var s=this;return void 0===n&&(n=r.Animate),e.disabled||this.animationOptions.disabled?this.animateDisabled(t,n):(n===r.Show&&this.hideElement(t),new Promise((function(e,r){s.removeTimeouts(t);var i=setTimeout((function(){s.reset(t,!0,!1,!0),s.registerAnimationListeners(t,n,e,r),s.saveStyle(t),s.saveClasses(t,n),s.pinElement(t,n),s.nextFrame((function(){s.showElement(t,n),s.applyProperties(t,n)}))}),s.animationOptions.delay);s.addTimeout(t,i,r),s.log("Timeout "+i+" registered for element",t)})))},e.prototype.reset=function(e,t,n,r){void 0===t&&(t=!0),void 0===n&&(n=!1),void 0===r&&(r=!1),t&&(this.removeTimeouts(e,n),this.removeListeners(e,r)),this.removeStyles(e),this.removeClasses(e)},e.prototype.dispose=function(){this.timeouts.forEach((function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];clearTimeout(r.timeout)}})),this.listeners.forEach((function(e,t){for(var n=0,r=e;n<r.length;n++){var s=r[n];t.removeEventListener(s.eventName,s.handler)}})),this.classes=[],this.styles=new Map,this.timeouts=new Map,this.listeners=new Map},e.prototype.addAnimationClass=function(e){return-1===this.classes.indexOf(e)&&this.classes.push(e),this},e.prototype.removeAnimationClass=function(e){var t=this.classes.indexOf(e);return-1!==t&&this.classes.splice(t,1),this},Object.defineProperty(e,"DEBUG",{get:function(){return e._DEBUG},set:function(t){e._DEBUG=t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"disabled",{get:function(){return e._disabled},set:function(t){e._disabled=t},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaults",{get:function(){return e._defaults},enumerable:!1,configurable:!0}),e.prototype.animateDisabled=function(e,t){return t===r.Show?this.showElement(e,t):t===r.Hide&&this.hideElement(e,t),Promise.resolve(e)},e.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.DEBUG&&console.log.apply(console,s(["css-animator:"],t))},e.prototype.nextFrame=function(t){e.raf((function(){e.raf(t)}))},e.prototype.camelCase=function(e){return e.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))},e.prototype.hideElement=function(e,t){this.animationOptions.useVisibility?e.style.visibility="hidden":e.setAttribute("hidden","")},e.prototype.showElement=function(e,t){this.animationOptions.pin&&t===r.Show&&(e.style.visibility="visible"),this.animationOptions.useVisibility?e.style.visibility="visible":e.removeAttribute("hidden")},e.prototype.pinElement=function(e,t){if(this.animationOptions.pin){t===r.Show&&(e.style.visibility="hidden"),this.animationOptions.useVisibility||this.showElement(e);var n=this.getPosition(e);e.style.position=this.animationOptions.fixed?"fixed":"absolute",e.style.top=n.top+"px",e.style.left=n.left+"px",e.style.width=n.width+"px",e.style.height=n.height+"px",e.style.margin="0px"}},e.prototype.getPosition=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e),r=e.offsetLeft,s=e.offsetTop,i=t.width-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderLeftWidth)-parseFloat(n.borderRightWidth),o=t.height-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth);return this.animationOptions.fixed&&(r=t.left+window.scrollX,s=t.top+window.scrollY),{left:r,top:s,width:i,height:o}},e.prototype.registerAnimationListeners=function(e,t,n,s){var i,o,a=this,l=this.animationStartEvent(e),c=this.animationEndEvent(e);e.addEventListener(l,i=function(){return a.log("Animation start handler fired for element",e),e.removeEventListener(l,i),i}),this.log("Registered animation start listener for element",e),e.addEventListener(c,o=function(){return a.log("Animation end handler fired for element",e),e.removeEventListener(c,o),a.removeListeners(e,!1),a.reset(e,!0,!1,!1),t===r.Hide&&a.hideElement(e),t===r.Show&&a.showElement(e),n(e),o}),this.log("Registered animation end listener for element",e),this.addListener(e,l,i),this.addListener(e,c,o,s)},e.prototype.addTimeout=function(e,t,n){this.timeouts.has(e)||this.timeouts.set(e,[]),this.timeouts.get(e).push({timeout:t,reject:n})},e.prototype.addListener=function(e,t,n,r){this.listeners.has(e)||this.listeners.set(e,[]);var s=Object.assign({},this.classes);this.listeners.get(e).push({eventName:t,handler:n,reject:r,classes:s})},e.prototype.removeListeners=function(e,t){var n=this;void 0===t&&(t=!1),this.listeners.has(e)&&(this.listeners.get(e).forEach((function(r){e.removeEventListener(r.eventName,r.handler),n.log("Listener "+r.eventName+" removed for element",e),t&&n.animationOptions.reject&&r.reject&&r.reject("animation_aborted")})),this.listeners.delete(e))},e.prototype.removeTimeouts=function(e,t){var n=this;void 0===t&&(t=!1),this.timeouts.has(e)&&(this.timeouts.get(e).forEach((function(r){clearTimeout(r.timeout),n.log("Timeout "+r.timeout+" removed for element",e),t&&n.animationOptions.reject&&r.reject&&r.reject("animation_aborted")})),this.timeouts.delete(e))},e.prototype.animationEndEvent=function(e){var t=document.createElement("endAnimationElement"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(var r in n)if(void 0!==t.style[r])return n[r];return null},e.prototype.animationStartEvent=function(e){var t=document.createElement("startAnimationElement"),n={animation:"animationstart",OAnimation:"oAnimationStart",MozAnimation:"animationstart",WebkitAnimation:"webkitAnimationStart"};for(var r in n)if(void 0!==t.style[r])return n[r];return null},e.prototype.applyProperties=function(e,t){this.applyClasses(e,t),this.applyStyles(e,t)},e.prototype.saveStyle=function(e){var t={};for(var n in e.style)t[n]=e.style.getPropertyValue(n);this.styles.set(e,t)},e.prototype.applyStyles=function(e,t){this.applyFillMode(e),this.applyTimingFunction(e),this.applyPlayState(e),this.applyDirection(e),this.applyDuration(e),this.applyIterationCount(e)},e.prototype.removeStyles=function(e){if(this.styles.has(e)){var t=this.styles.get(e);for(var n in e.removeAttribute("style"),t)e.style.setProperty(n,t[n]);this.styles.delete(e)}},e.prototype.saveClasses=function(e,t){var n=this.classes.slice(0);switch(t){case r.Show:n.push("animated-show");break;case r.Hide:n.push("animated-hide")}n.push("animated",this.animationOptions.type),this.activeClasses.set(e,n)},e.prototype.applyClasses=function(e,t){var n,r=this.activeClasses.get(e)||[];(n=e.classList).add.apply(n,s(["animated"],r))},e.prototype.removeClasses=function(e){var t,n=this.activeClasses.get(e)||[];(t=e.classList).remove.apply(t,s(["animated","animated-show","animated-hide"],n)),this.activeClasses.delete(e)},e.prototype.applyStyle=function(e,t,n){var r=document.createElement("checkStyle"),s={standard:this.camelCase(t),webkit:this.camelCase("-webkit-"+t),mozilla:this.camelCase("-moz-"+t),opera:this.camelCase("-o-"+t),explorer:this.camelCase("-ie-"+t)};for(var i in s)if(s.hasOwnProperty(i)&&void 0!==r.style[s[i]]){e.style[s[i]]=null==n?null:n;break}return this},Object.defineProperty(e.prototype,"defaults",{get:function(){return this.defaultOptions},set:function(e){this.defaultOptions=e},enumerable:!1,configurable:!0}),e.prototype.setDefaults=function(e){return this.defaults=e,this},Object.defineProperty(e.prototype,"options",{get:function(){return this.animationOptions},set:function(e){this.animationOptions=e},enumerable:!1,configurable:!0}),e.prototype.setOptions=function(e){return Object.assign(this.options,e),this},Object.defineProperty(e.prototype,"disabled",{get:function(){return this.animationOptions.disabled},set:function(e){this.animationOptions.disabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"reject",{get:function(){return this.animationOptions.reject},set:function(e){this.animationOptions.reject=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pin",{get:function(){return this.animationOptions.pin},set:function(e){this.animationOptions.pin=e},enumerable:!1,configurable:!0}),e.prototype.setPin=function(e){return this.pin=e,this},Object.defineProperty(e.prototype,"useVisibility",{get:function(){return this.animationOptions.useVisibility},set:function(e){this.animationOptions.useVisibility=e},enumerable:!1,configurable:!0}),e.prototype.setUseVisibility=function(e){return this.useVisibility=e,this},Object.defineProperty(e.prototype,"type",{get:function(){return this.animationOptions.type},set:function(e){this.animationOptions.type=e},enumerable:!1,configurable:!0}),e.prototype.setType=function(e){return this.type=e,this},Object.defineProperty(e.prototype,"fillMode",{get:function(){return this.animationOptions.fillMode},set:function(e){this.animationOptions.fillMode=e},enumerable:!1,configurable:!0}),e.prototype.setFillMode=function(e){return this.fillMode=e,this},e.prototype.applyFillMode=function(e,t){return this.applyStyle(e,"animation-fill-mode",t||this.animationOptions.fillMode),this},Object.defineProperty(e.prototype,"timingFunction",{get:function(){return this.animationOptions.timingFunction},set:function(e){this.animationOptions.timingFunction=e},enumerable:!1,configurable:!0}),e.prototype.setTimingFunction=function(e){return this.timingFunction=e,this},e.prototype.applyTimingFunction=function(e,t){return this.applyStyle(e,"animation-timing-function",t||this.animationOptions.timingFunction),this},Object.defineProperty(e.prototype,"playState",{get:function(){return this.animationOptions.playState},set:function(e){this.animationOptions.playState=e},enumerable:!1,configurable:!0}),e.prototype.setPlayState=function(e){return this.playState=e,this},e.prototype.applyPlayState=function(e,t){return this.applyStyle(e,"animation-play-state",t||this.animationOptions.playState),this},Object.defineProperty(e.prototype,"direction",{get:function(){return this.animationOptions.direction},set:function(e){this.animationOptions.direction=e},enumerable:!1,configurable:!0}),e.prototype.setDirection=function(e){return this.direction=e,this},e.prototype.applyDirection=function(e,t){return this.applyStyle(e,"animation-direction",t||this.animationOptions.direction),this},Object.defineProperty(e.prototype,"duration",{get:function(){return this.animationOptions.duration},set:function(e){this.animationOptions.duration=e},enumerable:!1,configurable:!0}),e.prototype.setDuration=function(e){return this.duration=e,this},e.prototype.applyDuration=function(e,t){return this.applyStyle(e,"animation-duration",(t||this.animationOptions.duration)+"ms"),this},Object.defineProperty(e.prototype,"delay",{get:function(){return this.animationOptions.delay},set:function(e){this.animationOptions.delay=e},enumerable:!1,configurable:!0}),e.prototype.setDelay=function(e){return this.delay=e,this},e.prototype.applyDelayAsStyle=function(e,t){return this.applyStyle(e,"animation-delay",(t||this.animationOptions.delay)+"ms"),this},Object.defineProperty(e.prototype,"iterationCount",{get:function(){return this.animationOptions.iterationCount},set:function(e){this.animationOptions.iterationCount=e},enumerable:!1,configurable:!0}),e.prototype.setIterationCount=function(e){return this.iterationCount=e,this},e.prototype.applyIterationCount=function(e,t){return this.applyStyle(e,"animation-iteration-count",t||this.animationOptions.iterationCount),this},e._DEBUG=!1,e._disabled=!1,e._defaults={disabled:!1,fixed:!1,reject:!0,useVisibility:!1,pin:!0,type:"bounce",fillMode:"none",timingFunction:"ease",playState:"running",direction:"normal",duration:1e3,delay:0,iterationCount:1},e.raf=window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,e}();t.AnimationBuilder=i},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),s(n(34),t),s(n(22),t),s(n(18),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.AnimatorModule=void 0;var s=n(0),i=n(22),o=n(18),a=function(){function e(){}return e=r([s.NgModule({declarations:[i.AnimatesDirective],exports:[i.AnimatesDirective],providers:[o.AnimationService]})],e)}();t.AnimatorModule=a},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),s(n(36),t),s(n(37),t),s(n(38),t),s(n(39),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),s=document.getElementById("animate"),i=document.getElementById("showButton"),o=document.getElementById("shakeButton"),a=document.getElementById("hideButton"),l=new r.AnimationBuilder;l.setType("fadeInUp").setDelay(100).show(s),i.onclick=function(){i.setAttribute("disabled",""),l.setType("fadeInUp").setDuration(1e3).show(s).then((function(){a.removeAttribute("disabled"),o.removeAttribute("disabled")})).catch((function(e){console.log("css-animator: Animation aborted",e),a.removeAttribute("disabled"),o.removeAttribute("disabled")}))},o.onclick=function(){o.setAttribute("disabled",""),a.setAttribute("disabled",""),l.setType("shake").setDuration(1500).animate(s).then((function(){o.removeAttribute("disabled"),a.removeAttribute("disabled")})).catch((function(e){console.log("css-animator: Animation aborted",e),o.removeAttribute("disabled"),a.removeAttribute("disabled")}))},a.onclick=function(){a.setAttribute("disabled",""),o.setAttribute("disabled",""),l.setType("fadeOutDown").setDuration(1e3).hide(s).then((function(){i.removeAttribute("disabled"),o.setAttribute("disabled","")})).catch((function(e){console.log("css-animator: Animation aborted",e),i.removeAttribute("disabled"),o.setAttribute("disabled","")}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(3);function s(e){return e&&"function"==typeof e.schedule}var i=n(4),o=n(6);var a=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.thisArg))},e}(),l=function(e){function t(t,n,r){var s=e.call(this,t)||this;return s.project=n,s.count=0,s.thisArg=r||s,s}return i.a(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.a),c=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},u=n(9);function p(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var d=p(),h=n(8),f=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function m(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var g=n(15),v=function(e){if(e&&"function"==typeof e[h.a])return r=e,function(e){var t=r[h.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(f(e))return c(e);if(m(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,u.a),e};if(e&&"function"==typeof e[d])return t=e,function(e){for(var n=t[d]();;){var r=void 0;try{r=n.next()}catch(t){return e.error(t),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,s=Object(g.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+s+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")},y=n(5);function _(e,t){return new r.a((function(n){var r=new y.a,s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function w(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[h.a]}(e))return function(e,t){return new r.a((function(n){var r=new y.a;return r.add(t.schedule((function(){var s=e[h.a]();r.add(s.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(m(e))return function(e,t){return new r.a((function(n){var r=new y.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(f(e))return _(e,t);if(function(e){return e&&"function"==typeof e[d]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,s=new y.a;return s.add((function(){r&&"function"==typeof r.return&&r.return()})),s.add(t.schedule((function(){r=e[d](),s.add(t.schedule((function(){if(!n.closed){var e,t;try{var s=r.next();e=s.value,t=s.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}})))}))),s}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}var E=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return i.a(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(o.a),b=(o.a,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(o.a));o.a;function C(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(s){return s.pipe(C((function(n,s){return(i=e(n,s),o?w(i,o):i instanceof r.a?i:new r.a(v(i))).pipe(function(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 a(e,t))}}((function(e,r){return t(n,e,s,r)})));var i,o}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new x(e,n))})}var x=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new S(e,this.project,this.concurrent))},e}(),S=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var s=e.call(this,t)||this;return s.project=n,s.concurrent=r,s.hasCompleted=!1,s.buffer=[],s.active=0,s.index=0,s}return i.a(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new E(this),n=this.destination;n.add(t);var s=function(e,t){if(!t.closed){if(e instanceof r.a)return e.subscribe(t);var n;try{n=v(e)(t)}catch(e){t.error(e)}return n}}(e,t);s!==t&&n.add(s)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(b),D=n(16);function T(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),C(D.a,e)}function I(e,t){return t?_(e,t):new r.a(c(e))}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,i=null,o=e[e.length-1];return s(o)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===i&&1===e.length&&e[0]instanceof r.a?e[0]:T(n)(I(e,i))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(4),s=n(13),i=n(3),o=n(6),a=n(5);function l(){return function(e){return e.lift(new c(e))}}var c=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new u(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.a(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(o.a),p=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.a(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.a).add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e},t.prototype.refCount=function(){return l()(this)},t}(i.a),d=function(){var e=p.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),h=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.a(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(s.b);o.a;var f=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),s=n(r).subscribe(e);return s.add(t.subscribe(r)),s},e}();function m(){return new s.a}function g(){return function(e){return l()((t=m,function(e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new f(r,n));var s=Object.create(e,d);return s.source=e,s.subjectFactory=r,s})(e));var t,n}}}]);
//# sourceMappingURL=app.js.map