/*! For license information please see vendor.812161c7adba6be2c463.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return Cr})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return ow})),n.d(t,"APP_ID",(function(){return ew})),n.d(t,"APP_INITIALIZER",(function(){return Jv})),n.d(t,"ApplicationInitStatus",(function(){return Xv})),n.d(t,"ApplicationModule",(function(){return Yk})),n.d(t,"ApplicationRef",(function(){return ok})),n.d(t,"Attribute",(function(){return kr})),n.d(t,"COMPILER_OPTIONS",(function(){return Ew})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Li})),n.d(t,"ChangeDetectionStrategy",(function(){return re})),n.d(t,"ChangeDetectorRef",(function(){return Em})),n.d(t,"Compiler",(function(){return jw})),n.d(t,"CompilerFactory",(function(){return Sw})),n.d(t,"Component",(function(){return Pv})),n.d(t,"ComponentFactory",(function(){return Lf})),n.d(t,"ComponentFactoryResolver",(function(){return Uf})),n.d(t,"ComponentRef",(function(){return Bf})),n.d(t,"ContentChild",(function(){return Er})),n.d(t,"ContentChildren",(function(){return jr})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return uw})),n.d(t,"DebugElement",(function(){return Vk})),n.d(t,"DebugEventListener",(function(){return wk})),n.d(t,"DebugNode",(function(){return Fk})),n.d(t,"DefaultIterableDiffer",(function(){return cm})),n.d(t,"Directive",(function(){return Rv})),n.d(t,"ElementRef",(function(){return Zf})),n.d(t,"EmbeddedViewRef",(function(){return vk})),n.d(t,"ErrorHandler",(function(){return Bi})),n.d(t,"EventEmitter",(function(){return Tb})),n.d(t,"Host",(function(){return ga})),n.d(t,"HostBinding",(function(){return Fv})),n.d(t,"HostListener",(function(){return Vv})),n.d(t,"INJECTOR",(function(){return tc})),n.d(t,"Inject",(function(){return ha})),n.d(t,"InjectFlags",(function(){return Z})),n.d(t,"Injectable",(function(){return Nu})),n.d(t,"InjectionToken",(function(){return _r})),n.d(t,"Injector",(function(){return vc})),n.d(t,"Input",(function(){return Bv})),n.d(t,"IterableDiffers",(function(){return bm})),n.d(t,"KeyValueDiffers",(function(){return wm})),n.d(t,"LOCALE_ID",(function(){return cw})),n.d(t,"MissingTranslationStrategy",(function(){return pw})),n.d(t,"ModuleWithComponentFactories",(function(){return gw})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Fi})),n.d(t,"NgModule",(function(){return Qv})),n.d(t,"NgModuleFactory",(function(){return Lm})),n.d(t,"NgModuleFactoryLoader",(function(){return ck})),n.d(t,"NgModuleRef",(function(){return Bm})),n.d(t,"NgProbeToken",(function(){return Jw})),n.d(t,"NgZone",(function(){return zw})),n.d(t,"Optional",(function(){return pa})),n.d(t,"Output",(function(){return Lv})),n.d(t,"PACKAGE_ROOT_URL",(function(){return sw})),n.d(t,"PLATFORM_ID",(function(){return iw})),n.d(t,"PLATFORM_INITIALIZER",(function(){return aw})),n.d(t,"Pipe",(function(){return qv})),n.d(t,"PlatformRef",(function(){return ak})),n.d(t,"Query",(function(){return xr})),n.d(t,"QueryList",(function(){return Ib})),n.d(t,"ReflectiveInjector",(function(){return ad})),n.d(t,"ReflectiveKey",(function(){return Uu})),n.d(t,"Renderer2",(function(){return em})),n.d(t,"RendererFactory2",(function(){return Xf})),n.d(t,"RendererStyleFlags2",(function(){return ho})),n.d(t,"ResolvedReflectiveFactory",(function(){return Qu})),n.d(t,"Sanitizer",(function(){return am})),n.d(t,"SecurityContext",(function(){return ji})),n.d(t,"Self",(function(){return fa})),n.d(t,"SimpleChange",(function(){return lt})),n.d(t,"SkipSelf",(function(){return ma})),n.d(t,"SystemJsNgModuleLoader",(function(){return gk})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return fk})),n.d(t,"TRANSLATIONS",(function(){return dw})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return hw})),n.d(t,"TemplateRef",(function(){return Mm})),n.d(t,"Testability",(function(){return Pw})),n.d(t,"TestabilityRegistry",(function(){return qw})),n.d(t,"Type",(function(){return Or})),n.d(t,"VERSION",(function(){return om})),n.d(t,"Version",(function(){return im})),n.d(t,"ViewChild",(function(){return Dr})),n.d(t,"ViewChildren",(function(){return Sr})),n.d(t,"ViewContainerRef",(function(){return Um})),n.d(t,"ViewEncapsulation",(function(){return ie})),n.d(t,"ViewRef",(function(){return bk})),n.d(t,"WrappedValue",(function(){return Xc})),n.d(t,"asNativeElements",(function(){return Ck})),n.d(t,"assertPlatform",(function(){return tk})),n.d(t,"createPlatform",(function(){return Xw})),n.d(t,"createPlatformFactory",(function(){return ek})),n.d(t,"defineInjectable",(function(){return V})),n.d(t,"destroyPlatform",(function(){return nk})),n.d(t,"enableProdMode",(function(){return $w})),n.d(t,"forwardRef",(function(){return p})),n.d(t,"getDebugNode",(function(){return Pk})),n.d(t,"getModuleFactory",(function(){return hk})),n.d(t,"getPlatform",(function(){return rk})),n.d(t,"inject",(function(){return oa})),n.d(t,"isDevMode",(function(){return Hw})),n.d(t,"platformCore",(function(){return Uk})),n.d(t,"resolveForwardRef",(function(){return f})),n.d(t,"setTestabilityGetter",(function(){return Bw})),n.d(t,"ɵ0",(function(){return da})),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return Zw})),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return nw})),n.d(t,"ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__",(function(){return wr})),n.d(t,"ɵChangeDetectorStatus",(function(){return ae})),n.d(t,"ɵCodegenComponentFactoryResolver",(function(){return Hf})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return Cw})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return kw})),n.d(t,"ɵCompiler_compileModuleAsync__POST_R3__",(function(){return vw})),n.d(t,"ɵCompiler_compileModuleSync__POST_R3__",(function(){return yw})),n.d(t,"ɵComponentFactory",(function(){return Lf})),n.d(t,"ɵConsole",(function(){return lw})),n.d(t,"ɵDEFAULT_LOCALE_ID",(function(){return pp})),n.d(t,"ɵEMPTY_ARRAY",(function(){return Hg})),n.d(t,"ɵEMPTY_MAP",(function(){return $g})),n.d(t,"ɵINJECTOR_IMPL__POST_R3__",(function(){return yc})),n.d(t,"ɵINJECTOR_SCOPE",(function(){return rc})),n.d(t,"ɵLifecycleHooksFeature",(function(){return Bc})),n.d(t,"ɵLocaleDataIndex",(function(){return dp})),n.d(t,"ɵNG_COMP_DEF",(function(){return me})),n.d(t,"ɵNG_DIR_DEF",(function(){return ge})),n.d(t,"ɵNG_ELEMENT_ID",(function(){return ke})),n.d(t,"ɵNG_INJ_DEF",(function(){return G})),n.d(t,"ɵNG_MOD_DEF",(function(){return be})),n.d(t,"ɵNG_PIPE_DEF",(function(){return ye})),n.d(t,"ɵNG_PROV_DEF",(function(){return W})),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return Py})),n.d(t,"ɵNO_CHANGE",(function(){return us})),n.d(t,"ɵNgModuleFactory",(function(){return nb})),n.d(t,"ɵNoopNgZone",(function(){return Rw})),n.d(t,"ɵReflectionCapabilities",(function(){return Gr})),n.d(t,"ɵRender3ComponentFactory",(function(){return Wy})),n.d(t,"ɵRender3ComponentRef",(function(){return Gy})),n.d(t,"ɵRender3NgModuleRef",(function(){return tb})),n.d(t,"ɵRuntimeError",(function(){return g})),n.d(t,"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return xm})),n.d(t,"ɵSWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Uv})),n.d(t,"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return Hv})),n.d(t,"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return Ru})),n.d(t,"ɵSWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return Yv})),n.d(t,"ɵSWITCH_COMPILE_PIPE__POST_R3__",(function(){return $v})),n.d(t,"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Qf})),n.d(t,"ɵSWITCH_IVY_ENABLED__POST_R3__",(function(){return fw})),n.d(t,"ɵSWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return tm})),n.d(t,"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return Am})),n.d(t,"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return Fm})),n.d(t,"ɵ_sanitizeHtml",(function(){return Ci})),n.d(t,"ɵ_sanitizeUrl",(function(){return ti})),n.d(t,"ɵallowSanitizationBypassAndThrow",(function(){return Ua})),n.d(t,"ɵand",(function(){return Zk})),n.d(t,"ɵangular_packages_core_core_a",(function(){return m})),n.d(t,"ɵangular_packages_core_core_b",(function(){return ra})),n.d(t,"ɵangular_packages_core_core_ba",(function(){return Qk})),n.d(t,"ɵangular_packages_core_core_bb",(function(){return fp})),n.d(t,"ɵangular_packages_core_core_bc",(function(){return zy})),n.d(t,"ɵangular_packages_core_core_bd",(function(){return og})),n.d(t,"ɵangular_packages_core_core_be",(function(){return ut})),n.d(t,"ɵangular_packages_core_core_bf",(function(){return Ky})),n.d(t,"ɵangular_packages_core_core_bg",(function(){return Jn})),n.d(t,"ɵangular_packages_core_core_bh",(function(){return Vt})),n.d(t,"ɵangular_packages_core_core_bi",(function(){return Xt})),n.d(t,"ɵangular_packages_core_core_bj",(function(){return vn})),n.d(t,"ɵangular_packages_core_core_bl",(function(){return fb})),n.d(t,"ɵangular_packages_core_core_bm",(function(){return mb})),n.d(t,"ɵangular_packages_core_core_bn",(function(){return gb})),n.d(t,"ɵangular_packages_core_core_bo",(function(){return yb})),n.d(t,"ɵangular_packages_core_core_bp",(function(){return bb})),n.d(t,"ɵangular_packages_core_core_bq",(function(){return Oi})),n.d(t,"ɵangular_packages_core_core_br",(function(){return vr})),n.d(t,"ɵangular_packages_core_core_bs",(function(){return br})),n.d(t,"ɵangular_packages_core_core_bv",(function(){return l})),n.d(t,"ɵangular_packages_core_core_bw",(function(){return nc})),n.d(t,"ɵangular_packages_core_core_bx",(function(){return X})),n.d(t,"ɵangular_packages_core_core_bz",(function(){return St})),n.d(t,"ɵangular_packages_core_core_c",(function(){return la})),n.d(t,"ɵangular_packages_core_core_cb",(function(){return yo})),n.d(t,"ɵangular_packages_core_core_cc",(function(){return Cf})),n.d(t,"ɵangular_packages_core_core_d",(function(){return id})),n.d(t,"ɵangular_packages_core_core_e",(function(){return Ku})),n.d(t,"ɵangular_packages_core_core_f",(function(){return Ju})),n.d(t,"ɵangular_packages_core_core_g",(function(){return tw})),n.d(t,"ɵangular_packages_core_core_h",(function(){return rm})),n.d(t,"ɵangular_packages_core_core_i",(function(){return Wf})),n.d(t,"ɵangular_packages_core_core_j",(function(){return Gf})),n.d(t,"ɵangular_packages_core_core_k",(function(){return uk})),n.d(t,"ɵangular_packages_core_core_l",(function(){return Pm})),n.d(t,"ɵangular_packages_core_core_m",(function(){return qm})),n.d(t,"ɵangular_packages_core_core_n",(function(){return Hm})),n.d(t,"ɵangular_packages_core_core_o",(function(){return kk})),n.d(t,"ɵangular_packages_core_core_p",(function(){return _k})),n.d(t,"ɵangular_packages_core_core_q",(function(){return qk})),n.d(t,"ɵangular_packages_core_core_r",(function(){return Sm})),n.d(t,"ɵangular_packages_core_core_s",(function(){return sm})),n.d(t,"ɵangular_packages_core_core_t",(function(){return fm})),n.d(t,"ɵangular_packages_core_core_u",(function(){return ym})),n.d(t,"ɵangular_packages_core_core_v",(function(){return vm})),n.d(t,"ɵangular_packages_core_core_w",(function(){return Hk})),n.d(t,"ɵangular_packages_core_core_x",(function(){return $k})),n.d(t,"ɵangular_packages_core_core_y",(function(){return Kk})),n.d(t,"ɵangular_packages_core_core_z",(function(){return Gk})),n.d(t,"ɵbypassSanitizationTrustHtml",(function(){return $a})),n.d(t,"ɵbypassSanitizationTrustResourceUrl",(function(){return Qa})),n.d(t,"ɵbypassSanitizationTrustScript",(function(){return Wa})),n.d(t,"ɵbypassSanitizationTrustStyle",(function(){return Ka})),n.d(t,"ɵbypassSanitizationTrustUrl",(function(){return Ga})),n.d(t,"ɵccf",(function(){return iy})),n.d(t,"ɵclearOverrides",(function(){return jC})),n.d(t,"ɵclearResolutionOfComponentResourcesQueue",(function(){return ja})),n.d(t,"ɵcmf",(function(){return EC})),n.d(t,"ɵcompileComponent",(function(){return vv})),n.d(t,"ɵcompileDirective",(function(){return wv})),n.d(t,"ɵcompileNgModule",(function(){return av})),n.d(t,"ɵcompileNgModuleDefs",(function(){return iv})),n.d(t,"ɵcompileNgModuleFactory__POST_R3__",(function(){return Ww})),n.d(t,"ɵcompilePipe",(function(){return Mv})),n.d(t,"ɵcreateInjector",(function(){return cc})),n.d(t,"ɵcrt",(function(){return fg})),n.d(t,"ɵdefaultIterableDiffers",(function(){return zm})),n.d(t,"ɵdefaultKeyValueDiffers",(function(){return Im})),n.d(t,"ɵdetectChanges",(function(){return Xl})),n.d(t,"ɵdevModeEqual",(function(){return Jc})),n.d(t,"ɵdid",(function(){return Sy})),n.d(t,"ɵeld",(function(){return Jk})),n.d(t,"ɵfindLocaleData",(function(){return op})),n.d(t,"ɵflushModuleScopingQueueAsMuchAsPossible",(function(){return nv})),n.d(t,"ɵgetComponentViewDefinitionFactory",(function(){return oy})),n.d(t,"ɵgetDebugNodeR2",(function(){return Bk})),n.d(t,"ɵgetDebugNode__POST_R3__",(function(){return Rk})),n.d(t,"ɵgetDirectives",(function(){return jc})),n.d(t,"ɵgetHostElement",(function(){return Sc})),n.d(t,"ɵgetInjectableDef",(function(){return H})),n.d(t,"ɵgetLContext",(function(){return Qi})),n.d(t,"ɵgetLocaleCurrencyCode",(function(){return sp})),n.d(t,"ɵgetLocalePluralCase",(function(){return lp})),n.d(t,"ɵgetModuleFactory__POST_R3__",(function(){return dk})),n.d(t,"ɵgetSanitizationBypassType",(function(){return Ha})),n.d(t,"ɵglobal",(function(){return ue})),n.d(t,"ɵinitServicesIfNeeded",(function(){return L_})),n.d(t,"ɵinlineInterpolate",(function(){return Vg})),n.d(t,"ɵinterpolate",(function(){return Fg})),n.d(t,"ɵisBoundToModule__POST_R3__",(function(){return Yw})),n.d(t,"ɵisDefaultChangeDetectionStrategy",(function(){return oe})),n.d(t,"ɵisListLikeIterable",(function(){return eu})),n.d(t,"ɵisObservable",(function(){return wd})),n.d(t,"ɵisPromise",(function(){return bd})),n.d(t,"ɵisSubscribable",(function(){return vd})),n.d(t,"ɵivyEnabled",(function(){return mw})),n.d(t,"ɵmakeDecorator",(function(){return gr})),n.d(t,"ɵmarkDirty",(function(){return ec})),n.d(t,"ɵmod",(function(){return Zg})),n.d(t,"ɵmpd",(function(){return Yg})),n.d(t,"ɵncd",(function(){return l_})),n.d(t,"ɵnoSideEffects",(function(){return ne})),n.d(t,"ɵnov",(function(){return yy})),n.d(t,"ɵoverrideComponentView",(function(){return xC})),n.d(t,"ɵoverrideProvider",(function(){return CC})),n.d(t,"ɵpad",(function(){return d_})),n.d(t,"ɵpatchComponentDefWithScope",(function(){return fv})),n.d(t,"ɵpid",(function(){return Dy})),n.d(t,"ɵpod",(function(){return h_})),n.d(t,"ɵppd",(function(){return u_})),n.d(t,"ɵprd",(function(){return Ty})),n.d(t,"ɵpublishDefaultGlobalUtils",(function(){return Oc})),n.d(t,"ɵpublishGlobalUtil",(function(){return Mc})),n.d(t,"ɵqud",(function(){return r_})),n.d(t,"ɵregisterLocaleData",(function(){return ip})),n.d(t,"ɵregisterModuleFactory",(function(){return Zy})),n.d(t,"ɵregisterNgModuleType",(function(){return Xy})),n.d(t,"ɵrenderComponent",(function(){return Nc})),n.d(t,"ɵresetCompiledComponents",(function(){return dv})),n.d(t,"ɵresetJitOptions",(function(){return Jb})),n.d(t,"ɵresolveComponentResources",(function(){return ka})),n.d(t,"ɵsetClassMetadata",(function(){return Qy})),n.d(t,"ɵsetCurrentInjector",(function(){return na})),n.d(t,"ɵsetDocument",(function(){return wt})),n.d(t,"ɵsetLocaleId",(function(){return vp})),n.d(t,"ɵstore",(function(){return Du})),n.d(t,"ɵstringify",(function(){return u})),n.d(t,"ɵted",(function(){return f_})),n.d(t,"ɵtransitiveScopesFor",(function(){return mv})),n.d(t,"ɵunregisterLocaleData",(function(){return up})),n.d(t,"ɵunv",(function(){return dg})),n.d(t,"ɵunwrapSafeValue",(function(){return Va})),n.d(t,"ɵvid",(function(){return y_})),n.d(t,"ɵwhenRendered",(function(){return Lc})),n.d(t,"ɵɵCopyDefinitionFeature",(function(){return Qc})),n.d(t,"ɵɵInheritDefinitionFeature",(function(){return Vc})),n.d(t,"ɵɵNgOnChangesFeature",(function(){return ct})),n.d(t,"ɵɵProvidersFeature",(function(){return qf})),n.d(t,"ɵɵadvance",(function(){return ds})),n.d(t,"ɵɵattribute",(function(){return lu})),n.d(t,"ɵɵattributeInterpolate1",(function(){return bu})),n.d(t,"ɵɵattributeInterpolate2",(function(){return vu})),n.d(t,"ɵɵattributeInterpolate3",(function(){return wu})),n.d(t,"ɵɵattributeInterpolate4",(function(){return ku})),n.d(t,"ɵɵattributeInterpolate5",(function(){return _u})),n.d(t,"ɵɵattributeInterpolate6",(function(){return Cu})),n.d(t,"ɵɵattributeInterpolate7",(function(){return xu})),n.d(t,"ɵɵattributeInterpolate8",(function(){return ju})),n.d(t,"ɵɵattributeInterpolateV",(function(){return Eu})),n.d(t,"ɵɵclassMap",(function(){return rh})),n.d(t,"ɵɵclassMapInterpolate1",(function(){return Sh})),n.d(t,"ɵɵclassMapInterpolate2",(function(){return Dh})),n.d(t,"ɵɵclassMapInterpolate3",(function(){return Th})),n.d(t,"ɵɵclassMapInterpolate4",(function(){return zh})),n.d(t,"ɵɵclassMapInterpolate5",(function(){return Ih})),n.d(t,"ɵɵclassMapInterpolate6",(function(){return Ah})),n.d(t,"ɵɵclassMapInterpolate7",(function(){return Oh})),n.d(t,"ɵɵclassMapInterpolate8",(function(){return Mh})),n.d(t,"ɵɵclassMapInterpolateV",(function(){return Nh})),n.d(t,"ɵɵclassProp",(function(){return eh})),n.d(t,"ɵɵcontentQuery",(function(){return Ub})),n.d(t,"ɵɵdefineComponent",(function(){return Ce})),n.d(t,"ɵɵdefineDirective",(function(){return Ie})),n.d(t,"ɵɵdefineInjectable",(function(){return F})),n.d(t,"ɵɵdefineInjector",(function(){return U})),n.d(t,"ɵɵdefineNgModule",(function(){return De})),n.d(t,"ɵɵdefinePipe",(function(){return Ae})),n.d(t,"ɵɵdirectiveInject",(function(){return od})),n.d(t,"ɵɵdisableBindings",(function(){return Ft})),n.d(t,"ɵɵelement",(function(){return pd})),n.d(t,"ɵɵelementContainer",(function(){return gd})),n.d(t,"ɵɵelementContainerEnd",(function(){return md})),n.d(t,"ɵɵelementContainerStart",(function(){return fd})),n.d(t,"ɵɵelementEnd",(function(){return hd})),n.d(t,"ɵɵelementStart",(function(){return dd})),n.d(t,"ɵɵenableBindings",(function(){return Lt})),n.d(t,"ɵɵgetCurrentView",(function(){return yd})),n.d(t,"ɵɵgetInheritedFactory",(function(){return ur})),n.d(t,"ɵɵhostProperty",(function(){return ep})),n.d(t,"ɵɵi18n",(function(){return Ef})),n.d(t,"ɵɵi18nApply",(function(){return Tf})),n.d(t,"ɵɵi18nAttributes",(function(){return Sf})),n.d(t,"ɵɵi18nEnd",(function(){return jf})),n.d(t,"ɵɵi18nExp",(function(){return Df})),n.d(t,"ɵɵi18nPostprocess",(function(){return zf})),n.d(t,"ɵɵi18nStart",(function(){return xf})),n.d(t,"ɵɵinject",(function(){return aa})),n.d(t,"ɵɵinjectAttribute",(function(){return hr})),n.d(t,"ɵɵinjectPipeChangeDetectorRef",(function(){return Qb})),n.d(t,"ɵɵinvalidFactory",(function(){return sd})),n.d(t,"ɵɵinvalidFactoryDep",(function(){return ia})),n.d(t,"ɵɵlistener",(function(){return kd})),n.d(t,"ɵɵloadQuery",(function(){return Hb})),n.d(t,"ɵɵnamespaceHTML",(function(){return jn})),n.d(t,"ɵɵnamespaceMathML",(function(){return xn})),n.d(t,"ɵɵnamespaceSVG",(function(){return Cn})),n.d(t,"ɵɵnextContext",(function(){return Ed})),n.d(t,"ɵɵngDeclareComponent",(function(){return TC})),n.d(t,"ɵɵngDeclareDirective",(function(){return DC})),n.d(t,"ɵɵngDeclarePipe",(function(){return zC})),n.d(t,"ɵɵpipe",(function(){return vb})),n.d(t,"ɵɵpipeBind1",(function(){return wb})),n.d(t,"ɵɵpipeBind2",(function(){return kb})),n.d(t,"ɵɵpipeBind3",(function(){return _b})),n.d(t,"ɵɵpipeBind4",(function(){return Cb})),n.d(t,"ɵɵpipeBindV",(function(){return xb})),n.d(t,"ɵɵprojection",(function(){return Td})),n.d(t,"ɵɵprojectionDef",(function(){return Dd})),n.d(t,"ɵɵproperty",(function(){return ld})),n.d(t,"ɵɵpropertyInterpolate",(function(){return zd})),n.d(t,"ɵɵpropertyInterpolate1",(function(){return Id})),n.d(t,"ɵɵpropertyInterpolate2",(function(){return Ad})),n.d(t,"ɵɵpropertyInterpolate3",(function(){return Od})),n.d(t,"ɵɵpropertyInterpolate4",(function(){return Md})),n.d(t,"ɵɵpropertyInterpolate5",(function(){return Nd})),n.d(t,"ɵɵpropertyInterpolate6",(function(){return Rd})),n.d(t,"ɵɵpropertyInterpolate7",(function(){return Pd})),n.d(t,"ɵɵpropertyInterpolate8",(function(){return qd})),n.d(t,"ɵɵpropertyInterpolateV",(function(){return Bd})),n.d(t,"ɵɵpureFunction0",(function(){return rb})),n.d(t,"ɵɵpureFunction1",(function(){return ab})),n.d(t,"ɵɵpureFunction2",(function(){return ib})),n.d(t,"ɵɵpureFunction3",(function(){return ob})),n.d(t,"ɵɵpureFunction4",(function(){return sb})),n.d(t,"ɵɵpureFunction5",(function(){return lb})),n.d(t,"ɵɵpureFunction6",(function(){return cb})),n.d(t,"ɵɵpureFunction7",(function(){return ub})),n.d(t,"ɵɵpureFunction8",(function(){return db})),n.d(t,"ɵɵpureFunctionV",(function(){return hb})),n.d(t,"ɵɵqueryRefresh",(function(){return Fb})),n.d(t,"ɵɵreference",(function(){return Tu})),n.d(t,"ɵɵresolveBody",(function(){return oo})),n.d(t,"ɵɵresolveDocument",(function(){return io})),n.d(t,"ɵɵresolveWindow",(function(){return ao})),n.d(t,"ɵɵrestoreView",(function(){return Ht})),n.d(t,"ɵɵsanitizeHtml",(function(){return Ei})),n.d(t,"ɵɵsanitizeResourceUrl",(function(){return Ti})),n.d(t,"ɵɵsanitizeScript",(function(){return zi})),n.d(t,"ɵɵsanitizeStyle",(function(){return Si})),n.d(t,"ɵɵsanitizeUrl",(function(){return Di})),n.d(t,"ɵɵsanitizeUrlOrResourceUrl",(function(){return Mi})),n.d(t,"ɵɵsetComponentScope",(function(){return xe})),n.d(t,"ɵɵsetNgModuleScope",(function(){return Te})),n.d(t,"ɵɵstyleMap",(function(){return th})),n.d(t,"ɵɵstyleMapInterpolate1",(function(){return Rh})),n.d(t,"ɵɵstyleMapInterpolate2",(function(){return Ph})),n.d(t,"ɵɵstyleMapInterpolate3",(function(){return qh})),n.d(t,"ɵɵstyleMapInterpolate4",(function(){return Bh})),n.d(t,"ɵɵstyleMapInterpolate5",(function(){return Lh})),n.d(t,"ɵɵstyleMapInterpolate6",(function(){return Fh})),n.d(t,"ɵɵstyleMapInterpolate7",(function(){return Vh})),n.d(t,"ɵɵstyleMapInterpolate8",(function(){return Uh})),n.d(t,"ɵɵstyleMapInterpolateV",(function(){return Hh})),n.d(t,"ɵɵstyleProp",(function(){return Xd})),n.d(t,"ɵɵstylePropInterpolate1",(function(){return $h})),n.d(t,"ɵɵstylePropInterpolate2",(function(){return Kh})),n.d(t,"ɵɵstylePropInterpolate3",(function(){return Wh})),n.d(t,"ɵɵstylePropInterpolate4",(function(){return Gh})),n.d(t,"ɵɵstylePropInterpolate5",(function(){return Qh})),n.d(t,"ɵɵstylePropInterpolate6",(function(){return Yh})),n.d(t,"ɵɵstylePropInterpolate7",(function(){return Zh})),n.d(t,"ɵɵstylePropInterpolate8",(function(){return Jh})),n.d(t,"ɵɵstylePropInterpolateV",(function(){return Xh})),n.d(t,"ɵɵsyntheticHostListener",(function(){return _d})),n.d(t,"ɵɵsyntheticHostProperty",(function(){return tp})),n.d(t,"ɵɵtemplate",(function(){return Su})),n.d(t,"ɵɵtemplateRefExtractor",(function(){return Gb})),n.d(t,"ɵɵtext",(function(){return gh})),n.d(t,"ɵɵtextInterpolate",(function(){return yh})),n.d(t,"ɵɵtextInterpolate1",(function(){return bh})),n.d(t,"ɵɵtextInterpolate2",(function(){return vh})),n.d(t,"ɵɵtextInterpolate3",(function(){return wh})),n.d(t,"ɵɵtextInterpolate4",(function(){return kh})),n.d(t,"ɵɵtextInterpolate5",(function(){return _h})),n.d(t,"ɵɵtextInterpolate6",(function(){return Ch})),n.d(t,"ɵɵtextInterpolate7",(function(){return xh})),n.d(t,"ɵɵtextInterpolate8",(function(){return jh})),n.d(t,"ɵɵtextInterpolateV",(function(){return Eh})),n.d(t,"ɵɵtrustConstantHtml",(function(){return Ii})),n.d(t,"ɵɵtrustConstantResourceUrl",(function(){return Ai})),n.d(t,"ɵɵviewQuery",(function(){return Vb}));var r=n(42),a=n(38),i=n(20),o=n(267),s=n(232);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])}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 d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const h=l({__forward_ref__:l});function p(e){return e.__forward_ref__=p,e.toString=function(){return u(this())},e}function f(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(h)&&e.__forward_ref__===p}class g extends Error{constructor(e,t){super(b(e,t)),this.code=e}}const y=new Set(["100","200","201","300","301","302"]);function b(e,t){let n=`${e?`NG0${e}: `:""}${t}`;return ngDevMode&&y.has(e)&&(n=`${n}. Find more at https://angular.io/errors/NG0${e}`),n}function v(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():v(e)}function k(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new g("200",`Circular dependency in DI detected for ${e}${n}`)}function _(){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}`)}function x(e,t){"number"!=typeof e&&P(t,typeof e,"number","===")}function j(e,t,n){x(e,"Expected a number"),O(e,n,"Expected number to be less than or equal to"),N(e,t,"Expected number to be greater than or equal to")}function E(e,t){"string"!=typeof e&&P(t,null===e?"null":typeof e,"string","===")}function S(e,t){"function"!=typeof e&&P(t,null===e?"null":typeof e,"function","===")}function D(e,t,n){e!=t&&P(n,e,t,"==")}function T(e,t,n){e==t&&P(n,e,t,"!=")}function z(e,t,n){e!==t&&P(n,e,t,"===")}function I(e,t,n){e===t&&P(n,e,t,"!==")}function A(e,t,n){et||P(n,e,t,">")}function N(e,t,n){e>=t||P(n,e,t,">=")}function R(e,t){null==e&&P(t,e,null,"!=")}function P(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function q(e){"undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name||P(`The provided value must be an instance of a DOM Node but got ${u(e)}`)}function B(e,t){R(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&P(`Index expected to be less than ${n} but got ${t}`)}function L(e,...t){if(-1!==t.indexOf(e))return!0;P(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const V=F;function U(e){return{providers:e.providers||[],imports:e.imports||[]}}function H(e){return $(e,W)||$(e,Q)}function $(e,t){return e.hasOwnProperty(t)?e[t]:null}function K(e){return e&&(e.hasOwnProperty(G)||e.hasOwnProperty(Y))?e[G]:null}const W=l({"ɵprov":l}),G=l({"ɵinj":l}),Q=l({ngInjectableDef:l}),Y=l({ngInjectorDef:l});var Z;let J;function X(){return J}function ee(e){const t=J;return J=e,t}function te(e,t,n){const r=H(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Z.Optional?null:void 0!==t?t:void C(u(e),"Injector")}function ne(e){return{toString:e}.toString()}var re,ae,ie;function oe(e){return null==e||e===re.Default}!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"}(Z||(Z={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(re||(re={})),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"}(ae||(ae={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(ie||(ie={}));const se="undefined"!=typeof globalThis&&globalThis,le="undefined"!=typeof window&&window,ce="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ue=se||void 0!==e&&e||le||ce;function de(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&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");ue.ngDevMode=n&&t}(),"undefined"!=typeof ngDevMode&&!!ngDevMode)}const he={},pe=[];("undefined"==typeof ngDevMode||ngDevMode)&&de()&&(Object.freeze(he),Object.freeze(pe));const fe=[];("undefined"==typeof ngDevMode||ngDevMode)&&de()&&Object.freeze(fe);const me=l({"ɵcmp":l}),ge=l({"ɵdir":l}),ye=l({"ɵpipe":l}),be=l({"ɵmod":l}),ve=l({"ɵloc":l}),we=l({"ɵfac":l}),ke=l({__NG_ELEMENT_ID__:l});let _e=0;function Ce(e){return ne((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&de();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===re.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ie.Emulated,id:"c",styles:e.styles||fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,a=e.features,i=e.pipes;return n.id+=_e++,n.inputs=ze(e.inputs,t),n.outputs=ze(e.outputs),a&&a.forEach((e=>e(n))),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(je):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ee):null,n}))}function xe(e,t,n){const r=e.ɵcmp;r.directiveDefs=()=>t.map(je),r.pipeDefs=()=>n.map(Ee)}function je(e){const t=Oe(e)||Me(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is neither 'ComponentType' or 'DirectiveType'.`);return t}function Ee(e){const t=Ne(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is not a 'PipeType'.`);return t}const Se={};function De(e){const t={type:e.type,bootstrap:e.bootstrap||fe,declarations:e.declarations||fe,imports:e.imports||fe,exports:e.exports||fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ne((()=>{Se[e.id]=e.type})),t}function Te(e,t){return ne((()=>{const n=Re(e,!0);n.declarations=t.declarations||fe,n.imports=t.imports||fe,n.exports=t.exports||fe}))}function ze(e,t){if(null==e)return he;const n={};for(const r in e)if(e.hasOwnProperty(r)){let a=e[r],i=a;Array.isArray(a)&&(i=a[1],a=a[0]),n[a]=r,t&&(t[a]=i)}return n}const Ie=Ce;function Ae(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Oe(e){return e[me]||null}function Me(e){return e[ge]||null}function Ne(e){return e[ye]||null}function Re(e,t){const n=e[be]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have 'ɵmod' property.`);return n}const Pe=20,qe=["Root","Component","Embedded"],Be=10;function Le(e){return Array.isArray(e)&&"object"==typeof e[1]}function Fe(e){return Array.isArray(e)&&!0===e[1]}function Ve(e){return 0!=(8&e.flags)}function Ue(e){return 2==(2&e.flags)}function He(e){return 1==(1&e.flags)}function $e(e){return null!==e.template}function Ke(e,t){We(e,t[1])}function We(e,t){Ge(e),e.hasOwnProperty("tView_")&&D(e.tView_,t,"This TNode does not belong to this TView.")}function Ge(e){R(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||P("Not of type TNode, got: "+e)}function Qe(e){R(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&P("Object is not of TIcu type.")}function Ye(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){Oe(e)||P(t)}function Ze(e){R(e,"currentTNode should exist!"),R(e.parent,"currentTNode should have a parent")}function Je(e){R(e,"LContainer must be defined"),D(Fe(e),!0,"Expecting LContainer")}function Xe(e){e&&D(Le(e),!0,"Expecting LView or undefined or null")}function et(e){R(e,"LView must be defined"),D(Le(e),!0,"Expecting LView")}function tt(e,t){D(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function nt(e,t){D(e.firstUpdatePass,!0,t||"Should only be called in first update pass.")}function rt(e,t){at(e[1].expandoStartIndex,e.length,t)}function at(e,t,n){e<=n&&n{ft=e},gt=function(e,t,n){null!=ft&&ft(e,t,n)},yt="http://www.w3.org/2000/svg",bt="http://www.w3.org/1998/MathML/";let vt;function wt(e){vt=e}function kt(){return void 0!==vt?vt:"undefined"!=typeof document?document:void 0}var _t;function Ct(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(_t||(_t={}));const xt={createRenderer:(e,t)=>kt()};function jt(e){for(;Array.isArray(e);)e=e[0];return e}function Et(e,t){return ngDevMode&&B(t,e),ngDevMode&&N(e,Pe,"Expected to be past HEADER_OFFSET"),jt(t[e])}function St(e,t){ngDevMode&&Ke(e,t),ngDevMode&&B(t,e.index);const n=jt(t[e.index]);return ngDevMode&&!Ct(t[11])&&q(n),n}function Dt(e,t){ngDevMode&&M(t,-1,"wrong index for TNode"),ngDevMode&&A(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&Ge(n),n}function Tt(e,t){return ngDevMode&&B(e,t),e[t]}function zt(e,t){ngDevMode&&B(t,e);const n=t[e];return Le(n)?n:n[0]}function It(e){return ngDevMode&&R(e,"Target expected"),e.__ngContext__||null}function At(e){const t=It(e);return t?Array.isArray(t)?t:t.lView:null}function Ot(e){return 4==(4&e[2])}function Mt(e){return 128==(128&e[2])}function Nt(e,t){return null==t?null:(ngDevMode&&B(e,t),e[t])}function Rt(e){e[18]=0}function Pt(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]}const qt={lFrame:mn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Bt(){return qt.bindingsEnabled}function Lt(){qt.bindingsEnabled=!0}function Ft(){qt.bindingsEnabled=!1}function Vt(){return qt.lFrame.lView}function Ut(){return qt.lFrame.tView}function Ht(e){qt.lFrame.contextLView=e}function $t(){let e=Kt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Kt(){return qt.lFrame.currentTNode}function Wt(){const e=qt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Gt(e,t){ngDevMode&&e&&We(e,qt.lFrame.tView);const n=qt.lFrame;n.currentTNode=e,n.isParent=t}function Qt(){return qt.lFrame.isParent}function Yt(){qt.lFrame.isParent=!1}function Zt(){return qt.isInCheckNoChangesMode}function Jt(e){qt.isInCheckNoChangesMode=e}function Xt(){const e=qt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function en(){return qt.lFrame.bindingIndex}function tn(e){return qt.lFrame.bindingIndex=e}function nn(){return qt.lFrame.bindingIndex++}function rn(e){const t=qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function an(e){qt.lFrame.inI18n=e}function on(e,t){const n=qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,sn(t)}function sn(e){qt.lFrame.currentDirectiveIndex=e}function ln(e){const t=qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function cn(){return qt.lFrame.currentQueryIndex}function un(e){qt.lFrame.currentQueryIndex=e}function dn(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 hn(e,t,n){if(ngDevMode&&Xe(e),n&Z.SkipSelf){ngDevMode&&We(t,e[1]);let r=t,a=e;for(;!(ngDevMode&&R(r,"Parent TNode should be defined"),r=r.parent,null!==r||n&Z.Host||(r=dn(a),null===r)||(ngDevMode&&R(a,"Parent LView should be defined"),a=a[15],10&r.type)););if(null===r)return!1;t=r,e=a}ngDevMode&&Ke(t,e);const r=qt.lFrame=fn();return r.currentTNode=t,r.lView=e,!0}function pn(e){ngDevMode&&T(e[0],e[1],"????"),ngDevMode&&Xe(e);const t=fn();ngDevMode&&(D(t.isParent,!0,"Expected clean LFrame"),D(t.lView,null,"Expected clean LFrame"),D(t.tView,null,"Expected clean LFrame"),D(t.selectedIndex,-1,"Expected clean LFrame"),D(t.elementDepthCount,0,"Expected clean LFrame"),D(t.currentDirectiveIndex,-1,"Expected clean LFrame"),D(t.currentNamespace,null,"Expected clean LFrame"),D(t.bindingRootIndex,-1,"Expected clean LFrame"),D(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[1];qt.lFrame=t,ngDevMode&&n.firstChild&&We(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function fn(){const e=qt.lFrame,t=null===e?null:e.child;return null===t?mn(e):t}function mn(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 gn(){const e=qt.lFrame;return qt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const yn=gn;function bn(){const e=gn();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 vn(e){return(qt.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,qt.lFrame.contextLView))[8]}function wn(){return qt.lFrame.selectedIndex}function kn(e){ngDevMode&&-1!==e&&N(e,Pe,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&A(e,qt.lFrame.lView.length,"Can't set index passed end of LView"),qt.lFrame.selectedIndex=e}function _n(){const e=qt.lFrame;return Dt(e.tView,e.selectedIndex)}function Cn(){qt.lFrame.currentNamespace=yt}function xn(){qt.lFrame.currentNamespace=bt}function jn(){qt.lFrame.currentNamespace=null}function En(e,t){ngDevMode&&tt(e);for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else{t[l]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t){e[2]+=2048,gt(4,o,i);try{i.call(o)}finally{gt(5,o,i)}}}else{gt(4,o,i);try{i.call(o)}finally{gt(5,o,i)}}}const An=-1;class On{constructor(e,t,n){this.factory=e,this.resolving=!1,ngDevMode&&R(e,"Factory not specified"),ngDevMode&&D(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function Mn(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}function Nn(e,t,n){R(e,"should be called with a TNode"),0==(e.type&t)&&P(n||`Expected [${Mn(t)}] but got ${Mn(e.type)}.`)}function Rn(e,t,n){const r=Ct(e);let a=0;for(;at){o=i-1;break}}}for(;i>16;let r=t;for(;n>0;)r=r[15],n--;return r}let Hn=!0;function $n(e){const t=Hn;return Hn=e,t}let Kn=0;function Wn(e,t){const n=Qn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Gn(r.data,e),Gn(t,null),Gn(r.blueprint,null));const a=Yn(e,t),i=e.injectorIndex;if(Fn(a)){const e=Vn(a),n=Un(a,t),r=n[1].data;for(let a=0;a<8;a++)t[i+a]=n[e+a]|r[e+a]}return t[i+8]=a,i}function Gn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&B(t,e.injectorIndex),e.injectorIndex)}function Yn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,a=t;for(;null!==a;){const e=a[1],t=e.type;if(2===t?(ngDevMode&&R(e.declTNode,"Embedded TNodes should have declaration parents."),r=e.declTNode):1===t?r=a[6]:(ngDevMode&&D(e.type,0,"Root type expected"),r=null),null===r)return An;if(ngDevMode&&r&&Ke(r,a[15]),n++,a=a[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return An}function Zn(e,t,n){!function(e,t,n){let r;ngDevMode&&D(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ke)&&(r=n[ke]),null==r&&(r=n[ke]=Kn++);const a=255&r,i=1<>5)]|=i}(e,t,n)}function Jn(e,t){if(ngDevMode&&Nn(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=0?255&t:(ngDevMode&&D(t,-1,"Expecting to get Special Injector Id"),rr):t}(n);if("function"==typeof i){if(!hn(t,e,r))return r&Z.Host?Xn(a,n,r):er(t,n,r,a);try{const e=i();if(null!=e||r&Z.Optional)return e;C(n)}finally{yn()}}else if("number"==typeof i){let a=null,o=Qn(e,t),s=An,l=r&Z.Host?t[16][6]:null;for((-1===o||r&Z.SkipSelf)&&(s=-1===o?Yn(e,t):t[o+8],s!==An&&lr(r,!1)?(a=t[1],o=Vn(s),t=Un(s,t)):o=-1);-1!==o;){ngDevMode&&ot(t,o);const e=t[1];if(ngDevMode&&Ke(e.data[o+8],t),sr(i,o,e.data)){const e=ar(o,t,n,a,r,l);if(e!==nr)return e}s=t[o+8],s!==An&&lr(r,t[1].data[o+8]===l)&&sr(i,o,t)?(a=e,o=Vn(s),t=Un(s,t)):o=-1}}}return er(t,n,r,a)}const nr={};function rr(){return new cr($t(),Vt())}function ar(e,t,n,r,a,i){const o=t[1],s=o.data[e+8],l=ir(s,o,n,null==r?Ue(s)&&Hn:r!=o&&0!=(3&s.type),a&Z.Host&&i===s);return null!==l?or(t,o,l,s):nr}function ir(e,t,n,r,a){const i=e.providerIndexes,o=t.data,s=1048575&i,l=e.directiveStart,c=e.directiveEnd,u=i>>20,d=a?s+u:c;for(let h=r?s:s+u;h=l&&e.type===n)return h}if(a){const e=o[l];if(e&&$e(e)&&e.type===n)return l}return null}function or(e,t,n,r){let a=e[n];const i=t.data;if(a instanceof On){const o=a;o.resolving&&k(w(i[n]));const s=$n(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?ee(o.injectImpl):null,c=hn(e,r,Z.Default);ngDevMode&&D(c,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{a=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||P("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(i[n]),function(e,t,n){ngDevMode&&tt(n);const{ngOnChanges:r,ngOnInit:a,ngDoCheck:i}=t.type.prototype;if(r){const r=ut(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t))}finally{null!==l&&ee(l),$n(s),o.resolving=!1,yn()}}return a}function sr(e,t,n){const r=1<>5)]&r)}function lr(e,t){return!(e&Z.Self||e&Z.Host&&t)}class cr{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return tr(this._tNode,this._lView,e,void 0,t)}}function ur(e){return ne((()=>{const t=e.prototype.constructor,n=t[we]||dr(t),r=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==r;){const e=a[we]||dr(a);if(e&&e!==n)return e;a=Object.getPrototypeOf(a)}return e=>new e}))}function dr(e){return m(e)?()=>{const t=dr(f(e));return t&&t()}:st(e)}function hr(e){return Jn($t(),e)}const pr="__annotations__",fr="__parameters__",mr="__prop__metadata__";function gr(e,t,n,r,a){return ne((()=>{const i=yr(t);function o(...e){if(this instanceof o)return i.call(this,...e),this;const t=new o(...e);return function(n){a&&a(n,...e);return(n.hasOwnProperty(pr)?n[pr]:Object.defineProperty(n,pr,{value:[]})[pr]).push(t),r&&r(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}function yr(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function br(e,t,n){return ne((()=>{const r=yr(t);function a(...e){if(this instanceof a)return r.apply(this,e),this;const t=new a(...e);return n.annotation=t,n;function n(e,n,r){const a=e.hasOwnProperty(fr)?e[fr]:Object.defineProperty(e,fr,{value:[]})[fr];for(;a.length<=r;)a.push(null);return(a[r]=a[r]||[]).push(t),e}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}))}function vr(e,t,n,r){return ne((()=>{const a=yr(t);function i(...e){if(this instanceof i)return a.apply(this,e),this;const t=new i(...e);return function(n,a){const i=n.constructor,o=i.hasOwnProperty(mr)?i[mr]:Object.defineProperty(i,mr,{value:{}})[mr];o[a]=o.hasOwnProperty(a)&&o[a]||[],o[a].unshift(t),r&&r(n,a,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}function wr(){return br("Attribute",(e=>({attributeName:e,__NG_ELEMENT_ID__:()=>hr(e)})))}const kr=wr();class _r{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&A(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=F({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Cr=new _r("AnalyzeForEntryComponents");class xr{}const jr=vr("ContentChildren",((e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:false},t)),xr),Er=vr("ContentChild",((e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),xr),Sr=vr("ViewChildren",((e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:false},t)),xr),Dr=vr("ViewChild",((e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),xr);var Tr,zr,Ir;function Ar(){const e=ue.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(Tr||(Tr={})),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"}(zr||(zr={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Ir||(Ir={}));const Or=Function;function Mr(e){return"function"==typeof e}function Nr(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?Rr(e,t):t(e)))}function Pr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Br(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function(e,t,n,r){ngDevMode&&O(t,e.length,"Can't insert past array end.");let a=e.length;if(a==t)e.push(n,r);else if(1===a)e.push(r,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;){const t=a-2;e[a]=e[t],a--}e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Fr(e,t){const n=Vr(e,t);if(n>=0)return e[1|n]}function Vr(e,t){return Ur(e,t,1)}function Ur(e,t,n){ngDevMode&&D(Array.isArray(e),!0,"Expecting an array");let r=0,a=e.length>>n;for(;a!==r;){const i=r+(a-r>>1),o=e[i<t?a=i:r=i+1}return~(a<new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Br(void 0===e?t.length:e.length);for(let r=0;re&&e.type)),r=e.map((e=>e&&Qr(e.decorators)));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(fr)&&e[fr],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return a||r?this._zipTypesAndAnnotations(a,r):Br(e.length)}parameters(e){if(!Mr(e))return[];const t=Yr(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?Qr(e.decorators):e.hasOwnProperty(pr)?e[pr]:null}annotations(e){if(!Mr(e))return[];const t=Yr(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]=Qr(t[e])})),n}return e.hasOwnProperty(mr)?e[mr]:null}propMetadata(e){if(!Mr(e))return{};const t=Yr(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 Mr(e)&&this._ownPropMetadata(e,Yr(e))||{}}hasLifecycleHook(e,t){return e instanceof Or&&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 Qr(e){return e?e.map((e=>new(0,e.type.annotationCls)(...e.args?e.args:[]))):[]}function Yr(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Zr={},Jr=/\n/gm,Xr="__source",ea=l({provide:String,useValue:l});let ta;function na(e){const t=ta;return ta=e,t}function ra(e,t=Z.Default){if(void 0===ta)throw new Error("inject() must be called from an injection context");return null===ta?te(e,void 0,t):ta.get(e,t&Z.Optional?null:void 0,t)}function aa(e,t=Z.Default){return(X()||ra)(f(e),t)}function ia(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 oa=aa;function sa(e){const t=[];for(let n=0;n ");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)))}a=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${a}]: ${e.replace(Jr,"\n ")}`}const da=e=>({token:e}),ha=la(br("Inject",da),-1),pa=la(br("Optional"),8),fa=la(br("Self"),2),ma=la(br("SkipSelf"),4),ga=la(br("Host"),1);let ya=null;function ba(){return ya=ya||new Gr}function va(e){return wa(ba().parameters(e))}function wa(e){const t=Ar();return e.map((e=>function(e,t){const n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(let a=0;a{const a=[];e.templateUrl&&a.push(r(e.templateUrl).then((t=>{e.template=t})));const i=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;i&&i.forEach(((t,n)=>{o.push(""),a.push(r(t).then((r=>{o[s+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)})))}));const l=Promise.all(a).then((()=>function(e){Ca.delete(e)}(n)));t.push(l)})),ja(),Promise.all(t).then((()=>{}))}let _a=new Map;const Ca=new Set;function xa(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function ja(){const e=_a;return _a=new Map,e}function Ea(e){return"string"==typeof e?e:e.text()}let Sa,Da;function Ta(){if(void 0===Sa&&(Sa=null,ue.trustedTypes))try{Sa=ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Sa}function za(e){var t;return(null===(t=Ta())||void 0===t?void 0:t.createHTML(e))||e}function Ia(...e){if("undefined"==typeof ngDevMode)throw new Error("newTrustedFunctionForDev should never be called in production");if(!ue.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=ue.eval((r=t,(null===(a=Ta())||void 0===a?void 0:a.createScript(r))||r));var r,a;return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(ue))}function Aa(){if(void 0===Da&&(Da=null,ue.trustedTypes))try{Da=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Da}function Oa(e){var t;return(null===(t=Aa())||void 0===t?void 0:t.createHTML(e))||e}function Ma(e){var t;return(null===(t=Aa())||void 0===t?void 0:t.createScript(e))||e}function Na(e){var t;return(null===(t=Aa())||void 0===t?void 0:t.createScriptURL(e))||e}class Ra{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Pa extends Ra{getTypeName(){return"HTML"}}class qa extends Ra{getTypeName(){return"Style"}}class Ba extends Ra{getTypeName(){return"Script"}}class La extends Ra{getTypeName(){return"URL"}}class Fa extends Ra{getTypeName(){return"ResourceURL"}}function Va(e){return e instanceof Ra?e.changingThisBreaksApplicationSecurity:e}function Ua(e,t){const n=Ha(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 Ha(e){return e instanceof Ra&&e.getTypeName()||null}function $a(e){return new Pa(e)}function Ka(e){return new qa(e)}function Wa(e){return new Ba(e)}function Ga(e){return new La(e)}function Qa(e){return new Fa(e)}function Ya(e){const t=new Ja(e);return function(){try{return!!(new window.DOMParser).parseFromString(za(""),"text/html")}catch(e){return!1}}()?new Za(t):t}class Za{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(za(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class Ja{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=za(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=za(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0ti(e.trim()))).join(", ")}function ri(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ai(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ii=ri("area,br,col,hr,img,wbr"),oi=ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),si=ri("rp,rt"),li=ai(si,oi),ci=ai(oi,ri("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")),ui=ai(si,ri("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")),di=ai(ii,ci,ui,li),hi=ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pi=ri("srcset"),fi=ri("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"),mi=ri("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"),gi=ai(hi,pi,fi,mi),yi=ri("script,style,template");class bi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!di.hasOwnProperty(t))return this.sanitizedSomething=!0,!yi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r"),!0}endElement(e){const t=e.nodeName.toLowerCase();di.hasOwnProperty(t)&&!ii.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(ki(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 vi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wi=/([^\#-~ |!])/g;function ki(e){return e.replace(/&/g,"&").replace(vi,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(wi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let _i;function Ci(e,t){let n=null;try{_i=_i||Ya(e);let r=t?String(t):"";n=_i.getInertBodyElement(r);let a=5,i=r;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,r=i,i=n.innerHTML,n=_i.getInertBodyElement(r)}while(r!==i);const o=new bi,s=o.sanitizeChildren(xi(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss"),za(s)}finally{if(n){const e=xi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function xi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ji;function Ei(e){const t=Ni();return t?Oa(t.sanitize(ji.HTML,e)||""):Ua(e,"HTML")?Oa(Va(e)):Ci(kt(),v(e))}function Si(e){const t=Ni();return t?t.sanitize(ji.STYLE,e)||"":Ua(e,"Style")?Va(e):v(e)}function Di(e){const t=Ni();return t?t.sanitize(ji.URL,e)||"":Ua(e,"URL")?Va(e):ti(v(e))}function Ti(e){const t=Ni();if(t)return Na(t.sanitize(ji.RESOURCE_URL,e)||"");if(Ua(e,"ResourceURL"))return Na(Va(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function zi(e){const t=Ni();if(t)return Ma(t.sanitize(ji.SCRIPT,e)||"");if(Ua(e,"Script"))return Ma(Va(e));throw new Error("unsafe value used in a script context")}function Ii(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 za(e[0])}function Ai(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=Ta())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Oi(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Ti:Di}function Mi(e,t,n){return Oi(t,n)(e)}function Ni(){const e=Vt();return e&&e[12]}!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"}(ji||(ji={}));function Ri(e){return e.ngDebugContext}function Pi(e){return e.ngOriginalError}function qi(e,...t){e.error(...t)}class Bi{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||qi}(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)?Ri(e):this._findContext(Pi(e)):null}_findOriginalError(e){let t=Pi(e);for(;t&&Pi(t);)t=Pi(t);return t}}const Li={name:"custom-elements"},Fi={name:"no-errors-schema"},Vi=/^>|^->||--!>|)/;function Hi(e){return e.replace(Vi,(e=>e.replace(Ui,"​$1​")))}function $i(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 Ia("Array",`return class ${e} extends Array{}`)(Array)}catch(t){return Array}}function Ki(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(t){return"[ERROR] Exception while trying to serialize the value"}}function Qi(e){let t=It(e);if(t){if(Array.isArray(t)){const r=t;let a,i,o;if((n=e)&&n.constructor&&n.constructor.ɵcmp){if(a=to(r,e),-1==a)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(a=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,a=n.directiveEnd;for(let i=r;i=0){const e=jt(r[a]),n=Yi(r,a,e);Ji(e,n),t=n;break}}}}var n;return t||null}function Yi(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Zi(e){let t,n=It(e);if(Array.isArray(n)){const r=to(n,e);t=zt(r,n);const a=Yi(n,r,t[0]);a.component=e,Ji(e,a),Ji(a.native,a)}else{const e=n;t=zt(e.nodeIndex,e.lView)}return t}function Ji(e,t){e.__ngContext__=t}function Xi(e,t){const n=e[1];for(let r=Pe;r0&&(n[a-1][4]=t),r0&&(e[n-1][4]=r[4]);const o=qr(e,Be+t);Go(r[1],a=r,a[11],2,null,null),a[0]=null,a[6]=null;const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var a;return r}function To(e,t){if(!(256&t[2])){const n=t[11];Ct(n)&&n.destroyNode&&Go(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return zo(e[1],e);for(;t;){let n=null;if(Le(t))n=t[13];else{ngDevMode&&Je(t);const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Le(t)&&zo(t[1],t),t=t[3];null===t&&(t=e),Le(t)&&zo(t[1],t),n=t&&t[4]}t=n}}(t)}}function zo(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 r=0;r=0?r[a=l]():r[a=-l].unsubscribe(),i+=2}else{const e=r[a=n[i+1]];n[i].call(e)}if(null!==r){for(let e=a+1;e) must have projection slots defined.")}(e),n.projection[r]}return null}function $o(e,t){const n=Be+e+1;if(ni?e="":(ngDevMode&&T(a[u],0,"We do not match directives on namespaced attributes"),e=a[u+1].toLowerCase());const t=8&r?e:null;if(t&&-1!==Jo(t,c,0)||2&r&&c!==e){if(as(r))return!1;o=!0}}}}else{if(!o&&!as(r)&&!as(l))return!1;if(o&&as(l))continue;o=!1,r=l|1&r}}return as(r)||o}function as(e){return 0==(1&e)}function is(e,t,n,r){if(null===t)return-1;let a=0;if(r||!n){let n=!1;for(;a-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&r?a+="."+o:4&r&&(a+=" "+o);else""===a||as(o)||(t+=ls(i,a),a=""),r=o,i=i||!as(r);n++}return""!==a&&(t+=ls(i,a)),t}const us="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function ds(e){ngDevMode&&M(e,0,"Can only advance forward"),hs(Ut(),Vt(),wn()+e,Zt())}function hs(e,t,n,r){if(ngDevMode&&function(e,t){const n=e[1];at(Pe,n.bindingStartIndex,t)}(t,n),!r){if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Sn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Dn(t,r,0,n)}}kn(n)}function ps(e,t){return ngDevMode&&j(e,0,32767),ngDevMode&&j(t,0,32767),e<<17|t<<2}function fs(e){return ngDevMode&&x(e,"expected number"),e>>17&32767}function ms(e){return ngDevMode&&x(e,"expected number"),2==(2&e)}function gs(e){return ngDevMode&&x(e,"expected number"),2|e}function ys(e){return ngDevMode&&x(e,"expected number"),(131068&e)>>2}function bs(e,t){return ngDevMode&&x(e,"expected number"),ngDevMode&&j(t,0,32767),-131069&e|t<<2}function vs(e){return ngDevMode&&x(e,"expected number"),1==(1&e)}function ws(e){return ngDevMode&&x(e,"expected number"),1|e}function ks(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 _s(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})}const Cs=("undefined"==typeof ngDevMode||!!ngDevMode)&&de();let xs,js,Es;function Ss(e){return function(e,t){switch(e){case 0:return void 0===Es&&(Es=new($i("LRootView"))),Es;case 1:void 0===xs&&(xs=new Map);let e=xs.get(t);return void 0===e&&(e=new($i("LComponentView"+Ds(t))),xs.set(t,e)),e;case 2:void 0===js&&(js=new Map);let n=js.get(t);return void 0===n&&(n=new($i("LEmbeddedView"+Ds(t))),js.set(t,n)),n}}(e.type,e.template&&e.template.name).concat(e.blueprint)}function Ds(e){if(null==e)return"";const t=e.lastIndexOf("_Template");return"_"+(-1===t?e:e.substr(0,t))}const Ts=class{constructor(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g,y,b,v,w,k,_,C,x,j,E,S,D,T,z,I){this.tView_=e,this.type=t,this.index=n,this.insertBeforeIndex=r,this.injectorIndex=a,this.directiveStart=i,this.directiveEnd=o,this.directiveStylingLast=s,this.propertyBindings=l,this.flags=c,this.providerIndexes=u,this.value=d,this.attrs=h,this.mergedAttrs=p,this.localNames=f,this.initialInputs=m,this.inputs=g,this.outputs=y,this.tViews=b,this.next=v,this.projectionNext=w,this.child=k,this.parent=_,this.projection=C,this.styles=x,this.stylesWithoutHost=j,this.residualStyles=E,this.classes=S,this.classesWithoutHost=D,this.residualClasses=T,this.classBindings=z,this.styleBindings=I}debugNodeInjectorPath(e){const t=[];let n=Qn(this,e);if(-1===n){const t=Yn(this,e);t!==An&&(n=Vn(t),e=Un(t,e))}for(;-1!==n;){ngDevMode&&ot(e,n);const r=e[1].data[n+8];t.push(Ws(r,e));const a=e[n+8];a===An?n=-1:(n=Vn(a),e=Un(a,e))}return t}get type_(){return Mn(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 n=0;n"),Is(this.child,e),e.push(""),e.join("")}get styleBindings_(){return zs(this,!1)}get classBindings_(){return zs(this,!0)}get providerIndexStart_(){return 1048575&this.providerIndexes}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}};function zs(e,t){const n=e.tView_.data,r=[],a=t?e.classBindings:e.styleBindings,i=fs(a),o=ys(a);let s=0!==o,l=s?o:i;for(;0!==l;){const e=n[l],t=n[l+1];r.unshift({key:e,index:l,isTemplate:s,prevDuplicate:ms(t),nextDuplicate:vs(t),nextIndex:ys(t),prevIndex:fs(t)}),l===i&&(s=!1),l=fs(t)}return r.push((t?e.residualClasses:e.residualStyles)||null),r}function Is(e,t){for(;e;)t.push(e.template_),e=e.next}const As=Cs&&$i("TViewData")||null;let Os;const Ms=Cs&&$i("LViewBlueprint")||null,Ns=Cs&&$i("MatchesArray")||null,Rs=Cs&&$i("TViewComponents")||null,Ps=Cs&&$i("TNodeLocalNames")||null,qs=Cs&&$i("TNodeInitialInputs")||null,Bs=(Cs&&$i("TNodeInitialData"),Cs&&$i("LCleanup")||null),Ls=Cs&&$i("TCleanup")||null;function Fs(e){if(e){const t=e.debug;return R(t,"Object does not have a debug representation."),t}return e}function Vs(e,t=!1){const n=jt(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 Us{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 Fs(this._raw_lView[3])}get hostHTML(){return Vs(this._raw_lView[0],!0)}get html(){return(this.nodes||[]).map(Hs).join("")}get context(){return this._raw_lView[8]}get nodes(){const e=this._raw_lView;return Ks(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 Fs(this._raw_lView[13])}get next(){return Fs(this._raw_lView[4])}get childTail(){return Fs(this._raw_lView[14])}get declarationView(){return Fs(this._raw_lView[15])}get queries(){return this._raw_lView[19]}get tHost(){return this._raw_lView[6]}get decls(){return $s(this.tView,this._raw_lView,Pe,this.tView.bindingStartIndex)}get vars(){return $s(this.tView,this._raw_lView,this.tView.bindingStartIndex,this.tView.expandoStartIndex)}get expando(){return $s(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 Hs(e){if("ElementContainer"===e.type)return(e.children||[]).map(Hs).join("");if("IcuContainer"===e.type)throw new Error("Not implemented");return Vs(e.native,!0)||""}function $s(e,t,n,r){let a=[];for(let i=n;iPe&&hs(e,t,Pe,Zt());gt(o?2:0,a),n(r,a)}finally{kn(i);gt(o?3:1,a)}}function ll(e,t,n){if(Ve(t)){const r=t.directiveStart,a=t.directiveEnd;for(let t=r;t-1)return!0}return!1}function wl(e,t){let n=`Can't bind to '${e}' since it isn't a known property of '${t.value}'.`;console.error(b("303",n))}function kl(e,t,n,r){ngDevMode&&tt(e);let a=!1;if(Bt()){const i=function(e,t,n){ngDevMode&&tt(e),ngDevMode&&Nn(n,15);const r=e.directiveRegistry;let a=null;if(r)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,a,o)}}function Cl(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xl(e,t){ngDevMode&&tt(e),t.flags|=2,(e.components||(e.components=ngDevMode?new Rs:[])).push(t.index)}function jl(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Rl(n)}}function Rl(e){for(let n=bo(e);null!==n;n=vo(n))for(let e=Be;e0&&Rl(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&Rl(r)}}function Pl(e,t){ngDevMode&&D(Ot(e),!0,"Should be run in creation mode");const n=zt(t,e),r=n[1];!function(e,t){for(let n=t.length;n0&&(i+=so+a.join(so)),e[r]=i}}const $l=Js;function Kl(e){return e[7]||(e[7]=ngDevMode?new Bs:[])}function Wl(e){return e.cleanup||(e.cleanup=ngDevMode?new Ls:[])}function Gl(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 Ql(e,t){const n=e[9],r=n?n.get(Bi,null):null;r&&r.handleError(t)}function Yl(e,t,n,r,a){for(let i=0;in=e)),e.scheduler((()=>{if(1&e.flags&&(e.flags&=-2,Ll(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Js,n(null)}))}}(t[8],1)}const tc=new _r("INJECTOR",-1);class nc{get(e,t=Zr){if(t===Zr){const t=new Error(`NullInjectorError: No provider for ${u(e)}!`);throw t.name="NullInjectorError",t}return t}}const rc=new _r("Set Injector scope."),ac={},ic={},oc=[];let sc;function lc(){return void 0===sc&&(sc=new nc),sc}function cc(e,t=null,n=null,r){const a=uc(e,t,n,r);return a._resolveInjectorDefTypes(),a}function uc(e,t=null,n=null,r){return new dc(e,n,t||lc(),r)}class dc{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 a=[];t&&Rr(t,(n=>this.processProvider(n,e,t))),Rr([e],(e=>this.processInjectorType(e,[],a))),this.records.set(tc,fc(void 0,this));const i=this.records.get(rc);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=Zr,n=Z.Default){this.assertNotDestroyed();const r=na(this);try{if(!(n&Z.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(a=e)||"object"==typeof a&&a instanceof _r)&&H(e);t=n&&this.injectableDefInScope(n)?fc(hc(e),ac):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const i=n&Z.Self?lc():this.parent;return t=n&Z.Optional&&t===Zr?null:t,i.get(e,t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(u(e)),r)throw i;return ca(i,e,"R3InjectorError",this.source)}throw i}finally{na(r)}var a}_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=K(e);const a=null==r&&e.ngModule||void 0,i=void 0===a?e:a;if(ngDevMode&&-1!==t.indexOf(i)){k(u(i),t.map(u))}const o=-1!==n.indexOf(i);if(void 0!==a&&(r=K(a)),null==r)return!1;if(null!=r.imports&&!o){let e;ngDevMode&&t.push(i),n.push(i);try{Rr(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;tthis.processProvider(e,n,r||oc)))}}this.injectorDefTypes.add(i);const s=st(i)||(()=>new i);this.records.set(i,fc(s,ac));const l=r.providers;if(null!=l&&!o){const t=e;Rr(l,(e=>this.processProvider(e,t,l)))}return void 0!==a&&void 0!==e.providers}processProvider(e,t,n){let r=gc(e=f(e))?e:f(e&&e.provide);const a=function(e,t,n){if(mc(e))return fc(void 0,e.useValue);return fc(pc(e,t,n),ac)}(e,t,n);if(gc(e)||!0!==e.multi){const e=this.records.get(r);ngDevMode&&e&&void 0!==e.multi&&_()}else{let t=this.records.get(r);t?ngDevMode&&void 0===t.multi&&_():(t=fc(void 0,ac,!0),t.factory=()=>sa(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,a)}hydrate(e,t){var n;return ngDevMode&&t.value===ic?k(u(e)):t.value===ac&&(t.value=ic,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function hc(e){const t=H(e),n=null!==t?t.factory:st(e);if(null!==n)return n;if(e instanceof _r)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=Br(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[W]||e[Q]);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 pc(e,t,n){let r;if(gc(e)){const t=f(e);return st(t)||hc(t)}if(mc(e))r=()=>f(e.useValue);else if((a=e)&&a.useFactory)r=()=>e.useFactory(...sa(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>aa(f(e.useExisting));else{const a=f(e&&(e.useClass||e.provide));if(ngDevMode&&!a&&function(e,t,n){let r="";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 st(a)||hc(a);r=()=>new a(...sa(e.deps))}var a;return r}function fc(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function mc(e){return null!==e&&"object"==typeof e&&ea in e}function gc(e){return"function"==typeof e}function yc(e,t,n){return cc({name:n},t,e,n)}const bc=yc;class vc{static create(e,t){return Array.isArray(e)?bc(e,t,""):bc(e.providers,e.parent,e.name||"")}}vc.THROW_IF_NOT_FOUND=Zr,vc.NULL=new nc,vc.ɵprov=F({token:vc,providedIn:"any",factory:()=>aa(tc)}),vc.__NG_ELEMENT_ID__=-1;function wc(e){zc(e);const t=Ec(e,!1);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 kc(e){zc(e);const t=Ec(e,!1);return null===t?null:t.lView[8]}function _c(e){const t=Ec(e,!1);if(null===t)return null;let n,r=t.lView;for(ngDevMode&&et(r);2===r[1].type&&(n=mo(r));)r=n;return 512&r[2]?null:r[8]}function Cc(e){return[...yo(e).components]}function xc(e){const t=Ec(e,!1);if(null===t)return vc.NULL;const n=t.lView[1].data[t.nodeIndex];return new cr(n,t.lView)}function jc(e){const t=Ec(e);return void 0===t.directives&&(t.directives=no(t.nodeIndex,t.lView,!1)),null===t.directives?[]:[...t.directives]}function Ec(e,t=!0){const n=Qi(e);if(!n&&t)throw new Error(ngDevMode?`Unable to find context associated with ${w(e)}`:"Invalid ng target");return n}function Sc(e){return Qi(e).native}function Dc(e){zc(e);const t=Ec(e,!1);if(null===t)return[];const n=t.lView,r=n[1],a=n[7],i=r.cleanup,o=[];if(i&&a)for(let s=0;s=0?"dom":"output",p="boolean"==typeof d&&d;e==c&&o.push({element:e,name:l,callback:u,useCapture:p,type:h})}}return o.sort(Tc),o}function Tc(e,t){return e.name==t.name?0:e.nameXl(e)))}let Ac=!1;function Oc(){Ac||(Ac=!0,Mc("ɵsetProfiler",mt),Mc("getComponent",wc),Mc("getContext",kc),Mc("getListeners",Dc),Mc("getOwningComponent",_c),Mc("getHostElement",Sc),Mc("getInjector",xc),Mc("getRootComponents",Cc),Mc("getDirectives",jc),Mc("applyChanges",Ic))}function Mc(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=ue;if(ngDevMode&&R(t,"function not defined"),n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function Nc(e,t={}){ngDevMode&&Oc(),ngDevMode&&Ye(e);const n=t.rendererFactory||xt,r=t.sanitizer||null,a=Oe(e);a.type!=e&&(a.type=e);const i=a.selectors[0][0],o=fl(n.createRenderer(null,null),t.host||i,a.encapsulation),s=a.onPush?576:528,l=qc(t.scheduler,t.playerHandler),c=n.createRenderer(o,a),u=hl(0,null,null,1,0,null,null,null,null,null),d=el(null,u,l,s,null,null,n,c,null,t.injector||null);let h;pn(d);try{n.begin&&n.begin();h=Pc(Rc(o,a,d,n,c,r),a,d,l,t.hostFeatures||null),al(u,d,null),il(u,d,null,null)}finally{bn(),n.end&&n.end()}return h}function Rc(e,t,n,r,a,i){const o=n[1];ngDevMode&&B(n,20),n[20]=e;const s=tl(o,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(Jl(s,l,!0),null!==e&&(Rn(a,e,l),null!==s.classes&&Zo(a,e,s.classes),null!==s.styles&&Yo(a,e,s.styles)));const c=r.createRenderer(e,t),u=el(n,dl(t),null,t.onPush?64:16,n[20],s,r,c,i||null,null);return o.firstCreatePass&&(Zn(Wn(s,n),o,t.type),xl(o,s),El(s,n.length,1)),ql(n,u),n[20]=u}function Pc(e,t,n,r,a){const i=n[1],o=function(e,t,n){const r=$t();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);const a=rl(e,t,1,null);ngDevMode&&D(a,r.directiveStart,"Because this is a root component the allocated expando should match the TNode component."),Sl(e,r,t,a,n)}const a=or(t,e,r.directiveStart,r);Ji(a,t);const i=St(r,t);return i&&Ji(i,t),a}(i,n,t);if(r.components.push(o),e[8]=o,a&&a.forEach((e=>e(o,t))),t.contentQueries){const e=$t();ngDevMode&&R(e,"TNode expected"),t.contentQueries(1,o,e.directiveStart)}const s=$t();if(ngDevMode&&R(s,"tNode should have been already created"),i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){kn(s.index);_l(n[1],s,0,s.directiveStart,s.directiveEnd,t),Cl(t,o)}return o}function qc(e,t){return{components:[],scheduler:e||ro,clean:$l,playerHandler:t||null,flags:0}}function Bc(e,t){const n=At(e);ngDevMode&&R(n,"LView is required");const r=n[1],a=$t();ngDevMode&&R(a,"TNode is required"),En(r,a)}function Lc(e){return yo(e).clean}function Fc(e){return Object.getPrototypeOf(e.prototype).constructor}function Vc(e){let t=Fc(e.type),n=!0;const r=[e];for(;t;){let a;if($e(e))a=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Error("Directives cannot inherit Components");a=t.ɵdir}if(a){if(n){r.push(a);const t=e;t.inputs=Uc(e.inputs),t.declaredInputs=Uc(e.declaredInputs),t.outputs=Uc(e.outputs);const n=a.hostBindings;n&&Kc(e,n);const i=a.viewQuery,o=a.contentQueries;if(i&&Hc(e,i),o&&$c(e,o),c(e.inputs,a.inputs),c(e.declaredInputs,a.declaredInputs),c(e.outputs,a.outputs),$e(a)&&a.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(a.data.animation)}}const t=a.features;if(t)for(let r=0;r=0;r--){const a=e[r];a.hostVars=t+=a.hostVars,a.hostAttrs=Bn(a.hostAttrs,n=Bn(n,a.hostAttrs))}}(r)}function Uc(e){return e===he?{}:e===fe?[]:e}function Hc(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function $c(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,a)=>{t(e,r,a),n(e,r,a)}:t}function Kc(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}const Wc=["providersResolver"],Gc=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Qc(e){let t,n=Fc(e.type);t=$e(e)?n.ɵcmp:n.ɵdir;const r=e;for(const a of Wc)r[a]=t[a];if($e(t))for(const a of Gc)r[a]=t[a]}let Yc=null;function Zc(){if(!Yc){const e=ue.Symbol;if(e&&e.iterator)Yc=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t-1?uo(e,t,t,i,r):{propName:i,oldValue:n,newValue:r};if(null===i){let n=t-1;for(;"string"!=typeof a[n]&&null===a[n+1];)n--;const i=a[n];if("string"==typeof i){const a=i.match(new RegExp(so,"g"));if(a&&a.length-1>t-n)return uo(e,n,t,i,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,a,n);!function(e,t,n,r){let a=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${t}'. Current value: '${n}'.`;throw e&&(a+=" 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",a)}(r===us,i.oldValue,i.newValue,i.propName)}return!1}return e[t]=n,!0}function iu(e,t,n,r){const a=au(e,t,n);return au(e,t+1,r)||a}function ou(e,t,n,r,a){const i=iu(e,t,n,r);return au(e,t+2,a)||i}function su(e,t,n,r,a,i){const o=iu(e,t,n,r);return iu(e,t+2,a,i)||o}function lu(e,t,n,r){const a=Vt(),i=nn();if(au(a,i,t)){const o=Ut(),s=_n();Tl(s,a,e,t,n,r),ngDevMode&&Hl(o.data,s,"attr."+e,i)}return lu}function cu(e,t){ngDevMode&&A(2,t.length,"should have at least 3 values"),ngDevMode&&D(t.length%2,1,"should have an odd number of values");let n=!1,r=en();for(let i=1;i=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Tu(e){return Tt(qt.lFrame.contextLView,Pe+e)}const zu={"ɵɵdefineInjectable":F,"ɵɵdefineInjector":U,"ɵɵinject":aa,"ɵɵinvalidFactoryDep":ia};const Iu=l({provide:String,useValue:l});function Au(e){return void 0!==e.useClass}function Ou(e){return void 0!==e.useFactory}function Mu(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Au(n)||Ou(n))&&void 0!==n.deps&&(r.userDeps=wa(n.deps)),Au(n)?r.useClass=f(n.useClass):!function(e){return Iu in e}(n)?Ou(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=f(n.useExisting)):r.useValue=f(n.useValue),r}l({provide:String,useValue:l});const Nu=gr("Injectable",void 0,void 0,void 0,((e,t)=>Pu(e,t)));const Ru=function(e,t){let n=null,r=null;e.hasOwnProperty(W)||Object.defineProperty(e,W,{get:()=>(null===n&&(n=Ar().compileInjectable(zu,`ng:///${e.name}/ɵprov.js`,Mu(e,t))),n)}),e.hasOwnProperty(we)||Object.defineProperty(e,we,{get:()=>{if(null===r){const n=Mu(e,t),a=Ar();r=a.compileFactory(zu,`ng:///${e.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:va(e),injectFn:"inject",target:a.R3FactoryTarget.Injectable})}return r},configurable:!0})},Pu=Ru;function qu(e){if(e.length>1){return" ("+function(e){const t=[];for(let n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((e=>u(e.token))).join(" -> ")+")"}return""}function Bu(e,t,n,r){const a=[t],i=n(a),o=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}(i,r):Error(i);return o.addKey=Lu,o.keys=a,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=r,o}function Lu(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Fu(e,t){const n=[];for(let r=0,a=t.length;re,n=[Ku.fromKey(Uu.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map((e=>[e]));return t.map((t=>td(e,t,n)))}return ed(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Wu);return new Qu(t,n)}function Zu(e){return new Gu(Uu.get(e.provide),[Yu(e)],e.multi||!1)}function Ju(e){const t=function(e,t){for(let n=0;n{if(e instanceof Or)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`);Xu(e,t)}})),t}function ed(e){const t=$u.parameters(e);if(!t)return[];if(t.some((e=>null==e)))throw Fu(e,t);return t.map((n=>td(e,n,t)))}function td(e,t,n){let r=null,a=!1;if(!Array.isArray(t))return nd(t instanceof ha?t.token:t,a,null);let i=null;for(let o=0;o=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,Bu(t,n,(function(e){return`Cannot instantiate cyclic dependency!${qu(e)}`}));var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;nthis._getByReflectiveDependency(e)))}catch(l){throw l.addKey&&l.addKey(this,e.key),l}try{a=n(...r)}catch(l){throw i=this,o=l,l.stack,s=e.key,Bu(i,s,(function(e){const t=u(e[0].token);return`${o.message}: Error during instantiation of ${t}!${qu(e)}.`}),o)}var i,o,s;return a}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Zr)}_getByKey(e,t,n){return e===id.INJECTOR_KEY?this:t instanceof fa?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t' "'+e.key.displayName+'" ')).join(", ")}])`}toString(){return this.displayName}}function od(e,t=Z.Default){const n=Vt();if(null===n)return ngDevMode&&(r=od,ngDevMode&&T(J,r,"Calling ɵɵinject would cause infinite recursion")),aa(e,t);var r;return tr($t(),n,f(e),t)}function sd(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}function ld(e,t,n){const r=Vt(),a=nn();if(au(r,a,t)){const i=Ut(),o=_n();yl(i,o,r,e,t,r[11],n,!1),ngDevMode&&Hl(i.data,o,e,a)}return ld}function cd(e,t,n,r,a){const i=a?"class":"style";Yl(e,n,t.inputs[i],i,r)}function ud(e,t,n,r,a,i,o){ngDevMode&&tt(t),ngDevMode&&ngDevMode.firstCreatePass++;const s=t.consts,l=tl(t,e,2,a,Nt(s,i)),c=kl(t,n,l,Nt(s,o));return ngDevMode&&function(e,t,n,r){if(null===e.schemas)return;const a=n.value;if(!r&&null!==a){if(("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&t instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&a.indexOf("-")>-1&&!customElements.get(a))&&!vl(e,a)){let e=`'${a}' is not a known element:\n`;e+=`1. If '${a}' is an Angular component, then verify that it is part of this module.\n`,a&&a.indexOf("-")>-1?e+=`2. If '${a}' 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(b("304",e))}}}(t,r,l,c),null!==l.attrs&&Jl(l,l.attrs,!1),null!==l.mergedAttrs&&Jl(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}function dd(e,t,n,r){const a=Vt(),i=Ut(),o=Pe+e;ngDevMode&&D(en(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&B(a,o);const s=a[11],l=a[o]=jo(s,t,qt.lFrame.currentNamespace),c=i.firstCreatePass?ud(o,i,a,l,t,n,r):i.data[o];Gt(c,!0);const u=c.mergedAttrs;null!==u&&Rn(s,l,u);const d=c.classes;null!==d&&Zo(s,l,d);const h=c.styles;null!==h&&Yo(s,l,h),64!=(64&c.flags)&&Vo(i,a,l,c),0===qt.lFrame.elementDepthCount&&Ji(l,a),qt.lFrame.elementDepthCount++,He(c)&&(cl(i,a,c),ll(i,c,a)),null!==r&&ul(a,c)}function hd(){let e=$t();ngDevMode&&R(e,"No parent node to close."),Qt()?Yt():(ngDevMode&&Ze($t()),e=e.parent,Gt(e,!1));const t=e;ngDevMode&&Nn(t,3),qt.lFrame.elementDepthCount--;const n=Ut();n.firstCreatePass&&(En(n,e),Ve(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&cd(n,t,Vt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&cd(n,t,Vt(),t.stylesWithoutHost,!1)}function pd(e,t,n,r){dd(e,t,n,r),hd()}function fd(e,t,n){const r=Vt(),a=Ut(),i=e+Pe;ngDevMode&&B(r,i),ngDevMode&&D(en(),a.bindingStartIndex,"element containers should be created before any bindings");const o=a.firstCreatePass?function(e,t,n,r,a){ngDevMode&&ngDevMode.firstCreatePass++;const i=t.consts,o=Nt(i,r),s=tl(t,e,8,"ng-container",o);return null!==o&&Jl(s,o,!0),kl(t,n,s,Nt(i,a)),null!==t.queries&&t.queries.elementStart(t,s),s}(i,a,r,t,n):a.data[i];Gt(o,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const s=r[i]=r[11].createComment(ngDevMode?"ng-container":"");Vo(a,r,s,o),Ji(s,r),He(o)&&(cl(a,r,o),ll(a,o,r)),null!=n&&ul(r,o)}function md(){let e=$t();const t=Ut();Qt()?Yt():(ngDevMode&&Ze(e),e=e.parent,Gt(e,!1)),ngDevMode&&Nn(e,8),t.firstCreatePass&&(En(t,e),Ve(e)&&t.queries.elementEnd(e))}function gd(e,t,n){fd(e,t,n),md()}function yd(){return Vt()}function bd(e){return!!e&&"function"==typeof e.then}function vd(e){return!!e&&"function"==typeof e.subscribe}id.INJECTOR_KEY=Uu.get(vc);const wd=vd;function kd(e,t,n=!1,r){const a=Vt(),i=Ut(),o=$t();return Cd(i,a,a[11],o,e,t,n,r),kd}function _d(e,t,n=!1,r){const a=$t(),i=Vt(),o=Ut();return Cd(o,i,Gl(ln(o.data),a,i),a,e,t,n,r),_d}function Cd(e,t,n,r,a,i,o=!1,s){const l=He(r),c=e.firstCreatePass&&Wl(e),u=t[8],d=Kl(t);ngDevMode&&Nn(r,15);let h=!0;if(3&r.type){const p=St(r,t),f=s?s(p):he,m=f.target||p,g=d.length,y=s?e=>s(jt(e[r.index])).target:r.index;if(Ct(n)){let o=null;if(!s&&l&&(o=function(e,t,n,r){const a=e.cleanup;if(null!=a)for(let i=0;in?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,a,r.index)),null!==o){(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1}else{i=jd(r,t,u,i,!1);const e=n.listen(f.name||m,a,i);ngDevMode&&ngDevMode.rendererAddEventListener++,d.push(i,e),c&&c.push(a,y,g,g+1)}}else i=jd(r,t,u,i,!0),m.addEventListener(a,i,o),ngDevMode&&ngDevMode.rendererAddEventListener++,d.push(i),c&&c.push(a,y,g,o)}else i=jd(r,t,u,i,!1);const p=r.outputs;let f;if(h&&null!==p&&(f=p[a])){const e=f.length;if(e)for(let n=0;n0)&&(u=!0)}else c=n;if(a){if(0!==l){const t=fs(e[s+1]);e[r+1]=ps(t,s),0!==t&&(e[t+1]=bs(e[t+1],r)),e[s+1]=(d=e[s+1],h=r,ngDevMode&&x(d,"expected number"),ngDevMode&&j(h,0,32767),131071&d|h<<17)}else e[r+1]=ps(s,0),0!==s&&(e[s+1]=bs(e[s+1],r)),s=r}else e[r+1]=ps(l,0),ngDevMode&&D(0!==s&&0===l,!1,"Adding template bindings after hostBindings is not allowed."),0===s?s=r:e[l+1]=bs(e[l+1],r),l=r;var d,h;u&&(e[r+1]=gs(e[r+1])),Fd(e,c,r,!0,i),Fd(e,c,r,!1,i),function(e,t,n,r,a){const i=a?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Vr(i,t)>=0&&(n[r+1]=ws(n[r+1]))}(t,c,e,r,i),o=ps(s,l),i?t.classBindings=o:t.styleBindings=o}function Fd(e,t,n,r,a){const i=e[n+1],o=null===t;let s=r?fs(i):ys(i),l=!1;for(;0!==s&&(!1===l||o);){ngDevMode&&B(e,s);const n=e[s],a=e[s+1];Vd(n,t)&&(l=!0,e[s+1]=r?ws(a):gs(a)),s=r?fs(a):ys(a)}l&&(e[n+1]=r?gs(i):ws(i))}function Vd(e,t){return ngDevMode&&T(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)&&Vr(e,t)>=0}const Ud={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hd(e){return e.substring(Ud.key,Ud.keyEnd)}function $d(e){return e.substring(Ud.value,Ud.valueEnd)}function Kd(e,t){const n=Ud.textEnd;return n===t?-1:(t=Ud.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Ud.key=t,n),Qd(e,t,n))}function Wd(e,t){const n=Ud.textEnd;let r=Ud.key=Qd(e,t,n);return n===r?-1:(r=Ud.keyEnd=function(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Yd(e,r,n,58),r=Ud.value=Qd(e,r,n),r=Ud.valueEnd=function(e,t,n){let r=-1,a=-1,i=-1,o=t,s=o;for(;o32&&(s=o),i=a,a=r,r=-33&l}return s}(e,r,n),Yd(e,r,n,59))}function Gd(e){Ud.key=0,Ud.keyEnd=0,Ud.value=0,Ud.valueEnd=0,Ud.textEnd=e.length}function Qd(e,t,n){for(;t>"+e.substring(n,n+1)+"<<]"+e.substr(n+1)+`'. Expecting '${t}'.`)}function Xd(e,t,n){return ih(e,t,n,!1),Xd}function eh(e,t){return ih(e,t,null,!0),eh}function th(e){oh(dh,nh,e,!1)}function nh(e,t){for(let n=function(e){return Gd(e),Wd(e,Qd(e,0,Ud.textEnd))}(t);n>=0;n=Wd(t,n))dh(e,Hd(t),$d(t))}function rh(e){oh(Lr,ah,e,!0)}function ah(e,t){for(let n=function(e){return Gd(e),Kd(e,Qd(e,0,Ud.textEnd))}(t);n>=0;n=Kd(t,n))Lr(e,Hd(t),!0)}function ih(e,t,n,r){const a=Vt(),i=Ut(),o=rn(2);if(i.firstUpdatePass&&lh(i,e,o,r),t!==us&&au(a,o,t)){hh(i,i.data[wn()],a,a[11],e,a[o+1]=function(e,t){null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Va(e))));return e}(t,n),r,o)}}function oh(e,t,n,r){const a=Ut(),i=rn(2);a.firstUpdatePass&&lh(a,null,i,r);const o=Vt();if(n!==us&&au(o,i,n)){const s=a.data[wn()];if(mh(s,r)&&!sh(a,i)){if(ngDevMode){const e=a.data[i];D(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=r?s.classesWithoutHost:s.stylesWithoutHost;ngDevMode&&!1===r&&null!==e&&D(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=d(e,n||"")),cd(a,s,o,n,r)}else!function(e,t,n,r,a,i,o,s){a===us&&(a=pe);let l=0,c=0,u=0=e.expandoStartIndex}function lh(e,t,n,r){ngDevMode&&nt(e);const a=e.data;if(null===a[n+1]){const i=a[wn()];ngDevMode&&R(i,"TNode expected");const o=sh(e,n);mh(i,r)&&null===t&&!o&&(t=!1),t=function(e,t,n,r){const a=ln(e);let i=r?t.residualClasses:t.residualStyles;if(null===a){0===(r?t.classBindings:t.styleBindings)&&(n=uh(n=ch(null,e,t,n,r),t.attrs,r),i=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==a)if(n=ch(a,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===ys(r))return;return e[fs(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=ch(null,e,t,n[1],r),n=uh(n,t.attrs,r),function(e,t,n,r){const a=n?t.classBindings:t.styleBindings;ngDevMode&&T(ys(a),0,"Expecting to have at least one template styling binding."),e[fs(a)]=r}(e,t,r,n))}else i=function(e,t,n){let r;const a=t.directiveEnd;ngDevMode&&T(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;i0;){const t=e[a],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[a+1];u===us&&(u=c?pe:void 0);let d=c?Fr(u,r):l===r?u:void 0;if(i&&!fh(d)&&(d=Fr(t,r)),fh(d)&&(s=d,o))return s;const h=e[a+1];a=o?fs(h):ys(h)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(s=Fr(e,r))}return s}function fh(e){return void 0!==e}function mh(e,t){return 0!=(e.flags&(t?16:32))}function gh(e,t=""){const n=Vt(),r=Ut(),a=e+Pe;ngDevMode&&D(en(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&B(n,a);const i=r.firstCreatePass?tl(r,a,1,t,null):r.data[a],o=n[a]=_o(n[11],t);Vo(r,n,o,i),Gt(i,!1)}function yh(e){return bh("",e,""),yh}function bh(e,t,n){const r=Vt(),a=uu(r,e,t,n);return a!==us&&Zl(r,wn(),a),bh}function vh(e,t,n,r,a){const i=Vt(),o=du(i,e,t,n,r,a);return o!==us&&Zl(i,wn(),o),vh}function wh(e,t,n,r,a,i,o){const s=Vt(),l=hu(s,e,t,n,r,a,i,o);return l!==us&&Zl(s,wn(),l),wh}function kh(e,t,n,r,a,i,o,s,l){const c=Vt(),u=pu(c,e,t,n,r,a,i,o,s,l);return u!==us&&Zl(c,wn(),u),kh}function _h(e,t,n,r,a,i,o,s,l,c,u){const d=Vt(),h=fu(d,e,t,n,r,a,i,o,s,l,c,u);return h!==us&&Zl(d,wn(),h),_h}function Ch(e,t,n,r,a,i,o,s,l,c,u,d,h){const p=Vt(),f=mu(p,e,t,n,r,a,i,o,s,l,c,u,d,h);return f!==us&&Zl(p,wn(),f),Ch}function xh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f){const m=Vt(),g=gu(m,e,t,n,r,a,i,o,s,l,c,u,d,h,p,f);return g!==us&&Zl(m,wn(),g),xh}function jh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g){const y=Vt(),b=yu(y,e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g);return b!==us&&Zl(y,wn(),b),jh}function Eh(e){const t=Vt(),n=cu(t,e);return n!==us&&Zl(t,wn(),n),Eh}function Sh(e,t,n){oh(Lr,ah,uu(Vt(),e,t,n),!0)}function Dh(e,t,n,r,a){oh(Lr,ah,du(Vt(),e,t,n,r,a),!0)}function Th(e,t,n,r,a,i,o){oh(Lr,ah,hu(Vt(),e,t,n,r,a,i,o),!0)}function zh(e,t,n,r,a,i,o,s,l){oh(Lr,ah,pu(Vt(),e,t,n,r,a,i,o,s,l),!0)}function Ih(e,t,n,r,a,i,o,s,l,c,u){oh(Lr,ah,fu(Vt(),e,t,n,r,a,i,o,s,l,c,u),!0)}function Ah(e,t,n,r,a,i,o,s,l,c,u,d,h){oh(Lr,ah,mu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h),!0)}function Oh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f){oh(Lr,ah,gu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h,p,f),!0)}function Mh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g){oh(Lr,ah,yu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g),!0)}function Nh(e){oh(Lr,ah,cu(Vt(),e),!0)}function Rh(e,t,n){th(uu(Vt(),e,t,n))}function Ph(e,t,n,r,a){th(du(Vt(),e,t,n,r,a))}function qh(e,t,n,r,a,i,o){th(hu(Vt(),e,t,n,r,a,i,o))}function Bh(e,t,n,r,a,i,o,s,l){th(pu(Vt(),e,t,n,r,a,i,o,s,l))}function Lh(e,t,n,r,a,i,o,s,l,c,u){th(fu(Vt(),e,t,n,r,a,i,o,s,l,c,u))}function Fh(e,t,n,r,a,i,o,s,l,c,u,d,h){th(mu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h))}function Vh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f){th(gu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h,p,f))}function Uh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g){th(yu(Vt(),e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g))}function Hh(e){th(cu(Vt(),e))}function $h(e,t,n,r,a){return ih(e,uu(Vt(),t,n,r),a,!1),$h}function Kh(e,t,n,r,a,i,o){return ih(e,du(Vt(),t,n,r,a,i),o,!1),Kh}function Wh(e,t,n,r,a,i,o,s,l){return ih(e,hu(Vt(),t,n,r,a,i,o,s),l,!1),Wh}function Gh(e,t,n,r,a,i,o,s,l,c,u){return ih(e,pu(Vt(),t,n,r,a,i,o,s,l,c),u,!1),Gh}function Qh(e,t,n,r,a,i,o,s,l,c,u,d,h){return ih(e,fu(Vt(),t,n,r,a,i,o,s,l,c,u,d),h,!1),Qh}function Yh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f){return ih(e,mu(Vt(),t,n,r,a,i,o,s,l,c,u,d,h,p),f,!1),Yh}function Zh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g){return ih(e,gu(Vt(),t,n,r,a,i,o,s,l,c,u,d,h,p,f,m),g,!1),Zh}function Jh(e,t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g,y,b){return ih(e,yu(Vt(),t,n,r,a,i,o,s,l,c,u,d,h,p,f,m,g,y),b,!1),Jh}function Xh(e,t,n){return ih(e,cu(Vt(),t),n,!1),Xh}function ep(e,t,n){const r=Vt(),a=nn();if(au(r,a,t)){const i=Ut(),o=_n();yl(i,o,r,e,t,r[11],n,!0),ngDevMode&&Hl(i.data,o,e,a)}return ep}function tp(e,t,n){const r=Vt(),a=nn();if(au(r,a,t)){const i=Ut(),o=_n();yl(i,o,r,e,t,Gl(ln(i.data),o,r),n,!0),ngDevMode&&Hl(i.data,o,e,a)}return tp}"undefined"==typeof ngI18nClosureMode&&(ue.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);const np=void 0;var rp=["en",[["a","p"],["AM","PM"],np],[["AM","PM"],np,np],[["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"]],np,[["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"]],np,[["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}",np,"{1} 'at' {0}",np],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let ap={};function ip(e,t,n){"string"!=typeof t&&(n=t,t=e[dp.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ap[t]=e,n&&(ap[t][dp.ExtraData]=n)}function op(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=cp(t);if(n)return n;const r=t.split("-")[0];if(n=cp(r),n)return n;if("en"===r)return rp;throw new Error(`Missing locale data for the locale "${e}".`)}function sp(e){return op(e)[dp.CurrencyCode]||null}function lp(e){return op(e)[dp.PluralCase]}function cp(e){return e in ap||(ap[e]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[e]),ap[e]}function up(){ap={}}var dp;!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"}(dp||(dp={}));const hp=["zero","one","two","few","many"];const pp="en-US",fp="USD",mp={marker:"element"},gp={marker:"ICU"};var yp;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(yp||(yp={}));let bp=pp;function vp(e){R(e,"Expected localeId to be defined"),"string"==typeof e&&(bp=e.toLowerCase().replace(/_/g,"-"))}function wp(e,t,n){const r=t.insertBeforeIndex,a=Array.isArray(r)?r[0]:r;return null===a?qo(e,0,n):(ngDevMode&&B(n,a),jt(n[a]))}function kp(e,t,n,r,a){const i=t.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&q(r);let o=r,s=null;if(3&t.type||(s=o,o=a),null!==o&&0==(2&t.flags))for(let t=1;t1)for(let n=e.length-2;n>=0;n--){const r=e[n];Cp(r)||xp(r,t)&&null===jp(r)&&Ep(r,t.index)}}function Cp(e){return!(64&e.type)}function xp(e,t){return Cp(t)||e.index>t.index}function jp(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Ep(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Fo(wp,kp),e.insertBeforeIndex=t)}function Sp(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tViews")||n.hasOwnProperty("currentCaseLViewIndex")||P("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&Qe(r),r}function Dp(e,t,n){const r=nl(e,n,64,null,null);return _p(t,r),r}function Tp(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function zp(e){return e>>>17}function Ip(e){return(131070&e)>>>1}function Ap(e){return 1&e}let Op=0,Mp=0;function Np(e,t,n,r){ngDevMode&&q(r);const a=n[11];let i,o=null;for(let s=0;s>>1,p=t[++s],f=t[++s];zl(a,Et(h,n),null,null,p,f,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case gp:const e=t[++s],r=t[++s];if(null===n[r]){ngDevMode&&D(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&rt(n,r);Ji(n[r]=xo(a,e),n)}break;case mp:const i=t[++s],o=t[++s];if(null===n[o]){ngDevMode&&D(typeof i,"string",`Expected "${i}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&rt(n,o);Ji(n[o]=jo(a,i,null),n)}break;default:ngDevMode&&P(`Unable to determine the type of mutate operation for "${l}"`)}}}function Rp(e,t,n,r,a){for(let i=0;i>>2;switch(3&i){case 1:const i=n[++o],l=n[++o],c=e.data[s];ngDevMode&&R(c,"Experting TNode or string"),"string"==typeof c?zl(t[11],t[s],null,c,i,a,l):yl(e,c,t,i,a,t[11],l,!1);break;case 0:const u=t[s];null!==u&&Co(t[11],u,a);break;case 2:qp(e,Sp(e,s),t,a);break;case 3:Pp(e,Sp(e,s),r,t)}}}}else{const a=n[i+1];if(a>0&&3==(3&a)){const n=Sp(e,a>>>2);t[n.currentCaseLViewIndex]<0&&Pp(e,n,r,t)}}i+=s}}function Pp(e,t,n,r){ngDevMode&&B(r,t.currentCaseLViewIndex);let a=r[t.currentCaseLViewIndex];if(null!==a){let i=Op;a<0&&(a=r[t.currentCaseLViewIndex]=~a,i=-1),Rp(e,r,t.update[a],n,i)}}function qp(e,t,n,r){const a=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=lp(t)(parseInt(e,10)),r=hp[n];return void 0!==r?r:"other"}(t,bp);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}(t,r);if(Tp(t,n)!==a&&(Bp(e,t,n),n[t.currentCaseLViewIndex]=null===a?null:~a,null!==a)){const r=n[t.anchorIdx];r&&(ngDevMode&&q(r),Np(e,t.create[a],n,r))}}function Bp(e,t,n){let r=Tp(t,n);if(null!==r){const a=t.remove[r];for(let t=0;t0){const e=Et(r,n);null!==e&&Ko(n[11],e)}else Bp(e,Sp(e,~r),n)}}}function Lp(){const e=[];let t,n,r=-1;function a(e,t){r=0;const a=Tp(e,t);null!==a?(ngDevMode&&j(a,0,e.cases.length-1),n=e.remove[a]):n=fe}function i(){if(r0){const e=t[o];return ngDevMode&&q(e),e}{e.push(r,n);const s=~o,l=t[1].data[s];return ngDevMode&&Qe(l),a(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&&Ke(n,r),a(n.value,r),i}}function Fp(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let r=0;r>>yp.SHIFT;n.push(`lView[${s}] = document.${i?"createComment":"createText"}(${JSON.stringify(a)});`),o&&n.push(`parent.appendChild(lView[${s}]);`)}return n}function Vp(e){const t=new $p(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(),a=t.consumeNumber();const i=t.i+a,o=[];let s="";for(;t.i0?n.push(`remove(lView[${e}])`):n.push(`removeNestedICU(${~e})`)}return n}class $p{constructor(e){this.i=0,this.codes=e}hasMore(){return this.in.length&&n.push(a)}return{type:r,mainBinding:a,cases:t,values:n}}function cf(e){if(!e)return[];let t=0;const n=[],r=[],a=/[{}]/g;let i;for(a.lastIndex=0;i=a.exec(e);){const a=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,a);Qp.test(n)?r.push(lf(n)):r.push(n),t=a+1}}else{if(0==n.length){const n=e.substring(t,a);r.push(n),t=a+1}n.push("{")}}const o=e.substring(t);return r.push(o),r}function uf(e,t,n,r,a,i,o,s){const l=[],c=[],u=[];ngDevMode&&(_s(l,Up),_s(c,Hp),_s(u,Vp)),t.cases.push(i),t.create.push(l),t.remove.push(c),t.update.push(u);const d=Ya(kt()).getInertBodyElement(o);ngDevMode&&R(d,"Unable to generate inert body element");const h=xi(d)||d;return h?df(e,t,n,r,l,c,u,h,a,s,0):0}function df(e,t,n,r,a,i,o,s,l,c,u){let d=0,h=s.firstChild;for(;h;){const s=rl(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,f=p.tagName.toLowerCase();if(di.hasOwnProperty(f)){ff(a,mp,f,l,s),e.data[s]=f;const m=p.attributes;for(let e=0;e{const i=r||a,o=e[i]||[];if(o.length||(i.split("|").forEach((e=>{const t=e.match(_f),n=t?parseInt(t[1],10):0,r=kf.test(e);o.push([n,r,e])})),e[i]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${i}`);const s=t[t.length-1];let l=0;for(let e=0;et.hasOwnProperty(r)?`${n}${t[r]}${o}`:e)),n=n.replace(vf,((e,n)=>t.hasOwnProperty(n)?t[n]:e)),n=n.replace(wf,((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}function xf(e,t,n=-1){const r=Ut(),a=Vt(),i=Pe+e;ngDevMode&&R(r,"tView should be defined");const o=Nt(r.consts,t),s=Wt();r.firstCreatePass&&Xp(r,null===s?0:s.index,a,i,o,n);const l=r.data[i],c=Ao(r,s===a[6]?null:s,a),u=s&&8&s.type?a[s.index]:null;!function(e,t,n,r){const a=e[11];for(let i=0;i>>yp.SHIFT;let d=e[u];null===d&&(d=e[u]=l?a.createComment(s):_o(a,s)),c&&null!==n&&Oo(a,n,d,r,!1)}}(a,l.create,c,u),an(!0)}function jf(){an(!1)}function Ef(e,t,n){xf(e,t,n),jf()}function Sf(e,t){const n=Ut();ngDevMode&&R(n,"tView should be defined");const r=Nt(n.consts,t);!function(e,t,n){const r=$t().index,a=[];if(ngDevMode&&_s(a,Vp),e.firstCreatePass&&null===e.data[t]){for(let e=0;e0){ngDevMode&&R(e,"tView should be defined");const r=e.data[n];Rp(e,t,Array.isArray(r)?r:r.update,en()-Mp-1,Op)}Op=0,Mp=0}(Ut(),Vt(),e+Pe)}function zf(e,t={}){return Cf(e,t)}function If(e,t,n,r,a){if(e=f(e),Array.isArray(e))for(let i=0;i>20;if(gc(e)||!e.multi){const r=new On(l,a,od),p=Mf(s,t,a?u:u+h,d);-1===p?(Zn(Wn(c,o),i,s),Af(i,e,t.length),t.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Mf(s,t,u+h,d),f=Mf(s,t,u,u+h),m=p>=0&&n[p],g=f>=0&&n[f];if(a&&!g||!a&&!m){Zn(Wn(c,o),i,s);const u=function(e,t,n,r,a){const i=new On(e,n,od);return i.multi=[],i.index=t,i.componentProviders=0,Of(i,a,r&&!n),i}(a?Rf:Nf,n.length,a,r,l);!a&&g&&(n[f].providerFactory=u),Af(i,e,t.length,0),t.push(s),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else{Af(i,e,p>-1?p:f,Of(n[a?f:p],l,!a&&r))}!a&&r&&g&&n[f].componentProviders++}}}function Af(e,t,n,r){const a=gc(t);if(a||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const o=e.destroyHooks||(e.destroyHooks=[]);if(!a&&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 Of(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mf(e,t,n,r){for(let a=n;a{n.providersResolver=(n,r)=>function(e,t,n){const r=Ut();if(r.firstCreatePass){const a=$e(e);If(n,r.data,r.blueprint,a,!0),If(t,r.data,r.blueprint,a,!1)}}(n,r?r(e):e,t)}}class Bf{}class Lf{}function Ff(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t[Vf]=e,t}const Vf="ngComponent";class Uf{}Uf.NULL=new class{resolveComponentFactory(e){throw Ff(e)}};class Hf{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;rnm();const tm=rm,nm=tm;function rm(){const e=Vt(),t=zt($t().index,e);return function(e){const t=e[11];if(ngDevMode&&!Ct(t))throw new Error("Cannot inject Renderer2 when the application uses Renderer3!");return t}(Le(t)?t:e)}class am{}am.ɵprov=F({token:am,providedIn:"root",factory:()=>null});class im{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const om=new im("11.2.14");class sm{constructor(){}supports(e){return eu(e)}create(e){return new cm(e)}}const lm=(e,t)=>t;class cm{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||lm}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,a=null;for(;t||n;){const i=!n||t&&t.currentIndex{r=this._trackByFn(t,e),null!==a&&Object.is(a.trackById,r)?(i&&(a=this._verifyReinsertion(a,e,r,t)),Object.is(a.item,e)||this._addIdentityChange(a,e)):(a=this._mismatch(a,e,r,t),i=!0),a=a._next,t++})),this.length=t;return this._truncate(a),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 a;return null===e?a=this._itTail:(a=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,a,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,r)):e=this._addAfter(new um(t,n),a,r),e}_verifyReinsertion(e,t,n,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?e=this._reinsertAfter(a,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,a=e._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._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 hm),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 hm),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 um{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 dm{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 hm{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new dm,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 pm(e,t,n){const r=e.previousIndex;if(null===r)return r;let a=0;return n&&r{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,a=n._next;return r&&(r._next=a),a&&(a._prev=r),n._next=null,n._prev=null,n}const n=new gm(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 gm{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}}function ym(){return new bm([new sm])}class bm{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new bm(e)}static extend(e){return{provide:bm,useFactory:t=>bm.create(e,t||ym()),deps:[[bm,new ma,new pa]]}}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}}function vm(){return new wm([new fm])}bm.ɵprov=F({token:bm,providedIn:"root",factory:ym});class wm{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new wm(e)}static extend(e){return{provide:wm,useFactory:t=>wm.create(e,t||vm()),deps:[[wm,new ma,new pa]]}}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}'`)}}function km(e,t,n,r,a=!1){for(;null!==n;){ngDevMode&&Nn(n,63);const i=t[n.index];if(null!==i&&r.push(jt(i)),Fe(i))for(let e=Be;e-1&&(ngDevMode&&D(n,e.indexOf(this._lView)-Be,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),Do(e,n),qr(t,n))}this._attachedToViewContainer=!1}To(this._lView[1],this._lView)}onDestroy(e){ml(this._lView[1],this._lView,null,e)}markForCheck(){Bl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Fl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Jt(!0);try{Fl(e,t,n)}finally{Jt(!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,Go(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 Cm extends _m{constructor(e){super(e),this._view=e}detectChanges(){Vl(this._view)}checkNoChanges(){!function(e){Jt(!0);try{Vl(e)}finally{Jt(!1)}}(this._view)}get context(){return null}}const xm=Sm,jm=xm;class Em{}function Sm(e=!1){return function(e,t,n){if(!n&&Ue(e)){const n=zt(e.index,t);return new _m(n,n)}if(47&e.type){const e=t[16];return new _m(e,t)}return null}($t(),Vt(),e)}Em.__NG_ELEMENT_ID__=jm,Em.__ChangeDetectorRef__=!0;const Dm=[new fm],Tm=[new sm],zm=new bm(Tm),Im=new wm(Dm),Am=Pm,Om=Am;class Mm{}Mm.__NG_ELEMENT_ID__=Om;const Nm=Mm,Rm=class extends Nm{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=el(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Je(r),n[17]=r;const a=this._declarationLView[19];return null!==a&&(n[19]=a.createEmbeddedView(t)),al(t,n,e),new _m(n)}};function Pm(){return qm($t(),Vt())}function qm(e,t){return 4&e.type?(ngDevMode&&R(e.tViews,"TView must be allocated"),new Rm(t,e,Gf(e,t))):null}class Bm{}class Lm{}const Fm=Hm,Vm=Fm;class Um{}function Hm(){return Qm($t(),Vt())}Um.__NG_ELEMENT_ID__=Vm;const $m=Um,Km=class extends $m{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Gf(this._hostTNode,this._hostLView)}get injector(){return new cr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Yn(this._hostTNode,this._hostLView);if(Fn(e)){const t=Un(e,this._hostLView),n=Vn(e);ngDevMode&&ot(t,n);const r=t[1].data[n+8];return new cr(r,t)}return new cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Wm(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Be}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,a){const i=n||this.parentInjector;if(!a&&null==e.ngModule&&i){const e=i.get(Bm,null);e&&(a=e)}const o=e.create(i,r,void 0,a);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(Fe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3];ngDevMode&&D(Fe(t),!0,"An attached view should have its PARENT point to a container.");const r=new Km(t,t[6],t[3]);r.detach(r.indexOf(e))}}const a=this._adjustIndex(t),i=this._lContainer;Eo(r,n,i,a);const o=$o(a,i),s=n[11],l=Ro(s,i[7]);return null!==l&&function(e,t,n,r,a,i){r[0]=a,r[6]=t,Go(e,r,n,1,a,i)}(r,i[6],s,n,l,o),e.attachToViewContainerRef(),Pr(Gm(i),a,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=Wm(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=Do(this._lContainer,t);n&&(qr(Gm(this._lContainer),t),To(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=Do(this._lContainer,t);return n&&null!=qr(Gm(this._lContainer),t)?new _m(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(M(e,-1,`ViewRef index must be positive, got ${e}`),A(e,this.length+1+t,"index")),e)}};function Wm(e){return e[8]}function Gm(e){return e[8]||(e[8]=[])}function Qm(e,t){let n;ngDevMode&&Nn(e,15);const r=t[e.index];if(Fe(r))n=r;else{let a;if(8&e.type)a=jt(r);else{const n=t[11];ngDevMode&&ngDevMode.rendererCreateComment++,a=n.createComment(ngDevMode?"container":"");const r=St(e,t);Oo(n,Ro(n,r),a,function(e,t){return Ct(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=Ml(r,t,a,e),ql(t,n)}return new Km(n,e,t)}function Ym(e,t,n,r){let a=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(a+=" 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 Zm(n,t),n}(a,e)}function Zm(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Jm(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Xm(e,t,n){const r=e.state,a=1792&r;return a===t?(e.state=-1793&r|n,e.initIndex=-1,!0):a===n}function eg(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function tg(e,t){return e.nodes[t]}function ng(e,t){return e.nodes[t]}function rg(e,t){return e.nodes[t]}function ag(e,t){return e.nodes[t]}function ig(e,t){return e.nodes[t]}class og{}const sg={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},lg=()=>{},cg=new Map;function ug(e){let t=cg.get(e);return t||(t=u(e)+"_"+cg.size,cg.set(e,t)),t}function dg(e,t,n,r){if(Xc.isWrapped(r)){r=Xc.unwrap(r);const a=e.def.nodes[t].bindingIndex+n,i=Xc.unwrap(e.oldValues[a]);e.oldValues[a]=new Xc(i)}return r}const hg="$$undefined",pg="$$empty";function fg(e){return{id:hg,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let mg=0;function gg(e,t,n,r){const a=e.oldValues;return!(!(2&e.state)&&Object.is(a[t.bindingIndex+n],r))}function yg(e,t,n,r){return!!gg(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function bg(e,t,n,r){const a=e.oldValues[t.bindingIndex+n];if(1&e.state||!Jc(a,r)){const i=t.bindings[n].name;throw Ym(sg.createDebugContext(e,t.nodeIndex),`${i}: ${a}`,`${i}: ${r}`,0!=(1&e.state))}}function vg(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function wg(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function kg(e,t,n,r){try{const a=e.def.nodes[t];return vg(33554432&a.flags?ng(e,t).componentView:e),sg.handleEvent(e,t,n,r)}catch(a){e.root.errorHandler.handleError(a)}}function _g(e){if(e.parent){return ng(e.parent,e.parentNodeDef.nodeIndex)}return null}function Cg(e){return e.parent?e.parentNodeDef.parent:null}function xg(e,t){switch(201347067&t.flags){case 1:return ng(e,t.nodeIndex).renderElement;case 2:return tg(e,t.nodeIndex).renderText}}function jg(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Eg(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Sg(e){return 1<{"number"==typeof e?(t[e]=a,n|=Sg(e)):r[e]=a})),{matchedQueries:t,references:r,matchedQueryIds:n}}function Tg(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,Xr,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:ug(n)}}))}function zg(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===ie.ShadowDom||1===r.element.componentRendererType.encapsulation)?ng(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Ig=new WeakMap;function Ag(e){let t=Ig.get(e);return t||(t=e((()=>lg)),t.factory=e,Ig.set(e,t)),t}function Og(e,t,n,r,a){3===t&&(n=e.renderer.parentNode(xg(e,e.def.lastRenderRootNode))),Mg(e,t,0,e.def.nodes.length-1,n,r,a)}function Mg(e,t,n,r,a,i,o){for(let s=n;s<=r;s++){const n=e.def.nodes[s];11&n.flags&&Rg(e,n,t,a,i,o),s+=n.childCount}}function Ng(e,t,n,r,a,i){let o=e;for(;o&&!jg(o);)o=o.parent;const s=o.parent,l=Cg(o),c=l.nodeIndex+1,u=l.nodeIndex+l.childCount;for(let d=c;d<=u;d++){const e=s.def.nodes[d];e.ngContentIndex===t&&Rg(s,e,n,r,a,i),d+=e.childCount}if(!s.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;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]=Kg,e._providers[n]=Xg(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{na(r)}}function Xg(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(Jg(e,n[0]));case 2:return new t(Jg(e,n[0]),Jg(e,n[1]));case 3:return new t(Jg(e,n[0]),Jg(e,n[1]),Jg(e,n[2]));default:const a=[];for(let t=0;t0?a[n-1]:null,r)}function ty(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,qr(n,t),sg.dirtyParentQueries(r),ry(r),r}function ny(e,t,n){const r=t?xg(t,t.def.lastRenderRootNode):e.renderElement,a=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Og(n,2,a,i,void 0)}function ry(e){Og(e,3,null,null,void 0)}const ay={};function iy(e,t,n,r,a,i){return new sy(e,t,n,r,a,i)}function oy(e){return e.viewDefFactory}class sy extends Lf{constructor(e,t,n,r,a,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=a,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 a=Ag(this.viewDefFactory),i=a.nodes[0].element.componentProvider.nodeIndex,o=sg.createRootView(e,t||[],n,a,r,ay),s=rg(o,i).instance;return n&&o.renderer.setAttribute(ng(o,0).renderElement,"ng-version",om.full),new ly(o,new hy(o),s)}}class ly extends Bf{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 Zf(ng(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new gy(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function cy(e,t,n){return new uy(e,t,n)}class uy{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Zf(this._data.renderElement)}get injector(){return new gy(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Cg(e),e=e.parent;return e?new gy(e,t):new gy(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=ty(this._data,e);sg.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new hy(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,a){const i=n||this.parentInjector;a||e instanceof $f||(a=i.get(Bm));const o=e.create(i,r,void 0,a);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 ey(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,a=r[t];qr(r,t),null==n&&(n=r.length),Pr(r,n,a),sg.dirtyParentQueries(a),ry(a),ny(e,n>0?r[n-1]:null,a)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=ty(this._data,e);t&&sg.destroyView(t)}detach(e){const t=ty(this._data,e);return t?new hy(t):null}}function dy(e){return new hy(e)}class hy{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Og(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){vg(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{sg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){sg.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)),sg.destroyView(this._view)}detachFromAppRef(){this._appRef=null,ry(this._view),sg.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 py(e,t){return new fy(e,t)}class fy extends Mm{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new hy(sg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Zf(ng(this._parentView,this._def.nodeIndex).renderElement)}}function my(e,t){return new gy(e,t)}class gy{constructor(e,t){this.view=e,this.elDef=t}get(e,t=vc.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return sg.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:ug(e)},t)}}function yy(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=ng(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return tg(e,n.nodeIndex).renderText;if(20240&n.flags)return rg(e,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${t}`)}function by(e,t,n,r){return new vy(e,t,n,r)}class vy{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=Br(t.providers.length);for(let r=0;re()))}onDestroy(e){this._destroyListeners.push(e)}}const wy=ug(em),ky=ug(Zf),_y=ug(Um),Cy=ug(Mm),xy=ug(Em),jy=ug(vc),Ey=ug(tc);function Sy(e,t,n,r,a,i,o,s){const l=[];if(o)for(let u in o){const[e,t]=o[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(s)for(let u in s)c.push({type:1,propName:u,target:null,eventName:s[u]});return zy(e,t|=16384,n,r,a,a,i,l,c)}function Dy(e,t,n){return zy(-1,e|=16,null,0,t,t,n)}function Ty(e,t,n,r,a){return zy(-1,e,t,0,n,r,a)}function zy(e,t,n,r,a,i,o,s,l){const{matchedQueries:c,references:d,matchedQueryIds:h}=Dg(n);l||(l=[]),s||(s=[]),i=f(i);const p=Tg(o,u(a));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:d,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Lg(s),outputs:l,element:null,provider:{token:a,value:i,deps:p},text:null,query:null,ngContent:null}}function Iy(e,t){return Ny(e,t)}function Ay(e,t){let n=e;for(;n.parent&&!jg(n);)n=n.parent;return Ry(n.parent,Cg(n),!0,t.provider.value,t.provider.deps)}function Oy(e,t){const n=(32768&t.flags)>0,r=Ry(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let a=0;akg(e,t,n,r)}function Ny(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Ry(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,a){const i=a.length;switch(i){case 0:return r();case 1:return r(qy(e,t,n,a[0]));case 2:return r(qy(e,t,n,a[0]),qy(e,t,n,a[1]));case 3:return r(qy(e,t,n,a[0]),qy(e,t,n,a[1]),qy(e,t,n,a[2]));default:const o=[];for(let r=0;rro});class Wy extends Lf{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cs).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return $y(this.componentDef.inputs)}get outputs(){return $y(this.componentDef.outputs)}create(e,t,n,r){const a=(r=r||this.ngModule)?function(e,t){return{get:(n,r,a)=>{const i=e.get(n,Py,a);return i!==Py||r===Py?i:t.get(n,r,a)}}}(e,r.injector):e,i=a.get(Xf,xt),o=a.get(am,null),s=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?fl(s,n,this.componentDef.encapsulation):jo(i.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?yt:"math"===t?bt:null}(l)),u=this.componentDef.onPush?576:528,d=qc(),h=hl(0,null,null,1,0,null,null,null,null,null),p=el(null,h,d,u,null,null,i,s,o,a);let f,m;pn(p);try{const e=Rc(c,this.componentDef,p,i,s);if(c)if(n)Rn(s,c,["ng-version",om.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,a=2;for(;r0&&Zo(s,c,t.join(" "))}if(m=Dt(h,Pe),void 0!==t){const e=m.projection=[];for(let n=0;n{const a=e;null!==t&&(a.hasOwnProperty("decorators")&&void 0!==a.decorators?a.decorators.push(...t):a.decorators=t),null!==n&&(a.ctorParameters=n),null!==r&&(a.hasOwnProperty("propDecorators")&&void 0!==a.propDecorators?a.propDecorators=Object.assign(Object.assign({},a.propDecorators),r):a.propDecorators=r)}))}const Yy=new Map;function Zy(e,t){const n=Yy.get(e);Jy(e,n&&n.moduleType,t.moduleType),Yy.set(e,t)}function Jy(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}function Xy(e){const t=new Set;!function e(n){const r=Re(n,!0),a=r.id;if(null!==a){const e=Yy.get(a);Jy(a,e,n),Yy.set(a,n)}const i=lo(r.imports);for(const o of i)t.has(o)||(t.add(o),e(o))}(e)}function eb(e){return Yy.get(e)||Se[e]}class tb extends Bm{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Hy(this);const n=Re(e);ngDevMode&&R(n,`NgModule '${u(e)}' is not a subtype of 'NgModuleType'.`);const r=e[ve]||null;r&&vp(r),this._bootstrapComponents=lo(n.bootstrap),this._r3Injector=uc(e,t,[{provide:Bm,useValue:this},{provide:Uf,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=vc.THROW_IF_NOT_FOUND,n=Z.Default){return e===vc||e===Bm||e===tc?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 nb extends Lm{constructor(e){super(),this.moduleType=e;null!==Re(e)&&Xy(e)}create(e){return new tb(this.moduleType,e)}}function rb(e,t,n){const r=Xt()+e,a=Vt();return a[r]===us?nu(a,r,n?t.call(n):t()):ru(a,r)}function ab(e,t,n,r){return fb(Vt(),Xt(),e,t,n,r)}function ib(e,t,n,r,a){return mb(Vt(),Xt(),e,t,n,r,a)}function ob(e,t,n,r,a,i){return gb(Vt(),Xt(),e,t,n,r,a,i)}function sb(e,t,n,r,a,i,o){return yb(Vt(),Xt(),e,t,n,r,a,i,o)}function lb(e,t,n,r,a,i,o,s){const l=Xt()+e,c=Vt(),u=su(c,l,n,r,a,i);return au(c,l+4,o)||u?nu(c,l+5,s?t.call(s,n,r,a,i,o):t(n,r,a,i,o)):ru(c,l+5)}function cb(e,t,n,r,a,i,o,s,l){const c=Xt()+e,u=Vt(),d=su(u,c,n,r,a,i);return iu(u,c+4,o,s)||d?nu(u,c+6,l?t.call(l,n,r,a,i,o,s):t(n,r,a,i,o,s)):ru(u,c+6)}function ub(e,t,n,r,a,i,o,s,l,c){const u=Xt()+e,d=Vt();let h=su(d,u,n,r,a,i);return ou(d,u+4,o,s,l)||h?nu(d,u+7,c?t.call(c,n,r,a,i,o,s,l):t(n,r,a,i,o,s,l)):ru(d,u+7)}function db(e,t,n,r,a,i,o,s,l,c,u){const d=Xt()+e,h=Vt(),p=su(h,d,n,r,a,i);return su(h,d+4,o,s,l,c)||p?nu(h,d+8,u?t.call(u,n,r,a,i,o,s,l,c):t(n,r,a,i,o,s,l,c)):ru(h,d+8)}function hb(e,t,n,r){return bb(Vt(),Xt(),e,t,n,r)}function pb(e,t){ngDevMode&&B(e,t);const n=e[t];return n===us?void 0:n}function fb(e,t,n,r,a,i){const o=t+n;return au(e,o,a)?nu(e,o+1,i?r.call(i,a):r(a)):pb(e,o+1)}function mb(e,t,n,r,a,i,o){const s=t+n;return iu(e,s,a,i)?nu(e,s+2,o?r.call(o,a,i):r(a,i)):pb(e,s+2)}function gb(e,t,n,r,a,i,o,s){const l=t+n;return ou(e,l,a,i,o)?nu(e,l+3,s?r.call(s,a,i,o):r(a,i,o)):pb(e,l+3)}function yb(e,t,n,r,a,i,o,s,l){const c=t+n;return su(e,c,a,i,o,s)?nu(e,c+4,l?r.call(l,a,i,o,s):r(a,i,o,s)):pb(e,c+4)}function bb(e,t,n,r,a,i){let o=t+n,s=!1;for(let l=0;l=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[a]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(a,r.onDestroy)):r=n.data[a];const i=r.factory||(r.factory=st(r.type,!0)),o=ee(od);try{const e=$n(!1),t=i();return $n(e),Du(n,Vt(),a,t),t}finally{ee(o)}}function wb(e,t,n){const r=e+Pe,a=Vt(),i=Tt(a,r);return Eb(a,jb(a,r)?fb(a,Xt(),t,i.transform,n,i):i.transform(n))}function kb(e,t,n,r){const a=e+Pe,i=Vt(),o=Tt(i,a);return Eb(i,jb(i,a)?mb(i,Xt(),t,o.transform,n,r,o):o.transform(n,r))}function _b(e,t,n,r,a){const i=e+Pe,o=Vt(),s=Tt(o,i);return Eb(o,jb(o,i)?gb(o,Xt(),t,s.transform,n,r,a,s):s.transform(n,r,a))}function Cb(e,t,n,r,a,i){const o=e+Pe,s=Vt(),l=Tt(s,o);return Eb(s,jb(s,o)?yb(s,Xt(),t,l.transform,n,r,a,i,l):l.transform(n,r,a,i))}function xb(e,t,n){const r=e+Pe,a=Vt(),i=Tt(a,r);return Eb(a,jb(a,r)?bb(a,Xt(),t,i.transform,n,i):i.transform.apply(i,n))}function jb(e,t){return e[1].data[t].pure}function Eb(e,t){if(Xc.isWrapped(t)){t=Xc.unwrap(t);e[en()]=us}return t}class Sb extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,i,o;let s=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;s=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=Db(l),s&&(s=Db(s)),c&&(c=Db(c)));const u=super.subscribe({next:s,error:l,complete:c});return e instanceof a.a&&e.add(u),u}}function Db(e){return t=>{setTimeout(e,void 0,t)}}const Tb=Sb;function zb(){return this._results[Zc()]()}class Ib{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=Zc(),n=Ib.prototype;n[t]||(n[t]=zb)}get changes(){return this._changes||(this._changes=new Tb)}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=Nr(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r0)r.push(o[e/2]);else{const a=i[e+1],o=t[-n];ngDevMode&&Je(o);for(let e=Be;e=0;e--){const{moduleType:t,ngModule:n}=ev[e];n.declarations&&n.declarations.every(rv)&&(ev.splice(e,1),pv(t,n))}}finally{tv=!1}}}function rv(e){return Array.isArray(e)?e.every(rv):!!f(e)}function av(e,t={}){iv(e,t),function(e,t){ev.push({moduleType:e,ngModule:t})}(e,t)}function iv(e,t,n=!1){ngDevMode&&R(e,"Required value moduleType"),ngDevMode&&R(t,"Required value ngModule");const r=Nr(t.declarations||Xb);let a=null;Object.defineProperty(e,be,{configurable:!0,get:()=>{if(null===a){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${w(e)}' module can't import itself`);a=Ar().compileNgModule(Yb,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:Nr(t.bootstrap||Xb).map(f),declarations:r.map(f),imports:Nr(t.imports||Xb).map(f).map(gv),exports:Nr(t.exports||Xb).map(f).map(gv),schemas:t.schemas?Nr(t.schemas):null,id:t.id||null}),a.schemas||(a.schemas=[])}return a}});let i=null;Object.defineProperty(e,we,{get:()=>{if(null===i){const t=Ar();i=t.compileFactory(Yb,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:va(e),injectFn:"inject",target:t.R3FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});let o=null;Object.defineProperty(e,G,{get:()=>{if(null===o){ngDevMode&&ov(e,n);const r={name:e.name,type:e,providers:t.providers||Xb,imports:[(t.imports||Xb).map(f),(t.exports||Xb).map(f)]};o=Ar().compileInjector(Yb,`ng:///${e.name}/ɵinj.js`,r)}return o},configurable:!!ngDevMode})}function ov(e,t,n){if(uv.get(e))return;let r;if(uv.set(e,!0),e=f(e),n){if(r=Re(e),!r)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=Re(e,!0);const a=[],i=lo(r.declarations),o=lo(r.imports);Nr(o).map(sv).forEach((t=>{d(t,e),ov(t,!1,e)}));const s=lo(r.exports);i.forEach((function(t){t=f(t);Oe(t)||Me(t)||Ne(t)||a.push(`Unexpected value '${w(t)}' declared by the module '${w(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),i.forEach((function(e){const t=Me(e=f(e));!Oe(e)&&t&&0==t.selectors.length&&a.push(`Directive ${w(e)} has no selector, please add it!`)}));const l=[...i.map(f),...Nr(o.map(hv)).map(f)];s.forEach((function(t){const n=(Oe(t=f(t))?"component":Me(t)&&"directive")||Ne(t)&&"pipe";n&&-1===l.lastIndexOf(t)&&a.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=cv.get(t);if(r&&r!==e){if(!n){const n=[r,e].map(w).sort();a.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 cv.set(t,e)}(n,t))),i.forEach((function(e){if(Oe(e=f(e))){const t=lv(e,"Component");t&&t.entryComponents&&Rr(t.entryComponents,u)}}));const c=lv(e,"NgModule");if(c&&(c.imports&&Nr(c.imports).map(sv).forEach((t=>{d(t,e),ov(t,!1,e)})),c.bootstrap&&Rr(c.bootstrap,(function(e){Oe(e=f(e))||a.push(`${w(e)} cannot be used as an entry component.`)})),c.bootstrap&&Rr(c.bootstrap,u),c.entryComponents&&Rr(c.entryComponents,u)),a.length)throw new Error(a.join("\n"));function u(e){e=f(e);cv.get(e)||a.push(`Component ${w(e)} is not part of any NgModule or the module has not been imported into your module.`)}function d(e,t){if(Oe(e=f(e))||Me(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 sv(e){return(e=f(e)).ngModule||e}function lv(e,t){let n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(a)}function a(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 cv=new WeakMap,uv=new WeakMap;function dv(){cv=new WeakMap,uv=new WeakMap,ev.length=0}function hv(e){return[...Nr(lo(Re(e=f(e),!0).exports).map((e=>Re(e)?(ov(e,!1),hv(e)):e)))]}function pv(e,t){const n=Nr(t.declarations||Xb),r=mv(e);n.forEach((t=>{if(t.hasOwnProperty(me)){fv(Oe(t),r)}else t.hasOwnProperty(ge)||t.hasOwnProperty(ye)||(t.ngSelectorScope=e)}))}function fv(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map((e=>e.hasOwnProperty(me)?Oe(e):Me(e))).filter((e=>!!e)),e.pipeDefs=()=>Array.from(t.compilation.pipes).map((e=>Ne(e))),e.schemas=t.schemas,e.tView=null}function mv(e){if(!yv(e))throw new Error(`${e.name} does not have a module def (ɵmod property)`);const t=Re(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 lo(t.imports).forEach((e=>{const t=e;if(!yv(t))throw new Error(`Importing ${t.name} which does not have a ɵmod property`);const r=mv(t);r.exported.directives.forEach((e=>n.compilation.directives.add(e))),r.exported.pipes.forEach((e=>n.compilation.pipes.add(e)))})),lo(t.declarations).forEach((e=>{Ne(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)})),lo(t.exports).forEach((e=>{const t=e;if(yv(t)){const e=mv(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 gv(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function yv(e){return!!Re(e)}let bv=0;function vv(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&de();let n=null;!function(e,t){xa(t)&&(_a.set(e,t),Ca.add(e))}(e,t),_v(e,t),Object.defineProperty(e,me,{get:()=>{if(null===n){const r=Ar();if(xa(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 a=Zb;let i=t.preserveWhitespaces;void 0===i&&(i=null!==a&&void 0!==a.preserveWhitespaces&&a.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==a&&void 0!==a.defaultEncapsulation?a.defaultEncapsulation:ie.Emulated);const s=t.templateUrl||`ng:///${e.name}/template.html`,l=Object.assign(Object.assign({},xv(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,s),template:t.template||"",preserveWhitespaces:i,styles:t.styles||fe,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});bv++;try{l.usesInheritance&&jv(e),n=r.compileComponent(Yb,s,l)}finally{bv--}if(0===bv&&nv(),void 0!==e.ngSelectorScope){const t=mv(e.ngSelectorScope);fv(n,t)}}return n},configurable:!!ngDevMode})}function wv(e,t){let n=null;_v(e,t||{}),Object.defineProperty(e,ge,{get:()=>{if(null===n){const r=kv(e,t||{});n=Ar().compileDirective(Yb,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function kv(e,t){const n=e&&e.name,r=`ng:///${n}/ɵdir.js`,a=Ar(),i=xv(e,t);return i.typeSourceSpan=a.createParseSourceSpan("Directive",n,r),i.usesInheritance&&jv(e),{metadata:i,sourceMapUrl:r}}function _v(e,t){let n=null;Object.defineProperty(e,we,{get:()=>{if(null===n){const r=kv(e,t),a=Ar();n=a.compileFactory(Yb,`ng:///${e.name}/ɵfac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:a.R3FactoryTarget.Directive}))}return n},configurable:!!ngDevMode})}function Cv(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function xv(e,t){const n=ba(),r=n.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:va(e),host:t.host||he,propMetadata:r,inputs:t.inputs||fe,outputs:t.outputs||fe,queries:Sv(e,r,Dv),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Cv(e),exportAs:(a=t.exportAs,void 0===a?null:Iv(a)),providers:t.providers||null,viewQueries:Sv(e,r,Tv)};var a}function jv(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Me(n)||Oe(n)||!Ov(n)||wv(n,null),n=Object.getPrototypeOf(n)}function Ev(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Iv(n):f(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function Sv(e,t,n){const r=[];for(const a in t)if(t.hasOwnProperty(a)){const i=t[a];i.forEach((t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${a}" of "${w(e)}" since the query selector wasn't defined.`);if(i.some(zv))throw new Error("Cannot combine @Input decorators with query decorators");r.push(Ev(a,t))}}))}return r}function Dv(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Tv(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function zv(e){return"Input"===e.ngMetadataName}function Iv(e){return e.split(",").map((e=>e.trim()))}const Av=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Ov(e){const t=ba();if(Av.some((n=>t.hasLifecycleHook(e,n))))return!0;const n=t.propMetadata(e);for(const r in n){const e=n[r];for(let t=0;t{if(null===r){const n=Nv(e,t),a=Ar();r=a.compileFactory(Yb,`ng:///${n.name}/ɵfac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:a.R3FactoryTarget.Pipe}))}return r},configurable:!!ngDevMode}),Object.defineProperty(e,ye,{get:()=>{if(null===n){const r=Nv(e,t);n=Ar().compilePipe(Yb,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!!ngDevMode})}function Nv(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:va(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}const Rv=gr("Directive",((e={})=>e),void 0,void 0,((e,t)=>Wv(e,t))),Pv=gr("Component",((e={})=>Object.assign({changeDetection:re.Default},e)),Rv,void 0,((e,t)=>Kv(e,t))),qv=gr("Pipe",(e=>Object.assign({pure:!0},e)),void 0,void 0,((e,t)=>Gv(e,t))),Bv=vr("Input",(e=>({bindingPropertyName:e}))),Lv=vr("Output",(e=>({bindingPropertyName:e}))),Fv=vr("HostBinding",(e=>({hostPropertyName:e}))),Vv=vr("HostListener",((e,t)=>({eventName:e,args:t}))),Uv=vv,Hv=wv,$v=Mv,Kv=Uv,Wv=Hv,Gv=$v,Qv=gr("NgModule",(e=>e),void 0,void 0,((e,t)=>Zv(e,t)));const Yv=av,Zv=Yv,Jv=new _r("Application Initializer");class Xv{constructor(e){this.appInits=e,this.resolve=Kf,this.reject=Kf,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()})).catch((e=>{this.reject(e)})),0===e.length&&t(),this.initialized=!0}}Xv.ɵfac=function(e){return new(e||Xv)(aa(Jv,8))},Xv.ɵprov=F({token:Xv,factory:Xv.ɵfac}),Xv.ctorParameters=()=>[{type:Array,decorators:[{type:ha,args:[Jv]},{type:pa}]}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(Xv,[{type:Nu}],(function(){return[{type:Array,decorators:[{type:ha,args:[Jv]},{type:pa}]}]}),null);const ew=new _r("AppId");function tw(){return`${rw()}${rw()}${rw()}`}const nw={provide:ew,useFactory:tw,deps:[]};function rw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const aw=new _r("Platform Initializer"),iw=new _r("Platform ID"),ow=new _r("appBootstrapListener"),sw=new _r("Application Packages Root URL");class lw{log(e){console.log(e)}warn(e){console.warn(e)}}lw.ɵfac=function(e){return new(e||lw)},lw.ɵprov=F({token:lw,factory:lw.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&Qy(lw,[{type:Nu}],null,null);const cw=new _r("LocaleId"),uw=new _r("DefaultCurrencyCode"),dw=new _r("Translations"),hw=new _r("TranslationsFormat");var pw;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(pw||(pw={}));const fw=!0,mw=fw;class gw{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const yw=function(e){return new nb(e)},bw=yw,vw=function(e){return Promise.resolve(yw(e))},ww=vw,kw=function(e){const t=yw(e),n=lo(Re(e).declarations).reduce(((e,t)=>{const n=Oe(t);return n&&e.push(new Wy(n)),e}),[]);return new gw(t,n)},_w=kw,Cw=function(e){return Promise.resolve(kw(e))},xw=Cw;class jw{constructor(){this.compileModuleSync=bw,this.compileModuleAsync=ww,this.compileModuleAndAllComponentsSync=_w,this.compileModuleAndAllComponentsAsync=xw}clearCache(){}clearCacheFor(e){}getModuleId(e){}}jw.ɵfac=function(e){return new(e||jw)},jw.ɵprov=F({token:jw,factory:jw.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&Qy(jw,[{type:Nu}],(function(){return[]}),null);const Ew=new _r("compilerOptions");class Sw{}const Dw=Promise.resolve(0);function Tw(e){"undefined"==typeof Zone?Dw.then((()=>{e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zw{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Tb(!1),this.onMicrotaskEmpty=new Tb(!1),this.onStable=new Tb(!1),this.onError=new Tb(!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=ue.requestAnimationFrame,t=ue.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(-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ue,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Ow(e),Aw(e)}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Ow(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,a,i,o,s)=>{try{return Mw(e),n.invokeTask(a,i,o,s)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Nw(e)}},onInvoke:(n,r,a,i,o,s,l)=>{try{return Mw(e),n.invoke(a,i,o,s,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Nw(e)}},onHasTask:(t,n,r,a)=>{t.hasTask(r,a),n===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Ow(e),Aw(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,n,r,a)=>(t.handleError(r,a),e.runOutsideAngular((()=>e.onError.emit(a))),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zw.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zw.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 a=this._inner,i=a.scheduleEventTask("NgZoneEvent: "+r,e,Iw,Kf,Kf);try{return a.runTask(i,t,n)}finally{a.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Iw={};function Aw(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 Ow(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nw(e){e._nesting--,Aw(e)}class Rw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Tb,this.onMicrotaskEmpty=new Tb,this.onStable=new Tb,this.onError=new Tb}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)}}class Pw{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:()=>{zw.assertNotInAngularZone(),Tw((()=>{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())Tw((()=>{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/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}Pw.ɵfac=function(e){return new(e||Pw)(aa(zw))},Pw.ɵprov=F({token:Pw,factory:Pw.ɵfac}),Pw.ctorParameters=()=>[{type:zw}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(Pw,[{type:Nu}],(function(){return[{type:zw}]}),null);class qw{constructor(){this._applications=new Map,Fw.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 Fw.findTestabilityInTree(this,e,t)}}qw.ɵfac=function(e){return new(e||qw)},qw.ɵprov=F({token:qw,factory:qw.ɵfac}),qw.ctorParameters=()=>[],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(qw,[{type:Nu}],(function(){return[]}),null);function Bw(e){Fw=e}let Lw,Fw=new class{addToWindow(e){}findTestabilityInTree(e,t,n){return null}},Vw=!0,Uw=!1;function Hw(){return Uw=!0,Vw}function $w(){if(Uw)throw new Error("Cannot enable prod mode after platform setup.");(void 0===typeof ngDevMode||ngDevMode)&&(ue.ngDevMode=!1),Vw=!1}let Kw=Ww;function Ww(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){Re(e)||P(t)}(n);const r=new nb(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const a=e.get(Ew,[]).concat(t);if(function(e){if(null!==Zb){if(e.defaultEncapsulation!==Zb.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==Zb.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}Zb=e}({defaultEncapsulation:lk(a.map((e=>e.defaultEncapsulation))),preserveWhitespaces:lk(a.map((e=>e.preserveWhitespaces)))}),0===_a.size)return Promise.resolve(r);const i=function(e){const t=[];return e.forEach((e=>e&&t.push(...e))),t}(a.map((e=>e.providers)));if(0===i.length)return Promise.resolve(r);const o=Ar(),s=vc.create({providers:i}).get(o.ResourceLoader);return ka((e=>Promise.resolve(s.get(e)))).then((()=>r))}let Gw=function(){ngDevMode&&Oc()},Qw=Yw;function Yw(e){return e.isBoundToModule}const Zw=new _r("AllowMultipleToken");class Jw{constructor(e,t){this.name=e,this.token=t}}function Xw(e){if(Lw&&!Lw.destroyed&&!Lw.injector.get(Zw,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Gw(),Lw=e.get(ak);const t=e.get(aw,null);return t&&t.forEach((e=>e())),Lw}function ek(e,t,n=[]){const r=`Platform: ${t}`,a=new _r(r);return(t=[])=>{let i=rk();if(!i||i.injector.get(Zw,!1))if(e)e(n.concat(t).concat({provide:a,useValue:!0}));else{const e=n.concat(t).concat({provide:a,useValue:!0},{provide:rc,useValue:"platform"});Xw(vc.create({providers:e,name:r}))}return tk(a)}}function tk(e){const t=rk();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 nk(){Lw&&!Lw.destroyed&&Lw.destroy()}function rk(){return Lw&&!Lw.destroyed?Lw:null}class ak{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 Rw:("zone.js"===e?void 0:e)||new zw({enableLongStackTrace:Hw(),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:zw,useValue:n}];return n.run((()=>{const t=vc.create({providers:r,parent:this.injector,name:e.moduleType.name}),a=e.create(t),i=a.injector.get(Bi,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)}});a.onDestroy((()=>{sk(this._modules,a),e.unsubscribe()}))})),function(e,t,n){try{const r=n();return bd(r)?r.catch((n=>{throw t.runOutsideAngular((()=>e.handleError(n))),n})):r}catch(r){throw t.runOutsideAngular((()=>e.handleError(r))),r}}(i,n,(()=>{const e=a.injector.get(Xv);return e.runInitializers(),e.donePromise.then((()=>{if(mw){vp(a.injector.get(cw,pp)||pp)}return this._moduleDoBootstrap(a),a}))}))}))}bootstrapModule(e,t=[]){const n=ik({},t);return Kw(this.injector,n,e).then((e=>this.bootstrapModuleFactory(e,n)))}_moduleDoBootstrap(e){const t=e.injector.get(ok);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 ik(e,t){return e=Array.isArray(t)?t.reduce(ik,e):Object.assign(Object.assign({},e),t)}ak.ɵfac=function(e){return new(e||ak)(aa(vc))},ak.ɵprov=F({token:ak,factory:ak.ɵfac}),ak.ctorParameters=()=>[{type:vc}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(ak,[{type:Nu}],(function(){return[{type:vc}]}),null);class ok{constructor(e,t,n,r,a){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=a,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((()=>{zw.assertNotInAngularZone(),Tw((()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))}))}))}));const n=this._zone.onUnstable.subscribe((()=>{zw.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(s.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 Lf?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Qw(n)?void 0:this._injector.get(Bm),a=t||n.selector,i=n.create(vc.NULL,[],a,r),o=i.location.nativeElement,s=i.injector.get(Pw,null),l=s&&i.injector.get(qw);if(s&&l&&l.registerApplication(o,s),i.onDestroy((()=>{this.detachView(i.hostView),sk(this.components,i),l&&l.unregisterApplication(o)})),this._loadComponent(i),("undefined"==typeof ngDevMode||ngDevMode)&&Hw()){this._injector.get(lw).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)&&Hw())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;sk(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);this._injector.get(ow,[]).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 sk(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function lk(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}ok.ɵfac=function(e){return new(e||ok)(aa(zw),aa(vc),aa(Bi),aa(Uf),aa(Xv))},ok.ɵprov=F({token:ok,factory:ok.ɵfac}),ok.ctorParameters=()=>[{type:zw},{type:vc},{type:Bi},{type:Uf},{type:Xv}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(ok,[{type:Nu}],(function(){return[{type:zw},{type:vc},{type:Bi},{type:Uf},{type:Xv}]}),null);class ck{}function uk(e){const t=eb(e);if(!t)throw pk(e);return t}function dk(e){const t=eb(e);if(!t)throw pk(e);return new nb(t)}const hk=dk;function pk(e){return new Error(`No module with ID ${e} loaded`)}class fk{}const mk={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class gk{constructor(e,t){this._compiler=e,this._config=t||mk}load(e){return!mw&&this._compiler instanceof jw?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n(487)(t).then((e=>e[r])).then((e=>yk(e,t,r))).then((e=>this._compiler.compileModuleAsync(e)))}loadFactory(e){let[t,r]=e.split("#"),a="NgFactory";return void 0===r&&(r="default",a=""),n(487)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then((e=>e[r+a])).then((e=>yk(e,t,r)))}}function yk(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}gk.ɵfac=function(e){return new(e||gk)(aa(jw),aa(fk,8))},gk.ɵprov=F({token:gk,factory:gk.ɵfac}),gk.ctorParameters=()=>[{type:jw},{type:fk,decorators:[{type:pa}]}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(gk,[{type:Nu}],(function(){return[{type:jw},{type:fk,decorators:[{type:pa}]}]}),null);class bk extends Em{}class vk extends bk{}class wk{constructor(e,t){this.name=e,this.callback=t}}class kk{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof _k&&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 _k extends kk{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 xk(this,e,t),t}queryAllNodes(e){const t=[];return jk(this,e,t),t}get children(){return this.childNodes.filter((e=>e instanceof _k))}triggerEventHandler(e,t){this.listeners.forEach((n=>{n.name==e&&n.callback(t)}))}}function Ck(e){return e.map((e=>e.nativeElement))}function xk(e,t,n){e.childNodes.forEach((e=>{e instanceof _k&&(t(e)&&n.push(e),xk(e,t,n))}))}function jk(e,t,n){e instanceof _k&&e.childNodes.forEach((e=>{t(e)&&n.push(e),e instanceof _k&&jk(e,t,n)}))}class Ek{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new Sk(e):null}get injector(){return xc(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(wc(e)||_c(e))}get context(){return wc(this.nativeNode)||kc(this.nativeNode)}get listeners(){return Dc(this.nativeNode).filter((e=>"dom"===e.type))}get references(){return function(e){const t=Ec(e,!1);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 a=0;a1){let r=o[1];for(let e=1;ee[t]=!0)),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n{if(a.name===e){const e=a.callback;e.call(n,t),r.push(e)}})),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach((e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const a=e("__ngUnwrap__");return-1===r.indexOf(a)&&a.call(n,t)}}))}}function Dk(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Tk(e,t,n,r){const a=Ec(e.nativeNode,!1);if(null!==a){zk(a.lView[1].data[a.nodeIndex],a.lView,t,n,r,e.nativeNode)}else Ok(e.nativeNode,t,n,r)}function zk(e,t,n,r,a,i){ngDevMode&&Ke(e,t);const o=function(e,t){const n=null===e?-1:e.index;if(-1!==n){ngDevMode&&Ke(e,t);const r=jt(t[n]);return ngDevMode&&null!==r&&!Ct(t[11])&&q(r),r}return null}(e,t);if(11&e.type){if(Ak(o,n,r,a,i),Ue(e)){const o=zt(e.index,t);o&&o[1].firstChild&&zk(o[1].firstChild,o,n,r,a,i)}else e.child&&zk(e.child,t,n,r,a,i),o&&Ok(o,n,r,a);const s=t[e.index];Fe(s)&&Ik(s,n,r,a,i)}else if(4&e.type){const o=t[e.index];Ak(o[7],n,r,a,i),Ik(o,n,r,a,i)}else if(16&e.type){const o=t[16],s=o[6].projection[e.projection];if(Array.isArray(s))for(let e of s)Ak(e,n,r,a,i);else if(s){const e=o[3];zk(e[1].data[s.index],e,n,r,a,i)}}else e.child&&zk(e.child,t,n,r,a,i);if(i!==o){const o=4&e.flags?e.projectionNext:e.next;o&&zk(o,t,n,r,a,i)}}function Ik(e,t,n,r,a){for(let i=Be;i{for(;t.length;)t.pop()()})),function(e){t.push(e)}}class Yk{constructor(e){}}function Zk(e,t,n,r,a,i){e|=1;const{matchedQueries:o,references:s,matchedQueryIds:l}=Dg(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:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Ag(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:a||lg},provider:null,text:null,query:null,ngContent:null}}function Jk(e,t,n,r,a,i,o=[],s,l,c,u,d){c||(c=lg);const{matchedQueries:h,references:p,matchedQueryIds:f}=Dg(n);let m=null,g=null;i&&([m,g]=Bg(i)),s=s||[];const y=[];for(let w=0;w{const[n,r]=Bg(e);return[n,r,t]}));return d=function(e){if(e&&e.id===hg){const t=null!=e.encapsulation&&e.encapsulation!==ie.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+mg++:pg}return e&&e.id===pg&&(e=null),e||null}(d),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:h,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:a,bindings:y,bindingFlags:Lg(y),outputs:b,element:{ns:m,name:g,attrs:v,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||lg},provider:null,text:null,query:null,ngContent:null}}function Xk(e,t,n){const r=n.element,a=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!a){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const a=zg(e,t,n);a&&i.appendChild(a,o)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===ie.ShadowDom;o=i.selectRootElement(a,e)}if(r.attrs)for(let s=0;skg(e,t,n,r)}function n_(e,t,n,r){if(!yg(e,t,n,r))return!1;const a=t.bindings[n],i=ng(e,t.nodeIndex),o=i.renderElement,s=a.name;switch(15&a.flags){case 1:!function(e,t,n,r,a,i){const o=t.securityContext;let s=o?e.root.sanitizer.sanitize(o,i):i;s=null!=s?s.toString():null;const l=e.renderer;null!=i?l.setAttribute(n,a,s,r):l.removeAttribute(n,a,r)}(e,a,o,a.ns,s,r);break;case 2:!function(e,t,n,r){const a=e.renderer;r?a.addClass(t,n):a.removeClass(t,n)}(e,o,s,r);break;case 4:!function(e,t,n,r,a){let i=e.root.sanitizer.sanitize(ji.STYLE,a);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,a,o,s,r);break;case 8:!function(e,t,n,r,a){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,a):a;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&a.flags?i.componentView:e,a,o,s,r)}return!0}function r_(e,t,n){let r=[];for(let a in n){const e=n[a];r.push({propName:a,bindingType:e})}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:Sg(t),bindings:r},ngContent:null}}function a_(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Eg(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let a=0;a<=r;a++){const r=e.def.nodes[a];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&ig(e,a).setDirty(),!(1&r.flags&&a+r.childCount0)c=e,b_(e)||(u=e);else for(;c&&f===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,u=c&&b_(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||lg,updateRenderer:r||lg,handleEvent:(e,n,r,a)=>t[n].element.handleEvent(e,r,a),bindingCount:a,outputCount:i,lastRenderRootNode:p}}function b_(e){return 0!=(1&e.flags)&&null===e.element.name}function v_(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 w_(e,t,n,r){const a=C_(e.root,e.renderer,e,t,n);return x_(a,e.component,r),j_(a),a}function k_(e,t,n){const r=C_(e,e.renderer,null,null,t);return x_(r,n,n),j_(r),r}function __(e,t,n,r){const a=t.element.componentRendererType;let i;return i=a?e.root.rendererFactory.createRenderer(r,a):e.root.renderer,C_(e.root,i,e,t.element.componentProvider,n)}function C_(e,t,n,r,a){const i=new Array(a.nodes.length),o=a.outputCount?new Array(a.outputCount):null;return{def:a,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(a.bindingCount),disposables:o,initIndex:-1}}function x_(e,t,n){e.component=t,e.context=n}function j_(e){let t;if(jg(e)){const n=e.parentNodeDef;t=ng(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let i=0;i0&&n_(e,t,0,n)&&(p=!0),h>1&&n_(e,t,1,r)&&(p=!0),h>2&&n_(e,t,2,a)&&(p=!0),h>3&&n_(e,t,3,i)&&(p=!0),h>4&&n_(e,t,4,o)&&(p=!0),h>5&&n_(e,t,5,s)&&(p=!0),h>6&&n_(e,t,6,l)&&(p=!0),h>7&&n_(e,t,7,c)&&(p=!0),h>8&&n_(e,t,8,u)&&(p=!0),h>9&&n_(e,t,9,d)&&(p=!0),p}(e,t,n,r,a,i,o,s,l,c,u,d);case 2:return function(e,t,n,r,a,i,o,s,l,c,u,d){let h=!1;const p=t.bindings,f=p.length;if(f>0&&yg(e,t,0,n)&&(h=!0),f>1&&yg(e,t,1,r)&&(h=!0),f>2&&yg(e,t,2,a)&&(h=!0),f>3&&yg(e,t,3,i)&&(h=!0),f>4&&yg(e,t,4,o)&&(h=!0),f>5&&yg(e,t,5,s)&&(h=!0),f>6&&yg(e,t,6,l)&&(h=!0),f>7&&yg(e,t,7,c)&&(h=!0),f>8&&yg(e,t,8,u)&&(h=!0),f>9&&yg(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;f>0&&(h+=g_(n,p[0])),f>1&&(h+=g_(r,p[1])),f>2&&(h+=g_(a,p[2])),f>3&&(h+=g_(i,p[3])),f>4&&(h+=g_(o,p[4])),f>5&&(h+=g_(s,p[5])),f>6&&(h+=g_(l,p[6])),f>7&&(h+=g_(c,p[7])),f>8&&(h+=g_(u,p[8])),f>9&&(h+=g_(d,p[9]));const m=tg(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,r,a,i,o,s,l,c,u,d);case 16384:return function(e,t,n,r,a,i,o,s,l,c,u,d){const h=rg(e,t.nodeIndex),p=h.instance;let f,m=!1;const g=t.bindings.length;return g>0&&gg(e,t,0,n)&&(m=!0,f=Ly(e,h,t,0,n,f)),g>1&&gg(e,t,1,r)&&(m=!0,f=Ly(e,h,t,1,r,f)),g>2&&gg(e,t,2,a)&&(m=!0,f=Ly(e,h,t,2,a,f)),g>3&&gg(e,t,3,i)&&(m=!0,f=Ly(e,h,t,3,i,f)),g>4&&gg(e,t,4,o)&&(m=!0,f=Ly(e,h,t,4,o,f)),g>5&&gg(e,t,5,s)&&(m=!0,f=Ly(e,h,t,5,s,f)),g>6&&gg(e,t,6,l)&&(m=!0,f=Ly(e,h,t,6,l,f)),g>7&&gg(e,t,7,c)&&(m=!0,f=Ly(e,h,t,7,c,f)),g>8&&gg(e,t,8,u)&&(m=!0,f=Ly(e,h,t,8,u,f)),g>9&&gg(e,t,9,d)&&(m=!0,f=Ly(e,h,t,9,d,f)),f&&p.ngOnChanges(f),65536&t.flags&&eg(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),m}(e,t,n,r,a,i,o,s,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,a,i,o,s,l,c,u,d){const h=t.bindings;let p=!1;const f=h.length;if(f>0&&yg(e,t,0,n)&&(p=!0),f>1&&yg(e,t,1,r)&&(p=!0),f>2&&yg(e,t,2,a)&&(p=!0),f>3&&yg(e,t,3,i)&&(p=!0),f>4&&yg(e,t,4,o)&&(p=!0),f>5&&yg(e,t,5,s)&&(p=!0),f>6&&yg(e,t,6,l)&&(p=!0),f>7&&yg(e,t,7,c)&&(p=!0),f>8&&yg(e,t,8,u)&&(p=!0),f>9&&yg(e,t,9,d)&&(p=!0),p){const p=ag(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(a),f>3&&m.push(i),f>4&&m.push(o),f>5&&m.push(s),f>6&&m.push(l),f>7&&m.push(c),f>8&&m.push(u),f>9&&m.push(d);break;case 64:m={},f>0&&(m[h[0].name]=n),f>1&&(m[h[1].name]=r),f>2&&(m[h[2].name]=a),f>3&&(m[h[3].name]=i),f>4&&(m[h[4].name]=o),f>5&&(m[h[5].name]=s),f>6&&(m[h[6].name]=l),f>7&&(m[h[7].name]=c),f>8&&(m[h[8].name]=u),f>9&&(m[h[9].name]=d);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,a);break;case 4:m=e.transform(r,a,i);break;case 5:m=e.transform(r,a,i,o);break;case 6:m=e.transform(r,a,i,o,s);break;case 7:m=e.transform(r,a,i,o,s,l);break;case 8:m=e.transform(r,a,i,o,s,l,c);break;case 9:m=e.transform(r,a,i,o,s,l,c,u);break;case 10:m=e.transform(r,a,i,o,s,l,c,u,d)}}p.value=m}return p}(e,t,n,r,a,i,o,s,l,c,u,d);default:throw"unreachable"}}(e,t,r,a,i,o,s,l,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let a=0;a0&&bg(e,t,0,n);h>1&&bg(e,t,1,r);h>2&&bg(e,t,2,a);h>3&&bg(e,t,3,i);h>4&&bg(e,t,4,o);h>5&&bg(e,t,5,s);h>6&&bg(e,t,6,l);h>7&&bg(e,t,7,c);h>8&&bg(e,t,8,u);h>9&&bg(e,t,9,d)}(e,t,r,a,i,o,s,l,c,u,d,h):function(e,t,n){for(let r=0;r[{type:ok}],("undefined"==typeof ngDevMode||ngDevMode)&&Qy(Yk,[{type:Qv,args:[{providers:Gk}]}],(function(){return[{type:ok}]}),null),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"}(O_||(O_={}));let B_=!1;function L_(){if(B_)return;B_=!0;const e=Hw()?{setCurrentNode:cC,createRootView:V_,createEmbeddedView:H_,createComponentView:$_,createNgModuleRef:K_,overrideProvider:Y_,overrideComponentView:Z_,clearOverrides:J_,checkAndUpdateView:nC,checkNoChangesView:rC,destroyView:aC,createDebugContext:(e,t)=>new yC(e,t),handleEvent:uC,updateDirectives:dC,updateRenderer:hC}:{setCurrentNode:()=>{},createRootView:F_,createEmbeddedView:w_,createComponentView:__,createNgModuleRef:by,overrideProvider:lg,overrideComponentView:lg,clearOverrides:lg,checkAndUpdateView:S_,checkNoChangesView:E_,destroyView:A_,createDebugContext:(e,t)=>new yC(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?eC:tC,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?eC:tC,e)};sg.setCurrentNode=e.setCurrentNode,sg.createRootView=e.createRootView,sg.createEmbeddedView=e.createEmbeddedView,sg.createComponentView=e.createComponentView,sg.createNgModuleRef=e.createNgModuleRef,sg.overrideProvider=e.overrideProvider,sg.overrideComponentView=e.overrideComponentView,sg.clearOverrides=e.clearOverrides,sg.checkAndUpdateView=e.checkAndUpdateView,sg.checkNoChangesView=e.checkNoChangesView,sg.destroyView=e.destroyView,sg.resolveDep=qy,sg.createDebugContext=e.createDebugContext,sg.handleEvent=e.handleEvent,sg.updateDirectives=e.updateDirectives,sg.updateRenderer=e.updateRenderer,sg.dirtyParentQueries=a_}function F_(e,t,n,r,a,i){const o=a.injector.get(Xf);return k_(U_(e,a,o,t,n),r,i)}function V_(e,t,n,r,a,i){const o=a.injector.get(Xf),s=U_(e,a,new kC(o),t,n),l=X_(r);return vC(iC.create,k_,null,[s,l,i])}function U_(e,t,n,r,a){const i=t.injector.get(am),o=t.injector.get(Bi),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:a,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:o}}function H_(e,t,n,r){const a=X_(n);return vC(iC.create,w_,null,[e,t,a,r])}function $_(e,t,n,r){const a=Q_.get(t.element.componentProvider.provider.token);return n=a||X_(n),vC(iC.create,__,null,[e,t,n,r])}function K_(e,t,n,r){return by(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=r(e);if(!t)return e;return a(e=e.factory((()=>lg))),e;function r(e){let t=!1,n=!1;return 0===W_.size||(e.providers.forEach((e=>{const r=W_.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((e=>{G_.forEach(((r,a)=>{H(a).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}function a(e){for(let t=0;t0){let t=new Set(e.modules);G_.forEach(((r,a)=>{if(t.has(H(a).providedIn)){let t={token:a,flags:r.flags|(n?4096:0),deps:Tg(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[ug(a)]=t}}))}}}(r))}const W_=new Map,G_=new Map,Q_=new Map;function Y_(e){let t;W_.set(e.token,e),"function"==typeof e.token&&(t=H(e.token))&&"function"==typeof t.providedIn&&G_.set(e.token,e)}function Z_(e,t){const n=Ag(oy(t)),r=Ag(n.nodes[0].element.componentView);Q_.set(e,r)}function J_(){W_.clear(),G_.clear(),Q_.clear()}function X_(e){if(0===W_.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;rlg));for(let r=0;r(i++,i===a?e.error.bind(e,...t):lg))),i[{type:void 0,decorators:[{type:r.Inject,args:[l]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](h,[{type:r.Injectable,args:[{providedIn:"platform",useFactory:f}]}],(function(){return[{type:void 0,decorators:[{type:r.Inject,args:[l]}]}]}),null);class b{}function v(e){const t=Object(r["ɵɵinject"])(l).location;return new k(Object(r["ɵɵinject"])(c),t&&t.origin||"")}b.ɵfac=function(e){return new(e||b)},b.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:v,token:b,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](b,[{type:r.Injectable,args:[{providedIn:"root",useFactory:v}]}],null,null);const w=new r.InjectionToken("appBaseHref");class k extends b{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const a=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(e,t,a)}replaceState(e,t,n,r){const a=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}k.ɵfac=function(e){return new(e||k)(r["ɵɵinject"](c),r["ɵɵinject"](w,8))},k.ɵprov=r["ɵɵdefineInjectable"]({token:k,factory:k.ɵfac}),k.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[w]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](k,[{type:r.Injectable}],(function(){return[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[w]}]}]}),null);class _ extends b{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let a=this.prepareExternalUrl(n+y(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,t,a)}replaceState(e,t,n,r){let a=this.prepareExternalUrl(n+y(r));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}_.ɵfac=function(e){return new(e||_)(r["ɵɵinject"](c),r["ɵɵinject"](w,8))},_.ɵprov=r["ɵɵdefineInjectable"]({token:_,factory:_.ɵfac}),_.ctorParameters=()=>[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[w]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](_,[{type:r.Injectable}],(function(){return[{type:c},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[w]}]}]}),null);class C{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(j(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+y(t))}normalize(e){return C.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,j(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+y(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}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 x(){return new C(Object(r["ɵɵinject"])(b),Object(r["ɵɵinject"])(c))}function j(e){return e.replace(/\/index.html$/,"")}C.ɵfac=function(e){return new(e||C)(r["ɵɵinject"](b),r["ɵɵinject"](c))},C.normalizeQueryParams=y,C.joinWithSlash=m,C.stripTrailingSlash=g,C.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:x,token:C,providedIn:"root"}),C.ctorParameters=()=>[{type:b},{type:c}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](C,[{type:r.Injectable,args:[{providedIn:"root",useFactory:x}]}],(function(){return[{type:b},{type:c}]}),null);const E={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]};var S,D,T,z,I,A,O;function M(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].LocaleId]}function N(e,t,n){const a=Object(r["ɵfindLocaleData"])(e),i=ee([a[r["ɵLocaleDataIndex"].DayPeriodsFormat],a[r["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return ee(i,n)}function R(e,t,n){const a=Object(r["ɵfindLocaleData"])(e),i=ee([a[r["ɵLocaleDataIndex"].DaysFormat],a[r["ɵLocaleDataIndex"].DaysStandalone]],t);return ee(i,n)}function P(e,t,n){const a=Object(r["ɵfindLocaleData"])(e),i=ee([a[r["ɵLocaleDataIndex"].MonthsFormat],a[r["ɵLocaleDataIndex"].MonthsStandalone]],t);return ee(i,n)}function q(e,t){return ee(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Eras],t)}function B(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].FirstDayOfWeek]}function L(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].WeekendRange]}function F(e,t){return ee(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateFormat],t)}function V(e,t){return ee(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].TimeFormat],t)}function U(e,t){return ee(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateTimeFormat],t)}function H(e,t){const n=Object(r["ɵfindLocaleData"])(e),a=n[r["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===a){if(t===A.CurrencyDecimal)return n[r["ɵLocaleDataIndex"].NumberSymbols][A.Decimal];if(t===A.CurrencyGroup)return n[r["ɵLocaleDataIndex"].NumberSymbols][A.Group]}return a}function $(e,t){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].NumberFormats][t]}function K(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencySymbol]||null}function W(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].CurrencyName]||null}function G(e){return Object(r["ɵgetLocaleCurrencyCode"])(e)}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(S||(S={})),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"}(D||(D={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(T||(T={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(z||(z={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(I||(I={})),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"}(A||(A={})),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"}(O||(O={}));const Q=r["ɵgetLocalePluralCase"];function Y(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 Z(e){const t=Object(r["ɵfindLocaleData"])(e);Y(t);return(t[r["ɵLocaleDataIndex"].ExtraData][2]||[]).map((e=>"string"==typeof e?te(e):[te(e[0]),te(e[1])]))}function J(e,t,n){const a=Object(r["ɵfindLocaleData"])(e);Y(a);const i=ee([a[r["ɵLocaleDataIndex"].ExtraData][0],a[r["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return ee(i,n)||[]}function X(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Directionality]}function ee(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 te(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function ne(e,t,n="en"){const a=function(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Currencies]}(n)[e]||E[e]||[],i=a[1];return"narrow"===t&&"string"==typeof i?i:a[0]||e}function re(e){let t;const n=E[e];return n&&(t=n[2]),"number"==typeof t?t:2}const ae=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ie={},oe=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?: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}|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 se,le,ce;function ue(e,t,n,r){let a=function(e){if(Ce(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 de(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(ae))return function(e){const t=new Date(0);let n=0,r=0;const a=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]));a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,o,s,l,c),t}(n)}const t=new Date(e);if(!Ce(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=he(n,t)||t;let i,o=[];for(;t;){if(i=oe.exec(t),!i){o.push(t);break}{o=o.concat(i.slice(1));const e=o.pop();if(!e)break;t=e}}let s=a.getTimezoneOffset();r&&(s=_e(r,s),a=function(e,t,n){const r=n?-1:1,a=e.getTimezoneOffset(),i=_e(t,a);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(i-a))}(a,r,!0));let l="";return o.forEach((e=>{const t=function(e){if(ke[e])return ke[e];let t;switch(e){case"G":case"GG":case"GGG":t=ge(ce.Eras,z.Abbreviated);break;case"GGGG":t=ge(ce.Eras,z.Wide);break;case"GGGGG":t=ge(ce.Eras,z.Narrow);break;case"y":t=me(le.FullYear,1,0,!1,!0);break;case"yy":t=me(le.FullYear,2,0,!0,!0);break;case"yyy":t=me(le.FullYear,3,0,!1,!0);break;case"yyyy":t=me(le.FullYear,4,0,!1,!0);break;case"Y":t=we(1);break;case"YY":t=we(2,!0);break;case"YYY":t=we(3);break;case"YYYY":t=we(4);break;case"M":case"L":t=me(le.Month,1,1);break;case"MM":case"LL":t=me(le.Month,2,1);break;case"MMM":t=ge(ce.Months,z.Abbreviated);break;case"MMMM":t=ge(ce.Months,z.Wide);break;case"MMMMM":t=ge(ce.Months,z.Narrow);break;case"LLL":t=ge(ce.Months,z.Abbreviated,T.Standalone);break;case"LLLL":t=ge(ce.Months,z.Wide,T.Standalone);break;case"LLLLL":t=ge(ce.Months,z.Narrow,T.Standalone);break;case"w":t=ve(1);break;case"ww":t=ve(2);break;case"W":t=ve(1,!0);break;case"d":t=me(le.Date,1);break;case"dd":t=me(le.Date,2);break;case"E":case"EE":case"EEE":t=ge(ce.Days,z.Abbreviated);break;case"EEEE":t=ge(ce.Days,z.Wide);break;case"EEEEE":t=ge(ce.Days,z.Narrow);break;case"EEEEEE":t=ge(ce.Days,z.Short);break;case"a":case"aa":case"aaa":t=ge(ce.DayPeriods,z.Abbreviated);break;case"aaaa":t=ge(ce.DayPeriods,z.Wide);break;case"aaaaa":t=ge(ce.DayPeriods,z.Narrow);break;case"b":case"bb":case"bbb":t=ge(ce.DayPeriods,z.Abbreviated,T.Standalone,!0);break;case"bbbb":t=ge(ce.DayPeriods,z.Wide,T.Standalone,!0);break;case"bbbbb":t=ge(ce.DayPeriods,z.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":t=ge(ce.DayPeriods,z.Abbreviated,T.Format,!0);break;case"BBBB":t=ge(ce.DayPeriods,z.Wide,T.Format,!0);break;case"BBBBB":t=ge(ce.DayPeriods,z.Narrow,T.Format,!0);break;case"h":t=me(le.Hours,1,-12);break;case"hh":t=me(le.Hours,2,-12);break;case"H":t=me(le.Hours,1);break;case"HH":t=me(le.Hours,2);break;case"m":t=me(le.Minutes,1);break;case"mm":t=me(le.Minutes,2);break;case"s":t=me(le.Seconds,1);break;case"ss":t=me(le.Seconds,2);break;case"S":t=me(le.FractionalSeconds,1);break;case"SS":t=me(le.FractionalSeconds,2);break;case"SSS":t=me(le.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ye(se.Short);break;case"ZZZZZ":t=ye(se.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ye(se.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ye(se.Long);break;default:return null}return ke[e]=t,t}(e);l+=t?t(a,n,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}function de(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function he(e,t){const n=M(e);if(ie[n]=ie[n]||{},ie[n][t])return ie[n][t];let r="";switch(t){case"shortDate":r=F(e,I.Short);break;case"mediumDate":r=F(e,I.Medium);break;case"longDate":r=F(e,I.Long);break;case"fullDate":r=F(e,I.Full);break;case"shortTime":r=V(e,I.Short);break;case"mediumTime":r=V(e,I.Medium);break;case"longTime":r=V(e,I.Long);break;case"fullTime":r=V(e,I.Full);break;case"short":const t=he(e,"shortTime"),n=he(e,"shortDate");r=pe(U(e,I.Short),[t,n]);break;case"medium":const a=he(e,"mediumTime"),i=he(e,"mediumDate");r=pe(U(e,I.Medium),[a,i]);break;case"long":const o=he(e,"longTime"),s=he(e,"longDate");r=pe(U(e,I.Long),[o,s]);break;case"full":const l=he(e,"fullTime"),c=he(e,"fullDate");r=pe(U(e,I.Full),[l,c])}return r&&(ie[n][t]=r),r}function pe(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function fe(e,t,n="-",r,a){let i="";(e<0||a&&e<=0)&&(a?e=1-e:(e=-e,i=n));let o=String(e);for(;o.length0||s>-n)&&(s+=n),e===le.Hours)0===s&&-12===n&&(s=12);else if(e===le.FractionalSeconds)return l=t,fe(s,3).substr(0,l);var l;const c=H(o,A.MinusSign);return fe(s,t,c,r,a)}}function ge(e,t,n=T.Format,r=!1){return function(a,i){return function(e,t,n,r,a,i){switch(n){case ce.Months:return P(t,a,r)[e.getMonth()];case ce.Days:return R(t,a,r)[e.getDay()];case ce.DayPeriods:const o=e.getHours(),s=e.getMinutes();if(i){const e=Z(t),n=J(t,a,r),i=e.findIndex((e=>{if(Array.isArray(e)){const[t,n]=e,r=o>=t.hours&&s>=t.minutes,a=o0?Math.floor(a/60):Math.ceil(a/60);switch(e){case se.Short:return(a>=0?"+":"")+fe(o,2,i)+fe(Math.abs(a%60),2,i);case se.ShortGMT:return"GMT"+(a>=0?"+":"")+fe(o,1,i);case se.Long:return"GMT"+(a>=0?"+":"")+fe(o,2,i)+":"+fe(Math.abs(a%60),2,i);case se.Extended:return 0===r?"Z":(a>=0?"+":"")+fe(o,2,i)+":"+fe(Math.abs(a%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"}(se||(se={})),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"}(le||(le={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(ce||(ce={}));function be(e){return de(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ve(e,t=!1){return function(n,r){let a;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();a=1+Math.floor((t+e)/7)}else{const e=be(n),t=function(e){const t=de(e,0,1).getDay();return de(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();a=1+Math.round(r/6048e5)}return fe(a,e,H(r,A.MinusSign))}}function we(e,t=!1){return function(n,r){return fe(be(n).getFullYear(),e,H(r,A.MinusSign),t)}}const ke={};function _e(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Ce(e){return e instanceof Date&&!isNaN(e.valueOf())}const xe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,je=".",Ee="0";function Se(e,t,n,r,a,i,o=!1){let s="",l=!1;if(isFinite(e)){let c=function(e){let t,n,r,a,i,o=Math.abs(e)+"",s=0;(n=o.indexOf(je))>-1&&(o=o.replace(je,""));(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;o.charAt(r)===Ee;r++);if(r===(i=o.length))t=[0],n=1;else{for(i--;o.charAt(i)===Ee;)i--;for(n-=r,t=[],a=0;r<=i;r++,a++)t[a]=Number(o.charAt(r))}n>22&&(t=t.splice(0,21),s=n-1,n=1);return{digits:t,exponent:s,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,d=t.minFrac,h=t.maxFrac;if(i){const e=i.match(xe);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=Ae(t)),null!=n&&(d=Ae(n)),null!=r?h=Ae(r):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,a=r.length-e.integerLen;const i=Math.min(Math.max(t,a),n);let o=i+e.integerLen,s=r[o];if(o>0){r.splice(Math.max(e.integerLen,o));for(let e=o;e=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(;a=c?r.pop():l=!1),t>=10?1:0}),0);u&&(r.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const m=c.exponent;let g=[];for(l=p.every((e=>!e));f0?g=p.splice(f,p.length):(g=p,p=[0]);const y=[];for(p.length>=t.lgSize&&y.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)y.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&y.unshift(p.join("")),s=y.join(H(n,r)),g.length&&(s+=H(n,a)+g.join("")),m&&(s+=H(n,A.Exponential)+"+"+m)}else s=H(n,A.Infinity);return s=e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf,s}function De(e,t,n,r,a){const i=Ie($(t,S.Currency),H(t,A.MinusSign));i.minFrac=re(r),i.maxFrac=i.minFrac;return Se(e,i,t,A.CurrencyGroup,A.CurrencyDecimal,a).replace("¤",n).replace("¤","").trim()}function Te(e,t,n){return Se(e,Ie($(t,S.Percent),H(t,A.MinusSign)),t,A.Group,A.Decimal,n,!0).replace(new RegExp("%","g"),H(t,A.PercentSign))}function ze(e,t,n){return Se(e,Ie($(t,S.Decimal),H(t,A.MinusSign)),t,A.Group,A.Decimal,n)}function Ie(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),a=r[0],i=r[1],o=-1!==a.indexOf(je)?a.split(je):[a.substring(0,a.lastIndexOf(Ee)+1),a.substring(a.lastIndexOf(Ee)+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(let u=0;u-1)return a;if(a=n.getPluralCategory(e,r),t.indexOf(a)>-1)return a;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}class Ne extends Oe{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(Q(t||this.locale)(e)){case D.Zero:return"zero";case D.One:return"one";case D.Two:return"two";case D.Few:return"few";case D.Many:return"many";default:return"other"}}}function Re(e,t,n){return Object(r["ɵregisterLocaleData"])(e,t,n)}function Pe(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,a]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(a)}return null}Ne.ɵfac=function(e){return new(e||Ne)(r["ɵɵinject"](r.LOCALE_ID))},Ne.ɵprov=r["ɵɵdefineInjectable"]({token:Ne,factory:Ne.ɵfac}),Ne.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ne,[{type:r.Injectable}],(function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}),null);class qe{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)}))}}qe.ɵfac=function(e){return new(e||qe)(r["ɵɵdirectiveInject"](r.IterableDiffers),r["ɵɵdirectiveInject"](r.KeyValueDiffers),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2))},qe.ɵdir=r["ɵɵdefineDirective"]({type:qe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),qe.ctorParameters=()=>[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}],qe.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](qe,[{type:r.Directive,args:[{selector:"[ngClass]"}]}],(function(){return[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}]}),{klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]});class Be{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()}}Be.ɵfac=function(e){return new(e||Be)(r["ɵɵdirectiveInject"](r.ViewContainerRef))},Be.ɵdir=r["ɵɵdefineDirective"]({type:Be,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r["ɵɵNgOnChangesFeature"]]}),Be.ctorParameters=()=>[{type:r.ViewContainerRef}],Be.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Be,[{type:r.Directive,args:[{selector:"[ngComponentOutlet]"}]}],(function(){return[{type:r.ViewContainerRef}]}),{ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]});class Le{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 Fe{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 n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation(((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Le(null,this._ngForOf,-1,-1),null===r?void 0:r),a=new Ve(e,n);t.push(a)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const a=this._viewContainer.get(n);this._viewContainer.move(a,r);const i=new Ve(e,a);t.push(i)}}));for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}Fe.ɵfac=function(e){return new(e||Fe)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.IterableDiffers))},Fe.ɵdir=r["ɵɵdefineDirective"]({type:Fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Fe.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}],Fe.propDecorators={ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Fe,[{type:r.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],(function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}]}),{ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]});class Ve{constructor(e,t){this.record=e,this.view=t}}class Ue{constructor(e,t){this._viewContainer=e,this._context=new He,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){$e("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){$e("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}}Ue.ɵfac=function(e){return new(e||Ue)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef))},Ue.ɵdir=r["ɵɵdefineDirective"]({type:Ue,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Ue.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef}],Ue.propDecorators={ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ue,[{type:r.Directive,args:[{selector:"[ngIf]"}]}],(function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef}]}),{ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]});class He{constructor(){this.$implicit=null,this.ngIf=null}}function $e(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Object(r["ɵstringify"])(t)}'.`)}class Ke{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 We{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[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:We,decorators:[{type:r.Optional},{type:r.Host}]}],Ge.propDecorators={ngSwitchCase:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ge,[{type:r.Directive,args:[{selector:"[ngSwitchCase]"}]}],(function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:We,decorators:[{type:r.Optional},{type:r.Host}]}]}),{ngSwitchCase:[{type:r.Input}]});class Qe{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||Ye("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new Ke(e,t))}}function Ye(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)`)}Qe.ɵfac=function(e){return new(e||Qe)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](We,9))},Qe.ɵdir=r["ɵɵdefineDirective"]({type:Qe,selectors:[["","ngSwitchDefault",""]]}),Qe.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:We,decorators:[{type:r.Optional},{type:r.Host}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Qe,[{type:r.Directive,args:[{selector:"[ngSwitchDefault]"}]}],(function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:We,decorators:[{type:r.Optional},{type:r.Host}]}]}),null);class Ze{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=Me(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())}}Ze.ɵfac=function(e){return new(e||Ze)(r["ɵɵdirectiveInject"](Oe))},Ze.ɵdir=r["ɵɵdefineDirective"]({type:Ze,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),Ze.ctorParameters=()=>[{type:Oe}],Ze.propDecorators={ngPlural:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ze,[{type:r.Directive,args:[{selector:"[ngPlural]"}]}],(function(){return[{type:Oe}]}),{ngPlural:[{type:r.Input}]});class Je{constructor(e,t,n,r){this.value=e;const a=!isNaN(Number(e));r.addCase(a?`=${e}`:e,new Ke(n,t))}}Je.ɵfac=function(e){return new(e||Je)(r["ɵɵinjectAttribute"]("ngPluralCase"),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](Ze,1))},Je.ɵdir=r["ɵɵdefineDirective"]({type:Je,selectors:[["","ngPluralCase",""]]}),Je.ctorParameters=()=>[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:Ze,decorators:[{type:r.Host}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Je,[{type:r.Directive,args:[{selector:"[ngPluralCase]"}]}],(function(){return[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:Ze,decorators:[{type:r.Host}]}]}),null);class Xe{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)))}}Xe.ɵfac=function(e){return new(e||Xe)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.KeyValueDiffers),r["ɵɵdirectiveInject"](r.Renderer2))},Xe.ɵdir=r["ɵɵdefineDirective"]({type:Xe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),Xe.ctorParameters=()=>[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}],Xe.propDecorators={ngStyle:[{type:r.Input,args:["ngStyle"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Xe,[{type:r.Directive,args:[{selector:"[ngStyle]"}]}],(function(){return[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}]}),{ngStyle:[{type:r.Input,args:["ngStyle"]}]});class et{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){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&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}et.ɵfac=function(e){return new(e||et)(r["ɵɵdirectiveInject"](r.ViewContainerRef))},et.ɵdir=r["ɵɵdefineDirective"]({type:et,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r["ɵɵNgOnChangesFeature"]]}),et.ctorParameters=()=>[{type:r.ViewContainerRef}],et.propDecorators={ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](et,[{type:r.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],(function(){return[{type:r.ViewContainerRef}]}),{ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]});const tt=[qe,Be,Fe,Ue,et,Xe,We,Ge,Qe,Ze,Je];function nt(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r["ɵstringify"])(e)}'`)}const rt=new class{createSubscription(e,t){return e.then(t,(e=>{throw e}))}dispose(e){}onDestroy(e){}},at=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}};class it{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 rt;if(Object(r["ɵisSubscribable"])(e))return at;throw nt(it,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())}}it.ɵfac=function(e){return new(e||it)(r["ɵɵinjectPipeChangeDetectorRef"]())},it.ɵpipe=r["ɵɵdefinePipe"]({name:"async",type:it,pure:!1}),it.ctorParameters=()=>[{type:r.ChangeDetectorRef}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](it,[{type:r.Pipe,args:[{name:"async",pure:!1}]}],(function(){return[{type:r.ChangeDetectorRef}]}),null);class ot{transform(e){if(null==e)return null;if("string"!=typeof e)throw nt(ot,e);return e.toLowerCase()}}ot.ɵfac=function(e){return new(e||ot)},ot.ɵpipe=r["ɵɵdefinePipe"]({name:"lowercase",type:ot,pure:!0}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ot,[{type:r.Pipe,args:[{name:"lowercase"}]}],null,null);const st=/(?:[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 lt{transform(e){if(null==e)return null;if("string"!=typeof e)throw nt(lt,e);return e.replace(st,(e=>e[0].toUpperCase()+e.substr(1).toLowerCase()))}}lt.ɵfac=function(e){return new(e||lt)},lt.ɵpipe=r["ɵɵdefinePipe"]({name:"titlecase",type:lt,pure:!0}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](lt,[{type:r.Pipe,args:[{name:"titlecase"}]}],null,null);class ct{transform(e){if(null==e)return null;if("string"!=typeof e)throw nt(ct,e);return e.toUpperCase()}}ct.ɵfac=function(e){return new(e||ct)},ct.ɵpipe=r["ɵɵdefinePipe"]({name:"uppercase",type:ct,pure:!0}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ct,[{type:r.Pipe,args:[{name:"uppercase"}]}],null,null);class ut{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return ue(e,t,r||this.locale,n)}catch(a){throw nt(ut,a.message)}}}ut.ɵfac=function(e){return new(e||ut)(r["ɵɵdirectiveInject"](r.LOCALE_ID))},ut.ɵpipe=r["ɵɵdefinePipe"]({name:"date",type:ut,pure:!0}),ut.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ut,[{type:r.Pipe,args:[{name:"date",pure:!0}]}],(function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}),null);const dt=/#/g;class ht{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw nt(ht,t);return t[Me(e,Object.keys(t),this._localization,n)].replace(dt,e.toString())}}ht.ɵfac=function(e){return new(e||ht)(r["ɵɵdirectiveInject"](Oe))},ht.ɵpipe=r["ɵɵdefinePipe"]({name:"i18nPlural",type:ht,pure:!0}),ht.ctorParameters=()=>[{type:Oe}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ht,[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],(function(){return[{type:Oe}]}),null);class pt{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw nt(pt,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}pt.ɵfac=function(e){return new(e||pt)},pt.ɵpipe=r["ɵɵdefinePipe"]({name:"i18nSelect",type:pt,pure:!0}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](pt,[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}],null,null);class ft{transform(e){return JSON.stringify(e,null,2)}}ft.ɵfac=function(e){return new(e||ft)},ft.ɵpipe=r["ɵɵdefinePipe"]({name:"json",type:ft,pure:!1}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ft,[{type:r.Pipe,args:[{name:"json",pure:!1}]}],null,null);class mt{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=gt){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);return n&&(this.keyValues=[],n.forEachItem((e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))})),this.keyValues.sort(t)),this.keyValues}}function gt(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[{type:r.KeyValueDiffers}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](mt,[{type:r.Pipe,args:[{name:"keyvalue",pure:!1}]}],(function(){return[{type:r.KeyValueDiffers}]}),null);class yt{constructor(e){this._locale=e}transform(e,t,n){if(!wt(e))return null;n=n||this._locale;try{return ze(kt(e),n,t)}catch(r){throw nt(yt,r.message)}}}yt.ɵfac=function(e){return new(e||yt)(r["ɵɵdirectiveInject"](r.LOCALE_ID))},yt.ɵpipe=r["ɵɵdefinePipe"]({name:"number",type:yt,pure:!0}),yt.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](yt,[{type:r.Pipe,args:[{name:"number"}]}],(function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}),null);class bt{constructor(e){this._locale=e}transform(e,t,n){if(!wt(e))return null;n=n||this._locale;try{return Te(kt(e),n,t)}catch(r){throw nt(bt,r.message)}}}bt.ɵfac=function(e){return new(e||bt)(r["ɵɵdirectiveInject"](r.LOCALE_ID))},bt.ɵpipe=r["ɵɵdefinePipe"]({name:"percent",type:bt,pure:!0}),bt.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](bt,[{type:r.Pipe,args:[{name:"percent"}]}],(function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]}),null);class vt{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t,n="symbol",r,a){if(!wt(e))return null;a=a||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?ne(i,"symbol"===n?"wide":"narrow",a):n);try{return De(kt(e),a,i,t,r)}catch(o){throw nt(vt,o.message)}}}function wt(e){return!(null==e||""===e||e!=e)}function kt(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}vt.ɵfac=function(e){return new(e||vt)(r["ɵɵdirectiveInject"](r.LOCALE_ID),r["ɵɵdirectiveInject"](r.DEFAULT_CURRENCY_CODE))},vt.ɵpipe=r["ɵɵdefinePipe"]({name:"currency",type:vt,pure:!0}),vt.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:String,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](vt,[{type:r.Pipe,args:[{name:"currency"}]}],(function(){return[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:String,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}]}),null);class _t{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw nt(_t,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}_t.ɵfac=function(e){return new(e||_t)},_t.ɵpipe=r["ɵɵdefinePipe"]({name:"slice",type:_t,pure:!1}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](_t,[{type:r.Pipe,args:[{name:"slice",pure:!1}]}],null,null);const Ct=[it,ct,ot,ft,_t,yt,bt,lt,vt,ut,ht,pt,mt];class xt{}xt.ɵfac=function(e){return new(e||xt)},xt.ɵmod=r["ɵɵdefineNgModule"]({type:xt}),xt.ɵinj=r["ɵɵdefineInjector"]({providers:[{provide:Oe,useClass:Ne}]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](xt,{declarations:[qe,Be,Fe,Ue,et,Xe,We,Ge,Qe,Ze,Je,it,ct,ot,ft,_t,yt,bt,lt,vt,ut,ht,pt,mt],exports:[qe,Be,Fe,Ue,et,Xe,We,Ge,Qe,Ze,Je,it,ct,ot,ft,_t,yt,bt,lt,vt,ut,ht,pt,mt]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](xt,[{type:r.NgModule,args:[{declarations:[tt,Ct],exports:[tt,Ct],providers:[{provide:Oe,useClass:Ne}]}]}],null,null);const jt="browser",Et="server",St="browserWorkerApp",Dt="browserWorkerUi";function Tt(e){return e===jt}function zt(e){return e===Et}function It(e){return e===St}function At(e){return e===Dt}const Ot=new r.Version("11.2.14");class Mt{}Mt.ɵprov=Object(r["ɵɵdefineInjectable"])({token:Mt,providedIn:"root",factory:()=>new Nt(Object(r["ɵɵinject"])(l),window)});class Nt{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,a=this.offset();this.window.scrollTo(n-a[0],r-a[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Rt(this.window.history)||Rt(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 Rt(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Pt{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));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)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create},,function(e,t,n){"use strict";n.r(t),n.d(t,"ActivatedRoute",(function(){return Pe})),n.d(t,"ActivatedRouteSnapshot",(function(){return Be})),n.d(t,"ActivationEnd",(function(){return W})),n.d(t,"ActivationStart",(function(){return K})),n.d(t,"BaseRouteReuseStrategy",(function(){return en})),n.d(t,"ChildActivationEnd",(function(){return $})),n.d(t,"ChildActivationStart",(function(){return H})),n.d(t,"ChildrenOutletContexts",(function(){return on})),n.d(t,"DefaultUrlSerializer",(function(){return me})),n.d(t,"GuardsCheckEnd",(function(){return B})),n.d(t,"GuardsCheckStart",(function(){return q})),n.d(t,"NavigationCancel",(function(){return N})),n.d(t,"NavigationEnd",(function(){return M})),n.d(t,"NavigationError",(function(){return R})),n.d(t,"NavigationStart",(function(){return O})),n.d(t,"NoPreloading",(function(){return kn})),n.d(t,"OutletContext",(function(){return an})),n.d(t,"PRIMARY_OUTLET",(function(){return Q})),n.d(t,"PreloadAllModules",(function(){return wn})),n.d(t,"PreloadingStrategy",(function(){return vn})),n.d(t,"ROUTER_CONFIGURATION",(function(){return jn})),n.d(t,"ROUTER_INITIALIZER",(function(){return Ln})),n.d(t,"ROUTES",(function(){return nn})),n.d(t,"ResolveEnd",(function(){return F})),n.d(t,"ResolveStart",(function(){return L})),n.d(t,"RouteConfigLoadEnd",(function(){return U})),n.d(t,"RouteConfigLoadStart",(function(){return V})),n.d(t,"RouteReuseStrategy",(function(){return Xt})),n.d(t,"Router",(function(){return hn})),n.d(t,"RouterEvent",(function(){return A})),n.d(t,"RouterLink",(function(){return pn})),n.d(t,"RouterLinkActive",(function(){return gn})),n.d(t,"RouterLinkWithHref",(function(){return fn})),n.d(t,"RouterModule",(function(){return Tn})),n.d(t,"RouterOutlet",(function(){return yn})),n.d(t,"RouterPreloader",(function(){return _n})),n.d(t,"RouterState",(function(){return Ne})),n.d(t,"RouterStateSnapshot",(function(){return Le})),n.d(t,"RoutesRecognized",(function(){return P})),n.d(t,"Scroll",(function(){return G})),n.d(t,"UrlHandlingStrategy",(function(){return sn})),n.d(t,"UrlSegment",(function(){return he})),n.d(t,"UrlSegmentGroup",(function(){return de})),n.d(t,"UrlSerializer",(function(){return fe})),n.d(t,"UrlTree",(function(){return ue})),n.d(t,"VERSION",(function(){return Vn})),n.d(t,"convertToParamMap",(function(){return Z})),n.d(t,"provideRoutes",(function(){return On})),n.d(t,"ɵEmptyOutletComponent",(function(){return pt})),n.d(t,"ɵROUTER_PROVIDERS",(function(){return Sn})),n.d(t,"ɵangular_packages_router_router_a",(function(){return En})),n.d(t,"ɵangular_packages_router_router_b",(function(){return Dn})),n.d(t,"ɵangular_packages_router_router_c",(function(){return zn})),n.d(t,"ɵangular_packages_router_router_d",(function(){return In})),n.d(t,"ɵangular_packages_router_router_e",(function(){return An})),n.d(t,"ɵangular_packages_router_router_f",(function(){return Mn})),n.d(t,"ɵangular_packages_router_router_g",(function(){return Rn})),n.d(t,"ɵangular_packages_router_router_h",(function(){return Pn})),n.d(t,"ɵangular_packages_router_router_i",(function(){return qn})),n.d(t,"ɵangular_packages_router_router_j",(function(){return Bn})),n.d(t,"ɵangular_packages_router_router_k",(function(){return Fn})),n.d(t,"ɵangular_packages_router_router_l",(function(){return pt})),n.d(t,"ɵangular_packages_router_router_m",(function(){return ze})),n.d(t,"ɵangular_packages_router_router_n",(function(){return Oe})),n.d(t,"ɵangular_packages_router_router_o",(function(){return Cn})),n.d(t,"ɵassignExtraOptionsToRouter",(function(){return Nn})),n.d(t,"ɵflatten",(function(){return ne}));var r=n(2),a=n(0),i=n(49),o=n(32),s=n(101),l=n(203),c=n(20),u=n(133),d=n(146),h=n(182),p=n(62),f=n(268),m=n(42),g=n(31),y=n(107),b=n(181),v=n(442),w=n(164),k=n(78),_=n(169),C=n(168),x=n(444),j=n(183),E=n(63),S=n(81),D=n(165),T=n(202),z=n(445),I=n(163);class A{constructor(e,t){this.id=e,this.url=t}}class O extends A{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class M extends A{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class N extends A{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class R extends A{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class P extends A{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class q extends A{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B extends A{constructor(e,t,n,r,a){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=a}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class L extends A{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class F extends A{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class U{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class H{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class W{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}const Q="primary";class Y{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Z(e){return new Y(e)}function J(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function X(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.lengthr[t]===e))}return e===t}function ne(e){return Array.prototype.concat.apply([],e)}function re(e){return e.length>0?e[e.length-1]:null}function ae(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ie(e){return Object(a["ɵisObservable"])(e)?e:Object(a["ɵisPromise"])(e)?Object(i.a)(Promise.resolve(e)):Object(o.a)(e)}function oe(e,t,n){return n?function(e,t){return ee(e,t)}(e.queryParams,t.queryParams)&&se(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((n=>te(e[n],t[n])))}(e.queryParams,t.queryParams)&&le(e.root,t.root)}function se(e,t){if(!pe(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!se(e.children[n],t.children[n]))return!1}return!0}function le(e,t){return ce(e,t,t.segments)}function ce(e,t,n){if(e.segments.length>n.length){return!!pe(e.segments.slice(0,n.length),n)&&!t.hasChildren()}if(e.segments.length===n.length){if(!pe(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!le(e.children[n],t.children[n]))return!1}return!0}{const r=n.slice(0,e.segments.length),a=n.slice(e.segments.length);return!!pe(e.segments,r)&&(!!e.children[Q]&&ce(e.children[Q],t,a))}}class ue{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return ge.serialize(this)}}class de{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ae(t,((e,t)=>e.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ye(this)}}class he{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Z(this.parameters)),this._parameterMap}toString(){return xe(this)}}function pe(e,t){return e.length===t.length&&e.every(((e,n)=>e.path===t[n].path))}class fe{}class me{parse(e){const t=new Te(e);return new ue(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${be(e.root,!0)}`}${function(e){const t=Object.keys(e).map((t=>{const n=e[t];return Array.isArray(n)?n.map((e=>`${we(t)}=${we(e)}`)).join("&"):`${we(t)}=${we(n)}`}));return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const ge=new me;function ye(e){return e.segments.map((e=>xe(e))).join("/")}function be(e,t){if(!e.hasChildren())return ye(e);if(t){const t=e.children[Q]?be(e.children[Q],!1):"",n=[];return ae(e.children,((e,t)=>{t!==Q&&n.push(`${t}:${be(e,!1)}`)})),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ae(e.children,((e,r)=>{r===Q&&(n=n.concat(t(e,r)))})),ae(e.children,((e,r)=>{r!==Q&&(n=n.concat(t(e,r)))})),n}(e,((t,n)=>n===Q?[be(e.children[Q],!1)]:[`${n}:${be(t,!1)}`]));return 1===Object.keys(e.children).length&&null!=e.children[Q]?`${ye(e)}/${t[0]}`:`${ye(e)}/(${t.join("//")})`}}function ve(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function we(e){return ve(e).replace(/%3B/gi,";")}function ke(e){return ve(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function _e(e){return decodeURIComponent(e)}function Ce(e){return _e(e.replace(/\+/g,"%20"))}function xe(e){return`${ke(e.path)}${t=e.parameters,Object.keys(t).map((e=>`;${ke(e)}=${ke(t[e])}`)).join("")}`;var t}const je=/^[^\/()?;=#]+/;function Ee(e){const t=e.match(je);return t?t[0]:""}const Se=/^[^=?&#]+/;const De=/^[^?&#]+/;class Te{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new de([],{}):new de([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Q]=new de(e,t)),n}parseSegment(){const e=Ee(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new he(_e(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Ee(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Ee(this.remaining);e&&(n=e,this.capture(n))}e[_e(t)]=_e(n)}parseQueryParam(e){const t=function(e){const t=e.match(Se);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(De);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=Ce(t),a=Ce(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(a)}else e[r]=a}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ee(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let a;n.indexOf(":")>-1?(a=n.substr(0,n.indexOf(":")),this.capture(a),this.capture(":")):e&&(a=Q);const i=this.parseChildren();t[a]=1===Object.keys(i).length?i[Q]:new de([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class ze{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ie(e,this._root);return t?t.children.map((e=>e.value)):[]}firstChild(e){const t=Ie(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Ae(e,this._root);if(t.length<2)return[];return t[t.length-2].children.map((e=>e.value)).filter((t=>t!==e))}pathFromRoot(e){return Ae(e,this._root).map((e=>e.value))}}function Ie(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ie(e,n);if(t)return t}return null}function Ae(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Ae(e,n);if(r.length)return r.unshift(t),r}return[]}class Oe{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Me(e){const t={};return e&&e.children.forEach((e=>t[e.value.outlet]=e)),t}class Ne extends ze{constructor(e,t){super(e),this.snapshot=t,Fe(this,e)}toString(){return this.snapshot.toString()}}function Re(e,t){const n=function(e,t){const n=new Be([],{},{},"",{},Q,t,null,e.root,-1,{});return new Le("",new Oe(n,[]))}(e,t),r=new s.a([new he("",{})]),a=new s.a({}),i=new s.a({}),o=new s.a({}),l=new s.a(""),c=new Pe(r,a,o,l,i,Q,t,n.root);return c.snapshot=n.root,new Ne(new Oe(c,[]),n)}class Pe{constructor(e,t,n,r,a,i,o,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=i,this.component=o,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(g.a)((e=>Z(e))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(g.a)((e=>Z(e))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function qe(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce(((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)})),{params:{},data:{},resolve:{}})}(n.slice(r))}class Be{constructor(e,t,n,r,a,i,o,s,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=a,this.outlet=i,this.component=o,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Z(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((e=>e.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Le extends ze{constructor(e,t){super(t),this.url=e,Fe(this,t)}toString(){return Ve(this._root)}}function Fe(e,t){t.value._routerState=e,t.children.forEach((t=>Fe(e,t)))}function Ve(e){const t=e.children.length>0?` { ${e.children.map(Ve).join(", ")} } `:"";return`${e.value}${t}`}function Ue(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ee(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ee(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nee(e.parameters,a[t].parameters))));var r,a;const i=!e.parent!=!t.parent;return n&&!i&&(!e.parent||He(e.parent,t.parent))}function $e(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const a=function(e,t,n){return t.children.map((t=>{for(const r of n.children)if(e.shouldReuseRoute(t.value,r.value.snapshot))return $e(e,t,r);return $e(e,t)}))}(e,t,n);return new Oe(r,a)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return Ke(t,e),e}}const n=(r=t.value,new Pe(new s.a(r.url),new s.a(r.params),new s.a(r.queryParams),new s.a(r.fragment),new s.a(r.data),r.outlet,r.component,r)),a=t.children.map((t=>$e(e,t)));return new Oe(n,a)}var r}function Ke(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return ae(r.outlets,((e,n)=>{t[n]="string"==typeof e?e.split("/"):e})),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===a?(r.split("/").forEach(((r,a)=>{0==a&&"."===r||(0==a&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[...e,r]}),[]);return new Je(n,t,r)}(n);if(i.toRoot())return Ye(t.root,new de([],{}),t,r,a);const o=function(e,t,n){if(e.isAbsolute)return new Xe(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment,r=e===t.root;return new Xe(e,r,0)}const r=Ge(e.commands[0])?0:1,a=n.snapshot._lastPathIndex+r;return function(e,t,n){let r=e,a=t,i=n;for(;i>a;){if(i-=a,r=r.parent,!r)throw new Error("Invalid number of '../'");a=r.segments.length}return new Xe(r,!1,a-i)}(n.snapshot._urlSegment,a,e.numberOfDoubleDots)}(i,t,e),s=o.processChildren?tt(o.segmentGroup,o.index,i.commands):et(o.segmentGroup,o.index,i.commands);return Ye(o.segmentGroup,s,t,r,a)}function Ge(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Qe(e){return"object"==typeof e&&null!=e&&e.outlets}function Ye(e,t,n,r,a){let i={};return r&&ae(r,((e,t)=>{i[t]=Array.isArray(e)?e.map((e=>`${e}`)):`${e}`})),n.root===e?new ue(t,i,a):new ue(Ze(n.root,e,t),i,a)}function Ze(e,t,n){const r={};return ae(e.children,((e,a)=>{r[a]=e===t?n:Ze(e,t,n)})),new de(e.segments,r)}class Je{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ge(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Qe);if(r&&r!==re(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xe{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function et(e,t,n){if(e||(e=new de([],{})),0===e.segments.length&&e.hasChildren())return tt(e,t,n);const r=function(e,t,n){let r=0,a=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;a=n.length)return i;const t=e.segments[a],o=n[r];if(Qe(o))break;const s=`${o}`,l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!it(s,l,t))return i;r+=2}else{if(!it(s,{},t))return i;r++}a++}return{match:!0,pathIndex:a,commandIndex:r}}(e,t,n),a=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(a[r]=et(e.children[r],t,n))})),ae(e.children,((e,t)=>{void 0===r[t]&&(a[t]=e)})),new de(e.segments,a)}}function nt(e,t,n){const r=e.segments.slice(0,t);let a=0;for(;a{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=nt(new de([],{}),0,e))})),t}function at(e){const t={};return ae(e,((e,n)=>t[n]=`${e}`)),t}function it(e,t,n){return e==n.path&&ee(t,n.parameters)}class ot{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ue(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=Me(t);e.children.forEach((e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]})),ae(r,((e,t)=>{this.deactivateRouteAndItsChildren(e,n)}))}deactivateRoutes(e,t,n){const r=e.value,a=t?t.value:null;if(r===a)if(r.component){const a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(e,t,a.children)}else this.deactivateChildRoutes(e,t,n);else a&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,a=Me(e);for(const i of Object.keys(a))this.deactivateRouteAndItsChildren(a[i],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const r=Me(t);e.children.forEach((e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new W(e.value.snapshot))})),e.children.length&&this.forwardEvent(new $(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,a=t?t.value:null;if(Ue(r),r===a)if(r.component){const a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,a.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),st(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(r.snapshot),a=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=a,t.outlet&&t.outlet.activateWith(r,a),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function st(e){Ue(e.value),e.children.forEach(st)}class lt{constructor(e,t){this.routes=e,this.module=t}}function ct(e){return"function"==typeof e}function ut(e){return e instanceof ue}const dt=Symbol("INITIAL_VALUE");function ht(){return Object(y.a)((e=>Object(l.b)(e.map((e=>e.pipe(Object(b.a)(1),Object(v.a)(dt))))).pipe(Object(w.a)(((e,t)=>{let n=!1;return t.reduce(((e,r,a)=>{if(e!==dt)return e;if(r===dt&&(n=!0),!n){if(!1===r)return r;if(a===t.length-1||ut(r))return r}return e}),e)}),dt),Object(k.a)((e=>e!==dt)),Object(g.a)((e=>ut(e)?e:!0===e)),Object(b.a)(1))))}class pt{}function ft(e,t=""){for(let n=0;nbt(e)===t));return n.push(...e.filter((e=>bt(e)!==t))),n}pt.ɵfac=function(e){return new(e||pt)},pt.ɵcmp=a["ɵɵdefineComponent"]({type:pt,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&a["ɵɵelement"](0,"router-outlet")},directives:function(){return[yn]},encapsulation:2}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](pt,[{type:a.Component,args:[{template:""}]}],null,null);const wt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function kt(e,t,n){var r;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},wt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const a=(t.matcher||X)(n,e,t);if(!a)return Object.assign({},wt);const i={};ae(a.posParams,((e,t)=>{i[t]=e.path}));const o=a.consumed.length>0?Object.assign(Object.assign({},i),a.consumed[a.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:a.consumed,lastChild:a.consumed.length,parameters:o,positionalParamSegments:null!==(r=a.posParams)&&void 0!==r?r:{}}}function _t(e,t,n,r,a="corrected"){if(n.length>0&&function(e,t,n){return n.some((n=>Ct(e,t,n)&&bt(n)!==Q))}(e,n,r)){const a=new de(t,function(e,t,n,r){const a={};a[Q]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&bt(i)!==Q){const n=new de([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,a[bt(i)]=n}return a}(e,t,r,new de(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((n=>Ct(e,t,n)))}(e,n,r)){const i=new de(e.segments,function(e,t,n,r,a,i){const o={};for(const s of r)if(Ct(e,n,s)&&!a[bt(s)]){const n=new de([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[bt(s)]=n}return Object.assign(Object.assign({},a),o)}(e,t,n,r,e.children,a));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new de(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function Ct(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function xt(e,t,n,r){return!!(bt(e)===r||r!==Q&&Ct(t,n,e))&&("**"===e.path||kt(t,e,n).matched)}function jt(e,t,n){return 0===t.length&&!e.children[n]}class Et{constructor(e){this.segmentGroup=e||null}}class St{constructor(e){this.urlTree=e}}function Dt(e){return new c.a((t=>t.error(new Et(e))))}function Tt(e){return new c.a((t=>t.error(new St(e))))}function zt(e){return new c.a((t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`))))}class It{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(a.NgModuleRef)}apply(){const e=_t(this.urlTree.root,[],[],this.config).segmentGroup,t=new de(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,Q).pipe(Object(g.a)((e=>this.createUrlTree(At(e),this.urlTree.queryParams,this.urlTree.fragment)))).pipe(Object(_.a)((e=>{if(e instanceof St)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Et)throw this.noMatchError(e);throw e})))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Q).pipe(Object(g.a)((t=>this.createUrlTree(At(t),e.queryParams,e.fragment)))).pipe(Object(_.a)((e=>{if(e instanceof Et)throw this.noMatchError(e);throw e})))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new de([],{[Q]:e}):e;return new ue(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(g.a)((e=>new de([],e)))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){const r=[];for(const a of Object.keys(n.children))"primary"===a?r.unshift(a):r.push(a);return Object(i.a)(r).pipe(Object(C.a)((r=>{const a=n.children[r],i=vt(t,r);return this.expandSegmentGroup(e,i,a,r).pipe(Object(g.a)((e=>({segment:e,outlet:r}))))})),Object(w.a)(((e,t)=>(e[t.outlet]=t.segment,e)),{}),Object(x.a)())}expandSegment(e,t,n,r,a,s){return Object(i.a)(n).pipe(Object(C.a)((i=>this.expandSegmentAgainstRoute(e,t,n,i,r,a,s).pipe(Object(_.a)((e=>{if(e instanceof Et)return Object(o.a)(null);throw e}))))),Object(j.a)((e=>!!e)),Object(_.a)(((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(jt(t,r,a))return Object(o.a)(new de([],{}));throw new Et(t)}throw e})))}expandSegmentAgainstRoute(e,t,n,r,a,i,o){return xt(r,t,a,i)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,a,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i):Dt(t):Dt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Tt(a):this.lineralizeSegments(n,a).pipe(Object(E.b)((n=>{const a=new de(n,{});return this.expandSegment(e,a,t,n,r,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,a,i){const{matched:o,consumedSegments:s,lastChild:l,positionalParamSegments:c}=kt(t,r,a);if(!o)return Dt(t);const u=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Tt(u):this.lineralizeSegments(r,u).pipe(Object(E.b)((r=>this.expandSegment(e,t,n,r.concat(a.slice(l)),i,!1))))}matchSegmentAgainstRoute(e,t,n,r,a){if("**"===n.path){if(n.loadChildren){return(n._loadedConfig?Object(o.a)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Object(g.a)((e=>(n._loadedConfig=e,new de(r,{})))))}return Object(o.a)(new de(r,{}))}const{matched:i,consumedSegments:s,lastChild:l}=kt(t,n,r);if(!i)return Dt(t);const c=r.slice(l);return this.getChildConfig(e,n,r).pipe(Object(E.b)((e=>{const r=e.module,i=e.routes,{segmentGroup:l,slicedSegments:u}=_t(t,s,c,i),d=new de(l.segments,l.children);if(0===u.length&&d.hasChildren()){return this.expandChildren(r,i,d).pipe(Object(g.a)((e=>new de(s,e))))}if(0===i.length&&0===u.length)return Object(o.a)(new de(s,{}));const h=bt(n)===a;return this.expandSegment(r,d,i,u,h?Q:a,!0).pipe(Object(g.a)((e=>new de(s.concat(e.segments),e.children))))})))}getChildConfig(e,t,n){return t.children?Object(o.a)(new lt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(E.b)((n=>n?this.configLoader.load(e.injector,t).pipe(Object(g.a)((e=>(t._loadedConfig=e,e)))):function(e){return new c.a((t=>t.error(J(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`))))}(t)))):Object(o.a)(new lt([],e))}runCanLoadGuards(e,t,n){const r=t.canLoad;if(!r||0===r.length)return Object(o.a)(!0);const a=r.map((r=>{const a=e.get(r);let i;if(function(e){return e&&ct(e.canLoad)}(a))i=a.canLoad(t,n);else{if(!ct(a))throw new Error("Invalid CanLoad guard");i=a(t,n)}return ie(i)}));return Object(o.a)(a).pipe(ht(),Object(S.a)((e=>{if(!ut(e))return;const t=J(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t})),Object(g.a)((e=>!0===e)))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[Q])return zt(e.redirectTo);r=r.children[Q]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const a=this.createSegmentGroup(e,t.root,n,r);return new ue(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ae(e,((e,r)=>{if("string"==typeof e&&e.startsWith(":")){const a=e.substring(1);n[r]=t[a]}else n[r]=e})),n}createSegmentGroup(e,t,n,r){const a=this.createSegments(e,t.segments,n,r);let i={};return ae(t.children,((t,a)=>{i[a]=this.createSegmentGroup(e,t,n,r)})),new de(a,i)}createSegments(e,t,n,r){return t.map((t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n)))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function At(e){const t={};for(const n of Object.keys(e.children)){const r=At(e.children[n]);(r.segments.length>0||r.hasChildren())&&(t[n]=r)}return function(e){if(1===e.numberOfChildren&&e.children[Q]){const t=e.children[Q];return new de(e.segments.concat(t.segments),t.children)}return e}(new de(e.segments,t))}function Ot(e,t,n,r){return Object(y.a)((a=>function(e,t,n,r,a){return new It(e,t,n,r,a).apply()}(e,t,n,a.extractedUrl,r).pipe(Object(g.a)((e=>Object.assign(Object.assign({},a),{urlAfterRedirects:e}))))))}class Mt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Nt{constructor(e,t){this.component=e,this.route=t}}function Rt(e,t,n){const r=e._root;return qt(r,t?t._root:null,n,[r.value])}function Pt(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function qt(e,t,n,r,a={canDeactivateChecks:[],canActivateChecks:[]}){const i=Me(t);return e.children.forEach((e=>{!function(e,t,n,r,a={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!pe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!pe(e.url,t.url)||!ee(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!He(e,t)||!ee(e.queryParams,t.queryParams);case"paramsChange":default:return!He(e,t)}}(o,i,i.routeConfig.runGuardsAndResolvers);l?a.canActivateChecks.push(new Mt(r)):(i.data=o.data,i._resolvedData=o._resolvedData),i.component?qt(e,t,s?s.children:null,r,a):qt(e,t,n,r,a),l&&s&&s.outlet&&s.outlet.isActivated&&a.canDeactivateChecks.push(new Nt(s.outlet.component,o))}else o&&Bt(t,s,a),a.canActivateChecks.push(new Mt(r)),i.component?qt(e,null,s?s.children:null,r,a):qt(e,null,n,r,a)}(e,i[e.value.outlet],n,r.concat([e.value]),a),delete i[e.value.outlet]})),ae(i,((e,t)=>Bt(e,n.getContext(t),a))),a}function Bt(e,t,n){const r=Me(e),a=e.value;ae(r,((e,r)=>{a.component?Bt(e,t?t.children.getContext(r):null,n):Bt(e,t,n)})),a.component&&t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new Nt(t.outlet.component,a)):n.canDeactivateChecks.push(new Nt(null,a))}function Lt(e,t){return Object(E.b)((n=>{const{targetSnapshot:r,currentSnapshot:a,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(i.a)(e).pipe(Object(E.b)((e=>function(e,t,n,r,a){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(o.a)(!0);const s=i.map((i=>{const o=Pt(i,t,a);let s;if(function(e){return e&&ct(e.canDeactivate)}(o))s=ie(o.canDeactivate(e,t,n,r));else{if(!ct(o))throw new Error("Invalid CanDeactivate guard");s=ie(o(e,t,n,r))}return s.pipe(Object(j.a)())}));return Object(o.a)(s).pipe(ht())}(e.component,e.route,n,t,r))),Object(j.a)((e=>!0!==e),!0))}(l,r,a,e).pipe(Object(E.b)((n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(i.a)(t).pipe(Object(C.a)((t=>Object(d.a)(function(e,t){null!==e&&t&&t(new H(e));return Object(o.a)(!0)}(t.route.parent,r),function(e,t){null!==e&&t&&t(new K(e));return Object(o.a)(!0)}(t.route,r),function(e,t,n){const r=t[t.length-1],a=t.slice(0,t.length-1).reverse().map((e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e))).filter((e=>null!==e)).map((t=>Object(h.a)((()=>{const a=t.guards.map((a=>{const i=Pt(a,t.node,n);let o;if(function(e){return e&&ct(e.canActivateChild)}(i))o=ie(i.canActivateChild(r,e));else{if(!ct(i))throw new Error("Invalid CanActivateChild guard");o=ie(i(r,e))}return o.pipe(Object(j.a)())}));return Object(o.a)(a).pipe(ht())}))));return Object(o.a)(a).pipe(ht())}(e,t.path,n),function(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const a=r.map((r=>Object(h.a)((()=>{const a=Pt(r,t,n);let i;if(function(e){return e&&ct(e.canActivate)}(a))i=ie(a.canActivate(t,e));else{if(!ct(a))throw new Error("Invalid CanActivate guard");i=ie(a(t,e))}return i.pipe(Object(j.a)())}))));return Object(o.a)(a).pipe(ht())}(e,t.route,n)))),Object(j.a)((e=>!0!==e),!0))}(r,s,e,t):Object(o.a)(n))),Object(g.a)((e=>Object.assign(Object.assign({},n),{guardsResult:e}))))}))}class Ft{}function Vt(e){return new c.a((t=>t.error(e)))}class Ut{constructor(e,t,n,r,a,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=i}recognize(){const e=_t(this.urlTree.root,[],[],this.config.filter((e=>void 0===e.redirectTo)),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Q);if(null===t)return null;const n=new Be([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Q,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Oe(n,t),a=new Le(this.url,r);return this.inheritParamsAndData(a._root),a}inheritParamsAndData(e){const t=e.value,n=qe(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach((e=>this.inheritParamsAndData(e)))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const a of Object.keys(t.children)){const r=t.children[a],i=vt(e,a),o=this.processSegmentGroup(i,r,a);if(null===o)return null;n.push(...o)}const r=$t(n);return("undefined"==typeof ngDevMode||ngDevMode)&&function(e){const t={};e.forEach((e=>{const n=t[e.value.outlet];if(n){const t=n.url.map((e=>e.toString())).join("/"),r=e.value.url.map((e=>e.toString())).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value}))}(r),r.sort(((e,t)=>e.value.outlet===Q?-1:t.value.outlet===Q?1:e.value.outlet.localeCompare(t.value.outlet))),r}processSegment(e,t,n,r){for(const a of e){const e=this.processSegmentAgainstRoute(a,t,n,r);if(null!==e)return e}return jt(t,n,r)?[]:null}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo||!xt(e,t,n,r))return null;let a,i=[],o=[];if("**"===e.path){const r=n.length>0?re(n).parameters:{};a=new Be(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),bt(e),e.component,e,Kt(t),Wt(t)+n.length,Qt(e))}else{const r=kt(t,e,n);if(!r.matched)return null;i=r.consumedSegments,o=n.slice(r.lastChild),a=new Be(i,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Gt(e),bt(e),e.component,e,Kt(t),Wt(t)+i.length,Qt(e))}const s=function(e){if(e.children)return e.children;if(e.loadChildren)return e._loadedConfig.routes;return[]}(e),{segmentGroup:l,slicedSegments:c}=_t(t,i,o,s.filter((e=>void 0===e.redirectTo)),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(s,l);return null===e?null:[new Oe(a,e)]}if(0===s.length&&0===c.length)return[new Oe(a,[])];const u=bt(e)===r,d=this.processSegment(s,l,c,u?Q:r);return null===d?null:[new Oe(a,d)]}}function Ht(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function $t(e){const t=[],n=new Set;for(const r of e){if(!Ht(r)){t.push(r);continue}const e=t.find((e=>r.value.routeConfig===e.value.routeConfig));void 0!==e?(e.children.push(...r.children),n.add(e)):t.push(r)}for(const r of n){const e=$t(r.children);t.push(new Oe(r.value,e))}return t.filter((e=>!n.has(e)))}function Kt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Wt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Gt(e){return e.data||{}}function Qt(e){return e.resolve||{}}function Yt(e,t,n,r,a){return Object(E.b)((i=>function(e,t,n,r,a="emptyOnly",i="legacy"){try{const s=new Ut(e,t,n,r,a,i).recognize();return null===s?Vt(new Ft):Object(o.a)(s)}catch(s){return Vt(s)}}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,a).pipe(Object(g.a)((e=>Object.assign(Object.assign({},i),{targetSnapshot:e}))))))}function Zt(e,t){return Object(E.b)((n=>{const{targetSnapshot:r,guards:{canActivateChecks:a}}=n;if(!a.length)return Object(o.a)(n);let s=0;return Object(i.a)(a).pipe(Object(C.a)((n=>function(e,t,n,r){return function(e,t,n,r){const a=Object.keys(e);if(0===a.length)return Object(o.a)({});const s={};return Object(i.a)(a).pipe(Object(E.b)((a=>function(e,t,n,r){const a=Pt(e,t,r);return a.resolve?ie(a.resolve(t,n)):ie(a(t,n))}(e[a],t,n,r).pipe(Object(S.a)((e=>{s[a]=e}))))),Object(D.a)(1),Object(E.b)((()=>Object.keys(s).length===a.length?Object(o.a)(s):p.a)))}(e._resolve,e,t,r).pipe(Object(g.a)((t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),qe(e,n).resolve),null))))}(n.route,r,e,t))),Object(S.a)((()=>s++)),Object(D.a)(1),Object(E.b)((e=>s===a.length?Object(o.a)(n):p.a)))}))}function Jt(e){return Object(y.a)((t=>{const n=e(t);return n?Object(i.a)(n).pipe(Object(g.a)((()=>t))):Object(o.a)(t)}))}class Xt{}class en{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class tn extends en{}const nn=new a.InjectionToken("ROUTES");class rn{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe(Object(g.a)((n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new lt(ne(r.injector.get(nn,void 0,a.InjectFlags.Self|a.InjectFlags.Optional)).map(yt),r)})),Object(_.a)((e=>{throw t._loader$=void 0,e})));return t._loader$=new f.a(n,(()=>new m.a)).pipe(Object(T.a)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?Object(i.a)(this.loader.load(e)):ie(e()).pipe(Object(E.b)((e=>e instanceof a.NgModuleFactory?Object(o.a)(e):Object(i.a)(this.compiler.compileModuleAsync(e)))))}}class an{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new on,this.attachRef=null}}class on{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new an,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class sn{}class ln{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function cn(e){throw e}function un(e,t,n){return t.parse("/")}function dn(e,t){return Object(o.a)(null)}class hn{constructor(e,t,n,r,i,o,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new m.a,this.errorHandler=cn,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dn,afterPreactivation:dn},this.urlHandlingStrategy=new ln,this.routeReuseStrategy=new tn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected";this.ngModule=i.get(a.NgModuleRef),this.console=i.get(a["ɵConsole"]);const u=i.get(a.NgZone);this.isNgZoneEnabled=u instanceof a.NgZone&&a.NgZone.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new ue(new de([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rn(o,l,(e=>this.triggerEvent(new V(e))),(e=>this.triggerEvent(new U(e)))),this.routerState=Re(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(k.a)((e=>0!==e.id)),Object(g.a)((e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)}))),Object(y.a)((e=>{let n=!1,r=!1;return Object(o.a)(e).pipe(Object(S.a)((e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(y.a)((e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(y.a)((e=>{const n=this.transitions.getValue();return t.next(new O(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:Promise.resolve(e)})),Ot(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(S.a)((e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})})),Yt(this.rootComponentType,this.config,(e=>this.serializeUrl(e)),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(S.a)((e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new P(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)})));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:a,restoredState:i,extras:s}=e,l=new O(n,this.serializeUrl(r),a,i);t.next(l);const c=Re(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a})),Jt((e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:a,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!i,replaceUrl:!!o})})),Object(S.a)((e=>{const t=new q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})),Object(g.a)((e=>Object.assign(Object.assign({},e),{guards:Rt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)}))),Lt(this.ngModule.injector,(e=>this.triggerEvent(e))),Object(S.a)((e=>{if(ut(e.guardsResult)){const t=J(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new B(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)})),Object(k.a)((e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new N(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0})),Jt((e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(S.a)((e=>{const t=new L(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})),Object(y.a)((e=>{let n=!1;return Object(o.a)(e).pipe(Zt(this.paramsInheritanceStrategy,this.ngModule.injector),Object(S.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new N(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}))})),Object(S.a)((e=>{const t=new F(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)})))})),Jt((e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:a,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:a,skipLocationChange:!!i,replaceUrl:!!o})})),Object(g.a)((e=>{const t=function(e,t,n){const r=$e(e,t._root,n?n._root:void 0);return new Ne(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})})),Object(S.a)((e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)})),(a=this.rootContexts,i=this.routeReuseStrategy,s=e=>this.triggerEvent(e),Object(g.a)((e=>(new ot(i,e.targetRouterState,e.currentRouterState,s).activate(a),e)))),Object(S.a)({next(){n=!0},complete(){n=!0}}),Object(z.a)((()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new N(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null})),Object(_.a)((n=>{if(r=!0,(a=n)&&a.ngNavigationCancelingError){const r=ut(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const a=new N(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(a),r?setTimeout((()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy};this.scheduleNavigation(t,"imperative",null,r,{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new R(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(i){e.reject(i)}}var a;return p.a})));var a,i,s})))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout((()=>{const{source:e,state:n,urlTree:r}=t,a={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(a.state=e)}this.scheduleNavigation(r,e,n,a)}),0),this.lastLocationChangeInfo=t})))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId)||!n||!("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){ft(e),this.config=e.map(yt),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:a,queryParamsHandling:i,preserveFragment:o}=t,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:a;let c=null;switch(i){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),We(s,this.currentUrlTree,e,c,l)}navigateByUrl(e,t={skipLocationChange:!1}){("undefined"==typeof ngDevMode||ngDevMode&&this.isNgZoneEnabled&&!a.NgZone.isInAngularZone())&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=ut(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const r=e[n];return null!=r&&(t[n]=r),t}),{})}processNavigations(){this.navigations.subscribe((e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new M(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)}),(e=>{this.console.warn("Unhandled Navigation Error: ")}))}scheduleNavigation(e,t,n,r,a){if(this.disposed)return Promise.resolve(!1);const i=this.getTransition(),o="imperative"!==t&&"imperative"===(null==i?void 0:i.source),s=(this.lastSuccessfulId===i.id||this.currentNavigation?i.rawUrl:i.urlAfterRedirects).toString()===e.toString();if(o&&s)return Promise.resolve(!0);let l,c,u;a?(l=a.resolve,c=a.reject,u=a.promise):u=new Promise(((e,t)=>{l=e,c=t}));const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch((e=>Promise.reject(e)))}setBrowserUrl(e,t,n,r){const a=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(a)||t?this.location.replaceState(a,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(a,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}hn.ɵfac=function(e){return new(e||hn)(a["ɵɵinject"](a.Type),a["ɵɵinject"](fe),a["ɵɵinject"](on),a["ɵɵinject"](r.Location),a["ɵɵinject"](a.Injector),a["ɵɵinject"](a.NgModuleFactoryLoader),a["ɵɵinject"](a.Compiler),a["ɵɵinject"](void 0))},hn.ɵprov=a["ɵɵdefineInjectable"]({token:hn,factory:hn.ɵfac}),hn.ctorParameters=()=>[{type:a.Type},{type:fe},{type:on},{type:r.Location},{type:a.Injector},{type:a.NgModuleFactoryLoader},{type:a.Compiler},{type:void 0}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](hn,[{type:a.Injectable}],(function(){return[{type:a.Type},{type:fe},{type:on},{type:r.Location},{type:a.Injector},{type:a.NgModuleFactoryLoader},{type:a.Compiler},{type:void 0}]}),null);class pn{constructor(e,t,n,r,a){this.router=e,this.route=t,this.commands=[],this.onChanges=new m.a,null==n&&r.setAttribute(a.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:mn(this.skipLocationChange),replaceUrl:mn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mn(this.preserveFragment)})}}pn.ɵfac=function(e){return new(e||pn)(a["ɵɵdirectiveInject"](hn),a["ɵɵdirectiveInject"](Pe),a["ɵɵinjectAttribute"]("tabindex"),a["ɵɵdirectiveInject"](a.Renderer2),a["ɵɵdirectiveInject"](a.ElementRef))},pn.ɵdir=a["ɵɵdefineDirective"]({type:pn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&a["ɵɵlistener"]("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a["ɵɵNgOnChangesFeature"]]}),pn.ctorParameters=()=>[{type:hn},{type:Pe},{type:String,decorators:[{type:a.Attribute,args:["tabindex"]}]},{type:a.Renderer2},{type:a.ElementRef}],pn.propDecorators={queryParams:[{type:a.Input}],fragment:[{type:a.Input}],queryParamsHandling:[{type:a.Input}],preserveFragment:[{type:a.Input}],skipLocationChange:[{type:a.Input}],replaceUrl:[{type:a.Input}],state:[{type:a.Input}],relativeTo:[{type:a.Input}],routerLink:[{type:a.Input}],onClick:[{type:a.HostListener,args:["click"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](pn,[{type:a.Directive,args:[{selector:":not(a):not(area)[routerLink]"}]}],(function(){return[{type:hn},{type:Pe},{type:String,decorators:[{type:a.Attribute,args:["tabindex"]}]},{type:a.Renderer2},{type:a.ElementRef}]}),{routerLink:[{type:a.Input}],onClick:[{type:a.HostListener,args:["click"]}],queryParams:[{type:a.Input}],fragment:[{type:a.Input}],queryParamsHandling:[{type:a.Input}],preserveFragment:[{type:a.Input}],skipLocationChange:[{type:a.Input}],replaceUrl:[{type:a.Input}],state:[{type:a.Input}],relativeTo:[{type:a.Input}]});class fn{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new m.a,this.subscription=e.events.subscribe((e=>{e instanceof M&&this.updateTargetUrlAndHref()}))}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,r,a){if(0!==e||t||n||r||a)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const i={skipLocationChange:mn(this.skipLocationChange),replaceUrl:mn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:mn(this.preserveFragment)})}}function mn(e){return""===e||!!e}fn.ɵfac=function(e){return new(e||fn)(a["ɵɵdirectiveInject"](hn),a["ɵɵdirectiveInject"](Pe),a["ɵɵdirectiveInject"](r.LocationStrategy))},fn.ɵdir=a["ɵɵdefineDirective"]({type:fn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&a["ɵɵlistener"]("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(a["ɵɵhostProperty"]("href",t.href,a["ɵɵsanitizeUrl"]),a["ɵɵattribute"]("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[a["ɵɵNgOnChangesFeature"]]}),fn.ctorParameters=()=>[{type:hn},{type:Pe},{type:r.LocationStrategy}],fn.propDecorators={target:[{type:a.HostBinding,args:["attr.target"]},{type:a.Input}],queryParams:[{type:a.Input}],fragment:[{type:a.Input}],queryParamsHandling:[{type:a.Input}],preserveFragment:[{type:a.Input}],skipLocationChange:[{type:a.Input}],replaceUrl:[{type:a.Input}],state:[{type:a.Input}],relativeTo:[{type:a.Input}],href:[{type:a.HostBinding}],routerLink:[{type:a.Input}],onClick:[{type:a.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]},("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](fn,[{type:a.Directive,args:[{selector:"a[routerLink],area[routerLink]"}]}],(function(){return[{type:hn},{type:Pe},{type:r.LocationStrategy}]}),{routerLink:[{type:a.Input}],onClick:[{type:a.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}],href:[{type:a.HostBinding}],target:[{type:a.HostBinding,args:["attr.target"]},{type:a.Input}],queryParams:[{type:a.Input}],fragment:[{type:a.Input}],queryParamsHandling:[{type:a.Input}],preserveFragment:[{type:a.Input}],skipLocationChange:[{type:a.Input}],replaceUrl:[{type:a.Input}],state:[{type:a.Input}],relativeTo:[{type:a.Input}]});class gn{constructor(e,t,n,r,a,i){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=a,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe((e=>{e instanceof M&&this.update()}))}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(I.a)()).subscribe((e=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter((e=>!!e)).map((e=>e.onChanges));this.linkInputChangesSubscription=Object(i.a)(t).pipe(Object(I.a)()).subscribe((e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()}))}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((e=>!!e))}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach((t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)})))}))}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}gn.ɵfac=function(e){return new(e||gn)(a["ɵɵdirectiveInject"](hn),a["ɵɵdirectiveInject"](a.ElementRef),a["ɵɵdirectiveInject"](a.Renderer2),a["ɵɵdirectiveInject"](a.ChangeDetectorRef),a["ɵɵdirectiveInject"](pn,8),a["ɵɵdirectiveInject"](fn,8))},gn.ɵdir=a["ɵɵdefineDirective"]({type:gn,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(a["ɵɵcontentQuery"](n,pn,1),a["ɵɵcontentQuery"](n,fn,1)),2&e){let e;a["ɵɵqueryRefresh"](e=a["ɵɵloadQuery"]())&&(t.links=e),a["ɵɵqueryRefresh"](e=a["ɵɵloadQuery"]())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[a["ɵɵNgOnChangesFeature"]]}),gn.ctorParameters=()=>[{type:hn},{type:a.ElementRef},{type:a.Renderer2},{type:a.ChangeDetectorRef},{type:pn,decorators:[{type:a.Optional}]},{type:fn,decorators:[{type:a.Optional}]}],gn.propDecorators={links:[{type:a.ContentChildren,args:[pn,{descendants:!0}]}],linksWithHrefs:[{type:a.ContentChildren,args:[fn,{descendants:!0}]}],routerLinkActiveOptions:[{type:a.Input}],routerLinkActive:[{type:a.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](gn,[{type:a.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],(function(){return[{type:hn},{type:a.ElementRef},{type:a.Renderer2},{type:a.ChangeDetectorRef},{type:pn,decorators:[{type:a.Optional}]},{type:fn,decorators:[{type:a.Optional}]}]}),{routerLinkActiveOptions:[{type:a.Input}],routerLinkActive:[{type:a.Input}],links:[{type:a.ContentChildren,args:[pn,{descendants:!0}]}],linksWithHrefs:[{type:a.ContentChildren,args:[fn,{descendants:!0}]}]});class yn{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new a.EventEmitter,this.deactivateEvents=new a.EventEmitter,this.name=r||Q,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=e._futureSnapshot.routeConfig.component,r=(t=t||this.resolver).resolveComponentFactory(n),a=this.parentContexts.getOrCreateContext(this.name).children,i=new bn(e,a,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}yn.ɵfac=function(e){return new(e||yn)(a["ɵɵdirectiveInject"](on),a["ɵɵdirectiveInject"](a.ViewContainerRef),a["ɵɵdirectiveInject"](a.ComponentFactoryResolver),a["ɵɵinjectAttribute"]("name"),a["ɵɵdirectiveInject"](a.ChangeDetectorRef))},yn.ɵdir=a["ɵɵdefineDirective"]({type:yn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),yn.ctorParameters=()=>[{type:on},{type:a.ViewContainerRef},{type:a.ComponentFactoryResolver},{type:String,decorators:[{type:a.Attribute,args:["name"]}]},{type:a.ChangeDetectorRef}],yn.propDecorators={activateEvents:[{type:a.Output,args:["activate"]}],deactivateEvents:[{type:a.Output,args:["deactivate"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](yn,[{type:a.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],(function(){return[{type:on},{type:a.ViewContainerRef},{type:a.ComponentFactoryResolver},{type:String,decorators:[{type:a.Attribute,args:["name"]}]},{type:a.ChangeDetectorRef}]}),{activateEvents:[{type:a.Output,args:["activate"]}],deactivateEvents:[{type:a.Output,args:["deactivate"]}]});class bn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Pe?this.route:e===on?this.childContexts:this.parent.get(e,t)}}class vn{}class wn{preload(e,t){return t().pipe(Object(_.a)((()=>Object(o.a)(null))))}}class kn{preload(e,t){return Object(o.a)(null)}}class _n{constructor(e,t,n,r,a){this.router=e,this.injector=r,this.preloadingStrategy=a;this.loader=new rn(t,n,(t=>e.triggerEvent(new V(t))),(t=>e.triggerEvent(new U(t))))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(k.a)((e=>e instanceof M)),Object(C.a)((()=>this.preload()))).subscribe((()=>{}))}preload(){const e=this.injector.get(a.NgModuleRef);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(i.a)(n).pipe(Object(I.a)(),Object(g.a)((e=>{})))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,(()=>(t._loadedConfig?Object(o.a)(t._loadedConfig):this.loader.load(e.injector,t)).pipe(Object(E.b)((e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))))}}_n.ɵfac=function(e){return new(e||_n)(a["ɵɵinject"](hn),a["ɵɵinject"](a.NgModuleFactoryLoader),a["ɵɵinject"](a.Compiler),a["ɵɵinject"](a.Injector),a["ɵɵinject"](vn))},_n.ɵprov=a["ɵɵdefineInjectable"]({token:_n,factory:_n.ɵfac}),_n.ctorParameters=()=>[{type:hn},{type:a.NgModuleFactoryLoader},{type:a.Compiler},{type:a.Injector},{type:vn}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](_n,[{type:a.Injectable}],(function(){return[{type:hn},{type:a.NgModuleFactoryLoader},{type:a.Compiler},{type:a.Injector},{type:vn}]}),null);class Cn{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((e=>{e instanceof O?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof M&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((e=>{e instanceof G&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(e,t){this.router.triggerEvent(new G(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}Cn.ɵfac=function(e){return new(e||Cn)(a["ɵɵinject"](hn),a["ɵɵinject"](r.ViewportScroller),a["ɵɵinject"](void 0))},Cn.ɵprov=a["ɵɵdefineInjectable"]({token:Cn,factory:Cn.ɵfac}),Cn.ctorParameters=()=>[{type:hn},{type:r.ViewportScroller},{type:void 0}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Cn,[{type:a.Injectable}],(function(){return[{type:hn},{type:r.ViewportScroller},{type:void 0}]}),null);const xn=[yn,pn,fn,gn,pt],jn=new a.InjectionToken("ROUTER_CONFIGURATION"),En=new a.InjectionToken("ROUTER_FORROOT_GUARD"),Sn=[r.Location,{provide:fe,useClass:me},{provide:hn,useFactory:Mn,deps:[fe,on,r.Location,a.Injector,a.NgModuleFactoryLoader,a.Compiler,nn,jn,[sn,new a.Optional],[Xt,new a.Optional]]},on,{provide:Pe,useFactory:Rn,deps:[hn]},{provide:a.NgModuleFactoryLoader,useClass:a.SystemJsNgModuleLoader},_n,kn,wn,{provide:jn,useValue:{enableTracing:!1}}];function Dn(){return new a.NgProbeToken("Router",hn)}class Tn{constructor(e,t){}static forRoot(e,t){return{ngModule:Tn,providers:[Sn,On(e),{provide:En,useFactory:An,deps:[[hn,new a.Optional,new a.SkipSelf]]},{provide:jn,useValue:t||{}},{provide:r.LocationStrategy,useFactory:In,deps:[r.PlatformLocation,[new a.Inject(r.APP_BASE_HREF),new a.Optional],jn]},{provide:Cn,useFactory:zn,deps:[hn,r.ViewportScroller,jn]},{provide:vn,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:kn},{provide:a.NgProbeToken,multi:!0,useFactory:Dn},Fn()]}}static forChild(e){return{ngModule:Tn,providers:[On(e)]}}}function zn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Cn(e,t,n)}function In(e,t,n={}){return n.useHash?new r.HashLocationStrategy(e,t):new r.PathLocationStrategy(e,t)}function An(e){if(("undefined"==typeof ngDevMode||ngDevMode)&&e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function On(e){return[{provide:a.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:nn,multi:!0,useValue:e}]}function Mn(e,t,n,a,i,o,s,l={},c,u){const d=new hn(null,e,t,n,a,i,o,ne(s));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),Nn(l,d),l.enableTracing){const e=Object(r["ɵgetDOM"])();d.events.subscribe((t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()}))}return d}function Nn(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}function Rn(e){return e.routerState.root}Tn.ɵfac=function(e){return new(e||Tn)(a["ɵɵinject"](En,8),a["ɵɵinject"](hn,8))},Tn.ɵmod=a["ɵɵdefineNgModule"]({type:Tn}),Tn.ɵinj=a["ɵɵdefineInjector"]({}),Tn.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[En]}]},{type:hn,decorators:[{type:a.Optional}]}],("undefined"==typeof ngJitMode||ngJitMode)&&a["ɵɵsetNgModuleScope"](Tn,{declarations:[yn,pn,fn,gn,pt],exports:[yn,pn,fn,gn,pt]}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Tn,[{type:a.NgModule,args:[{declarations:xn,exports:xn,entryComponents:[pt]}]}],(function(){return[{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[En]}]},{type:hn,decorators:[{type:a.Optional}]}]}),null);class Pn{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new m.a}appInitializer(){return this.injector.get(r.LOCATION_INITIALIZED,Promise.resolve(null)).then((()=>{let e=null;const t=new Promise((t=>e=t)),n=this.injector.get(hn),r=this.injector.get(jn);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t}))}bootstrapListener(e){const t=this.injector.get(jn),n=this.injector.get(_n),r=this.injector.get(Cn),i=this.injector.get(hn),o=this.injector.get(a.ApplicationRef);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||i.initialNavigation(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}function qn(e){return e.appInitializer.bind(e)}function Bn(e){return e.bootstrapListener.bind(e)}Pn.ɵfac=function(e){return new(e||Pn)(a["ɵɵinject"](a.Injector))},Pn.ɵprov=a["ɵɵdefineInjectable"]({token:Pn,factory:Pn.ɵfac}),Pn.ctorParameters=()=>[{type:a.Injector}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Pn,[{type:a.Injectable}],(function(){return[{type:a.Injector}]}),null);const Ln=new a.InjectionToken("Router Initializer");function Fn(){return[Pn,{provide:a.APP_INITIALIZER,multi:!0,useFactory:qn,deps:[Pn]},{provide:Ln,useFactory:Bn,deps:[Pn]},{provide:a.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Ln}]}const Vn=new a.Version("11.2.14")},,function(e,t,n){"use strict";n.r(t),n.d(t,"BodyOutputType",(function(){return w})),n.d(t,"DefaultIconClasses",(function(){return _})),n.d(t,"DefaultTypeClasses",(function(){return k})),n.d(t,"ToasterConfig",(function(){return C})),n.d(t,"ToasterContainerComponent",(function(){return j})),n.d(t,"ToasterModule",(function(){return D})),n.d(t,"ToasterService",(function(){return x})),n.d(t,"ɵa",(function(){return v})),n.d(t,"ɵb",(function(){return E})),n.d(t,"ɵc",(function(){return S}));var r=n(0),a=n(14),i=n(20),o=n(42),s=n(232),l=n(2),c=n(75);const u=function(e,t){return[e,t]};function d(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"div",2),r["ɵɵlistener"]("click",(function(){r["ɵɵrestoreView"](e);const n=t.$implicit;return r["ɵɵnextContext"]().click(n)}))("clickEvent",(function(t){r["ɵɵrestoreView"](e);return r["ɵɵnextContext"]().childClick(t)}))("removeToastEvent",(function(t){r["ɵɵrestoreView"](e);return r["ɵɵnextContext"]().removeToast(t)})),r["ɵɵtext"](1,"\n "),r["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=r["ɵɵnextContext"]();r["ɵɵproperty"]("toast",e)("toasterconfig",n.toasterconfig)("@toastState",n.toasterconfig.animation)("titleClass",n.toasterconfig.titleClass)("messageClass",n.toasterconfig.messageClass)("ngClass",r["ɵɵpureFunction2"](6,u,n.toasterconfig.iconClasses[e.type],n.toasterconfig.typeClasses[e.type]))}}const h=function(e){return[e]},p=["componentBody"];function f(e,t){1&e&&r["ɵɵelement"](0,"div",null,7)}function m(e,t){if(1&e&&(r["ɵɵelement"](0,"div",8),r["ɵɵpipe"](1,"trustHtml")),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](1,1,e.toast.body),r["ɵɵsanitizeHtml"])}}function g(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.toast.body)}}function y(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"button",9),r["ɵɵlistener"]("click",(function(t){r["ɵɵrestoreView"](e);const n=r["ɵɵnextContext"]();return n.click(t,n.toast)})),r["ɵɵpipe"](1,"trustHtml"),r["ɵɵtext"](2,"\n "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](1,1,e.toast.closeHtml),r["ɵɵsanitizeHtml"])}}function b(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1,"\n "),r["ɵɵelement"](2,"div",10),r["ɵɵtext"](3,"\n "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵstyleProp"]("width",e.progressBarWidth+"%")}}const v=[Object(a.k)("toastState",[Object(a.h)("flyRight, flyLeft, slideDown, slideDown, slideUp, slideUp, fade",Object(a.i)({opacity:1,transform:"translate(0,0)"})),Object(a.j)("void => flyRight",[Object(a.i)({opacity:0,transform:"translateX(100%)",height:0}),Object(a.e)("0.15s ease-in",Object(a.i)({opacity:1,height:"*"})),Object(a.e)("0.25s 15ms ease-in")]),Object(a.j)("flyRight => void",[Object(a.e)("0.25s ease-out",Object(a.i)({opacity:0,transform:"translateX(100%)"})),Object(a.e)("0.15s ease-out",Object(a.i)({height:0}))]),Object(a.j)("void => flyLeft",[Object(a.i)({opacity:0,transform:"translateX(-100%)",height:0}),Object(a.e)("0.15s ease-in",Object(a.i)({opacity:1,height:"*"})),Object(a.e)("0.25s 15ms ease-in")]),Object(a.j)("flyLeft => void",[Object(a.e)("0.25s 10ms ease-out",Object(a.i)({opacity:0,transform:"translateX(-100%)"})),Object(a.e)("0.15s ease-out",Object(a.i)({height:0}))]),Object(a.j)("void => slideDown",[Object(a.i)({opacity:0,transform:"translateY(-500%)",height:0}),Object(a.f)([Object(a.e)("0.2s ease-in",Object(a.i)({height:"*"})),Object(a.e)("0.4s ease-in",Object(a.i)({transform:"translate(0,0)"})),Object(a.e)("0.3s 0.1s ease-in",Object(a.i)({opacity:1}))])]),Object(a.j)("slideDown => void",Object(a.f)([Object(a.e)("0.3s ease-out",Object(a.i)({opacity:0})),Object(a.e)("0.4s ease-out",Object(a.i)({transform:"translateY(-500%)"})),Object(a.e)("0.2s 0.2s ease-out",Object(a.i)({height:0}))])),Object(a.j)("void => slideUp",[Object(a.i)({opacity:0,transform:"translateY(1000%)",height:0}),Object(a.f)([Object(a.e)("0.2s ease-in",Object(a.i)({height:"*"})),Object(a.e)("0.5s ease-in",Object(a.i)({transform:"translate(0,0)"})),Object(a.e)("0.3s 0.1s ease-in",Object(a.i)({opacity:1}))])]),Object(a.j)("slideUp => void",Object(a.f)([Object(a.e)("0.3s ease-out",Object(a.i)({opacity:0})),Object(a.e)("0.5s ease-out",Object(a.i)({transform:"translateY(1000%)"})),Object(a.e)("0.3s 0.15s ease-out",Object(a.i)({height:0}))])),Object(a.j)("void => fade",[Object(a.i)({opacity:0,height:0}),Object(a.e)("0.20s ease-in",Object(a.i)({height:"*"})),Object(a.e)("0.15s ease-in",Object(a.i)({opacity:1}))]),Object(a.j)("fade => void",[Object(a.f)([Object(a.e)("0.0s ease-out",Object(a.i)({"background-position":"-99999px"})),Object(a.e)("0.15s ease-out",Object(a.i)({opacity:0,"background-image":""})),Object(a.e)("0.3s 20ms ease-out",Object(a.i)({height:0}))])])])];var w;!function(e){e[e.Default=0]="Default",e[e.TrustedHtml=1]="TrustedHtml",e[e.Component=2]="Component"}(w||(w={}));const k={error:"toast-error",info:"toast-info",wait:"toast-wait",success:"toast-success",warning:"toast-warning"},_={error:"icon-error",info:"icon-info",wait:"icon-wait",success:"icon-success",warning:"icon-warning"};class C{constructor(e){e=e||{},this.limit=e.limit||null,this.tapToDismiss=null==e.tapToDismiss||e.tapToDismiss,this.showCloseButton=null!=e.showCloseButton&&e.showCloseButton,this.closeHtml=e.closeHtml||"×",this.newestOnTop=null==e.newestOnTop||e.newestOnTop,this.timeout=null!=e.timeout?e.timeout:5e3,this.typeClasses=e.typeClasses||k,this.iconClasses=e.iconClasses||_,this.bodyOutputType=e.bodyOutputType||w.Default,this.bodyTemplate=e.bodyTemplate||"toasterBodyTmpl.html",this.defaultToastType=e.defaultToastType||"info",this.positionClass=e.positionClass||"toast-top-right",this.titleClass=e.titleClass||"toast-title",this.messageClass=e.messageClass||"toast-message",this.animation=e.animation||"",this.preventDuplicates=null!=e.preventDuplicates&&e.preventDuplicates,this.mouseoverTimerStop=null!=e.mouseoverTimerStop&&e.mouseoverTimerStop,this.toastContainerId=null!=e.toastContainerId?e.toastContainerId:null}}C.ɵfac=function(e){return new(e||C)(r["ɵɵinject"](void 0))},C.ɵprov=r["ɵɵdefineInjectable"]({token:C,factory:C.ɵfac}),C.ctorParameters=()=>[{type:void 0}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](C,[{type:r.Injectable}],(function(){return[{type:void 0}]}),null);class x{constructor(){this.addToast=new i.a((e=>this._addToast=e)).pipe(Object(s.a)()),this.clearToasts=new i.a((e=>this._clearToasts=e)).pipe(Object(s.a)()),this._removeToastSubject=new o.a,this.removeToast=this._removeToastSubject.pipe(Object(s.a)())}pop(e,t,n){const r="string"==typeof e?{type:e,title:t,body:n}:e;if(r.toastId||(r.toastId=class{static newGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}}.newGuid()),!this._addToast)throw new Error("No Toaster Containers have been initialized to receive toasts.");return this._addToast.next(r),r}popAsync(e,t,n){return setTimeout((()=>{this.pop(e,t,n)}),0),this.addToast}clear(e,t){const n={toastId:e,toastContainerId:t};this._clearToasts.next(n)}}x.ɵfac=function(e){return new(e||x)},x.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new x},token:x,providedIn:"root"}),x.ctorParameters=()=>[],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](x,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[]}),null);class j{constructor(e){this.toasts=[],this.toasterService=e}ngOnInit(){this.registerSubscribers(),this.isNullOrUndefined(this.toasterconfig)&&(this.toasterconfig=new C)}click(e,t){e.onClickCallback&&e.onClickCallback(e);((this.isNullOrUndefined(e.tapToDismiss)?this.toasterconfig.tapToDismiss:e.tapToDismiss)||e.showCloseButton&&t)&&this.removeToast(e)}childClick(e){this.click(e.value.toast,e.value.isCloseButton)}removeToast(e){const t=this.toasts.indexOf(e);if(t<0)return;const n=this.toastIdOrDefault(e);this.toasts.splice(t,1),e.onHideCallback&&e.onHideCallback(e),this.toasterService._removeToastSubject.next({toastId:n,toastContainerId:e.toastContainerId})}registerSubscribers(){this.addToastSubscriber=this.toasterService.addToast.subscribe((e=>{this.addToast(e)})),this.clearToastsSubscriber=this.toasterService.clearToasts.subscribe((e=>{this.clearToasts(e)}))}addToast(e){if(!e.toastContainerId||!this.toasterconfig.toastContainerId||e.toastContainerId===this.toasterconfig.toastContainerId){if(e.type&&this.toasterconfig.typeClasses[e.type]&&this.toasterconfig.iconClasses[e.type]||(e.type=this.toasterconfig.defaultToastType),this.toasterconfig.preventDuplicates&&this.toasts.length>0){if(e.toastId&&this.toasts.some((t=>t.toastId===e.toastId)))return;if(this.toasts.some((t=>t.body===e.body)))return}this.isNullOrUndefined(e.showCloseButton)&&("object"==typeof this.toasterconfig.showCloseButton?e.showCloseButton=this.toasterconfig.showCloseButton[e.type]:"boolean"==typeof this.toasterconfig.showCloseButton&&(e.showCloseButton=this.toasterconfig.showCloseButton)),e.showCloseButton&&(e.closeHtml=e.closeHtml||this.toasterconfig.closeHtml),e.bodyOutputType=e.bodyOutputType||this.toasterconfig.bodyOutputType,this.toasterconfig.newestOnTop?(this.toasts.unshift(e),this.isLimitExceeded()&&this.toasts.pop()):(this.toasts.push(e),this.isLimitExceeded()&&this.toasts.shift()),e.onShowCallback&&e.onShowCallback(e)}}isLimitExceeded(){return this.toasterconfig.limit&&this.toasts.length>this.toasterconfig.limit}removeAllToasts(){for(let e=this.toasts.length-1;e>=0;e--)this.removeToast(this.toasts[e])}clearToasts(e){const t=e.toastId,n=e.toastContainerId;(this.isNullOrUndefined(n)||n===this.toasterconfig.toastContainerId)&&this.clearToastsAction(t)}clearToastsAction(e){e?this.removeToast(this.toasts.filter((t=>t.toastId===e))[0]):this.removeAllToasts()}toastIdOrDefault(e){return e.toastId||""}isNullOrUndefined(e){return null==e}ngOnDestroy(){this.addToastSubscriber&&this.addToastSubscriber.unsubscribe(),this.clearToastsSubscriber&&this.clearToastsSubscriber.unsubscribe()}}j.ɵfac=function(e){return new(e||j)(r["ɵɵdirectiveInject"](x))},j.ɵcmp=r["ɵɵdefineComponent"]({type:j,selectors:[["toaster-container"]],inputs:{toasterconfig:"toasterconfig"},decls:6,vars:4,consts:[[1,"toast-container",3,"ngClass"],["toastComp","","class","toast",3,"toast","toasterconfig","titleClass","messageClass","ngClass","click","clickEvent","removeToastEvent",4,"ngFor","ngForOf"],["toastComp","",1,"toast",3,"toast","toasterconfig","titleClass","messageClass","ngClass","click","clickEvent","removeToastEvent"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n "),r["ɵɵtemplate"](3,d,2,9,"div",1),r["ɵɵtext"](4,"\n "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](2,h,t.toasterconfig.positionClass)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngForOf",t.toasts))},directives:function(){return[l.NgClass,l.NgForOf,E]},encapsulation:2,data:{animation:v}}),j.ctorParameters=()=>[{type:x}],j.propDecorators={toasterconfig:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](j,[{type:r.Component,args:[{selector:"toaster-container",template:'\n
\n
\n
\n
\n ',animations:v}]}],(function(){return[{type:x}]}),{toasterconfig:[{type:r.Input}]});class E{constructor(e,t,n,a,i){this.componentFactoryResolver=e,this.changeDetectorRef=t,this.ngZone=n,this.element=a,this.renderer2=i,this.progressBarWidth=-1,this.bodyOutputType=w,this.clickEvent=new r.EventEmitter,this.removeToastEvent=new r.EventEmitter,this.timeoutId=null,this.timeout=0,this.progressBarIntervalId=null}ngOnInit(){this.toast.progressBar&&(this.toast.progressBarDirection=this.toast.progressBarDirection||"decreasing");let e="number"==typeof this.toast.timeout?this.toast.timeout:this.toasterconfig.timeout;"object"==typeof e&&(e=e[this.toast.type]),this.timeout=e}ngAfterViewInit(){if(this.toast.bodyOutputType===this.bodyOutputType.Component){const e=this.componentFactoryResolver.resolveComponentFactory(this.toast.body);this.componentBody.createComponent(e,void 0,this.componentBody.injector).instance.toast=this.toast,this.changeDetectorRef.detectChanges()}this.toasterconfig.mouseoverTimerStop&&(this.removeMouseOverListener=this.renderer2.listen(this.element.nativeElement,"mouseenter",(()=>this.stopTimer()))),this.configureTimer()}click(e,t){e.stopPropagation(),this.clickEvent.emit({value:{toast:t,isCloseButton:!0}})}stopTimer(){this.progressBarWidth=0,this.clearTimers()}restartTimer(){this.toasterconfig.mouseoverTimerStop?this.timeoutId||this.configureTimer():this.timeout&&!this.timeoutId&&this.removeToast()}ngOnDestroy(){this.removeMouseOverListener&&this.removeMouseOverListener(),this.clearTimers()}configureTimer(){!this.timeout||this.timeout<1||(this.toast.progressBar&&(this.removeToastTick=(new Date).getTime()+this.timeout,this.progressBarWidth=-1),this.ngZone.runOutsideAngular((()=>{this.timeoutId=window.setTimeout((()=>{this.ngZone.run((()=>{this.changeDetectorRef.markForCheck(),this.removeToast()}))}),this.timeout),this.toast.progressBar&&(this.progressBarIntervalId=window.setInterval((()=>{this.ngZone.run((()=>{this.updateProgressBar()}))}),10))})))}updateProgressBar(){0!==this.progressBarWidth&&100!==this.progressBarWidth&&(this.progressBarWidth=(this.removeToastTick-(new Date).getTime())/this.timeout*100,"increasing"===this.toast.progressBarDirection&&(this.progressBarWidth=100-this.progressBarWidth),this.progressBarWidth<0&&(this.progressBarWidth=0),this.progressBarWidth>100&&(this.progressBarWidth=100))}clearTimers(){this.timeoutId&&window.clearTimeout(this.timeoutId),this.progressBarIntervalId&&window.clearInterval(this.progressBarIntervalId),this.timeoutId=null,this.progressBarIntervalId=null}removeToast(){this.removeToastEvent.emit(this.toast)}}E.ɵfac=function(e){return new(e||E)(r["ɵɵdirectiveInject"](r.ComponentFactoryResolver),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2))},E.ɵcmp=r["ɵɵdefineComponent"]({type:E,selectors:[["","toastComp",""]],viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](p,1,r.ViewContainerRef),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t.componentBody=e.first)}},hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("mouseleave",(function(){return t.restartTimer()}))},inputs:{toasterconfig:"toasterconfig",toast:"toast",titleClass:"titleClass",messageClass:"messageClass"},outputs:{clickEvent:"clickEvent",removeToastEvent:"removeToastEvent"},attrs:["toastComp",""],decls:19,vars:9,consts:[[1,"toast-content"],[3,"ngClass"],[3,"ngClass","ngSwitch"],[4,"ngSwitchCase"],[3,"innerHTML",4,"ngSwitchCase"],["class","toast-close-button",3,"innerHTML","click",4,"ngIf"],[4,"ngIf"],["componentBody",""],[3,"innerHTML"],[1,"toast-close-button",3,"innerHTML","click"],[1,"toast-progress-bar"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n "),r["ɵɵelementStart"](3,"div",1),r["ɵɵtext"](4),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n "),r["ɵɵelementStart"](6,"div",2),r["ɵɵtext"](7,"\n "),r["ɵɵtemplate"](8,f,2,0,"div",3),r["ɵɵtext"](9,"\n "),r["ɵɵtemplate"](10,m,2,3,"div",4),r["ɵɵtext"](11,"\n "),r["ɵɵtemplate"](12,g,2,1,"div",3),r["ɵɵtext"](13,"\n "),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n "),r["ɵɵelementEnd"](),r["ɵɵtext"](15,"\n "),r["ɵɵtemplate"](16,y,3,3,"button",5),r["ɵɵtext"](17,"\n "),r["ɵɵtemplate"](18,b,4,2,"div",6)),2&e&&(r["ɵɵadvance"](3),r["ɵɵproperty"]("ngClass",t.titleClass),r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](t.toast.title),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngClass",t.messageClass)("ngSwitch",t.toast.bodyOutputType),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.Component),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.TrustedHtml),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase",t.bodyOutputType.Default),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",t.toast.showCloseButton),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.toast.progressBar))},directives:function(){return[l.NgClass,l.NgSwitch,l.NgSwitchCase,l.NgIf]},pipes:function(){return[S]},encapsulation:2}),E.ctorParameters=()=>[{type:r.ComponentFactoryResolver},{type:r.ChangeDetectorRef},{type:r.NgZone},{type:r.ElementRef},{type:r.Renderer2}],E.propDecorators={toasterconfig:[{type:r.Input}],toast:[{type:r.Input}],titleClass:[{type:r.Input}],messageClass:[{type:r.Input}],componentBody:[{type:r.ViewChild,args:["componentBody",{read:r.ViewContainerRef,static:!1}]}],clickEvent:[{type:r.Output}],removeToastEvent:[{type:r.Output}],restartTimer:[{type:r.HostListener,args:["mouseleave"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](E,[{type:r.Component,args:[{selector:"[toastComp]",template:'\n
\n
{{toast.title}}
\n
\n
\n
\n
{{toast.body}}
\n
\n
\n \n
\n
\n
'}]}],(function(){return[{type:r.ComponentFactoryResolver},{type:r.ChangeDetectorRef},{type:r.NgZone},{type:r.ElementRef},{type:r.Renderer2}]}),{clickEvent:[{type:r.Output}],removeToastEvent:[{type:r.Output}],restartTimer:[{type:r.HostListener,args:["mouseleave"]}],toasterconfig:[{type:r.Input}],toast:[{type:r.Input}],titleClass:[{type:r.Input}],messageClass:[{type:r.Input}],componentBody:[{type:r.ViewChild,args:["componentBody",{read:r.ViewContainerRef,static:!1}]}]});class S{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}S.ɵfac=function(e){return new(e||S)(r["ɵɵdirectiveInject"](c.DomSanitizer))},S.ɵpipe=r["ɵɵdefinePipe"]({name:"trustHtml",type:S,pure:!0}),S.ctorParameters=()=>[{type:c.DomSanitizer}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](S,[{type:r.Pipe,args:[{name:"trustHtml",pure:!0}]}],(function(){return[{type:c.DomSanitizer}]}),null);class D{static forRoot(){return{ngModule:D,providers:[x,j]}}static forChild(){return{ngModule:D,providers:[j]}}}D.ɵfac=function(e){return new(e||D)},D.ɵmod=r["ɵɵdefineNgModule"]({type:D}),D.ɵinj=r["ɵɵdefineInjector"]({imports:[[l.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](D,{declarations:function(){return[E,j,S]},imports:function(){return[l.CommonModule]},exports:function(){return[j,E]}}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](D,[{type:r.NgModule,args:[{imports:[l.CommonModule],declarations:[E,j,S],exports:[j,E]}]}],null,null)},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(r||(r={}))},function(e,t,n){"use strict";n.r(t),n.d(t,"AbstractControl",(function(){return je})),n.d(t,"AbstractControlDirective",(function(){return V})),n.d(t,"AbstractFormGroupDirective",(function(){return Ae})),n.d(t,"COMPOSITION_BUFFER_MODE",(function(){return p})),n.d(t,"CheckboxControlValueAccessor",(function(){return d})),n.d(t,"CheckboxRequiredValidator",(function(){return bt})),n.d(t,"ControlContainer",(function(){return U})),n.d(t,"DefaultValueAccessor",(function(){return f})),n.d(t,"EmailValidator",(function(){return kt})),n.d(t,"FormArray",(function(){return De})),n.d(t,"FormArrayName",(function(){return rt})),n.d(t,"FormBuilder",(function(){return Mt})),n.d(t,"FormControl",(function(){return Ee})),n.d(t,"FormControlDirective",(function(){return Ze})),n.d(t,"FormControlName",(function(){return ot})),n.d(t,"FormGroup",(function(){return Se})),n.d(t,"FormGroupDirective",(function(){return Xe})),n.d(t,"FormGroupName",(function(){return tt})),n.d(t,"FormsModule",(function(){return At})),n.d(t,"MaxLengthValidator",(function(){return jt})),n.d(t,"MinLengthValidator",(function(){return Ct})),n.d(t,"NG_ASYNC_VALIDATORS",(function(){return b})),n.d(t,"NG_VALIDATORS",(function(){return y})),n.d(t,"NG_VALUE_ACCESSOR",(function(){return c})),n.d(t,"NgControl",(function(){return $})),n.d(t,"NgControlStatus",(function(){return G})),n.d(t,"NgControlStatusGroup",(function(){return Q})),n.d(t,"NgForm",(function(){return Ie})),n.d(t,"NgModel",(function(){return Be})),n.d(t,"NgModelGroup",(function(){return Re})),n.d(t,"NgSelectOption",(function(){return ut})),n.d(t,"NumberValueAccessor",(function(){return Ve})),n.d(t,"PatternValidator",(function(){return St})),n.d(t,"RadioControlValueAccessor",(function(){return Ke})),n.d(t,"RangeValueAccessor",(function(){return Ge})),n.d(t,"ReactiveFormsModule",(function(){return Ot})),n.d(t,"RequiredValidator",(function(){return yt})),n.d(t,"SelectControlValueAccessor",(function(){return ct})),n.d(t,"SelectMultipleControlValueAccessor",(function(){return pt})),n.d(t,"VERSION",(function(){return Nt})),n.d(t,"Validators",(function(){return w})),n.d(t,"ɵInternalFormsSharedModule",(function(){return It})),n.d(t,"ɵNgNoValidate",(function(){return Le})),n.d(t,"ɵNgSelectMultipleOption",(function(){return ft})),n.d(t,"ɵangular_packages_forms_forms_a",(function(){return Dt})),n.d(t,"ɵangular_packages_forms_forms_b",(function(){return Tt})),n.d(t,"ɵangular_packages_forms_forms_ba",(function(){return Le})),n.d(t,"ɵangular_packages_forms_forms_bb",(function(){return mt})),n.d(t,"ɵangular_packages_forms_forms_bc",(function(){return gt})),n.d(t,"ɵangular_packages_forms_forms_bd",(function(){return wt})),n.d(t,"ɵangular_packages_forms_forms_be",(function(){return _t})),n.d(t,"ɵangular_packages_forms_forms_bf",(function(){return xt})),n.d(t,"ɵangular_packages_forms_forms_bg",(function(){return Et})),n.d(t,"ɵangular_packages_forms_forms_bh",(function(){return k})),n.d(t,"ɵangular_packages_forms_forms_bi",(function(){return _})),n.d(t,"ɵangular_packages_forms_forms_bj",(function(){return C})),n.d(t,"ɵangular_packages_forms_forms_bk",(function(){return x})),n.d(t,"ɵangular_packages_forms_forms_bl",(function(){return j})),n.d(t,"ɵangular_packages_forms_forms_bm",(function(){return E})),n.d(t,"ɵangular_packages_forms_forms_bn",(function(){return S})),n.d(t,"ɵangular_packages_forms_forms_bo",(function(){return D})),n.d(t,"ɵangular_packages_forms_forms_bp",(function(){return T})),n.d(t,"ɵangular_packages_forms_forms_c",(function(){return zt})),n.d(t,"ɵangular_packages_forms_forms_d",(function(){return It})),n.d(t,"ɵangular_packages_forms_forms_e",(function(){return u})),n.d(t,"ɵangular_packages_forms_forms_f",(function(){return l})),n.d(t,"ɵangular_packages_forms_forms_g",(function(){return h})),n.d(t,"ɵangular_packages_forms_forms_h",(function(){return K})),n.d(t,"ɵangular_packages_forms_forms_i",(function(){return W})),n.d(t,"ɵangular_packages_forms_forms_j",(function(){return Te})),n.d(t,"ɵangular_packages_forms_forms_k",(function(){return Pe})),n.d(t,"ɵangular_packages_forms_forms_l",(function(){return Ne})),n.d(t,"ɵangular_packages_forms_forms_m",(function(){return Fe})),n.d(t,"ɵangular_packages_forms_forms_n",(function(){return Ue})),n.d(t,"ɵangular_packages_forms_forms_o",(function(){return He})),n.d(t,"ɵangular_packages_forms_forms_p",(function(){return $e})),n.d(t,"ɵangular_packages_forms_forms_q",(function(){return We})),n.d(t,"ɵangular_packages_forms_forms_r",(function(){return Qe})),n.d(t,"ɵangular_packages_forms_forms_s",(function(){return Ye})),n.d(t,"ɵangular_packages_forms_forms_t",(function(){return it})),n.d(t,"ɵangular_packages_forms_forms_u",(function(){return Je})),n.d(t,"ɵangular_packages_forms_forms_v",(function(){return et})),n.d(t,"ɵangular_packages_forms_forms_w",(function(){return nt})),n.d(t,"ɵangular_packages_forms_forms_x",(function(){return st})),n.d(t,"ɵangular_packages_forms_forms_y",(function(){return dt})),n.d(t,"ɵangular_packages_forms_forms_z",(function(){return ft}));var r=n(0),a=n(2),i=n(49),o=n(443),s=n(31);class l{}const c=new r.InjectionToken("NgValueAccessor"),u={provide:c,useExisting:Object(r.forwardRef)((()=>d)),multi:!0};class d extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}d.ɵfac=function(e){return new(e||d)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef))},d.ɵdir=r["ɵɵdefineDirective"]({type:d,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([u]),r["ɵɵInheritDefinitionFeature"]]}),d.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](d,[{type:r.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[u]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef}]}),null);const h={provide:c,useExisting:Object(r.forwardRef)((()=>f)),multi:!0};const p=new r.InjectionToken("CompositionEventMode");class f{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(a["ɵgetDOM"])()?Object(a["ɵgetDOM"])().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}function m(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}f.ɵfac=function(e){return new(e||f)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](p,8))},f.ɵdir=r["ɵɵdefineDirective"]({type:f,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[r["ɵɵProvidersFeature"]([h])]}),f.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:Boolean,decorators:[{type:r.Optional},{type:r.Inject,args:[p]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](f,[{type:r.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[h]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef},{type:Boolean,decorators:[{type:r.Optional},{type:r.Inject,args:[p]}]}]}),null);const y=new r.InjectionToken("NgValidators"),b=new r.InjectionToken("NgAsyncValidators"),v=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(e){return k(e)}static max(e){return _(e)}static required(e){return C(e)}static requiredTrue(e){return x(e)}static email(e){return j(e)}static minLength(e){return E(e)}static maxLength(e){return S(e)}static pattern(e){return D(e)}static nullValidator(e){return null}static compose(e){return N(e)}static composeAsync(e){return P(e)}}function k(e){return t=>{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function C(e){return m(e.value)?{required:!0}:null}function x(e){return!0===e.value?null:{required:!0}}function j(e){return m(e.value)||v.test(e.value)?null:{email:!0}}function E(e){return t=>m(t.value)||!g(t.value)?null:t.value.lengthg(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function D(e){if(!e)return T;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(m(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function T(e){return null}function z(e){return null!=e}function I(e){const t=Object(r["ɵisPromise"])(e)?Object(i.a)(e):e;if(!Object(r["ɵisObservable"])(t)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("Expected validator to return Promise or Observable.");return t}function A(e){let t={};return e.forEach((e=>{t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function O(e,t){return t.map((t=>t(e)))}function M(e){return e.map((e=>function(e){return!e.validate}(e)?e:t=>e.validate(t)))}function N(e){if(!e)return null;const t=e.filter(z);return 0==t.length?null:function(e){return A(O(e,t))}}function R(e){return null!=e?N(M(e)):null}function P(e){if(!e)return null;const t=e.filter(z);return 0==t.length?null:function(e){const n=O(e,t).map(I);return Object(o.a)(n).pipe(Object(s.a)(A))}}function q(e){return null!=e?P(M(e)):null}function B(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function L(e){return e._rawValidators}function F(e){return e._rawAsyncValidators}class V{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=R(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=q(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach((e=>e())),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}V.ɵfac=function(e){return new(e||V)},V.ɵdir=r["ɵɵdefineDirective"]({type:V});class U extends V{get formDirective(){return null}get path(){return null}}U.ɵfac=function(e){return H(e||U)},U.ɵdir=r["ɵɵdefineDirective"]({type:U,features:[r["ɵɵInheritDefinitionFeature"]]});const H=r["ɵɵgetInheritedFactory"](U);class $ extends V{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class K{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}const W={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")'};class G extends K{constructor(e){super(e)}}G.ɵfac=function(e){return new(e||G)(r["ɵɵdirectiveInject"]($,2))},G.ɵdir=r["ɵɵdefineDirective"]({type:G,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r["ɵɵInheritDefinitionFeature"]]}),G.ctorParameters=()=>[{type:$,decorators:[{type:r.Self}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](G,[{type:r.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:W}]}],(function(){return[{type:$,decorators:[{type:r.Self}]}]}),null);class Q extends K{constructor(e){super(e)}}Q.ɵfac=function(e){return new(e||Q)(r["ɵɵdirectiveInject"](U,10))},Q.ɵdir=r["ɵɵdefineDirective"]({type:Q,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[r["ɵɵInheritDefinitionFeature"]]}),Q.ctorParameters=()=>[{type:U,decorators:[{type:r.Optional},{type:r.Self}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Q,[{type:r.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:W}]}],(function(){return[{type:U,decorators:[{type:r.Optional},{type:r.Self}]}]}),null);const Y='\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Z='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',J='\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',X='\n
\n
\n \n
\n
',ee='\n
\n \n \n
\n ';class te{static controlParentException(){throw new Error(`formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${Y}`)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${Z}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${X}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${Y}`)}static groupParentException(){throw new Error(`formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${Z}`)}static arrayParentException(){throw new Error(`formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ${J}`)}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(e){console.warn(`\n It looks like you're using ngModel on the same form field as ${e}.\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}function ne(e,t){return[...t.path,e]}function re(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&(e||ue(t,"Cannot find control with"),t.valueAccessor||ue(t,"No value accessor for form control with")),oe(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&le(e,t)}))}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy((()=>{e._unregisterOnChange(n)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&le(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy((()=>{e._unregisterOnDisabledChange(n)}))}}(e,t)}function ae(e,t,n=!0){const r=()=>{n&&("undefined"==typeof ngDevMode||ngDevMode)&&function(e){ue(e,"There is no FormControl instance attached to form control element with")}(t)};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),se(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange((()=>{})))}function ie(e,t){e.forEach((e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)}))}function oe(e,t,n){const r=L(e);null!==t.validator?e.setValidators(B(r,t.validator)):"function"==typeof r&&e.setValidators([r]);const a=F(e);if(null!==t.asyncValidator?e.setAsyncValidators(B(a,t.asyncValidator)):"function"==typeof a&&e.setAsyncValidators([a]),n){const n=()=>e.updateValueAndValidity();ie(t._rawValidators,n),ie(t._rawAsyncValidators,n)}}function se(e,t,n){let r=!1;if(null!==e){if(null!==t.validator){const n=L(e);if(Array.isArray(n)&&n.length>0){const a=n.filter((e=>e!==t.validator));a.length!==n.length&&(r=!0,e.setValidators(a))}}if(null!==t.asyncValidator){const n=F(e);if(Array.isArray(n)&&n.length>0){const a=n.filter((e=>e!==t.asyncValidator));a.length!==n.length&&(r=!0,e.setAsyncValidators(a))}}}if(n){const e=()=>{};ie(t._rawValidators,e),ie(t._rawAsyncValidators,e)}return r}function le(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ce(e,t){null!=e||"undefined"!=typeof ngDevMode&&!ngDevMode||ue(t,"Cannot find control with"),oe(e,t,!1)}function ue(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function de(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function he(e,t){e._syncPendingControls(),t.forEach((e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function pe(e,t){if(!t)return null;let n,r,a;return Array.isArray(t)||"undefined"!=typeof ngDevMode&&!ngDevMode||ue(e,"Value accessor was not provided as an array for form control with"),t.forEach((t=>{var i;t.constructor===f?n=t:(i=t,Object.getPrototypeOf(i.constructor)===l?(r&&("undefined"==typeof ngDevMode||ngDevMode)&&ue(e,"More than one built-in value accessor matches form control with"),r=t):(a&&("undefined"==typeof ngDevMode||ngDevMode)&&ue(e,"More than one custom value accessor matches form control with"),a=t))})),a||(r||(n||(("undefined"==typeof ngDevMode||ngDevMode)&&ue(e,"No valid value accessor for form control with"),null)))}function fe(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function me(e,t,n,r){"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(te.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const ge="VALID",ye="INVALID",be="PENDING",ve="DISABLED";function we(e){return(xe(e)?e.validators:e)||null}function ke(e){return Array.isArray(e)?R(e):e||null}function _e(e,t){return(xe(t)?t.asyncValidators:e)||null}function Ce(e){return Array.isArray(e)?q(e):e||null}function xe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class je{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ke(this._rawValidators),this._composedAsyncValidatorFn=Ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ge}get invalid(){return this.status===ye}get pending(){return this.status==be}get disabled(){return this.status===ve}get enabled(){return this.status!==ve}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ke(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Ce(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((e=>e.markAllAsTouched()))}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((e=>{e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((e=>{e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=be,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ve,this.errors=null,this._forEachChild((t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((e=>e(!0)))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ge,this._forEachChild((t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((e=>e(!1)))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ge&&this.status!==be||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild((t=>t._updateTreeValidity(e))),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ve:ge}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=be,this._hasOwnPendingAsyncValidator=!0;const t=I(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe((t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach((e=>{r=r instanceof Se?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof De&&r.at(e)||null})),r}(this,e,".")}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ve:this.errors?ye:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(be)?be:this._anyControlsHaveStatus(ye)?ye:ge}_anyControlsHaveStatus(e){return this._anyControls((t=>t.status===e))}_anyControlsDirty(){return this._anyControls((e=>e.dirty))}_anyControlsTouched(){return this._anyControls((e=>e.touched))}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){xe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}}class Ee extends je{constructor(e=null,t,n){super(we(t),_e(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach((e=>e(this.value,!1!==t.emitViewToModelChange))),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){fe(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){fe(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Se extends je{constructor(e,t,n){super(we(t),_e(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach((n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach((n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},((e,t,n)=>(e[n]=t instanceof Ee?t.value:t.getRawValue(),e)))}_syncPendingControls(){let e=this._reduceChildren(!1,((e,t)=>!!t._syncPendingControls()||e));return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach((t=>{const n=this.controls[t];n&&e(n,t)}))}_setUpControls(){this._forEachChild((e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},((e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e)))}_reduceChildren(e,t){let n=e;return this._forEachChild(((e,r)=>{n=t(n,e,r)})),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild(((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)}))}}class De extends je{constructor(e,t,n){super(we(t),_e(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((()=>{})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach(((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach(((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})})),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild(((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map((e=>e instanceof Ee?e.value:e.getRawValue()))}clear(){this.controls.length<1||(this._forEachChild((e=>e._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce(((e,t)=>!!t._syncPendingControls()||e),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach(((t,n)=>{e(t,n)}))}_updateValue(){this.value=this.controls.filter((e=>e.enabled||this.disabled)).map((e=>e.value))}_anyControls(e){return this.controls.some((t=>t.enabled&&e(t)))}_setUpControls(){this._forEachChild((e=>this._registerControl(e)))}_checkAllValuesPresent(e){this._forEachChild(((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)}))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Te={provide:U,useExisting:Object(r.forwardRef)((()=>Ie))},ze=Promise.resolve(null);class Ie extends U{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new Se({},R(e),q(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ze.then((()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),re(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)}))}getControl(e){return this.form.get(e.path)}removeControl(e){ze.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),fe(this._directives,e)}))}addFormGroup(e){ze.then((()=>{const t=this._findContainer(e.path),n=new Se({});ce(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(e){ze.then((()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)}))}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ze.then((()=>{this.form.get(e.path).setValue(t)}))}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,he(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}Ie.ɵfac=function(e){return new(e||Ie)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10))},Ie.ɵdir=r["ɵɵdefineDirective"]({type:Ie,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Te]),r["ɵɵInheritDefinitionFeature"]]}),Ie.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}],Ie.propDecorators={options:[{type:r.Input,args:["ngFormOptions"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ie,[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",providers:[Te],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],(function(){return[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}]}),{options:[{type:r.Input,args:["ngFormOptions"]}]});class Ae extends U{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ne(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Ae.ɵfac=function(e){return Oe(e||Ae)},Ae.ɵdir=r["ɵɵdefineDirective"]({type:Ae,features:[r["ɵɵInheritDefinitionFeature"]]});const Oe=r["ɵɵgetInheritedFactory"](Ae);("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ae,[{type:r.Directive}],null,null);class Me{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${Y}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ${ee}`)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${Z}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${X}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${Z}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${X}`)}}const Ne={provide:U,useExisting:Object(r.forwardRef)((()=>Re))};class Re extends Ae{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){this._parent instanceof Re||this._parent instanceof Ie||"undefined"!=typeof ngDevMode&&!ngDevMode||Me.modelGroupParentException()}}Re.ɵfac=function(e){return new(e||Re)(r["ɵɵdirectiveInject"](U,5),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10))},Re.ɵdir=r["ɵɵdefineDirective"]({type:Re,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r["ɵɵProvidersFeature"]([Ne]),r["ɵɵInheritDefinitionFeature"]]}),Re.ctorParameters=()=>[{type:U,decorators:[{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}],Re.propDecorators={name:[{type:r.Input,args:["ngModelGroup"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Re,[{type:r.Directive,args:[{selector:"[ngModelGroup]",providers:[Ne],exportAs:"ngModelGroup"}]}],(function(){return[{type:U,decorators:[{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}]}),{name:[{type:r.Input,args:["ngModelGroup"]}]});const Pe={provide:$,useExisting:Object(r.forwardRef)((()=>Be))},qe=Promise.resolve(null);class Be extends ${constructor(e,t,n,a){super(),this.control=new Ee,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=pe(this,a)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),de(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?ne(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){re(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof Re)&&this._parent instanceof Ae?Me.formGroupNameException():this._parent instanceof Re||this._parent instanceof Ie||Me.modelParentException())}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||"undefined"!=typeof ngDevMode&&!ngDevMode||Me.missingNameException()}_updateValue(e){qe.then((()=>{this.control.setValue(e,{emitViewToModelChange:!1})}))}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;qe.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()}))}}Be.ɵfac=function(e){return new(e||Be)(r["ɵɵdirectiveInject"](U,9),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10),r["ɵɵdirectiveInject"](c,10))},Be.ɵdir=r["ɵɵdefineDirective"]({type:Be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r["ɵɵProvidersFeature"]([Pe]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),Be.ctorParameters=()=>[{type:U,decorators:[{type:r.Optional},{type:r.Host}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]}],Be.propDecorators={name:[{type:r.Input}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],options:[{type:r.Input,args:["ngModelOptions"]}],update:[{type:r.Output,args:["ngModelChange"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Be,[{type:r.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Pe],exportAs:"ngModel"}]}],(function(){return[{type:U,decorators:[{type:r.Optional},{type:r.Host}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]}]}),{update:[{type:r.Output,args:["ngModelChange"]}],name:[{type:r.Input}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],options:[{type:r.Input,args:["ngModelOptions"]}]});class Le{}Le.ɵfac=function(e){return new(e||Le)},Le.ɵdir=r["ɵɵdefineDirective"]({type:Le,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Le,[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],null,null);const Fe={provide:c,useExisting:Object(r.forwardRef)((()=>Ve)),multi:!0};class Ve extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){const t=null==e?"":e;this._renderer.setProperty(this._elementRef.nativeElement,"value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}Ve.ɵfac=function(e){return new(e||Ve)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef))},Ve.ɵdir=r["ɵɵdefineDirective"]({type:Ve,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([Fe]),r["ɵɵInheritDefinitionFeature"]]}),Ve.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ve,[{type:r.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Fe]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef}]}),null);const Ue={provide:c,useExisting:Object(r.forwardRef)((()=>Ke)),multi:!0};class He{}He.ɵfac=function(e){return new(e||He)},He.ɵmod=r["ɵɵdefineNgModule"]({type:He}),He.ɵinj=r["ɵɵdefineInjector"]({}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](He,[{type:r.NgModule}],null,null);class $e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach((t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)}))}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}$e.ɵfac=function(e){return new(e||$e)},$e.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new $e},token:$e,providedIn:He}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"]($e,[{type:r.Injectable,args:[{providedIn:He}]}],(function(){return[]}),null);class Ke extends l{constructor(e,t,n,r){super(),this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get($),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Ke.ɵfac=function(e){return new(e||Ke)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"]($e),r["ɵɵdirectiveInject"](r.Injector))},Ke.ɵdir=r["ɵɵdefineDirective"]({type:Ke,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r["ɵɵProvidersFeature"]([Ue]),r["ɵɵInheritDefinitionFeature"]]}),Ke.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:$e},{type:r.Injector}],Ke.propDecorators={name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ke,[{type:r.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[Ue]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef},{type:$e},{type:r.Injector}]}),{name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]});const We={provide:c,useExisting:Object(r.forwardRef)((()=>Ge)),multi:!0};class Ge extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}Ge.ɵfac=function(e){return new(e||Ge)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef))},Ge.ɵdir=r["ɵɵdefineDirective"]({type:Ge,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r["ɵɵProvidersFeature"]([We]),r["ɵɵInheritDefinitionFeature"]]}),Ge.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ge,[{type:r.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[We]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef}]}),null);const Qe=new r.InjectionToken("NgModelWithFormControlWarning"),Ye={provide:$,useExisting:Object(r.forwardRef)((()=>Ze))};class Ze extends ${constructor(e,t,n,a){super(),this._ngModelWarningConfig=a,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=pe(this,n)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&te.disabledAttrWarning()}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&ae(t,this,!1),re(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}de(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&me("formControl",Ze,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ae(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}Ze.ɵfac=function(e){return new(e||Ze)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10),r["ɵɵdirectiveInject"](c,10),r["ɵɵdirectiveInject"](Qe,8))},Ze.ɵdir=r["ɵɵdefineDirective"]({type:Ze,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Ye]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),Ze._ngModelWarningSentOnce=!1,Ze.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Qe]}]}],Ze.propDecorators={form:[{type:r.Input,args:["formControl"]}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ze,[{type:r.Directive,args:[{selector:"[formControl]",providers:[Ye],exportAs:"ngForm"}]}],(function(){return[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Qe]}]}]}),{update:[{type:r.Output,args:["ngModelChange"]}],isDisabled:[{type:r.Input,args:["disabled"]}],form:[{type:r.Input,args:["formControl"]}],model:[{type:r.Input,args:["ngModel"]}]});const Je={provide:U,useExisting:Object(r.forwardRef)((()=>Xe))};class Xe extends U{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(se(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange((()=>{})))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return re(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ae(e.control||null,e,!1),fe(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,he(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach((e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(ae(t||null,e),n instanceof Ee&&(re(n,e),e.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);ce(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){(function(e,t){return se(e,t,!1)})(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){oe(this.form,this,!1),this._oldForm&&se(this._oldForm,this,!1)}_checkFormPresent(){this.form||"undefined"!=typeof ngDevMode&&!ngDevMode||te.missingFormException()}}Xe.ɵfac=function(e){return new(e||Xe)(r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10))},Xe.ɵdir=r["ɵɵdefineDirective"]({type:Xe,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["ɵɵProvidersFeature"]([Je]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),Xe.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}],Xe.propDecorators={form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Xe,[{type:r.Directive,args:[{selector:"[formGroup]",providers:[Je],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],(function(){return[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}]}),{form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]});const et={provide:U,useExisting:Object(r.forwardRef)((()=>tt))};class tt extends Ae{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){at(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&te.groupParentException()}}tt.ɵfac=function(e){return new(e||tt)(r["ɵɵdirectiveInject"](U,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10))},tt.ɵdir=r["ɵɵdefineDirective"]({type:tt,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r["ɵɵProvidersFeature"]([et]),r["ɵɵInheritDefinitionFeature"]]}),tt.ctorParameters=()=>[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}],tt.propDecorators={name:[{type:r.Input,args:["formGroupName"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](tt,[{type:r.Directive,args:[{selector:"[formGroupName]",providers:[et]}]}],(function(){return[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}]}),{name:[{type:r.Input,args:["formGroupName"]}]});const nt={provide:U,useExisting:Object(r.forwardRef)((()=>rt))};class rt extends U{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ne(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){at(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&te.arrayParentException()}}function at(e){return!(e instanceof tt||e instanceof Xe||e instanceof rt)}rt.ɵfac=function(e){return new(e||rt)(r["ɵɵdirectiveInject"](U,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10))},rt.ɵdir=r["ɵɵdefineDirective"]({type:rt,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r["ɵɵProvidersFeature"]([nt]),r["ɵɵInheritDefinitionFeature"]]}),rt.ctorParameters=()=>[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}],rt.propDecorators={name:[{type:r.Input,args:["formArrayName"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](rt,[{type:r.Directive,args:[{selector:"[formArrayName]",providers:[nt]}]}],(function(){return[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]}]}),{name:[{type:r.Input,args:["formArrayName"]}]});const it={provide:$,useExisting:Object(r.forwardRef)((()=>ot))};class ot extends ${constructor(e,t,n,a,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=pe(this,a)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&te.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),de(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&me("formControlName",ot,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ne(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof tt)&&this._parent instanceof Ae?te.ngModelGroupException():this._parent instanceof tt||this._parent instanceof Xe||this._parent instanceof rt||te.controlParentException())}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}ot.ɵfac=function(e){return new(e||ot)(r["ɵɵdirectiveInject"](U,13),r["ɵɵdirectiveInject"](y,10),r["ɵɵdirectiveInject"](b,10),r["ɵɵdirectiveInject"](c,10),r["ɵɵdirectiveInject"](Qe,8))},ot.ɵdir=r["ɵɵdefineDirective"]({type:ot,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r["ɵɵProvidersFeature"]([it]),r["ɵɵInheritDefinitionFeature"],r["ɵɵNgOnChangesFeature"]]}),ot._ngModelWarningSentOnce=!1,ot.ctorParameters=()=>[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Qe]}]}],ot.propDecorators={name:[{type:r.Input,args:["formControlName"]}],isDisabled:[{type:r.Input,args:["disabled"]}],model:[{type:r.Input,args:["ngModel"]}],update:[{type:r.Output,args:["ngModelChange"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ot,[{type:r.Directive,args:[{selector:"[formControlName]",providers:[it]}]}],(function(){return[{type:U,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[y]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[b]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Qe]}]}]}),{update:[{type:r.Output,args:["ngModelChange"]}],isDisabled:[{type:r.Input,args:["disabled"]}],name:[{type:r.Input,args:["formControlName"]}],model:[{type:r.Input,args:["ngModel"]}]});const st={provide:c,useExisting:Object(r.forwardRef)((()=>ct)),multi:!0};function lt(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class ct extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=lt(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}ct.ɵfac=function(e){return new(e||ct)(r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](r.ElementRef))},ct.ɵdir=r["ɵɵdefineDirective"]({type:ct,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["ɵɵProvidersFeature"]([st]),r["ɵɵInheritDefinitionFeature"]]}),ct.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],ct.propDecorators={compareWith:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ct,[{type:r.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[st]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef}]}),{compareWith:[{type:r.Input}]});class ut{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(lt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}ut.ɵfac=function(e){return new(e||ut)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](ct,9))},ut.ɵdir=r["ɵɵdefineDirective"]({type:ut,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ut.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:ct,decorators:[{type:r.Optional},{type:r.Host}]}],ut.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ut,[{type:r.Directive,args:[{selector:"option"}]}],(function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:ct,decorators:[{type:r.Optional},{type:r.Host}]}]}),{ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]});const dt={provide:c,useExisting:Object(r.forwardRef)((()=>pt)),multi:!0};function ht(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class pt extends l{constructor(e,t){super(),this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(e)}`);this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map((e=>this._getOptionId(e)));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t[{type:r.Renderer2},{type:r.ElementRef}],pt.propDecorators={compareWith:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](pt,[{type:r.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[dt]}]}],(function(){return[{type:r.Renderer2},{type:r.ElementRef}]}),{compareWith:[{type:r.Input}]});class ft{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(ht(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ht(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}ft.ɵfac=function(e){return new(e||ft)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](pt,9))},ft.ɵdir=r["ɵɵdefineDirective"]({type:ft,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ft.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:pt,decorators:[{type:r.Optional},{type:r.Host}]}],ft.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ft,[{type:r.Directive,args:[{selector:"option"}]}],(function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:pt,decorators:[{type:r.Optional},{type:r.Host}]}]}),{ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]});const mt={provide:y,useExisting:Object(r.forwardRef)((()=>yt)),multi:!0},gt={provide:y,useExisting:Object(r.forwardRef)((()=>bt)),multi:!0};class yt{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?C(e):null}registerOnValidatorChange(e){this._onChange=e}}yt.ɵfac=function(e){return new(e||yt)},yt.ɵdir=r["ɵɵdefineDirective"]({type:yt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[r["ɵɵProvidersFeature"]([mt])]}),yt.propDecorators={required:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](yt,[{type:r.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[mt],host:{"[attr.required]":'required ? "" : null'}}]}],(function(){return[]}),{required:[{type:r.Input}]});class bt extends yt{validate(e){return this.required?x(e):null}}bt.ɵfac=function(e){return vt(e||bt)},bt.ɵdir=r["ɵɵdefineDirective"]({type:bt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("required",t.required?"":null)},features:[r["ɵɵProvidersFeature"]([gt]),r["ɵɵInheritDefinitionFeature"]]});const vt=r["ɵɵgetInheritedFactory"](bt);("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](bt,[{type:r.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[gt],host:{"[attr.required]":'required ? "" : null'}}]}],null,null);const wt={provide:y,useExisting:Object(r.forwardRef)((()=>kt)),multi:!0};class kt{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?j(e):null}registerOnValidatorChange(e){this._onChange=e}}kt.ɵfac=function(e){return new(e||kt)},kt.ɵdir=r["ɵɵdefineDirective"]({type:kt,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r["ɵɵProvidersFeature"]([wt])]}),kt.propDecorators={email:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](kt,[{type:r.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[wt]}]}],(function(){return[]}),{email:[{type:r.Input}]});const _t={provide:y,useExisting:Object(r.forwardRef)((()=>Ct)),multi:!0};class Ct{constructor(){this._validator=T}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=E("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}Ct.ɵfac=function(e){return new(e||Ct)},Ct.ɵdir=r["ɵɵdefineDirective"]({type:Ct,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("minlength",t.minlength?t.minlength:null)},inputs:{minlength:"minlength"},features:[r["ɵɵProvidersFeature"]([_t]),r["ɵɵNgOnChangesFeature"]]}),Ct.propDecorators={minlength:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ct,[{type:r.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[_t],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],(function(){return[]}),{minlength:[{type:r.Input}]});const xt={provide:y,useExisting:Object(r.forwardRef)((()=>jt)),multi:!0};class jt{constructor(){this._validator=T}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=S("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}jt.ɵfac=function(e){return new(e||jt)},jt.ɵdir=r["ɵɵdefineDirective"]({type:jt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r["ɵɵProvidersFeature"]([xt]),r["ɵɵNgOnChangesFeature"]]}),jt.propDecorators={maxlength:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](jt,[{type:r.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[xt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],(function(){return[]}),{maxlength:[{type:r.Input}]});const Et={provide:y,useExisting:Object(r.forwardRef)((()=>St)),multi:!0};class St{constructor(){this._validator=T}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=D(this.pattern)}}St.ɵfac=function(e){return new(e||St)},St.ɵdir=r["ɵɵdefineDirective"]({type:St,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[r["ɵɵProvidersFeature"]([Et]),r["ɵɵNgOnChangesFeature"]]}),St.propDecorators={pattern:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](St,[{type:r.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Et],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],(function(){return[]}),{pattern:[{type:r.Input}]});const Dt=[Le,ut,ft,f,Ve,Ge,d,ct,pt,Ke,G,Q,yt,Ct,jt,St,bt,kt],Tt=[Be,Re,Ie],zt=[Ze,Xe,ot,tt,rt];class It{}It.ɵfac=function(e){return new(e||It)},It.ɵmod=r["ɵɵdefineNgModule"]({type:It}),It.ɵinj=r["ɵɵdefineInjector"]({imports:[[He]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](It,{declarations:[Le,ut,ft,f,Ve,Ge,d,ct,pt,Ke,G,Q,yt,Ct,jt,St,bt,kt],imports:[He],exports:[Le,ut,ft,f,Ve,Ge,d,ct,pt,Ke,G,Q,yt,Ct,jt,St,bt,kt]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](It,[{type:r.NgModule,args:[{declarations:Dt,imports:[He],exports:Dt}]}],null,null);class At{}At.ɵfac=function(e){return new(e||At)},At.ɵmod=r["ɵɵdefineNgModule"]({type:At}),At.ɵinj=r["ɵɵdefineInjector"]({imports:[It]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](At,{declarations:[Be,Re,Ie],exports:[It,Be,Re,Ie]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](At,[{type:r.NgModule,args:[{declarations:Tt,exports:[It,Tt]}]}],null,null);class Ot{static withConfig(e){return{ngModule:Ot,providers:[{provide:Qe,useValue:e.warnOnNgModelWithFormControl}]}}}Ot.ɵfac=function(e){return new(e||Ot)},Ot.ɵmod=r["ɵɵdefineNgModule"]({type:Ot}),Ot.ɵinj=r["ɵɵdefineInjector"]({imports:[It]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](Ot,{declarations:[Ze,Xe,ot,tt,rt],exports:[It,Ze,Xe,ot,tt,rt]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ot,[{type:r.NgModule,args:[{declarations:[zt],exports:[It,zt]}]}],null,null);class Mt{group(e,t=null){const n=this._reduceControls(e);let r,a=null,i=null;return null!=t&&(!function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(a=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null):(a=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0)),new Se(n,{asyncValidators:i,updateOn:r,validators:a})}control(e,t,n){return new Ee(e,t,n)}array(e,t,n){const r=e.map((e=>this._createControl(e)));return new De(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach((n=>{t[n]=this._createControl(e[n])})),t}_createControl(e){if(e instanceof Ee||e instanceof Se||e instanceof De)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}Mt.ɵfac=function(e){return new(e||Mt)},Mt.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new Mt},token:Mt,providedIn:Ot}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Mt,[{type:r.Injectable,args:[{providedIn:Ot}]}],null,null);const Nt=new r.Version("11.2.14")},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(5),a=n(135),i=n(231),o=n(38),s=n(205),l=n(91),c=n(167),u=function(e){function t(n,r,a){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 d(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new d(o,n,r,a)}return o}return r.a(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,n,r){var a=new t(e,n,r);return a.syncErrorThrowable=!1,a},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),d=function(e){function t(t,n,r,o){var s,l=e.call(this)||this;l._parentSubscriber=t;var c=l;return Object(a.a)(n)?s=n:n&&(s=n.next,r=n.error,o=n.complete,n!==i.a&&(c=Object.create(n),Object(a.a)(c.unsubscribe)&&l.add(c.unsubscribe.bind(c)),c.unsubscribe=l.unsubscribe.bind(l))),l._context=c,l._next=s,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(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return l.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(c.a)(r),!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 i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return h})),n.d(t,"k",(function(){return o})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return g}));class r{}class a{}const i="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:3,steps:e,options:t}}function c(e,t=null){return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function p(e){Promise.resolve(null).then(e)}class f{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){p((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((e=>e())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}class m{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const a=this.players.length;0==a?p((()=>this._onFinish())):this.players.forEach((e=>{e.onDone((()=>{++t==a&&this._onFinish()})),e.onDestroy((()=>{++n==a&&this._onDestroy()})),e.onStart((()=>{++r==a&&this._onStart()}))})),this.totalTime=this.players.reduce(((e,t)=>Math.max(e,t.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}init(){this.players.forEach((e=>e.init()))}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((e=>e())),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((e=>e.play()))}pause(){this.players.forEach((e=>e.pause()))}restart(){this.players.forEach((e=>e.restart()))}finish(){this._onFinish(),this.players.forEach((e=>e.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((e=>e.destroy())),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}reset(){this.players.forEach((e=>e.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach((e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}getPosition(){const e=this.players.reduce(((e,t)=>null===e||t.totalTime>e.totalTime?t:e),null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach((e=>{e.beforeDestroy&&e.beforeDestroy()}))}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}const g="!"},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));var r=n(5),a=n(13),i=n(20),o=n(166),s=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return r.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}(a.a),l=(a.a,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.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}(a.a));a.a;function c(e,t){if(!t.closed){if(e instanceof i.a)return e.subscribe(t);var n;try{n=Object(o.a)(e)(t)}catch(r){t.error(r)}return n}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(229),a=n(13),i=n(205),o=n(231);var s=n(122),l=n(201),c=n(91),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 r=this.operator,s=function(e,t,n){if(e){if(e instanceof a.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new a.a(e,t,n):new a.a(o.a)}(e,t,n);if(r?s.add(r.call(s,this.source)):s.add(this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(r.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))((function(t,r){var a;a=n.subscribe((function(t){try{e(t)}catch(n){r(n),a&&a.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[s.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(e){}))},e}(),f=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[e]+": "+t)}},e}()},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(54),a=n(228),i=n(135),o=n(206),s=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,s=n._parentOrParents,c=n._ctorUnsubscribe,u=n._unsubscribe,d=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,s instanceof e)s.remove(this);else if(null!==s)for(var h=0;h15?(a=Date.now(),s(e)):(n.push(e),1===n.length&&o.setAttribute("a",i=!i))}}l.nextTick=l.setImmediate}(),l.isNodejs=void 0!==t&&t.versions&&t.versions.node,l.globalScope=l.isNodejs?a:"undefined"==typeof self?window:self,l.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},l.isArrayBufferView=function(e){return e&&l.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},l.ByteBuffer=u,l.ByteStringBuffer=u;l.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},l.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},l.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},l.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},l.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var n=this.data;t>0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return this.data=n,this._optimizeConstructedString(t),this},l.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},l.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(l.encodeUtf8(e))},l.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},l.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},l.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},l.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},l.ByteStringBuffer.prototype.putInt=function(e,t){c(t);var n="";do{t-=8,n+=String.fromCharCode(e>>t&255)}while(t>0);return this.putBytes(n)},l.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<0);return t},l.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},l.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},l.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},l.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},l.ByteStringBuffer.prototype.copy=function(){var e=l.createBuffer(this.data);return e.read=this.read,e},l.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},l.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},l.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},l.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t=e)return this;t=Math.max(t||this.growSize,e);var n=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),r=new Uint8Array(this.length()+t);return r.set(n),this.data=new DataView(r.buffer),this},l.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},l.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var n=0;n>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},l.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},l.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},l.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},l.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},l.DataBuffer.prototype.putInt=function(e,t){c(t),this.accommodate(t/8);do{t-=8,this.data.setInt8(this.write++,e>>t&255)}while(t>0);return this},l.DataBuffer.prototype.putSignedInt=function(e,t){return c(t),this.accommodate(t/8),e<0&&(e+=2<0);return t},l.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),n=2<=n&&(t-=n<<1),t},l.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},l.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},l.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},l.DataBuffer.prototype.copy=function(){return new l.DataBuffer(this)},l.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},l.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},l.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},l.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t0;)1&t&&(n+=e),(t>>>=1)>0&&(e+=e);return n},l.xorBytes=function(e,t,n){for(var r="",a="",i="",o=0,s=0;n>0;--n,++o)a=e.charCodeAt(o)^t.charCodeAt(o),s>=10&&(r+=i,i="",s=0),i+=String.fromCharCode(a),++s;return r+=i},l.hexToBytes=function(e){var t="",n=0;for(!0&e.length&&(n=1,t+=String.fromCharCode(parseInt(e[0],16)));n>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],p="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";l.encode64=function(e,t){for(var n,r,a,i="",o="",s=0;s>2),i+=d.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=d.charAt((15&r)<<2|a>>6),i+=isNaN(a)?"=":d.charAt(63&a)),t&&i.length>t&&(o+=i.substr(0,t)+"\r\n",i=i.substr(t));return o+=i},l.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,n,r,a,i="",o=0;o>4),64!==r&&(i+=String.fromCharCode((15&n)<<4|r>>2),64!==a&&(i+=String.fromCharCode((3&r)<<6|a)));return i},l.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},l.decodeUtf8=function(e){return decodeURIComponent(escape(e))},l.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:s.encode,decode:s.decode}},l.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},l.binary.raw.decode=function(e,t,n){var r=t;r||(r=new Uint8Array(e.length));for(var a=n=n||0,i=0;i>2),i+=d.charAt((3&n)<<4|r>>4),isNaN(r)?i+="==":(i+=d.charAt((15&r)<<2|a>>6),i+=isNaN(a)?"=":d.charAt(63&a)),t&&i.length>t&&(o+=i.substr(0,t)+"\r\n",i=i.substr(t));return o+=i},l.binary.base64.decode=function(e,t,n){var r,a,i,o,s=t;s||(s=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var l=0,c=n=n||0;l>4,64!==i&&(s[c++]=(15&a)<<4|i>>2,64!==o&&(s[c++]=(3&i)<<6|o));return t?c-n:s.subarray(0,c)},l.binary.base58.encode=function(e,t){return l.binary.baseN.encode(e,p,t)},l.binary.base58.decode=function(e,t){return l.binary.baseN.decode(e,p,t)},l.text={utf8:{},utf16:{}},l.text.utf8.encode=function(e,t,n){e=l.encodeUtf8(e);var r=t;r||(r=new Uint8Array(e.length));for(var a=n=n||0,i=0;i0?(a=n[r].substring(0,o),i=n[r].substring(o+1)):(a=n[r],i=null),a in t||(t[a]=[]),a in Object.prototype||null===i||t[a].push(unescape(i))}return t};return void 0===e?(null===k&&(k="undefined"!=typeof window&&window.location&&window.location.search?n(window.location.search.substring(1)):{}),t=k):t=n(e),t},l.parseFragment=function(e){var t=e,n="",r=e.indexOf("?");r>0&&(t=e.substring(0,r),n=e.substring(r+1));var a=t.split("/");return a.length>0&&""===a[0]&&a.shift(),{pathString:t,queryString:n,path:a,query:""===n?{}:l.getQueryVariables(n)}},l.makeRequest=function(e){var t=l.parseFragment(e),n={path:t.pathString,query:t.queryString,getPath:function(e){return void 0===e?t.path:t.path[e]},getQuery:function(e,n){var r;return void 0===e?r=t.query:(r=t.query[e])&&void 0!==n&&(r=r[n]),r},getQueryLast:function(e,t){var r=n.getQuery(e);return r?r[r.length-1]:t}};return n},l.makeLink=function(e,t,n){e=jQuery.isArray(e)?e.join("/"):e;var r=jQuery.param(t||{});return n=n||"",e+(r.length>0?"?"+r:"")+(n.length>0?"#"+n:"")},l.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},l.format=function(e){for(var t,n,r=/%./g,a=0,i=[],o=0;t=r.exec(e);){(n=e.substring(o,r.lastIndex-2)).length>0&&i.push(n),o=r.lastIndex;var s=t[0][1];switch(s){case"s":case"o":a");break;case"%":i.push("%");break;default:i.push("<%"+s+"?>")}}return i.push(e.substring(o)),i.join("")},l.formatNumber=function(e,t,n,r){var a=e,i=isNaN(t=Math.abs(t))?2:t,o=void 0===n?",":n,s=void 0===r?".":r,l=a<0?"-":"",c=parseInt(a=Math.abs(+a||0).toFixed(i),10)+"",u=c.length>3?c.length%3:0;return l+(u?c.substr(0,u)+s:"")+c.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+s)+(i?o+Math.abs(a-c).toFixed(i).slice(2):"")},l.formatSize=function(e){return e=e>=1073741824?l.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?l.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?l.formatNumber(e/1024,0)+" KiB":l.formatNumber(e,0)+" bytes"},l.bytesFromIP=function(e){return-1!==e.indexOf(".")?l.bytesFromIPv4(e):-1!==e.indexOf(":")?l.bytesFromIPv6(e):null},l.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=l.createBuffer(),n=0;nn[r].end-n[r].start&&(r=n.length-1)):n.push({start:s,end:s})}t.push(i)}if(n.length>0){var c=n[r];c.end-c.start>0&&(t.splice(c.start,c.end-c.start+1,""),0===c.start&&t.unshift(""),7===c.end&&t.push(""))}return t.join(":")},l.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in l&&!e.update)return t(null,l.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return l.cores=navigator.hardwareConcurrency,t(null,l.cores);if("undefined"==typeof Worker)return l.cores=1,t(null,l.cores);if("undefined"==typeof Blob)return l.cores=2,t(null,l.cores);var n=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",(function(e){for(var t=Date.now(),n=t+4;Date.now()s.st&&a.sta.st&&s.st=200&&a.status<300?n(new o.b(a.status,a.statusText,a.response||a.responseText)):r(new i.b(a.statusText,a.status))},a.onerror=function(){t.logger.log(l.a.Warning,"Error from HTTP request. "+a.status+": "+a.statusText+"."),r(new i.b(a.statusText,a.status))},a.ontimeout=function(){t.logger.log(l.a.Warning,"Timeout from HTTP request."),r(new i.c)},a.send(e.content||"")})):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t}(o.a),d=function(){var e=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])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(t){var n=e.call(this)||this;return"undefined"!=typeof XMLHttpRequest?n.httpClient=new u(t):n.httpClient=new s.a(t),n}return d(t,e),t.prototype.send=function(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new i.a):e.method?e.url?this.httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))},t.prototype.getCookieString=function(e){return this.httpClient.getCookieString(e)},t}(o.a),p=n(734);!function(e){e[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close"}(a||(a={}));var f,m=n(34),g=function(){function e(){this.observers=[]}return e.prototype.next=function(e){for(var t=0,n=this.observers;t0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0?[2,Promise.reject(new Error("Unable to connect to the server with any of the available transports. "+i.join(" ")))]:[2,Promise.reject(new Error("None of the transports supported by the client are supported by the server."))]}}))}))},e.prototype.constructTransport=function(e){switch(e){case v.WebSockets:if(!this.options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new O(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.WebSocket);case v.ServerSentEvents:if(!this.options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new z(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1,this.options.EventSource);case v.LongPolling:return new S(this.httpClient,this.accessTokenFactory,this.logger,this.options.logMessageContent||!1);default:throw new Error("Unknown transport: "+e+".")}},e.prototype.startTransport=function(e,t){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=function(e){return n.stopConnection(e)},this.transport.connect(e,t)},e.prototype.resolveTransportOrError=function(e,t,n){var r=v[e.transport];if(null==r)return this.logger.log(l.a.Debug,"Skipping transport '"+e.transport+"' because it is not supported by this client."),new Error("Skipping transport '"+e.transport+"' because it is not supported by this client.");if(!function(e,t){return!e||0!=(t&e)}(t,r))return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it was disabled by the client."),new Error("'"+v[r]+"' is disabled by the client.");if(!(e.transferFormats.map((function(e){return w[e]})).indexOf(n)>=0))return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it does not support the requested transfer format '"+w[n]+"'."),new Error("'"+v[r]+"' does not support "+w[n]+".");if(r===v.WebSockets&&!this.options.WebSocket||r===v.ServerSentEvents&&!this.options.EventSource)return this.logger.log(l.a.Debug,"Skipping transport '"+v[r]+"' because it is not supported in your environment.'"),new Error("'"+v[r]+"' is not supported in your environment.");this.logger.log(l.a.Debug,"Selecting transport '"+v[r]+"'.");try{return this.constructTransport(r)}catch(a){return a}},e.prototype.isITransport=function(e){return e&&"object"==typeof e&&"connect"in e},e.prototype.stopConnection=function(e){var t=this;if(this.logger.log(l.a.Debug,"HttpConnection.stopConnection("+e+") called while in state "+this.connectionState+"."),this.transport=void 0,e=this.stopError||e,this.stopError=void 0,"Disconnected"!==this.connectionState)if("Connecting "!==this.connectionState){if("Disconnecting"===this.connectionState&&this.stopPromiseResolver(),e?this.logger.log(l.a.Error,"Connection disconnected with error '"+e+"'."):this.logger.log(l.a.Information,"Connection disconnected."),this.sendQueue&&(this.sendQueue.stop().catch((function(e){t.logger.log(l.a.Error,"TransportSendQueue.stop() threw error '"+e+"'.")})),this.sendQueue=void 0),this.connectionId=void 0,this.connectionState="Disconnected",this.connectionStarted){this.connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(n){this.logger.log(l.a.Error,"HttpConnection.onclose("+e+") threw error '"+n+"'.")}}}else this.logger.log(l.a.Warning,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection hasn't yet left the in the connecting state.");else this.logger.log(l.a.Debug,"Call to HttpConnection.stopConnection("+e+") was ignored because the connection is already in the disconnected state.")},e.prototype.resolveUrl=function(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if(!m.c.isBrowser||!window.document)throw new Error("Cannot resolve '"+e+"'.");var t=window.document.createElement("a");return t.href=e,this.logger.log(l.a.Information,"Normalizing '"+e+"' to '"+t.href+"'."),t.href},e.prototype.resolveNegotiateUrl=function(e){var t=e.indexOf("?"),n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",-1===(n+=-1===t?"":e.substring(t)).indexOf("negotiateVersion")&&(n+=-1===t?"?":"&",n+="negotiateVersion="+this.negotiateVersion),n},e}();var L=function(){function e(e){this.transport=e,this.buffer=[],this.executing=!0,this.sendBufferedData=new F,this.transportResult=new F,this.sendLoopPromise=this.sendLoop()}return e.prototype.send=function(e){return this.bufferData(e),this.transportResult||(this.transportResult=new F),this.transportResult.promise},e.prototype.stop=function(){return this.executing=!1,this.sendBufferedData.resolve(),this.sendLoopPromise},e.prototype.bufferData=function(e){if(this.buffer.length&&typeof this.buffer[0]!=typeof e)throw new Error("Expected data to be of type "+typeof this.buffer+" but was of type "+typeof e);this.buffer.push(e),this.sendBufferedData.resolve()},e.prototype.sendLoop=function(){return M(this,void 0,void 0,(function(){var t,n,r;return N(this,(function(a){switch(a.label){case 0:return[4,this.sendBufferedData.promise];case 1:if(a.sent(),!this.executing)return this.transportResult&&this.transportResult.reject("Connection stopped."),[3,6];this.sendBufferedData=new F,t=this.transportResult,this.transportResult=void 0,n="string"==typeof this.buffer[0]?this.buffer.join(""):e.concatBuffers(this.buffer),this.buffer.length=0,a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.transport.send(n)];case 3:return a.sent(),t.resolve(),[3,5];case 4:return r=a.sent(),t.reject(r),[3,5];case 5:return[3,0];case 6:return[2]}}))}))},e.concatBuffers=function(e){for(var t=e.map((function(e){return e.byteLength})).reduce((function(e,t){return e+t})),n=new Uint8Array(t),r=0,a=0,i=e;a0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.b),u=s},,,function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return et})),n.d(t,"c",(function(){return _e})),n.d(t,"d",(function(){return gt})),n.d(t,"e",(function(){return x})),n.d(t,"f",(function(){return vt})),n.d(t,"g",(function(){return Ce})),n.d(t,"h",(function(){return wt}));var r=n(14),a=n(0);function i(){return void 0!==e&&"[object process]"==={}.toString.call(e)}function o(e){switch(e.length){case 0:return new r.d;case 1:return e[0];default:return new r.l(e)}}function s(e,t,n,a,i={},o={}){const s=[],l=[];let c=-1,u=null;if(a.forEach((e=>{const n=e.offset,a=n==c,d=a&&u||{};Object.keys(e).forEach((n=>{let a=n,l=e[n];if("offset"!==n)switch(a=t.normalizePropertyName(a,s),l){case r.m:l=i[n];break;case r.a:l=o[n];break;default:l=t.normalizeStyleValue(n,a,l,s)}d[a]=l})),a||l.push(d),u=d,c=n})),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return l}function l(e,t,n,r){switch(t){case"start":e.onStart((()=>r(n&&c(n,"start",e))));break;case"done":e.onDone((()=>r(n&&c(n,"done",e))));break;case"destroy":e.onDestroy((()=>r(n&&c(n,"destroy",e))))}}function c(e,t,n){const r=n.totalTime,a=!!n.disabled,i=u(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,a),o=e._data;return null!=o&&(i._data=o),i}function u(e,t,n,r,a="",i=0,o){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:a,totalTime:i,disabled:!!o}}function d(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function h(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let p=(e,t)=>!1;let f=(e,t)=>!1;let m=(e,t,n)=>[];const g=i();(g||"undefined"!=typeof Element)&&(p=(e,t)=>e.contains(t),f=(()=>{if(g||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):f}})(),m=(e,t,n)=>{let r=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}class x{validateStyleProperty(e){return v(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return k(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,a,i,o=[],s){return new r.d(n,a)}}x.ɵfac=function(e){return new(e||x)},x.ɵprov=a["ɵɵdefineInjectable"]({token:x,factory:x.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](x,[{type:a.Injectable}],null,null);class j{}j.NOOP=new x;const E="ng-enter",S="ng-leave",D="ng-trigger",T=".ng-trigger",z="ng-animating",I=".ng-animating";function A(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:O(parseFloat(t[1]),t[2])}function O(e,t){switch(t){case"s":return 1e3*e;default:return e}}function M(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let a,i=0,o="";if("string"==typeof e){const n=e.match(r);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};a=O(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=O(parseFloat(s),n[4]));const l=n[5];l&&(o=l)}else a=e;if(!n){let n=!1,r=t.length;a<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:a,delay:i,easing:o}}(e,t,n)}function N(e,t={}){return Object.keys(e).forEach((n=>{t[n]=e[n]})),t}function R(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else N(e,n);return n}function P(e,t,n){return n?t+":"+n+";":""}function q(e){let t="";for(let n=0;n{const a=W(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[a]),e.style[a]=t[r]})),i()&&q(e))}function L(e,t){e.style&&(Object.keys(t).forEach((t=>{const n=W(t);e.style[n]=""})),i()&&q(e))}function F(e){return Array.isArray(e)?1==e.length?e[0]:Object(r.g)(e):e}const V=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(e){let t=[];if("string"==typeof e){let n;for(;n=V.exec(e);)t.push(n[1]);V.lastIndex=0}return t}function H(e,t,n){const r=e.toString(),a=r.replace(V,((e,r)=>{let a=t[r];return t.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),a=""),a.toString()}));return a==r?e:a}function $(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const K=/-+([a-z0-9])/g;function W(e){return e.replace(K,((...e)=>e[1].toUpperCase()))}function G(e,t){return 0===e||0===t}function Q(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let i=t[0],o=[];if(r.forEach((e=>{i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var a=1;afunction(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const a=r[1],i=r[2],o=r[3];t.push(ne(a,o));const s=a==J&&o==J;"<"!=i[0]||s||t.push(ne(o,a))}(e,n,t))):n.push(e),n}const ee=new Set(["true","1"]),te=new Set(["false","0"]);function ne(e,t){const n=ee.has(e)||te.has(e),r=ee.has(t)||te.has(t);return(a,i)=>{let o=e==J||e==a,s=t==J||t==i;return!o&&n&&"boolean"==typeof a&&(o=a?ee.has(e):te.has(e)),!s&&r&&"boolean"==typeof i&&(s=i?ee.has(t):te.has(t)),o&&s}}const re=":self",ae=new RegExp("s*:selfs*,?","g");function ie(e,t,n){return new oe(e).build(t,n)}class oe{constructor(e){this._driver=e}build(e,t){const n=new se(t);return this._resetContextStyleTimingState(n),Y(this,F(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const a=[],i=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach((e=>{n.name=e,a.push(this.visitState(n,t))})),n.name=r}else if(1==e.type){const a=this.visitTransition(e,t);n+=a.queryCount,r+=a.depCount,i.push(a)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:a,transitions:i,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const a=new Set,i=r||{};if(n.styles.forEach((e=>{if(le(e)){const t=e;Object.keys(t).forEach((e=>{U(t[e]).forEach((e=>{i.hasOwnProperty(e)||a.add(e)}))}))}})),a.size){const n=$(a.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=Y(this,F(e.animation),t);return{type:1,matchers:X(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ce(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map((e=>Y(this,e,t))),options:ce(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const a=e.steps.map((e=>{t.currentTime=n;const a=Y(this,e,t);return r=Math.max(r,t.currentTime),a}));return t.currentTime=r,{type:3,steps:a,options:ce(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e){return ue(M(e,t).duration,0,"")}const r=e;if(r.split(/\s+/).some((e=>"{"==e.charAt(0)&&"{"==e.charAt(1)))){const e=ue(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||M(r,t),ue(n.duration,n.delay,n.easing)}(e.timings,t.errors);let a;t.currentAnimateTimings=n;let i=e.styles?e.styles:Object(r.i)({});if(5==i.type)a=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=Object(r.i)(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(i,t);s.isEmptyStep=o,a=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:a,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach((e=>{"string"==typeof e?e==r.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)})):n.push(e.styles);let a=!1,i=null;return n.forEach((e=>{if(le(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!a)for(let e in t){if(t[e].toString().indexOf("{{")>=0){a=!0;break}}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach((e=>{"string"!=typeof e&&Object.keys(e).forEach((n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=t.collectedStyles[t.currentQuerySelector],o=i[n];let s=!0;o&&(a!=r&&a>=o.startTime&&r<=o.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${a}ms" and "${r}ms"`),s=!1),a=o.startTime),s&&(i[n]={startTime:a,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},a=U(e);a.length&&a.forEach((e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)}))}(e[n],t.options,t.errors)}))}))}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const a=[];let i=!1,o=!1,s=0;const l=e.steps.map((e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach((e=>{if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}}));else if(le(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c0&&r{const i=u>0?r==d?1:u*r:a[r],o=i*f;t.currentTime=h+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=i,n.styles.push(e)})),n}visitReference(e,t){return{type:8,animation:Y(this,F(e.animation),t),options:ce(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ce(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ce(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[a,i]=function(e){const t=!!e.split(/\s*,\s*/).find((e=>e==re));t&&(e=e.replace(ae,""));return[e=e.replace(/@\*/g,T).replace(/@\w+/g,(e=>".ng-trigger-"+e.substr(1))).replace(/:animating/g,I),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,d(t.collectedStyles,t.currentQuerySelector,{});const o=Y(this,F(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:e.selector,options:ce(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:M(e.timings,t.errors,!0);return{type:12,animation:Y(this,F(e.animation),t),timings:n,options:null}}}class se{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function le(e){return!Array.isArray(e)&&"object"==typeof e}function ce(e){var t;return e?(e=N(e)).params&&(e.params=(t=e.params)?N(t):null):e={},e}function ue(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,r,a,i,o=null,s=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:a,delay:i,totalTime:a+i,easing:o,subTimeline:s}}class he{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const pe=new RegExp(":enter","g"),fe=new RegExp(":leave","g");function me(e,t,n,r,a,i={},o={},s,l,c=[]){return(new ge).buildKeyframes(e,t,n,r,a,i,o,s,l,c)}class ge{buildKeyframes(e,t,n,r,a,i,o,s,l,c=[]){l=l||new he;const u=new be(e,t,l,r,a,c,[]);u.options=s,u.currentTimeline.setStyles([i],null,u.errors,s),Y(this,n,u);const d=u.timelines.filter((e=>e.containsAnimation()));if(d.length&&Object.keys(o).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([o],null,u.errors,s)}return d.length?d.map((e=>e.buildKeyframes())):[de(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),a=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);a!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const a=null!=n.duration?A(n.duration):null,i=null!=n.delay?A(n.delay):null;return 0!==a&&e.forEach((e=>{const n=t.appendInstructionToTimeline(e,a,i);r=Math.max(r,n.duration+n.delay)})),r}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const a=e.options;if(a&&(a.params||a.delay)&&(r=t.createSubContext(a),r.transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ye);const e=A(a.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach((e=>Y(this,e,r))),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const a=e.options&&e.options.delay?A(e.options.delay):0;e.steps.forEach((i=>{const o=t.createSubContext(e.options);a&&o.delayNextStep(a),Y(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)})),n.forEach((e=>t.currentTimeline.mergeTimelineCollectedStyles(e))),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return M(t.params?H(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const a=e.style;5==a.type?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const a=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,a=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach((e=>{const n=e.offset||0;i.forwardTime(n*a),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+a),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?A(r.delay):0;a&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ye);let i=n;const o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=o.length;let s=null;o.forEach(((n,r)=>{t.currentQueryIndex=r;const o=t.createSubContext(e.options,n);a&&o.delayNextStep(a),n===t.element&&(s=o.currentTimeline),Y(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();const l=o.currentTimeline.currentTime;i=Math.max(i,l)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(i),s&&(t.currentTimeline.mergeTimelineCollectedStyles(s),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,a=e.timings,i=Math.abs(a.duration),o=i*(t.currentQueryTotal-1);let s=i*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}const l=t.currentTimeline;s&&l.delayNextStep(s);const c=l.currentTime;Y(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const ye={};class be{constructor(e,t,n,r,a,i,o,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=a,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ve(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=A(n.duration)),null!=n.delay&&(r.delay=A(n.delay));const a=n.params;if(a){let e=r.params;e||(e=this.options.params={}),Object.keys(a).forEach((n=>{t&&e.hasOwnProperty(n)||(e[n]=H(a[n],e,this.errors))}))}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach((e=>{n[e]=t[e]}))}}return e}createSubContext(e=null,t,n){const r=t||this.element,a=new be(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}transformIntoNewTimeline(e){return this.previousNode=ye,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},a=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(a),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,a,i){let o=[];if(r&&o.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(fe,"."+this._leaveClassName);const t=1!=n;let r=this._driver.query(this.element,e,t);0!==n&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),o.push(...r)}return a||0!=o.length||i.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),o}}class ve{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ve(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((e=>{this._backFill[e]=this._globalTimelineStyles[e]||r.a,this._currentKeyframe[e]=r.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,a){t&&(this._previousKeyframe.easing=t);const i=a&&a.params||{},o=function(e,t){const n={};let a;return e.forEach((e=>{"*"===e?(a=a||Object.keys(t),a.forEach((e=>{n[e]=r.a}))):R(e,!1,n)})),n}(e,this._globalTimelineStyles);Object.keys(o).forEach((e=>{const t=H(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:r.a),this._updateStyle(e,t)}))}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach((t=>{const n=e[t];this._currentKeyframe[t]=n})),Object.keys(this._localTimelineStyles).forEach((e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach((t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach(((i,o)=>{const s=R(i,!0);Object.keys(s).forEach((n=>{const a=s[n];a==r.m?e.add(n):a==r.a&&t.add(n)})),n||(s.offset=o/this.duration),a.push(s)}));const i=e.size?$(e.values()):[],o=t.size?$(t.values()):[];if(n){const e=a[0],t=N(e);e.offset=0,t.offset=1,a=[e,t]}return de(this.element,a,i,o,this.duration,this.startTime,this.easing,!1)}}class we extends ve{constructor(e,t,n,r,a,i,o=!1){super(e,t,i.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=a,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const a=[],i=n+t,o=t/i,s=R(e[0],!1);s.offset=0,a.push(s);const l=R(e[0],!1);l.offset=ke(o),a.push(l);const c=e.length-1;for(let r=1;r<=c;r++){let o=R(e[r],!1);const s=t+o.offset*n;o.offset=ke(s/i),a.push(o)}n=i,t=0,r="",e=a}return de(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function ke(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class _e{}class Ce extends _e{normalizePropertyName(e,t){return W(e)}normalizeStyleValue(e,t,n,r){let a="";const i=n.toString().trim();if(xe[t]&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return i+a}}const xe=function(e){const t={};return e.forEach((e=>t[e]=!0)),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function je(e,t,n,r,a,i,o,s,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Ee={};class Se{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,a){return e.some((e=>e(t,n,r,a)))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],a=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return a?a.buildStyles(t,n):i}build(e,t,n,r,a,i,o,s,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Ee,p=o&&o.params||Ee,f=this.buildStyles(n,p,u),m=s&&s.params||Ee,g=this.buildStyles(r,m,u),y=new Set,b=new Map,v=new Map,w="void"===r,k={params:Object.assign(Object.assign({},h),m)},_=c?[]:me(e,t,this.ast.animation,a,i,f,g,k,l,u);let C=0;if(_.forEach((e=>{C=Math.max(e.duration+e.delay,C)})),u.length)return je(t,this._triggerName,n,r,w,f,g,[],[],b,v,C,u);_.forEach((e=>{const n=e.element,r=d(b,n,{});e.preStyleProps.forEach((e=>r[e]=!0));const a=d(v,n,{});e.postStyleProps.forEach((e=>a[e]=!0)),n!==t&&y.add(n)}));const x=$(y.values());return je(t,this._triggerName,n,r,w,f,g,_,x,b,v,C)}}class De{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=N(this.defaultParams);return Object.keys(e).forEach((t=>{const n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((e=>{if("string"!=typeof e){const a=e;Object.keys(a).forEach((e=>{let i=a[e];i.length>1&&(i=H(i,r,t)),n[e]=i}))}})),n}}class Te{constructor(e,t){var n,r;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((e=>{const t=e.options&&e.options.params||{};this.states[e.name]=new De(e.style,t)})),ze(this.states,"true","1"),ze(this.states,"false","0"),t.transitions.forEach((t=>{this.transitionFactories.push(new Se(e,t,this.states))})),this.fallbackTransition=(n=e,r=this.states,new Se(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find((a=>a.match(e,t,n,r)))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function ze(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Ie=new he;class Ae{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=ie(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,a=s(this._driver,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const a=[],i=this._animations[e];let s;const l=new Map;if(i?(s=me(this._driver,t,i,E,S,{},{},n,Ie,a),s.forEach((e=>{const t=d(l,e.element,{});e.postStyleProps.forEach((e=>t[e]=null))}))):(a.push("The requested animation doesn't exist or has already been destroyed"),s=[]),a.length)throw new Error(`Unable to create the animation due to the following errors: ${a.join("\n")}`);l.forEach(((e,t)=>{Object.keys(e).forEach((n=>{e[n]=this._driver.computeStyle(t,n,r.a)}))}));const c=o(s.map((e=>{const t=l.get(e.element);return this._buildPlayer(e,{},t)})));return this._playersById[e]=c,c.onDestroy((()=>this.destroy(e))),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,r){const a=u(t,"","","");return l(this._getPlayer(e),n,a,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n){const n=r[0]||{};return void this.create(e,t,n)}const a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Oe="ng-animate-queued",Me="ng-animate-disabled",Ne=".ng-animate-disabled",Re=[],Pe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},qe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Be{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=function(e){return null!=e?e:null}(r),n){const t=N(e);delete t.value,this.options=t}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach((n=>{null==e[n]&&(e[n]=t[n])}))}}}const Le="void",Fe=new Be(Le);class Ve{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Qe(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(a=n)&&"done"!=a)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var a;const i=d(this._elementListeners,e,[]),o={name:t,phase:n,callback:r};i.push(o);const s=d(this._engine.statesByElement,e,{});return s.hasOwnProperty(t)||(Qe(e,D),Qe(e,"ng-trigger-"+t),s[t]=Fe),()=>{this._engine.afterFlush((()=>{const e=i.indexOf(o);e>=0&&i.splice(e,1),this._triggers[t]||delete s[t]}))}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const a=this._getTrigger(t),i=new He(this.id,t,e);let o=this._engine.statesByElement.get(e);o||(Qe(e,D),Qe(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,o={}));let s=o[t];const l=new Be(n,this.id);!(n&&n.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),o[t]=l,s||(s=Fe);if(!(l.value===Le)&&s.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let a=0;a{L(e,n),B(e,r)}))}return}const c=d(this._engine.playersByElement,e,[]);c.forEach((e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()}));let u=a.matchTransition(s.value,l.value,e,l.params),h=!1;if(!u){if(!r)return;u=a.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:s,toState:l,player:i,isFallbackTransition:h}),h||(Qe(e,Oe),i.onStart((()=>{Ye(e,Oe)}))),i.onDone((()=>{let t=this.players.indexOf(i);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(i);e>=0&&n.splice(e,1)}})),this.players.push(i),c.push(i),i}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach(((t,n)=>{delete t[e]})),this._elementListeners.forEach(((t,n)=>{this._elementListeners.set(n,t.filter((t=>t.name!=e)))}))}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach((e=>e.destroy())),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,T,!0);n.forEach((e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach((n=>n.triggerLeaveAnimation(e,t,!1,!0))):this.clearElementCache(e)})),this._engine.afterFlushAnimationsDone((()=>n.forEach((e=>this.clearElementCache(e)))))}triggerLeaveAnimation(e,t,n,r){const a=this._engine.statesByElement.get(e);if(a){const i=[];if(Object.keys(a).forEach((t=>{if(this._triggers[t]){const n=this.trigger(e,t,Le,r);n&&i.push(n)}})),i.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&o(i).onDone((()=>this._engine.processLeaveNode(e))),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const r=new Set;t.forEach((t=>{const a=t.name;if(r.has(a))return;r.add(a);const i=this._triggers[a].fallbackTransition,o=n[a]||Fe,s=new Be(Le),l=new He(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:i,fromState:o,toState:s,player:l,isFallbackTransition:!0})}))}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;){if(n.statesByElement.get(t)){r=!0;break}}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Pe||(n.afterFlush((()=>this.clearElementCache(e))),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Qe(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach((n=>{const r=n.player;if(r.destroyed)return;const a=n.element,i=this._elementListeners.get(a);i&&i.forEach((t=>{if(t.name==n.triggerName){const r=u(a,n.triggerName,n.fromState.value,n.toState.value);r._data=e,l(n.player,t.phase,r,t.callback)}})),r.markedForDestroy?this._engine.afterFlush((()=>{r.destroy()})):t.push(n)})),this._queue=[],t.sort(((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1}))}destroy(e){this.players.forEach((e=>e.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((t=>t.element===e))||t,t}}class Ue{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach((t=>{t.players.forEach((t=>{t.queued&&e.push(t)}))})),e}createNamespace(e,t){const n=new Ve(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let a=n;a>=0;a--){const n=this._namespaceList[a];if(this.driver.containsElement(n.hostElement,t)){this._namespaceList.splice(a+1,0,e),r=!0;break}}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush((()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((()=>n.destroy(t)))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Qe(e,Me)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ye(e,Me))}removeNode(e,t,n,r){if($e(t)){const a=e?this._fetchNamespace(e):null;if(a?a.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,a){return $e(t)?this._fetchNamespace(e).listen(t,n,r,a):()=>{}}_buildInstruction(e,t,n,r,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,T,!0);t.forEach((e=>this.destroyActiveAnimationsForElement(e))),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,I,!0),t.forEach((e=>this.finishActiveQueriedAnimationOnElement(e))))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach((e=>{e.queued?e.markedForDestroy=!0:e.destroy()}))}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach((e=>e.finish()))}whenRenderingDone(){return new Promise((e=>{if(this.players.length)return o(this.players).onDone((()=>e()));e()}))}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Pe,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Ne)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Ne,!0).forEach((e=>{this.markElementAsDisabled(e,!1)}))}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((e,t)=>this._balanceNamespaceList(e,t))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne())),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?o(t).onDone((()=>{e.forEach((e=>e()))})):e.forEach((e=>e()))}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new he,a=[],i=new Map,s=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach((e=>{h.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=E+y++;g.set(t,n),e.forEach((e=>Qe(e,n)))}));const b=[],v=new Set,w=new Set;for(let r=0;rv.add(e))):w.add(e))}const k=new Map,_=Ge(f,Array.from(v));_.forEach(((e,t)=>{const n=S+y++;k.set(t,n),e.forEach((e=>Qe(e,n)))})),e.push((()=>{m.forEach(((e,t)=>{const n=g.get(t);e.forEach((e=>Ye(e,n)))})),_.forEach(((e,t)=>{const n=k.get(t);e.forEach((e=>Ye(e,n)))})),b.forEach((e=>{this.processLeaveNode(e)}))}));const C=[],x=[];for(let r=this._namespaceList.length-1;r>=0;r--){this._namespaceList[r].drainQueuedTransitions(t).forEach((e=>{const t=e.player,r=e.element;if(C.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const i=!p||!this.driver.containsElement(p,r),o=k.get(r),h=g.get(r),f=this._buildInstruction(e,n,h,o,i);if(f.errors&&f.errors.length)return void x.push(f);if(i)return t.onStart((()=>L(r,f.fromStyles))),t.onDestroy((()=>B(r,f.toStyles))),void a.push(t);if(e.isFallbackTransition)return t.onStart((()=>L(r,f.fromStyles))),t.onDestroy((()=>B(r,f.toStyles))),void a.push(t);f.timelines.forEach((e=>e.stretchStartingKeyframe=!0)),n.append(r,f.timelines);const m={instruction:f,player:t,element:r};s.push(m),f.queriedElements.forEach((e=>d(l,e,[]).push(t))),f.preStyleProps.forEach(((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach((t=>e.add(t)))}})),f.postStyleProps.forEach(((e,t)=>{const n=Object.keys(e);let r=u.get(t);r||u.set(t,r=new Set),n.forEach((e=>r.add(e)))}))}))}if(x.length){const e=[];x.forEach((t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach((t=>e.push(`- ${t}\n`)))})),C.forEach((e=>e.destroy())),this.reportError(e)}const j=new Map,D=new Map;s.forEach((e=>{const t=e.element;n.has(t)&&(D.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,j))})),a.forEach((e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((e=>{d(j,t,[]).push(e),e.destroy()}))}));const T=b.filter((e=>Xe(e,c,u))),z=new Map;We(z,this.driver,w,u,r.a).forEach((e=>{Xe(e,c,u)&&T.push(e)}));const A=new Map;m.forEach(((e,t)=>{We(A,this.driver,new Set(e),c,r.m)})),T.forEach((e=>{const t=z.get(e),n=A.get(e);z.set(e,Object.assign(Object.assign({},t),n))}));const O=[],M=[],N={};s.forEach((e=>{const{element:t,player:r,instruction:s}=e;if(n.has(t)){if(h.has(t))return r.onDestroy((()=>B(t,s.toStyles))),r.disabled=!0,r.overrideTotalTime(s.totalTime),void a.push(r);let e=N;if(D.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=D.get(n);if(t){e=t;break}r.push(n)}r.forEach((t=>D.set(t,e)))}const n=this._buildAnimation(r.namespaceId,s,j,i,A,z);if(r.setRealPlayer(n),e===N)O.push(r);else{const t=this.playersByElement.get(e);t&&t.length&&(r.parentPlayer=o(t)),a.push(r)}}else L(t,s.fromStyles),r.onDestroy((()=>B(t,s.toStyles))),M.push(r),h.has(t)&&a.push(r)})),M.forEach((e=>{const t=i.get(e.element);if(t&&t.length){const n=o(t);e.setRealPlayer(n)}})),a.forEach((e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(let r=0;r!e.destroyed));a.length?Ze(this,e,a):this.processLeaveNode(e)}return b.length=0,O.forEach((e=>{this.players.push(e),e.onDone((()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)})),e.play()})),O}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,a){let i=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(i=t)}else{const t=this.playersByElement.get(e);if(t){const e=!a||a==Le;t.forEach((t=>{t.queued||(e||t.triggerName==r)&&i.push(t)}))}}return(n||r)&&(i=i.filter((e=>(!n||n==e.namespaceId)&&(!r||r==e.triggerName)))),i}_beforeAnimationBuild(e,t,n){const r=t.triggerName,a=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:r;for(const s of t.timelines){const e=s.element,r=e!==a,l=d(n,e,[]);this._getPreviousPlayers(e,r,i,o,t.toState).forEach((e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))}L(a,t.fromStyles)}_buildAnimation(e,t,n,a,i,l){const c=t.triggerName,u=t.element,h=[],p=new Set,f=new Set,m=t.timelines.map((t=>{const o=t.element;p.add(o);const d=o.__ng_removed;if(d&&d.removedBeforeQueried)return new r.d(t.duration,t.delay);const m=o!==u,g=function(e){const t=[];return Je(e,t),t}((n.get(o)||Re).map((e=>e.getRealPlayer()))).filter((e=>{const t=e;return!!t.element&&t.element===o})),y=i.get(o),b=l.get(o),v=s(this.driver,this._normalizer,0,t.keyframes,y,b),w=this._buildPlayer(t,v,g);if(t.subTimeline&&a&&f.add(o),m){const t=new He(e,c,o);t.setRealPlayer(w),h.push(t)}return w}));h.forEach((e=>{d(this.playersByQueriedElement,e.element,[]).push(e),e.onDone((()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e)))})),p.forEach((e=>Qe(e,z)));const g=o(m);return g.onDestroy((()=>{p.forEach((e=>Ye(e,z))),B(u,t.toStyles)})),f.forEach((e=>{d(a,e,[]).push(g)})),g}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new r.d(e.duration,e.delay)}}class He{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((t=>{this._queuedCallbacks[t].forEach((n=>l(e,t,void 0,n)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart((()=>t.triggerCallback("start"))),e.onDone((()=>this.finish())),e.onDestroy((()=>this.destroy()))}_queueEvent(e,t){d(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function $e(e){return e&&1===e.nodeType}function Ke(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function We(e,t,n,r,a){const i=[];n.forEach((e=>i.push(Ke(e))));const o=[];r.forEach(((n,r)=>{const i={};n.forEach((e=>{const n=i[e]=t.computeStyle(r,e,a);n&&0!=n.length||(r.__ng_removed=qe,o.push(r))})),e.set(r,i)}));let s=0;return n.forEach((e=>Ke(e,i[s++]))),o}function Ge(e,t){const n=new Map;if(e.forEach((e=>n.set(e,[]))),0==t.length)return n;const r=new Set(t),a=new Map;function i(e){if(!e)return 1;let t=a.get(e);if(t)return t;const o=e.parentNode;return t=n.has(o)?o:r.has(o)?1:i(o),a.set(e,t),t}return t.forEach((e=>{const t=i(e);1!==t&&n.get(t).push(e)})),n}function Qe(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ye(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ze(e,t,n){o(n).onDone((()=>e.processLeaveNode(t)))}function Je(e,t){for(let n=0;na.add(e))):t.set(e,r),n.delete(e),!0}class et{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Ue(e,t,n),this._timelineEngine=new Ae(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,a){const i=e+"-"+r;let o=this._triggerCache[i];if(!o){const e=[],t=ie(this._driver,a,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);o=function(e,t){return new Te(e,t)}(r,t),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(t,r,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,a]=h(n),i=r;this._timelineEngine.command(e,t,a,i)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,a){if("@"==n.charAt(0)){const[e,r]=h(n);return this._timelineEngine.listen(e,t,r,a)}return this._transitionEngine.listen(e,t,n,r,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function tt(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=rt(t[0]),t.length>1&&(r=rt(t[t.length-1]))):t&&(n=rt(t)),n||r?new nt(e,n,r):null}class nt{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let r=nt.initialStylesByElement.get(e);r||nt.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(nt.initialStylesByElement.delete(this._element),this._startStyles&&(L(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(L(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}function rt(e){let t=null;const n=Object.keys(e);for(let r=0;rthis._handleCallback(e)}apply(){!function(e,t){const n=pt(e,"").trim();let r=0;n.length&&(r=function(e,t){let n=0;for(let r=0;r=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=pt(e,"").split(","),r=ut(n,t);if(r>=0){n.splice(r,1);ht(e,"",n.join(","))}}(this._element,this._name))}}function lt(e,t,n){ht(e,"PlayState",n,ct(e,t))}function ct(e,t){const n=pt(e,"");if(n.indexOf(",")>0){return ut(n.split(","),t)}return ut([n],t)}function ut(e,t){for(let n=0;n=0)return n;return-1}function dt(e,t,n){n?e.removeEventListener(ot,t):e.addEventListener(ot,t)}function ht(e,t,n,r){const a=it+t;if(null!=r){const t=e.style[a];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[a]=n}function pt(e,t){return e.style[it+t]||""}class ft{constructor(e,t,n,r,a,i,o,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=a,this._finalStyles=o,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+a,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach((e=>e())),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach((e=>e())),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){if(this._state>=1)return;this._state=1;this.element;this._styler.apply(),this._delay&&this._styler.pause()}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new st(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(()=>this.finish()))}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach((n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:Z(this.element,n))}))}this.currentSnapshot=e}}class mt extends r.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=C(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((e=>{this._startingStyles[e]=this.element.style[e]})),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((e=>this.element.style.setProperty(e,this._styles[e]))),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach((e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)})),this._startingStyles=null,super.destroy())}}class gt{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return v(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return k(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map((e=>C(e)));let r=`@keyframes ${t} {\n`,a="";n.forEach((e=>{a=" ";const t=parseFloat(e.offset);r+=`${a}${100*t}% {\n`,a+=" ",Object.keys(e).forEach((t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${a}animation-timing-function: ${n};\n`));default:return void(r+=`${a}${t}: ${n};\n`)}})),r+=`${a}}\n`})),r+="}\n";const i=document.createElement("style");return i.textContent=r,i}animate(e,t,n,r,a,i=[],o){("undefined"==typeof ngDevMode||ngDevMode)&&o&&function(){if(yt)return;console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit https://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),yt=!0}();const s=i.filter((e=>e instanceof ft)),l={};G(n,r)&&s.forEach((e=>{let t=e.currentSnapshot;Object.keys(t).forEach((e=>l[e]=t[e]))}));const c=function(e){let t={};if(e){(Array.isArray(e)?e:[e]).forEach((e=>{Object.keys(e).forEach((n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))}))}return t}(t=Q(e,t,l));if(0==n)return new mt(e,c);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);const h=tt(e,t),p=new ft(e,t,u,n,r,a,c,h);return p.onDestroy((()=>{var e;(e=d).parentNode.removeChild(e)})),p}}let yt=!1;class bt{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((e=>e())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((e=>e())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((e=>e())),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:Z(this.element,t))})),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((e=>e())),t.length=0}}class vt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(kt().toString()),this._cssKeyframesDriver=new gt}validateStyleProperty(e){return v(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return k(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,a,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,a,i);const s={duration:n,delay:r,fill:0==r?"both":"forwards"};a&&(s.easing=a);const l={},c=i.filter((e=>e instanceof bt));G(n,r)&&c.forEach((e=>{let t=e.currentSnapshot;Object.keys(t).forEach((e=>l[e]=t[e]))}));const u=tt(e,t=Q(e,t=t.map((e=>R(e,!1))),l));return new bt(e,t,s,u)}}function wt(){return"function"==typeof kt()}function kt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,n(137))},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return s}));var r,a=(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])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){function t(t,n){var r=this,a=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=a,r}return a(t,e),t}(Error),o=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return a(t,e),t}(Error),s=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return a(t,e),t}(Error)},,function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return me})),n.d(t,"BrowserTransferStateModule",(function(){return Ie})),n.d(t,"By",(function(){return Ae})),n.d(t,"DomSanitizer",(function(){return re})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return w})),n.d(t,"EventManager",(function(){return k})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return H})),n.d(t,"HAMMER_LOADER",(function(){return $})),n.d(t,"HammerGestureConfig",(function(){return K})),n.d(t,"HammerModule",(function(){return Z})),n.d(t,"Meta",(function(){return ye})),n.d(t,"Title",(function(){return we})),n.d(t,"TransferState",(function(){return Te})),n.d(t,"VERSION",(function(){return Oe})),n.d(t,"disableDebugTools",(function(){return Ee})),n.d(t,"enableDebugTools",(function(){return je})),n.d(t,"makeStateKey",(function(){return De})),n.d(t,"platformBrowser",(function(){return pe})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS",(function(){return he})),n.d(t,"ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return de})),n.d(t,"ɵBrowserDomAdapter",(function(){return o})),n.d(t,"ɵBrowserGetTestability",(function(){return h})),n.d(t,"ɵDomEventsPlugin",(function(){return V})),n.d(t,"ɵDomRendererFactory2",(function(){return R})),n.d(t,"ɵDomSanitizerImpl",(function(){return ie})),n.d(t,"ɵDomSharedStylesHost",(function(){return x})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS",(function(){return v})),n.d(t,"ɵELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return y})),n.d(t,"ɵHAMMER_PROVIDERS__POST_R3__",(function(){return G})),n.d(t,"ɵHammerGesturesPlugin",(function(){return W})),n.d(t,"ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return ue})),n.d(t,"ɵKeyEventsPlugin",(function(){return ne})),n.d(t,"ɵNAMESPACE_URIS",(function(){return E})),n.d(t,"ɵSharedStylesHost",(function(){return C})),n.d(t,"ɵTRANSITION_ID",(function(){return c})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_a",(function(){return se})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_b",(function(){return le})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_c",(function(){return fe})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_d",(function(){return ge})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_e",(function(){return ve})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_f",(function(){return ze})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_g",(function(){return _})),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 ae})),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 d})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_m",(function(){return g})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_n",(function(){return b})),n.d(t,"ɵangular_packages_platform_browser_platform_browser_o",(function(){return i})),n.d(t,"ɵescapeHtml",(function(){return Se})),n.d(t,"ɵflattenStyles",(function(){return O})),n.d(t,"ɵinitDomAdapter",(function(){return oe})),n.d(t,"ɵshimContentAttribute",(function(){return I})),n.d(t,"ɵshimHostAttribute",(function(){return A}));var r=n(2),a=n(0);n.d(t,"ɵgetDOM",(function(){return r["ɵgetDOM"]}));class i extends r["ɵDomAdapter"]{constructor(){super()}supportsDOMEvents(){return!0}}(()=>{if(a["ɵglobal"].Node)a["ɵglobal"].Node.prototype.contains})();class o extends i{static makeCurrent(){Object(r["ɵsetRootDomAdapter"])(new o)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}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}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=function(){if(!l&&(l=document.querySelector("base"),!l))return null;return l.getAttribute("href")}();return null==t?null:function(e){s||(s=document.createElement("a"));return s.setAttribute("href",e),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname}(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r["ɵparseCookieValue"])(document.cookie,e)}}let s,l=null;const c=new a.InjectionToken("TRANSITION_ID");function u(e,t,n){return()=>{n.get(a.ApplicationInitStatus).donePromise.then((()=>{const n=Object(r["ɵgetDOM"])();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((t=>t.getAttribute("ng-transition")===e)).forEach((e=>n.remove(e)))}))}}const d=[{provide:a.APP_INITIALIZER,useFactory:u,deps:[c,r.DOCUMENT,a.Injector],multi:!0}];class h{static init(){Object(a.setTestabilityGetter)(new h)}addToWindow(e){a["ɵ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},a["ɵglobal"].getAllAngularTestabilities=()=>e.getAllTestabilities(),a["ɵglobal"].getAllAngularRootElements=()=>e.getAllRootElements();a["ɵglobal"].frameworkStabilizers||(a["ɵglobal"].frameworkStabilizers=[]),a["ɵglobal"].frameworkStabilizers.push((e=>{const t=a["ɵ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 a=e.getTestability(t);return null!=a?a:n?Object(r["ɵgetDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}function p(e,t){if("undefined"==typeof COMPILED||!COMPILED){(a["ɵglobal"].ng=a["ɵglobal"].ng||{})[e]=t}}const f={ApplicationRef:a.ApplicationRef,NgZone:a.NgZone};function m(e){return Object(a["ɵgetDebugNodeR2"])(e)}function g(e){return p("probe",m),p("coreTokens",Object.assign(Object.assign({},f),(e||[]).reduce(((e,t)=>(e[t.name]=t.token,e)),{}))),()=>m}const y=[],b=[{provide:a.APP_INITIALIZER,useFactory:g,deps:[[a.NgProbeToken,new a.Optional]],multi:!0}],v=y,w=new a.InjectionToken("EventManagerPlugins");class k{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 r=0;r[{type:Array,decorators:[{type:a.Inject,args:[w]}]},{type:a.NgZone}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](k,[{type:a.Injectable}],(function(){return[{type:Array,decorators:[{type:a.Inject,args:[w]}]},{type:a.NgZone}]}),null);class _{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const a=Object(r["ɵgetDOM"])().getGlobalEventTarget(this._doc,e);if(!a)throw new Error(`Unsupported event target ${a} for event ${t}`);return this.addEventListener(a,t,n)}}class C{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)}}C.ɵfac=function(e){return new(e||C)},C.ɵprov=a["ɵɵdefineInjectable"]({token:C,factory:C.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](C,[{type:a.Injectable}],(function(){return[]}),null);class x extends C{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(j),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(((t,n)=>{this._addStylesToHost(e,n,t)}))}ngOnDestroy(){this._hostNodes.forEach((e=>e.forEach(j)))}}function j(e){Object(r["ɵgetDOM"])().remove(e)}x.ɵfac=function(e){return new(e||x)(a["ɵɵinject"](r.DOCUMENT))},x.ɵprov=a["ɵɵdefineInjectable"]({token:x,factory:x.ɵfac}),x.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](x,[{type:a.Injectable}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);const E={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/"},S=/%COMP%/g,D="undefined"==typeof ngDevMode||!!ngDevMode,T="_nghost-%COMP%",z="_ngcontent-%COMP%";function I(e){return z.replace(S,e)}function A(e){return T.replace(S,e)}function O(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let N=!1;class R{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new P(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case a.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new L(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case a.ViewEncapsulation.ShadowDom:return"undefined"!=typeof ngDevMode&&!ngDevMode||N||1!==t.encapsulation||(N=!0,console.warn("ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.")),new F(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(){}}R.ɵfac=function(e){return new(e||R)(a["ɵɵinject"](k),a["ɵɵinject"](x),a["ɵɵinject"](a.APP_ID))},R.ɵprov=a["ɵɵdefineInjectable"]({token:R,factory:R.ɵfac}),R.ctorParameters=()=>[{type:k},{type:x},{type:String,decorators:[{type:a.Inject,args:[a.APP_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](R,[{type:a.Injectable}],(function(){return[{type:k},{type:x},{type:String,decorators:[{type:a.Inject,args:[a.APP_ID]}]}]}),null);class P{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(E[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 a=E[r];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=E[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&(a.RendererStyleFlags2.DashCase|a.RendererStyleFlags2.Important)?e.style.setProperty(t,n,r&a.RendererStyleFlags2.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&a.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){D&&B(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return D&&B(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,M(n)):this.eventManager.addEventListener(e,t,M(n))}}const q="@".charCodeAt(0);function B(e,t){if(e.charCodeAt(0)===q)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class L extends P{constructor(e,t,n,r){super(e),this.component=n;const a=O(r+"-"+n.id,n.styles,[]);t.addStyles(a),this.contentAttr=I(r+"-"+n.id),this.hostAttr=A(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 F extends P{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 a=O(r.id,r.styles,[]);for(let i=0;ithis.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}V.ɵfac=function(e){return new(e||V)(a["ɵɵinject"](r.DOCUMENT))},V.ɵprov=a["ɵɵdefineInjectable"]({token:V,factory:V.ɵfac}),V.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](V,[{type:a.Injectable}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);const U={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},H=new a.InjectionToken("HammerGestureConfig"),$=new a.InjectionToken("HammerLoader");class K{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}K.ɵfac=function(e){return new(e||K)},K.ɵprov=a["ɵɵdefineInjectable"]({token:K,factory:K.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](K,[{type:a.Injectable}],(function(){return[]}),null);class W extends _{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r,this._loaderPromise=null}supports(e){return!(!U.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,a=()=>{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(a=()=>{});r||(a=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.`),a=()=>{}})),()=>{a()}}return r.runOutsideAngular((()=>{const a=this._config.buildHammer(e),i=function(e){r.runGuarded((function(){n(e)}))};return a.on(t,i),()=>{a.off(t,i),"function"==typeof a.destroy&&a.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}W.ɵfac=function(e){return new(e||W)(a["ɵɵinject"](r.DOCUMENT),a["ɵɵinject"](H),a["ɵɵinject"](a["ɵConsole"]),a["ɵɵinject"]($,8))},W.ɵprov=a["ɵɵdefineInjectable"]({token:W,factory:W.ɵfac}),W.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]},{type:K,decorators:[{type:a.Inject,args:[H]}]},{type:a["ɵConsole"]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[$]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](W,[{type:a.Injectable}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]},{type:K,decorators:[{type:a.Inject,args:[H]}]},{type:a["ɵConsole"]},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[$]}]}]}),null);const G=[],Q=[{provide:w,useClass:W,multi:!0,deps:[r.DOCUMENT,H,a["ɵConsole"],[new a.Optional,$]]},{provide:H,useClass:K,deps:[]}],Y=G;class Z{}Z.ɵfac=function(e){return new(e||Z)},Z.ɵmod=a["ɵɵdefineNgModule"]({type:Z}),Z.ɵinj=a["ɵɵdefineInjector"]({providers:Q}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Z,[{type:a.NgModule,args:[{providers:Q}]}],null,null);const J=["alt","control","meta","shift"],X={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ee={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"},te={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class ne extends _{constructor(e){super(e)}supports(e){return null!=ne.parseEventName(e)}addEventListener(e,t,n){const a=ne.parseEventName(t),i=ne.eventCallback(a.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>Object(r["ɵgetDOM"])().onAndCancel(e,a.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=ne._normalizeKey(t.pop());let a="";if(J.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),a+=e+".")})),a+=r,0!=t.length||0===r.length)return null;const i={};return i.domEventName=n,i.fullKey=a,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&&ee.hasOwnProperty(t)&&(t=ee[t]))}return X[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),J.forEach((r=>{if(r!=n){(0,te[r])(e)&&(t+=r+".")}})),t+=n,t}static eventCallback(e,t,n){return r=>{ne.getEventFullKey(r)===e&&n.runGuarded((()=>t(r)))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}ne.ɵfac=function(e){return new(e||ne)(a["ɵɵinject"](r.DOCUMENT))},ne.ɵprov=a["ɵɵdefineInjectable"]({token:ne,factory:ne.ɵfac}),ne.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](ne,[{type:a.Injectable}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);class re{}function ae(e){return new ie(e.get(r.DOCUMENT))}re.ɵfac=function(e){return new(e||re)},re.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:function(){return Object(a["ɵɵinject"])(ie)},token:re,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](re,[{type:a.Injectable,args:[{providedIn:"root",useExisting:Object(a.forwardRef)((()=>ie))}]}],null,null);class ie extends re{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case a.SecurityContext.NONE:return t;case a.SecurityContext.HTML:return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"HTML")?Object(a["ɵunwrapSafeValue"])(t):Object(a["ɵ_sanitizeHtml"])(this._doc,String(t)).toString();case a.SecurityContext.STYLE:return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"Style")?Object(a["ɵunwrapSafeValue"])(t):t;case a.SecurityContext.SCRIPT:if(Object(a["ɵallowSanitizationBypassAndThrow"])(t,"Script"))return Object(a["ɵunwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case a.SecurityContext.URL:Object(a["ɵgetSanitizationBypassType"])(t);return Object(a["ɵallowSanitizationBypassAndThrow"])(t,"URL")?Object(a["ɵunwrapSafeValue"])(t):Object(a["ɵ_sanitizeUrl"])(String(t));case a.SecurityContext.RESOURCE_URL:if(Object(a["ɵallowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(a["ɵ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(a["ɵbypassSanitizationTrustHtml"])(e)}bypassSecurityTrustStyle(e){return Object(a["ɵbypassSanitizationTrustStyle"])(e)}bypassSecurityTrustScript(e){return Object(a["ɵbypassSanitizationTrustScript"])(e)}bypassSecurityTrustUrl(e){return Object(a["ɵbypassSanitizationTrustUrl"])(e)}bypassSecurityTrustResourceUrl(e){return Object(a["ɵbypassSanitizationTrustResourceUrl"])(e)}}function oe(){o.makeCurrent(),h.init()}function se(){return new a.ErrorHandler}function le(){return Object(a["ɵsetDocument"])(document),document}ie.ɵfac=function(e){return new(e||ie)(a["ɵɵinject"](r.DOCUMENT))},ie.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:function(){return ae(Object(a["ɵɵinject"])(a.INJECTOR))},token:ie,providedIn:"root"}),ie.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](ie,[{type:a.Injectable,args:[{providedIn:"root",useFactory:ae,deps:[a.Injector]}]}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);const ce=r["ɵPLATFORM_BROWSER_ID"],ue=[{provide:a.PLATFORM_ID,useValue:ce},{provide:a.PLATFORM_INITIALIZER,useValue:oe,multi:!0},{provide:r.DOCUMENT,useFactory:le,deps:[]}],de=(a.Sanitizer,r.DOCUMENT,[]),he=de,pe=Object(a.createPlatformFactory)(a.platformCore,"browser",ue),fe=[he,{provide:a["ɵINJECTOR_SCOPE"],useValue:"root"},{provide:a.ErrorHandler,useFactory:se,deps:[]},{provide:w,useClass:V,multi:!0,deps:[r.DOCUMENT,a.NgZone,a.PLATFORM_ID]},{provide:w,useClass:ne,multi:!0,deps:[r.DOCUMENT]},Y,{provide:R,useClass:R,deps:[k,x,a.APP_ID]},{provide:a.RendererFactory2,useExisting:R},{provide:C,useExisting:x},{provide:x,useClass:x,deps:[r.DOCUMENT]},{provide:a.Testability,useClass:a.Testability,deps:[a.NgZone]},{provide:k,useClass:k,deps:[w,a.NgZone]},v];class me{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:me,providers:[{provide:a.APP_ID,useValue:e.appId},{provide:c,useExisting:a.APP_ID},d]}}}function ge(){return new ye(Object(a["ɵɵinject"])(r.DOCUMENT))}me.ɵfac=function(e){return new(e||me)(a["ɵɵinject"](me,12))},me.ɵmod=a["ɵɵdefineNgModule"]({type:me}),me.ɵinj=a["ɵɵdefineInjector"]({providers:fe,imports:[r.CommonModule,a.ApplicationModule]}),me.ctorParameters=()=>[{type:me,decorators:[{type:a.Optional},{type:a.SkipSelf},{type:a.Inject,args:[me]}]}],("undefined"==typeof ngJitMode||ngJitMode)&&a["ɵɵsetNgModuleScope"](me,{exports:function(){return[r.CommonModule,a.ApplicationModule]}}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](me,[{type:a.NgModule,args:[{providers:fe,exports:[r.CommonModule,a.ApplicationModule]}]}],(function(){return[{type:me,decorators:[{type:a.Optional},{type:a.SkipSelf},{type:a.Inject,args:[me]}]}]}),null);class ye{constructor(e){this._doc=e,this._dom=Object(r["ɵgetDOM"])()}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.getTag(t);if(n&&this._containsAttributes(e,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 be[e]||e}}ye.ɵfac=function(e){return new(e||ye)(a["ɵɵinject"](r.DOCUMENT))},ye.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:ge,token:ye,providedIn:"root"}),ye.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](ye,[{type:a.Injectable,args:[{providedIn:"root",useFactory:ge,deps:[]}]}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);const be={httpEquiv:"http-equiv"};function ve(){return new we(Object(a["ɵɵinject"])(r.DOCUMENT))}class we{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}we.ɵfac=function(e){return new(e||we)(a["ɵɵinject"](r.DOCUMENT))},we.ɵprov=Object(a["ɵɵdefineInjectable"])({factory:ve,token:we,providedIn:"root"}),we.ctorParameters=()=>[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](we,[{type:a.Injectable,args:[{providedIn:"root",useFactory:ve,deps:[]}]}],(function(){return[{type:void 0,decorators:[{type:a.Inject,args:[r.DOCUMENT]}]}]}),null);const ke="undefined"!=typeof window&&window||{};class _e{constructor(e,t){this.msPerTick=e,this.numTicks=t}}class Ce{constructor(e){this.appRef=e.injector.get(a.ApplicationRef)}timeChangeDetection(e){const t=e&&e.record,n="Change Detection",a=null!=ke.console.profile;t&&a&&ke.console.profile(n);const i=Object(r["ɵgetDOM"])().performanceNow();let o=0;for(;o<5||Object(r["ɵgetDOM"])().performanceNow()-i<500;)this.appRef.tick(),o++;const s=Object(r["ɵgetDOM"])().performanceNow();t&&a&&ke.console.profileEnd(n);const l=(s-i)/o;return ke.console.log(`ran ${o} change detection cycles`),ke.console.log(`${l.toFixed(2)} ms per check`),new _e(l,o)}}const xe="profiler";function je(e){return p(xe,new Ce(e)),e}function Ee(){p(xe,null)}function Se(e){const t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(e=>t[e]))}function De(e){return e}class Te{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const t=new Te;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 t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store)}}function ze(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(a){console.warn("Exception while restoring TransferState for app "+t,a)}return Te.init(r)}Te.ɵfac=function(e){return new(e||Te)},Te.ɵprov=a["ɵɵdefineInjectable"]({token:Te,factory:Te.ɵfac}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Te,[{type:a.Injectable}],(function(){return[]}),null);class Ie{}Ie.ɵfac=function(e){return new(e||Ie)},Ie.ɵmod=a["ɵɵdefineNgModule"]({type:Ie}),Ie.ɵinj=a["ɵɵdefineInjector"]({providers:[{provide:Te,useFactory:ze,deps:[r.DOCUMENT,a.APP_ID]}]}),("undefined"==typeof ngDevMode||ngDevMode)&&a["ɵsetClassMetadata"](Ie,[{type:a.NgModule,args:[{providers:[{provide:Te,useFactory:ze,deps:[r.DOCUMENT,a.APP_ID]}]}]}],null,null);class Ae{static all(){return()=>!0}static css(e){return t=>null!=t.nativeElement&&function(e,t){if(Object(r["ɵgetDOM"])().isElementNode(e))return e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t);return!1}(t.nativeElement,e)}static directive(e){return t=>-1!==t.providerTokens.indexOf(e)}}const Oe=new a.Version("11.2.14")},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n(13);function i(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.predicate=n,a.thisArg=r,a.count=0,a}return r.a(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(a.a)},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),a=n(13),i=n(117),o=n(135);function s(e,t,n){return function(r){return r.lift(new l(e,t,n))}}var l=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))},e}(),c=function(e){function t(t,n,r,a){var s=e.call(this,t)||this;return s._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=a||i.a,Object(o.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return r.a(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(a.a)},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),a=function(e){function t(t,n,r){var a=e.call(this)||this;return a.parent=t,a.outerValue=n,a.outerIndex=r,a.index=0,a}return r.a(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n(13).a),i=n(166),o=n(20);function s(e,t,n,r,s){if(void 0===s&&(s=new a(e,n,r)),!s.closed)return t instanceof o.a?t.subscribe(s):Object(i.a)(t)(s)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=!1,a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,function(e,t,n){"use strict";(function(e){var r=n(980),a=n(981),i=n(498);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function f(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return z(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return j(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,a);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,a){var i,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a){var u=-1;for(i=n;is&&(n=s-l),i=n;i>=0;i--){for(var d=!0,h=0;ha&&(r=a):r=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o>8,a=n%256,i.push(a),i.push(r);return i}(t,e.length-n),e,n,r)}function j(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a239?4:c>223?3:c>191?2:1;if(a+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[a+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[a+1],o=e[a+2],128==(192&i)&&128==(192&o)&&(l=(15&c)<<12|(63&i)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[a+1],o=e[a+2],s=e[a+3],128==(192&i)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),a+=d}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,r,a){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(i,o),c=this.slice(r,a),u=e.slice(t,n),d=0;da)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return k(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function D(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;ar)&&(n=r);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,r,a,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(r?a:1-a)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(r?a:3-a)&255}function R(e,t,n,r,a,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,i){return i||R(e,0,n,4),a.write(e,t,n,r,23,4),n+4}function q(e,t,n,r,i){return i||R(e,0,n,8),a.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(a*=256);)r+=this[e+--t]*a;return r},l.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=this[e],a=1,i=0;++i=(a*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=t,a=1,i=this[e+--r];r>0&&(a*=256);)i+=this[e+--r]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),a.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),a.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),a.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),a.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);O(this,e,t,n,a-1,-a)}var i=0,o=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);O(this,e,t,n,a-1,-a)}var i=n-1,o=1,s=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return q(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return q(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}}).call(this,n(92))},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5),a=n(42),i=n(123),o=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return r.a(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(a.a)},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.a(t,e),t.prototype.notifyNext=function(e,t,n,r,a){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(n(13).a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var r,a=n(62),i=n(32),o=n(226);r||(r={});var s=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(a.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),a=n(31),i=n(49),o=n(18);function s(e,t){return"function"==typeof t?function(n){return n.pipe(s((function(n,r){return Object(i.a)(e(n,r)).pipe(Object(a.a)((function(e,a){return t(n,e,r,a)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.project))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.a(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)},t.prototype._innerSub=function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new o.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(o.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=void 0},t.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e){this.destination.next(e)},t}(o.b)},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(268);function a(e,t){return function(n){var a;if(a="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new i(a,t));var o=Object.create(n,r.b);return o.source=n,o.subjectFactory=a,o}}var i=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(),a=n(r).subscribe(e);return a.add(t.subscribe(r)),a},e}()},function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return a}));var a=r()},function(e,t,n){"use strict";function r(){}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.observable||"@@observable"}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},,,,,,,function(e,t,n){var r=n(39);n(199),n(722),n(723),n(48),r.random&&r.random.getBytes?e.exports=r.random:function(t){var n={},a=new Array(4),i=r.util.createBuffer();function o(){var e=r.prng.create(n);return e.getBytes=function(t,n){return e.generate(t,n)},e.getBytesSync=function(t){return e.generate(t)},e}n.formatKey=function(e){var t=r.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),r.aes._expandKey(e,!1)},n.formatSeed=function(e){var t=r.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},n.cipher=function(e,t){return r.aes._updateBlock(e,t,a,!1),i.putInt32(a[0]),i.putInt32(a[1]),i.putInt32(a[2]),i.putInt32(a[3]),i.getBytes()},n.increment=function(e){return++e[3],e},n.md=r.md.sha256;var s=o(),l=null,c=r.util.globalScope,u=c.crypto||c.msCrypto;if(u&&u.getRandomValues&&(l=function(e){return u.getRandomValues(e)}),r.options.usePureJavaScript||!r.util.isNodejs&&!l){if("undefined"==typeof window||window.document,s.collectInt(+new Date,32),"undefined"!=typeof navigator){var d="";for(var h in navigator)try{"string"==typeof navigator[h]&&(d+=navigator[h])}catch(p){}s.collect(d),d=null}t&&(t().mousemove((function(e){s.collectInt(e.clientX,16),s.collectInt(e.clientY,16)})),t().keypress((function(e){s.collectInt(e.charCode,8)})))}if(r.random)for(var h in s)r.random[h]=s[h];else r.random=s;r.random.createInstance=o,e.exports=r.random}("undefined"!=typeof jQuery?jQuery:null)},function(e,t,n){"use strict";n.r(t),n.d(t,"audit",(function(){return r.a})),n.d(t,"auditTime",(function(){return a.a})),n.d(t,"buffer",(function(){return s})),n.d(t,"bufferCount",(function(){return d})),n.d(t,"bufferTime",(function(){return y})),n.d(t,"bufferToggle",(function(){return S})),n.d(t,"bufferWhen",(function(){return z})),n.d(t,"catchError",(function(){return O.a})),n.d(t,"combineAll",(function(){return N})),n.d(t,"combineLatest",(function(){return q})),n.d(t,"concat",(function(){return L})),n.d(t,"concatAll",(function(){return F.a})),n.d(t,"concatMap",(function(){return V.a})),n.d(t,"concatMapTo",(function(){return U})),n.d(t,"count",(function(){return H})),n.d(t,"debounce",(function(){return W})),n.d(t,"debounceTime",(function(){return Y})),n.d(t,"defaultIfEmpty",(function(){return ee.a})),n.d(t,"delay",(function(){return re})),n.d(t,"delayWhen",(function(){return le})),n.d(t,"dematerialize",(function(){return pe})),n.d(t,"distinct",(function(){return ge})),n.d(t,"distinctUntilChanged",(function(){return ve.a})),n.d(t,"distinctUntilKeyChanged",(function(){return we})),n.d(t,"elementAt",(function(){return je})),n.d(t,"endWith",(function(){return Se})),n.d(t,"every",(function(){return De})),n.d(t,"exhaust",(function(){return Ie})),n.d(t,"exhaustMap",(function(){return Ne})),n.d(t,"expand",(function(){return qe})),n.d(t,"filter",(function(){return _e.a})),n.d(t,"finalize",(function(){return Fe.a})),n.d(t,"find",(function(){return Ve})),n.d(t,"findIndex",(function(){return $e})),n.d(t,"first",(function(){return Ke.a})),n.d(t,"groupBy",(function(){return We.b})),n.d(t,"ignoreElements",(function(){return Ge})),n.d(t,"isEmpty",(function(){return Ze})),n.d(t,"last",(function(){return et.a})),n.d(t,"map",(function(){return Me.a})),n.d(t,"mapTo",(function(){return tt})),n.d(t,"materialize",(function(){return at})),n.d(t,"max",(function(){return dt})),n.d(t,"merge",(function(){return pt})),n.d(t,"mergeAll",(function(){return ft.a})),n.d(t,"mergeMap",(function(){return mt.b})),n.d(t,"flatMap",(function(){return mt.a})),n.d(t,"mergeMapTo",(function(){return gt})),n.d(t,"mergeScan",(function(){return yt})),n.d(t,"min",(function(){return wt})),n.d(t,"multicast",(function(){return kt.a})),n.d(t,"observeOn",(function(){return _t.b})),n.d(t,"onErrorResumeNext",(function(){return Ct})),n.d(t,"pairwise",(function(){return Et.a})),n.d(t,"partition",(function(){return Dt})),n.d(t,"pluck",(function(){return Tt})),n.d(t,"publish",(function(){return At})),n.d(t,"publishBehavior",(function(){return Mt})),n.d(t,"publishLast",(function(){return Rt})),n.d(t,"publishReplay",(function(){return qt})),n.d(t,"race",(function(){return Lt})),n.d(t,"reduce",(function(){return ut})),n.d(t,"repeat",(function(){return Vt})),n.d(t,"repeatWhen",(function(){return $t})),n.d(t,"retry",(function(){return Gt})),n.d(t,"retryWhen",(function(){return Zt})),n.d(t,"refCount",(function(){return en.a})),n.d(t,"sample",(function(){return tn})),n.d(t,"sampleTime",(function(){return an})),n.d(t,"scan",(function(){return st.a})),n.d(t,"sequenceEqual",(function(){return cn})),n.d(t,"share",(function(){return pn.a})),n.d(t,"shareReplay",(function(){return fn.a})),n.d(t,"single",(function(){return gn})),n.d(t,"skip",(function(){return vn})),n.d(t,"skipLast",(function(){return _n})),n.d(t,"skipUntil",(function(){return jn})),n.d(t,"skipWhile",(function(){return Dn})),n.d(t,"startWith",(function(){return In.a})),n.d(t,"subscribeOn",(function(){return Nn})),n.d(t,"switchAll",(function(){return Bn})),n.d(t,"switchMap",(function(){return Pn.a})),n.d(t,"switchMapTo",(function(){return Ln})),n.d(t,"take",(function(){return xe.a})),n.d(t,"takeLast",(function(){return lt.a})),n.d(t,"takeUntil",(function(){return Fn.a})),n.d(t,"takeWhile",(function(){return Vn})),n.d(t,"tap",(function(){return $n.a})),n.d(t,"throttle",(function(){return Kn.b})),n.d(t,"throttleTime",(function(){return Wn.a})),n.d(t,"throwIfEmpty",(function(){return Ce.a})),n.d(t,"timeInterval",(function(){return Qn})),n.d(t,"timeout",(function(){return nr})),n.d(t,"timeoutWith",(function(){return Jn})),n.d(t,"timestamp",(function(){return rr})),n.d(t,"toArray",(function(){return or})),n.d(t,"window",(function(){return sr})),n.d(t,"windowCount",(function(){return ur})),n.d(t,"windowTime",(function(){return pr})),n.d(t,"windowToggle",(function(){return wr})),n.d(t,"windowWhen",(function(){return Cr})),n.d(t,"withLatestFrom",(function(){return Er})),n.d(t,"zip",(function(){return zr})),n.d(t,"zipAll",(function(){return Ir}));var r=n(328),a=n(491),i=n(5),o=n(18);function s(e){return function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.closingNotifier))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.buffer=[],r.add(Object(o.c)(n,new o.a(r))),r}return i.a(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(){var e=this.buffer;this.buffer=[],this.destination.next(e)},t}(o.b),u=n(13);function d(e,t){return void 0===t&&(t=null),function(n){return n.lift(new h(e,t))}}var h=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?f:p}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),p=function(e){function t(t,n){var r=e.call(this,t)||this;return r.bufferSize=n,r.buffer=[],r}return i.a(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(u.a),f=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.bufferSize=n,a.startBufferEvery=r,a.buffers=[],a.count=0,a}return i.a(t,e),t.prototype._next=function(e){var t=this,n=t.bufferSize,r=t.startBufferEvery,a=t.buffers,i=t.count;this.count++,i%r==0&&a.push([]);for(var o=a.length;o--;){var s=a[o];s.push(e),s.length===n&&(a.splice(o,1),this.destination.next(s))}},t.prototype._complete=function(){for(var t=this.buffers,n=this.destination;t.length>0;){var r=t.shift();r.length>0&&n.next(r)}e.prototype._complete.call(this)},t}(u.a),m=n(53),g=n(66);function y(e){var t=arguments.length,n=m.a;Object(g.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],t--);var r=null;t>=2&&(r=arguments[1]);var a=Number.POSITIVE_INFINITY;return t>=3&&(a=arguments[2]),function(t){return t.lift(new b(e,r,a,n))}}var b=function(){function e(e,t,n,r){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new w(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),v=function(){return function(){this.buffer=[]}}(),w=function(e){function t(t,n,r,a,i){var o=e.call(this,t)||this;o.bufferTimeSpan=n,o.bufferCreationInterval=r,o.maxBufferSize=a,o.scheduler=i,o.contexts=[];var s=o.openContext();if(o.timespanOnly=null==r||r<0,o.timespanOnly){var l={subscriber:o,context:s,bufferTimeSpan:n};o.add(s.closeAction=i.schedule(k,n,l))}else{var c={subscriber:o,context:s},u={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:o,scheduler:i};o.add(s.closeAction=i.schedule(C,n,c)),o.add(i.schedule(_,r,u))}return o}return i.a(t,e),t.prototype._next=function(e){for(var t,n=this.contexts,r=n.length,a=0;a0;){var r=t.shift();n.next(r.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:e,bufferTimeSpan:n};this.add(e.closeAction=this.scheduler.schedule(k,n,r))}},t.prototype.openContext=function(){var e=new v;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(u.a);function k(e){var t=e.subscriber,n=e.context;n&&t.closeContext(n),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function _(e){var t=e.bufferCreationInterval,n=e.bufferTimeSpan,r=e.subscriber,a=e.scheduler,i=r.openContext();r.closed||(r.add(i.closeAction=a.schedule(C,n,{subscriber:r,context:i})),this.schedule(e,t))}function C(e){var t=e.subscriber,n=e.context;t.closeContext(n)}var x=n(38),j=n(90),E=n(105);function S(e,t){return function(n){return n.lift(new D(e,t))}}var D=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new T(e,this.openings,this.closingSelector))},e}(),T=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.closingSelector=r,a.contexts=[],a.add(Object(j.a)(a,n)),a}return i.a(t,e),t.prototype._next=function(e){for(var t=this.contexts,n=t.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var n=t.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(n){this._error(n)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var n=e.buffer,r=e.subscription;this.destination.next(n),t.splice(t.indexOf(e),1),this.remove(r),r.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,n=new x.a,r={buffer:[],subscription:n};t.push(r);var a=Object(j.a)(this,e,r);!a||a.closed?this.closeBuffer(r):(a.context=r,this.add(a),n.add(a))},t}(E.a);function z(e){return function(t){return t.lift(new I(e))}}var I=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new A(e,this.closingSelector))},e}(),A=function(e){function t(t,n){var r=e.call(this,t)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return i.a(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},t.prototype.notifyNext=function(){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{t=(0,this.closingSelector)()}catch(r){return this.error(r)}e=new x.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(o.c)(t,new o.a(this))),this.subscribing=!1},t}(o.b),O=n(169),M=n(203);function N(e){return function(t){return t.lift(new M.a(e))}}var R=n(54),P=n(49);function q(){for(var e=[],t=0;t0&&n[0].time-r.now()<=0;)n.shift().notification.observe(a);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(e,i)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,n=new oe(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(ne.a.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(ne.a.createComplete()),this.unsubscribe()},t}(u.a),oe=function(){return function(e,t){this.time=e,this.notification=t}}(),se=n(20);function le(e,t){return t?function(n){return new de(n,t).lift(new ce(e))}:function(t){return t.lift(new ce(e))}}var ce=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new ue(e,this.delayDurationSelector))},e}(),ue=function(e){function t(t,n){var r=e.call(this,t)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return i.a(t,e),t.prototype.notifyNext=function(e,t,n,r,a){this.destination.next(e),this.removeSubscription(a),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){var t=this.index++;try{var n=this.delayDurationSelector(e,t);n&&this.tryDelay(n,e)}catch(r){this.destination.error(r)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue},t.prototype.tryDelay=function(e,t){var n=Object(j.a)(this,e,t);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(E.a),de=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subscriptionDelay=n,r}return i.a(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new he(e,this.source))},t}(se.a),he=function(e){function t(t,n){var r=e.call(this)||this;return r.parent=t,r.source=n,r.sourceSubscribed=!1,r}return i.a(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(u.a);function pe(){return function(e){return e.lift(new fe)}}var fe=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new me(e))},e}(),me=function(e){function t(t){return e.call(this,t)||this}return i.a(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(u.a);function ge(e,t){return function(n){return n.lift(new ye(e,t))}}var ye=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new be(e,this.keySelector,this.flushes))},e}(),be=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.keySelector=n,a.values=new Set,r&&a.add(Object(o.c)(r,new o.a(a))),a}return i.a(t,e),t.prototype.notifyNext=function(){this.values.clear()},t.prototype.notifyError=function(e){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,n=this.destination;try{t=this.keySelector(e)}catch(r){return void n.error(r)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var n=this.values;n.has(e)||(n.add(e),this.destination.next(t))},t}(o.b),ve=n(327);function we(e,t){return Object(ve.a)((function(n,r){return t?t(n[e],r[e]):n[e]===r[e]}))}var ke=n(132),_e=n(78),Ce=n(179),xe=n(181);function je(e,t){if(e<0)throw new ke.a;var n=arguments.length>=2;return function(r){return r.pipe(Object(_e.a)((function(t,n){return n===e})),Object(xe.a)(1),n?Object(ee.a)(t):Object(Ce.a)((function(){return new ke.a})))}}var Ee=n(32);function Se(){for(var e=[],t=0;t0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(o.b),Fe=n(445);function Ve(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Ue(e,n,!1,t))}}var Ue=function(){function e(e,t,n,r){this.predicate=e,this.source=t,this.yieldIndex=n,this.thisArg=r}return e.prototype.call=function(e,t){return t.subscribe(new He(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),He=function(e){function t(t,n,r,a,i){var o=e.call(this,t)||this;return o.predicate=n,o.source=r,o.yieldIndex=a,o.thisArg=i,o.index=0,o}return i.a(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},t.prototype._next=function(e){var t=this.predicate,n=this.thisArg,r=this.index++;try{t.call(n||this,e,r,this.source)&&this.notifyComplete(this.yieldIndex?r:e)}catch(a){this.destination.error(a)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(u.a);function $e(e,t){return function(n){return n.lift(new Ue(e,n,!0,t))}}var Ke=n(183),We=n(289);function Ge(){return function(e){return e.lift(new Qe)}}var Qe=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new Ye(e))},e}(),Ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t.prototype._next=function(e){},t}(u.a);function Ze(){return function(e){return e.lift(new Je)}}var Je=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new Xe(e))},e}(),Xe=function(e){function t(t){return e.call(this,t)||this}return i.a(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(u.a),et=n(444);function tt(e){return function(t){return t.lift(new nt(e))}}var nt=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new rt(e,this.value))},e}(),rt=function(e){function t(t,n){var r=e.call(this,t)||this;return r.value=n,r}return i.a(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(u.a);function at(){return function(e){return e.lift(new it)}}var it=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new ot(e))},e}(),ot=function(e){function t(t){return e.call(this,t)||this}return i.a(t,e),t.prototype._next=function(e){this.destination.next(ne.a.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(ne.a.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(ne.a.createComplete()),e.complete()},t}(u.a),st=n(164),lt=n(165),ct=n(201);function ut(e,t){return arguments.length>=2?function(n){return Object(ct.a)(Object(st.a)(e,t),Object(lt.a)(1),Object(ee.a)(t))(n)}:function(t){return Object(ct.a)(Object(st.a)((function(t,n,r){return e(t,n,r+1)})),Object(lt.a)(1))(t)}}function dt(e){return ut("function"==typeof e?function(t,n){return e(t,n)>0?t:n}:function(e,t){return e>t?e:t})}var ht=n(267);function pt(){for(var e=[],t=0;t0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(o.b);function wt(e){return ut("function"==typeof e?function(t,n){return e(t,n)<0?t:n}:function(e,t){return e-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(u.a);function $t(e){return function(t){return t.lift(new Kt(e))}}var Kt=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new Wt(e,this.notifier,t))},e}(),Wt=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.notifier=n,a.source=r,a.sourceIsBeingSubscribedTo=!0,a}return i.a(t,e),t.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},t.prototype._unsubscribeAndRecycle=function(){var t=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=t,this},t.prototype.subscribeToRetries=function(){var t;this.notifications=new It.a;try{t=(0,this.notifier)(this.notifications)}catch(n){return e.prototype.complete.call(this)}this.retries=t,this.retriesSubscription=Object(o.c)(t,new o.a(this))},t}(o.b);function Gt(e){return void 0===e&&(e=-1),function(t){return t.lift(new Qt(e,t))}}var Qt=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new Yt(e,this.count,this.source))},e}(),Yt=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.count=n,a.source=r,a}return i.a(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return e.prototype.error.call(this,t);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},t}(u.a);function Zt(e){return function(t){return t.lift(new Jt(e,t))}}var Jt=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new Xt(e,this.notifier,this.source))},e}(),Xt=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.notifier=n,a.source=r,a}return i.a(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=this.errors,r=this.retries,a=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new It.a;try{r=(0,this.notifier)(n)}catch(i){return e.prototype.error.call(this,i)}a=Object(o.c)(r,new o.a(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=a,n.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=void 0),t&&(t.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},t.prototype.notifyNext=function(){var e=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=e,this.source.subscribe(this)},t}(o.b),en=n(202);function tn(e){return function(t){return t.lift(new nn(e))}}var nn=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new rn(e),r=t.subscribe(n);return r.add(Object(o.c)(this.notifier,new o.a(n))),r},e}(),rn=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasValue=!1,t}return i.a(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(o.b);function an(e,t){return void 0===t&&(t=m.a),function(n){return n.lift(new on(e,t))}}var on=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new sn(e,this.period,this.scheduler))},e}(),sn=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.period=n,a.scheduler=r,a.hasValue=!1,a.add(r.schedule(ln,n,{subscriber:a,period:n})),a}return i.a(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(u.a);function ln(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}function cn(e,t){return function(n){return n.lift(new un(e,t))}}var un=function(){function e(e,t){this.compareTo=e,this.comparator=t}return e.prototype.call=function(e,t){return t.subscribe(new dn(e,this.compareTo,this.comparator))},e}(),dn=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.compareTo=n,a.comparator=r,a._a=[],a._b=[],a._oneComplete=!1,a.destination.add(n.subscribe(new hn(t,a))),a}return i.a(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},t.prototype.checkValues=function(){for(var e=this,t=e._a,n=e._b,r=e.comparator;t.length>0&&n.length>0;){var a=t.shift(),i=n.shift(),o=!1;try{o=r?r(a,i):a===i}catch(s){this.destination.error(s)}o||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t}(u.a),hn=function(e){function t(t,n){var r=e.call(this,t)||this;return r.parent=n,r}return i.a(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},t}(u.a),pn=n(232),fn=n(493),mn=n(133);function gn(e){return function(t){return t.lift(new yn(e,t))}}var yn=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new bn(e,this.predicate,this.source))},e}(),bn=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.predicate=n,a.source=r,a.seenValue=!1,a.index=0,a}return i.a(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(n){this.destination.error(n)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new mn.a)},t}(u.a);function vn(e){return function(t){return t.lift(new wn(e))}}var wn=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new kn(e,this.total))},e}(),kn=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return i.a(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(u.a);function _n(e){return function(t){return t.lift(new Cn(e))}}var Cn=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new ke.a}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new u.a(e)):t.subscribe(new xn(e,this._skipCount))},e}(),xn=function(e){function t(t,n){var r=e.call(this,t)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return i.a(t,e),t.prototype._next=function(e){var t=this._skipCount,n=this._count++;if(n0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,a=this.windows,i=a.length,o=0;o=0&&s%t==0&&!this.closed&&a.shift().complete(),++this.count%t==0&&!this.closed){var l=new It.a;a.push(l),n.next(l)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(u.a);function pr(e){var t=m.a,n=null,r=Number.POSITIVE_INFINITY;return Object(g.a)(arguments[3])&&(t=arguments[3]),Object(g.a)(arguments[2])?t=arguments[2]:Object(On.a)(arguments[2])&&(r=Number(arguments[2])),Object(g.a)(arguments[1])?t=arguments[1]:Object(On.a)(arguments[1])&&(n=Number(arguments[1])),function(a){return a.lift(new fr(e,n,r,t))}}var fr=function(){function e(e,t,n,r){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=n,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new gr(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._numberOfNextedValues=0,t}return i.a(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(It.a),gr=function(e){function t(t,n,r,a,i){var o=e.call(this,t)||this;o.destination=t,o.windowTimeSpan=n,o.windowCreationInterval=r,o.maxWindowSize=a,o.scheduler=i,o.windows=[];var s=o.openWindow();if(null!==r&&r>=0){var l={subscriber:o,window:s,context:null},c={windowTimeSpan:n,windowCreationInterval:r,subscriber:o,scheduler:i};o.add(i.schedule(vr,n,l)),o.add(i.schedule(br,r,c))}else{var u={subscriber:o,window:s,windowTimeSpan:n};o.add(i.schedule(yr,n,u))}return o}return i.a(t,e),t.prototype._next=function(e){for(var t=this.windows,n=t.length,r=0;r=this.maxWindowSize&&this.closeWindow(a))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new mr;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(u.a);function yr(e){var t=e.subscriber,n=e.windowTimeSpan,r=e.window;r&&t.closeWindow(r),e.window=t.openWindow(),this.schedule(e,n)}function br(e){var t=e.windowTimeSpan,n=e.subscriber,r=e.scheduler,a=e.windowCreationInterval,i=n.openWindow(),o=this,s={action:o,subscription:null},l={subscriber:n,window:i,context:s};s.subscription=r.schedule(vr,t,l),o.add(s.subscription),o.schedule(e,a)}function vr(e){var t=e.subscriber,n=e.window,r=e.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),t.closeWindow(n)}function wr(e,t){return function(n){return n.lift(new kr(e,t))}}var kr=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new _r(e,this.openings,this.closingSelector))},e}(),_r=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.openings=n,a.closingSelector=r,a.contexts=[],a.add(a.openSubscription=Object(j.a)(a,n,n)),a}return i.a(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var n=t.length,r=0;r0){var a=r.indexOf(n);-1!==a&&r.splice(a,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(E.a),Tr=n(227);function zr(){for(var e=[],t=0;t1)for(var n=1;nt){var r=new Error("Too few bytes to parse DER.");throw r.available=e.length(),r.remaining=t,r.requested=n,r}}a.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},a.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},a.create=function(e,t,n,i,o){if(r.util.isArray(i)){for(var s=[],l=0;lt){if(r.strict){var f=new Error("Too few bytes to read ASN.1 value.");throw f.available=e.length(),f.remaining=t,f.requested=p,f}p=t}var m=32==(32&l);if(m)if(d=[],void 0===p)for(;;){if(i(e,t,2),e.bytes(2)===String.fromCharCode(0,0)){e.getBytes(2),t-=2;break}s=e.length(),d.push(o(e,t,n+1,r)),t-=s-e.length()}else for(;p>0;)s=e.length(),d.push(o(e,p,n+1,r)),t-=s-e.length(),p-=s-e.length();if(void 0===d&&c===a.Class.UNIVERSAL&&u===a.Type.BITSTRING&&(h=e.bytes(p)),void 0===d&&r.decodeBitStrings&&c===a.Class.UNIVERSAL&&u===a.Type.BITSTRING&&p>1){var g=e.read,y=t,b=0;if(u===a.Type.BITSTRING&&(i(e,t,1),b=e.getByte(),t--),0===b)try{s=e.length();var v=o(e,t,n+1,{verbose:r.verbose,strict:!0,decodeBitStrings:!0}),w=s-e.length();t-=w,u==a.Type.BITSTRING&&w++;var k=v.tagClass;w!==p||k!==a.Class.UNIVERSAL&&k!==a.Class.CONTEXT_SPECIFIC||(d=[v])}catch(C){}void 0===d&&(e.read=g,t=y)}if(void 0===d){if(void 0===p){if(r.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");p=t}if(u===a.Type.BMPSTRING)for(d="";p>0;p-=2)i(e,t,2),d+=String.fromCharCode(e.getInt16()),t-=2;else d=e.getBytes(p)}var _=void 0===h?null:{bitStringContents:h};return a.create(c,u,m,d,_)}a.fromDer=function(e,t){return void 0===t&&(t={strict:!0,decodeBitStrings:!0}),"boolean"==typeof t&&(t={strict:t,decodeBitStrings:!0}),"strict"in t||(t.strict=!0),"decodeBitStrings"in t||(t.decodeBitStrings=!0),"string"==typeof e&&(e=r.util.createBuffer(e)),o(e,e.length(),0,t)},a.toDer=function(e){var t=r.util.createBuffer(),n=e.tagClass|e.type,i=r.util.createBuffer(),o=!1;if("bitStringContents"in e&&(o=!0,e.original&&(o=a.equals(e,e.original))),o)i.putBytes(e.bitStringContents);else if(e.composed){e.constructed?n|=32:i.putByte(0);for(var s=0;s1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?i.putBytes(e.value.substr(1)):i.putBytes(e.value);if(t.putByte(n),i.length()<=127)t.putByte(127&i.length());else{var l=i.length(),c="";do{c+=String.fromCharCode(255&l),l>>>=8}while(l>0);t.putByte(128|c.length);for(s=c.length-1;s>=0;--s)t.putByte(c.charCodeAt(s))}return t.putBuffer(i),t},a.oidToDer=function(e){var t,n,a,i,o=e.split("."),s=r.util.createBuffer();s.putByte(40*parseInt(o[0],10)+parseInt(o[1],10));for(var l=2;l>>=7,t||(i|=128),n.push(i),t=!1}while(a>0);for(var c=n.length-1;c>=0;--c)s.putByte(n[c])}return s},a.derToOid=function(e){var t;"string"==typeof e&&(e=r.util.createBuffer(e));var n=e.getByte();t=Math.floor(n/40)+"."+n%40;for(var a=0;e.length()>0;)a<<=7,128&(n=e.getByte())?a+=127&n:(t+="."+(a+n),a=0);return t},a.utcTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,2),10);n=n>=50?1900+n:2e3+n;var r=parseInt(e.substr(2,2),10)-1,a=parseInt(e.substr(4,2),10),i=parseInt(e.substr(6,2),10),o=parseInt(e.substr(8,2),10),s=0;if(e.length>11){var l=e.charAt(10),c=10;"+"!==l&&"-"!==l&&(s=parseInt(e.substr(10,2),10),c+=2)}if(t.setUTCFullYear(n,r,a),t.setUTCHours(i,o,s,0),c&&("+"===(l=e.charAt(c))||"-"===l)){var u=60*parseInt(e.substr(c+1,2),10)+parseInt(e.substr(c+4,2),10);u*=6e4,"+"===l?t.setTime(+t-u):t.setTime(+t+u)}return t},a.generalizedTimeToDate=function(e){var t=new Date,n=parseInt(e.substr(0,4),10),r=parseInt(e.substr(4,2),10)-1,a=parseInt(e.substr(6,2),10),i=parseInt(e.substr(8,2),10),o=parseInt(e.substr(10,2),10),s=parseInt(e.substr(12,2),10),l=0,c=0,u=!1;"Z"===e.charAt(e.length-1)&&(u=!0);var d=e.length-5,h=e.charAt(d);"+"!==h&&"-"!==h||(c=60*parseInt(e.substr(d+1,2),10)+parseInt(e.substr(d+4,2),10),c*=6e4,"+"===h&&(c*=-1),u=!0);return"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),u?(t.setUTCFullYear(n,r,a),t.setUTCHours(i,o,s,l),t.setTime(+t+c)):(t.setFullYear(n,r,a),t.setHours(i,o,s,l)),t},a.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",n=[];n.push((""+e.getUTCFullYear()).substr(2)),n.push(""+(e.getUTCMonth()+1)),n.push(""+e.getUTCDate()),n.push(""+e.getUTCHours()),n.push(""+e.getUTCMinutes()),n.push(""+e.getUTCSeconds());for(var r=0;r=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var n=new Error("Integer too large; max is 32-bits.");throw n.integer=e,n},a.derToInteger=function(e){"string"==typeof e&&(e=r.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},a.validate=function(e,t,n,i){var o=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)i&&(e.tagClass!==t.tagClass&&i.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&i.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(o=!0,t.value&&r.util.isArray(t.value))for(var s=0,l=0;o&&l0&&(i+="\n");for(var o="",l=0;l1?i+="0x"+r.util.bytesToHex(e.value.slice(1)):i+="(none)",e.value.length>0){var h=e.value.charCodeAt(0);1==h?i+=" (1 unused bit shown)":h>1&&(i+=" ("+h+" unused bits shown)")}}else e.type===a.Type.OCTETSTRING?(s.test(e.value)||(i+="("+e.value+") "),i+="0x"+r.util.bytesToHex(e.value)):e.type===a.Type.UTF8?i+=r.util.decodeUtf8(e.value):e.type===a.Type.PRINTABLESTRING||e.type===a.Type.IA5String?i+=e.value:s.test(e.value)?i+="0x"+r.util.bytesToHex(e.value):0===e.value.length?i+="[null]":i+=e.value}return i}},function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",(function(){return r.a})),n.d(t,"ConnectableObservable",(function(){return a.a})),n.d(t,"GroupedObservable",(function(){return i.a})),n.d(t,"observable",(function(){return o.a})),n.d(t,"Subject",(function(){return s.a})),n.d(t,"BehaviorSubject",(function(){return l.a})),n.d(t,"ReplaySubject",(function(){return c.a})),n.d(t,"AsyncSubject",(function(){return u.a})),n.d(t,"asap",(function(){return d.a})),n.d(t,"asapScheduler",(function(){return d.b})),n.d(t,"async",(function(){return h.a})),n.d(t,"asyncScheduler",(function(){return h.b})),n.d(t,"queue",(function(){return p.a})),n.d(t,"queueScheduler",(function(){return p.b})),n.d(t,"animationFrame",(function(){return f.a})),n.d(t,"animationFrameScheduler",(function(){return f.b})),n.d(t,"VirtualTimeScheduler",(function(){return y})),n.d(t,"VirtualAction",(function(){return b})),n.d(t,"Scheduler",(function(){return v.a})),n.d(t,"Subscription",(function(){return w.a})),n.d(t,"Subscriber",(function(){return k.a})),n.d(t,"Notification",(function(){return _.a})),n.d(t,"NotificationKind",(function(){return _.b})),n.d(t,"pipe",(function(){return C.a})),n.d(t,"noop",(function(){return x.a})),n.d(t,"identity",(function(){return j.a})),n.d(t,"isObservable",(function(){return E.a})),n.d(t,"ArgumentOutOfRangeError",(function(){return S.a})),n.d(t,"EmptyError",(function(){return D.a})),n.d(t,"ObjectUnsubscribedError",(function(){return T.a})),n.d(t,"UnsubscriptionError",(function(){return z.a})),n.d(t,"TimeoutError",(function(){return I.a})),n.d(t,"bindCallback",(function(){return R})),n.d(t,"bindNodeCallback",(function(){return B})),n.d(t,"combineLatest",(function(){return U.b})),n.d(t,"concat",(function(){return H.a})),n.d(t,"defer",(function(){return $.a})),n.d(t,"empty",(function(){return K.b})),n.d(t,"forkJoin",(function(){return W.a})),n.d(t,"from",(function(){return G.a})),n.d(t,"fromEvent",(function(){return Q.a})),n.d(t,"fromEventPattern",(function(){return Z})),n.d(t,"generate",(function(){return J})),n.d(t,"iif",(function(){return ee})),n.d(t,"interval",(function(){return te.a})),n.d(t,"merge",(function(){return ne.a})),n.d(t,"never",(function(){return ae})),n.d(t,"of",(function(){return ie.a})),n.d(t,"onErrorResumeNext",(function(){return oe})),n.d(t,"pairs",(function(){return se})),n.d(t,"partition",(function(){return he})),n.d(t,"race",(function(){return pe.a})),n.d(t,"range",(function(){return fe})),n.d(t,"throwError",(function(){return ge.a})),n.d(t,"timer",(function(){return ye.a})),n.d(t,"using",(function(){return be})),n.d(t,"zip",(function(){return ve.b})),n.d(t,"scheduled",(function(){return we.a})),n.d(t,"EMPTY",(function(){return K.a})),n.d(t,"NEVER",(function(){return re})),n.d(t,"config",(function(){return ke.a}));var r=n(20),a=n(268),i=n(289),o=n(122),s=n(42),l=n(101),c=n(225),u=n(147),d=n(204),h=n(53),p=n(266),f=n(439),m=n(5),g=n(148),y=function(e){function t(t,n){void 0===t&&(t=b),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this,t,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return m.a(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n[0])&&t.delay<=r&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(n(145).a),b=function(e){function t(t,n,r){void 0===r&&(r=t.index+=1);var a=e.call(this,t,n)||this;return a.scheduler=t,a.work=n,a.index=r,a.active=!0,a.index=t.index=r,a}return m.a(t,e),t.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return e.prototype.schedule.call(this,n,r);this.active=!1;var a=new t(this.scheduler,this.work);return this.add(a),a.schedule(n,r)},t.prototype.requestAsyncId=function(e,n,r){void 0===r&&(r=0),this.delay=e.frame+r;var a=e.actions;return a.push(this),a.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(g.a),v=n(269),w=n(38),k=n(13),_=n(106),C=n(201),x=n(117),j=n(100),E=n(494),S=n(132),D=n(133),T=n(123),z=n(206),I=n(333),A=n(31),O=n(229),M=n(54),N=n(66);function R(e,t,n){if(t){if(!Object(N.a)(t))return function(){for(var r=[],a=0;a=t){r.complete();break}if(r.next(i++),r.closed)break}}))}function me(e){var t=e.start,n=e.index,r=e.count,a=e.subscriber;n>=r?a.complete():(a.next(t),a.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var ge=n(226),ye=n(329);function be(e,t){return new r.a((function(n){var r,a;try{r=e()}catch(o){return void n.error(o)}try{a=t(r)}catch(o){return void n.error(o)}var i=(a?Object(G.a)(a):K.a).subscribe(n);return function(){i.unsubscribe(),r&&r.unsubscribe()}}))}var ve=n(227),we=n(334),ke=n(91)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n(13);function i(e){return void 0===e&&(e=null),function(t){return t.lift(new o(e))}}var o=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.defaultValue))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.a(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(a.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20),a=n(337),i=n(230);function o(e,t){return t?Object(i.a)(e,t):new r.a(Object(a.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n(269),i=function(e){function t(n,r){void 0===r&&(r=a.a.now);var i=e.call(this,n,(function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.a(t,e),t.prototype.schedule=function(n,r,a){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,a):e.prototype.schedule.call(this,n,r,a)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(a.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(32),a=n(330);function i(){for(var e=[],t=0;t=0}},,,,,,,,,,,,function(e,t,n){var r=n(39);e.exports=r.md=r.md||{},r.md.algorithms=r.md.algorithms||{}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(63),a=n(100);function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(r.b)(a.a,e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n(13);function i(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new o(e,t,n))}}var o=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))},e}(),s=function(e){function t(t,n,r,a){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=a,i.index=0,i}return r.a(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(a.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),a=n(13),i=n(132),o=n(62);function s(e){return function(t){return 0===e?Object(o.b)():t.lift(new l(e))}}var l=function(){function e(e){if(this.total=e,this.total<0)throw new i.a}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.a(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,a=0;a=2;return function(c){return c.pipe(e?Object(a.a)((function(t,n){return e(t,n,c)})):l.a,Object(i.a)(1),n?Object(o.a)(t):Object(s.a)((function(){return new r.a})))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}()},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"InfiniteScrollDirective",(function(){return T})),n.d(t,"InfiniteScrollModule",(function(){return z}));var r=n(0),a=n(32),i=n(440),o=n(63),s=n(31),l=n(81),c=n(78),u=n(441);function d(e,t,n,r){var a=window&&!!window.document&&window.document.documentElement,i=a&&t?window:n;if(e&&!(i=e&&a&&"string"==typeof e?function(e,t,n){return(n?window.document:t).querySelector(e)}(e,n.nativeElement,r):e))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return i}function h(e){return e&&!e.firstChange}var p={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},f={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"},m=function(){function e(e){void 0===e&&(e=!0),this.vertical=e,this.propsMap=e?p:f}return e.prototype.clientHeightKey=function(){return this.propsMap.clientHeight},e.prototype.offsetHeightKey=function(){return this.propsMap.offsetHeight},e.prototype.scrollHeightKey=function(){return this.propsMap.scrollHeight},e.prototype.pageYOffsetKey=function(){return this.propsMap.pageYOffset},e.prototype.offsetTopKey=function(){return this.propsMap.offsetTop},e.prototype.scrollTopKey=function(){return this.propsMap.scrollTop},e.prototype.topKey=function(){return this.propsMap.top},e}();function g(e){var t=e.windowElement;return function(e,t){var n=e.isWindow||t&&!t.nativeElement?t:t.nativeElement;return Object.assign(Object.assign({},e),{container:n})}({axis:e.axis,isWindow:y(t)},t)}function y(e){return["Window","global"].some((function(t){return Object.prototype.toString.call(e).includes(t)}))}function b(e,t){return e?t.document.documentElement:null}function v(e,t){var n,r,a,i,o,s,l=(r=(n=t).container,a=n.isWindow,i=w(n.axis),o=i.offsetHeightKey,s=i.clientHeightKey,k(r,a,o,s));return t.isWindow?function(e,t,n){var r=n.axis,a=n.container,i=n.isWindow,o=w(r),s=o.offsetHeightKey,l=o.clientHeightKey,c=e+_(b(i,a),r,i),u=k(t.nativeElement,i,s,l),d=function(e,t,n){var r=t.topKey();if(!e.getBoundingClientRect)return;return e.getBoundingClientRect()[r]+_(e,t,n)}(t.nativeElement,r,i)+u;return{height:e,scrolled:c,totalToScroll:d,isWindow:i}}(l,e,t):function(e,t,n){var r=n.axis,a=n.container,i=a[r.scrollTopKey()],o=a[r.scrollHeightKey()];return{height:e,scrolled:i,totalToScroll:o,isWindow:!1}}(l,0,t)}function w(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function k(e,t,n,r){if(isNaN(e[n])){var a=b(t,e);return a?a[r]:0}return e[n]}function _(e,t,n){var r=t.pageYOffsetKey(),a=t.scrollTopKey(),i=t.offsetTopKey();return isNaN(window.pageYOffset)?b(n,e)[a]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[i]}function C(e,t,n){var r,a;if(e.totalToScroll<=0)return!1;var i=e.isWindow?e.scrolled:e.height+e.scrolled;if(n)r=(e.totalToScroll-i)/e.totalToScroll,a=t.down/10;else{var o=e.scrolled+(e.totalToScroll-i);r=e.scrolled/o,a=t.up/10}return r<=a}var x=function(){function e(e){var t=e.totalToScroll;this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=t}return e.prototype.updateScrollPosition=function(e){return this.lastScrollPosition=e},e.prototype.updateTotalToScroll=function(e){this.lastTotalToScroll!==e&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=e)},e.prototype.updateScroll=function(e,t){this.updateScrollPosition(e),this.updateTotalToScroll(t)},e.prototype.updateTriggeredFlag=function(e,t){t?this.triggered.down=e:this.triggered.up=e},e.prototype.isTriggeredScroll=function(e,t){return t?this.triggered.down===e:this.triggered.up===e},e}();function j(e){var t=e.scrollContainer,n=e.scrollWindow,r=e.element,h=e.fromRoot,p=g({axis:new m(!e.horizontal),windowElement:d(t,n,r,h)}),f=new x({totalToScroll:v(r,p)}),y={container:p.container,throttle:e.throttle},b={up:e.upDistance,down:e.downDistance};return function(e){var t=Object(i.a)(e.container,"scroll");e.throttle&&(t=t.pipe(Object(u.a)(e.throttle)));return t}(y).pipe(Object(o.b)((function(){return Object(a.a)(v(r,p))})),Object(s.a)((function(e){return function(e,t,n){var r=function(e,t,n){var r=function(e,t){return e>>=2;for(a=0;a>8^255&d^99,i[m]=d,o[d]=m,p=(h=e[d])<<24^d<<16^d<<8^d^h,f=((n=e[m])^(r=e[n])^(a=e[r]))<<24^(m^a)<<16^(m^r^a)<<8^m^n^a;for(var y=0;y<4;++y)l[y][m]=p,c[y][d]=f,p=p<<24|p>>>8,f=f<<24|f>>>8;0===m?m=g=1:(m=n^e[e[e[n^a]]],g^=e[e[g]])}}function h(e,t){for(var n,r=e.slice(0),a=1,o=r.length,l=4*(o+6+1),u=o;u>>16&255]<<24^i[n>>>8&255]<<16^i[255&n]<<8^i[n>>>24]^s[a]<<24,a++):o>6&&u%o==4&&(n=i[n>>>24]<<24^i[n>>>16&255]<<16^i[n>>>8&255]<<8^i[255&n]),r[u]=r[u-o]^n;if(t){for(var d,h=c[0],p=c[1],f=c[2],m=c[3],g=r.slice(0),y=(u=0,(l=r.length)-4);u>>24]]^p[i[d>>>16&255]]^f[i[d>>>8&255]]^m[i[255&d]];r=g}return r}function p(e,t,n,r){var a,s,u,d,h,p,f,m,g,y,b,v,w=e.length/4-1;r?(a=c[0],s=c[1],u=c[2],d=c[3],h=o):(a=l[0],s=l[1],u=l[2],d=l[3],h=i),p=t[0]^e[0],f=t[r?3:1]^e[1],m=t[2]^e[2],g=t[r?1:3]^e[3];for(var k=3,_=1;_>>24]^s[f>>>16&255]^u[m>>>8&255]^d[255&g]^e[++k],b=a[f>>>24]^s[m>>>16&255]^u[g>>>8&255]^d[255&p]^e[++k],v=a[m>>>24]^s[g>>>16&255]^u[p>>>8&255]^d[255&f]^e[++k],g=a[g>>>24]^s[p>>>16&255]^u[f>>>8&255]^d[255&m]^e[++k],p=y,f=b,m=v;n[0]=h[p>>>24]<<24^h[f>>>16&255]<<16^h[m>>>8&255]<<8^h[255&g]^e[++k],n[r?3:1]=h[f>>>24]<<24^h[m>>>16&255]<<16^h[g>>>8&255]<<8^h[255&p]^e[++k],n[2]=h[m>>>24]<<24^h[g>>>16&255]<<16^h[p>>>8&255]<<8^h[255&f]^e[++k],n[r?1:3]=h[g>>>24]<<24^h[p>>>16&255]<<16^h[f>>>8&255]<<8^h[255&m]^e[++k]}function f(e){var t,n="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),a=(t=e.decrypt?r.cipher.createDecipher(n,e.key):r.cipher.createCipher(n,e.key)).start;return t.start=function(e,n){var i=null;n instanceof r.util.ByteBuffer&&(i=n,n={}),(n=n||{}).output=i,n.iv=e,a.call(t,n)},t}},function(e,t,n){var r=n(39);r.pki=r.pki||{};var a=e.exports=r.pki.oids=r.oids=r.oids||{};function i(e,t){a[e]=t,a[t]=e}function o(e,t){a[e]=t}i("1.2.840.113549.1.1.1","rsaEncryption"),i("1.2.840.113549.1.1.4","md5WithRSAEncryption"),i("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),i("1.2.840.113549.1.1.7","RSAES-OAEP"),i("1.2.840.113549.1.1.8","mgf1"),i("1.2.840.113549.1.1.9","pSpecified"),i("1.2.840.113549.1.1.10","RSASSA-PSS"),i("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),i("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),i("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),i("1.3.101.112","EdDSA25519"),i("1.2.840.10040.4.3","dsa-with-sha1"),i("1.3.14.3.2.7","desCBC"),i("1.3.14.3.2.26","sha1"),i("2.16.840.1.101.3.4.2.1","sha256"),i("2.16.840.1.101.3.4.2.2","sha384"),i("2.16.840.1.101.3.4.2.3","sha512"),i("1.2.840.113549.2.5","md5"),i("1.2.840.113549.1.7.1","data"),i("1.2.840.113549.1.7.2","signedData"),i("1.2.840.113549.1.7.3","envelopedData"),i("1.2.840.113549.1.7.4","signedAndEnvelopedData"),i("1.2.840.113549.1.7.5","digestedData"),i("1.2.840.113549.1.7.6","encryptedData"),i("1.2.840.113549.1.9.1","emailAddress"),i("1.2.840.113549.1.9.2","unstructuredName"),i("1.2.840.113549.1.9.3","contentType"),i("1.2.840.113549.1.9.4","messageDigest"),i("1.2.840.113549.1.9.5","signingTime"),i("1.2.840.113549.1.9.6","counterSignature"),i("1.2.840.113549.1.9.7","challengePassword"),i("1.2.840.113549.1.9.8","unstructuredAddress"),i("1.2.840.113549.1.9.14","extensionRequest"),i("1.2.840.113549.1.9.20","friendlyName"),i("1.2.840.113549.1.9.21","localKeyId"),i("1.2.840.113549.1.9.22.1","x509Certificate"),i("1.2.840.113549.1.12.10.1.1","keyBag"),i("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),i("1.2.840.113549.1.12.10.1.3","certBag"),i("1.2.840.113549.1.12.10.1.4","crlBag"),i("1.2.840.113549.1.12.10.1.5","secretBag"),i("1.2.840.113549.1.12.10.1.6","safeContentsBag"),i("1.2.840.113549.1.5.13","pkcs5PBES2"),i("1.2.840.113549.1.5.12","pkcs5PBKDF2"),i("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),i("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),i("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),i("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),i("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),i("1.2.840.113549.2.7","hmacWithSHA1"),i("1.2.840.113549.2.8","hmacWithSHA224"),i("1.2.840.113549.2.9","hmacWithSHA256"),i("1.2.840.113549.2.10","hmacWithSHA384"),i("1.2.840.113549.2.11","hmacWithSHA512"),i("1.2.840.113549.3.7","des-EDE3-CBC"),i("2.16.840.1.101.3.4.1.2","aes128-CBC"),i("2.16.840.1.101.3.4.1.22","aes192-CBC"),i("2.16.840.1.101.3.4.1.42","aes256-CBC"),i("2.5.4.3","commonName"),i("2.5.4.5","serialName"),i("2.5.4.6","countryName"),i("2.5.4.7","localityName"),i("2.5.4.8","stateOrProvinceName"),i("2.5.4.9","streetAddress"),i("2.5.4.10","organizationName"),i("2.5.4.11","organizationalUnitName"),i("2.5.4.13","description"),i("2.5.4.15","businessCategory"),i("2.5.4.17","postalCode"),i("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),i("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),i("2.16.840.1.113730.1.1","nsCertType"),i("2.16.840.1.113730.1.13","nsComment"),o("2.5.29.1","authorityKeyIdentifier"),o("2.5.29.2","keyAttributes"),o("2.5.29.3","certificatePolicies"),o("2.5.29.4","keyUsageRestriction"),o("2.5.29.5","policyMapping"),o("2.5.29.6","subtreesConstraint"),o("2.5.29.7","subjectAltName"),o("2.5.29.8","issuerAltName"),o("2.5.29.9","subjectDirectoryAttributes"),o("2.5.29.10","basicConstraints"),o("2.5.29.11","nameConstraints"),o("2.5.29.12","policyConstraints"),o("2.5.29.13","basicConstraints"),i("2.5.29.14","subjectKeyIdentifier"),i("2.5.29.15","keyUsage"),o("2.5.29.16","privateKeyUsagePeriod"),i("2.5.29.17","subjectAltName"),i("2.5.29.18","issuerAltName"),i("2.5.29.19","basicConstraints"),o("2.5.29.20","cRLNumber"),o("2.5.29.21","cRLReason"),o("2.5.29.22","expirationDate"),o("2.5.29.23","instructionCode"),o("2.5.29.24","invalidityDate"),o("2.5.29.25","cRLDistributionPoints"),o("2.5.29.26","issuingDistributionPoint"),o("2.5.29.27","deltaCRLIndicator"),o("2.5.29.28","issuingDistributionPoint"),o("2.5.29.29","certificateIssuer"),o("2.5.29.30","nameConstraints"),i("2.5.29.31","cRLDistributionPoints"),i("2.5.29.32","certificatePolicies"),o("2.5.29.33","policyMappings"),o("2.5.29.34","policyConstraints"),i("2.5.29.35","authorityKeyIdentifier"),o("2.5.29.36","policyConstraints"),i("2.5.29.37","extKeyUsage"),o("2.5.29.46","freshestCRL"),o("2.5.29.54","inhibitAnyPolicy"),i("1.3.6.1.4.1.11129.2.4.2","timestampList"),i("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),i("1.3.6.1.5.5.7.3.1","serverAuth"),i("1.3.6.1.5.5.7.3.2","clientAuth"),i("1.3.6.1.5.5.7.3.3","codeSigning"),i("1.3.6.1.5.5.7.3.4","emailProtection"),i("1.3.6.1.5.5.7.3.8","timeStamping")},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(100);function a(){for(var e=[],t=0;t1)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}(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n(66),i=n(54),o=n(105),s=n(90),l=n(144),c={};function u(){for(var e=[],t=0;t0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=l(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(c(n),t.scheduled=void 0)},t}(n(148).a),d=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.a(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,a=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r=0,"must have a non-negative type"),a(o,"must have a decode function"),this.registerEncoder((function(e){return e instanceof t}),(function(t){var a=i(),o=r.allocUnsafe(1);return o.writeInt8(e,0),a.append(o),a.append(n(t)),a})),this.registerDecoder(e,o),this},registerEncoder:function(e,n){return a(e,"must have an encode function"),a(n,"must have an encode function"),t.push({check:e,encode:n}),this},registerDecoder:function(e,t){return a(e>=0,"must have a non-negative type"),a(t,"must have a decode function"),n.push({type:e,decode:t}),this},encoder:o.encoder,decoder:o.decoder,buffer:!0,type:"msgpack5",IncompleteBufferError:s.IncompleteBufferError}}},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(322),a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var i=Object.create(n(263));i.inherits=n(198);var o=n(709),s=n(713);i.inherits(d,o);for(var l=a(s.prototype),c=0;c65&&-1!==o){var s=t[o];","===s?(++o,t=t.substr(0,o)+"\r\n "+t.substr(o)):t=t.substr(0,o)+"\r\n"+s+t.substr(o+1),i=a-o-1,o=-1,++a}else" "!==t[a]&&"\t"!==t[a]&&","!==t[a]||(o=a);return t}function o(e){return e.replace(/^\s+/,"")}a.encode=function(e,t){t=t||{};var n,a="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(a+=i(n={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(a+=i(n={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(n={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&n.values.push(e.dekInfo.parameters),a+=i(n)),e.headers)for(var o=0;o[{type:Object,decorators:[{type:r.Inject,args:[r.PLATFORM_ID]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](j,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:Object,decorators:[{type:r.Inject,args:[r.PLATFORM_ID]}]}]}),null);class E{}E.ɵfac=function(e){return new(e||E)},E.ɵmod=r["ɵɵdefineNgModule"]({type:E}),E.ɵinj=r["ɵɵdefineInjector"]({}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](E,[{type:r.NgModule,args:[{}]}],null,null);let S,D,T,z;function I(e){return function(){if(null==S&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>S=!0}))}finally{S=S||!1}return S}()?e:!!e.capture}function A(){if("object"!=typeof document||!document)return 0;if(null==D){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),D=0,0===e.scrollLeft&&(e.scrollLeft=1,D=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return D}function O(e){if(function(){if(null==z){const e="undefined"!=typeof document?document.head:null;z=!(!e||!e.createShadowRoot&&!e.attachShadow)}return z}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}const M=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(a.DOCUMENT)}});class N{constructor(e){if(this.value="ltr",this.change=new r.EventEmitter,e){const t=e.body?e.body.dir:null,n=e.documentElement?e.documentElement.dir:null,r=t||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}ngOnDestroy(){this.change.complete()}}N.ɵfac=function(e){return new(e||N)(r["ɵɵinject"](M,8))},N.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new N(Object(r["ɵɵinject"])(M,8))},token:N,providedIn:"root"}),N.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[M]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](N,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[M]}]}]}),null);class R{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new r.EventEmitter}get dir(){return this._dir}set dir(e){const t=this._dir,n=e?e.toLowerCase():e;this._rawDir=e,this._dir="ltr"===n||"rtl"===n?n:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}R.ɵfac=function(e){return new(e||R)},R.ɵdir=r["ɵɵdefineDirective"]({type:R,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,t){2&e&&r["ɵɵattribute"]("dir",t._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[r["ɵɵProvidersFeature"]([{provide:N,useExisting:R}])]}),R.propDecorators={change:[{type:r.Output,args:["dirChange"]}],dir:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](R,[{type:r.Directive,args:[{selector:"[dir]",providers:[{provide:N,useExisting:R}],host:{"[attr.dir]":"_rawDir"},exportAs:"dir"}]}],(function(){return[]}),{change:[{type:r.Output,args:["dirChange"]}],dir:[{type:r.Input}]});class P{}P.ɵfac=function(e){return new(e||P)},P.ɵmod=r["ɵɵdefineNgModule"]({type:P}),P.ɵinj=r["ɵɵdefineInjector"]({}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](P,{declarations:[R],exports:[R]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](P,[{type:r.NgModule,args:[{exports:[R],declarations:[R]}]}],null,null);class q extends class{}{constructor(e){super(),this._data=e}connect(){return Object(m.a)(this._data)?this._data:Object(c.a)(this._data)}disconnect(){}}class B{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,n,r,a){e.forEachOperation(((e,i,o)=>{let s,l;if(null==e.previousIndex){const a=()=>n(e,i,o);s=this._insertView(a,o,t,r(e)),l=s?1:0}else null==o?(this._detachAndCacheView(i,t),l=3):(s=this._moveView(i,o,t,r(e)),l=2);a&&a({context:null==s?void 0:s.context,operation:l,record:e})}))}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,n,r){const a=this._insertViewFromCache(t,n);if(a)return void(a.context.$implicit=r);const i=e();return n.createEmbeddedView(i.templateRef,i.context,i.index)}_detachAndCacheView(e,t){const n=t.detach(e);this._maybeCacheView(n,t)}_moveView(e,t,n,r){const a=n.get(e);return n.move(a,t),a.context.$implicit=r,a}_maybeCacheView(e,t){if(this._viewCache.length{this._listeners=this._listeners.filter((t=>e!==t))}}ngOnDestroy(){this._listeners=[]}}L.ɵfac=function(e){return new(e||L)},L.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new L},token:L,providedIn:"root"}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](L,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[]}),null);const F=new r.InjectionToken("_ViewRepeater"),V=["contentWrapper"],U=new r.InjectionToken("VIRTUAL_SCROLL_STRATEGY");class H{constructor(e,t,n){this._scrolledIndexChange=new l.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(g.a)()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,n){if(n0?a/this._itemSize:0;if(t.end>r){const e=Math.ceil(n/this._itemSize),o=Math.max(0,Math.min(i,r-e));i!=o&&(i=o,a=o*this._itemSize,t.start=Math.floor(i)),t.end=Math.max(0,Math.min(r,t.start+e))}const o=a-t.start*this._itemSize;if(o0&&(t.end=Math.min(r,t.end+n),t.start=Math.max(0,Math.floor(i-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(i))}}function $(e){return e._scrollStrategy}class K{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new H(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=o(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=o(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=o(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}K.ɵfac=function(e){return new(e||K)},K.ɵdir=r["ɵɵdefineDirective"]({type:K,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r["ɵɵProvidersFeature"]([{provide:U,useFactory:$,deps:[Object(r.forwardRef)((()=>K))]}]),r["ɵɵNgOnChangesFeature"]]}),K.propDecorators={itemSize:[{type:r.Input}],minBufferPx:[{type:r.Input}],maxBufferPx:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](K,[{type:r.Directive,args:[{selector:"cdk-virtual-scroll-viewport[itemSize]",providers:[{provide:U,useFactory:$,deps:[Object(r.forwardRef)((()=>K))]}]}]}],(function(){return[]}),{itemSize:[{type:r.Input}],minBufferPx:[{type:r.Input}],maxBufferPx:[{type:r.Input}]});class W{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new l.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((()=>this._scrolled.next(e))))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new u.a((t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(y.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}})):Object(c.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach(((e,t)=>this.deregister(t))),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(b.a)((e=>!e||n.indexOf(e)>-1)))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach(((n,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)})),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=s(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular((()=>{const e=this._getWindow();return Object(d.a)(e.document,"scroll").subscribe((()=>this._scrolled.next()))}))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}W.ɵfac=function(e){return new(e||W)(r["ɵɵinject"](r.NgZone),r["ɵɵinject"](j),r["ɵɵinject"](a.DOCUMENT,8))},W.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new W(Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(j),Object(r["ɵɵinject"])(a.DOCUMENT,8))},token:W,providedIn:"root"}),W.ctorParameters=()=>[{type:r.NgZone},{type:j},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](W,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:r.NgZone},{type:j},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a.DOCUMENT]}]}]}),null);class G{constructor(e,t,n,r){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new l.a,this._elementScrolled=new u.a((e=>this.ngZone.runOutsideAngular((()=>Object(d.a)(this.elementRef.nativeElement,"scroll").pipe(Object(v.a)(this._destroyed)).subscribe(e)))))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=A()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==A()?e.left=e.right:1==A()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;!function(){if(null==T){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return T=!1,T;if("scrollBehavior"in document.documentElement.style)T=!0;else{const e=Element.prototype.scrollTo;T=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return T}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",n="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const a=this.dir&&"rtl"==this.dir.value;return"start"==e?e=a?n:t:"end"==e&&(e=a?t:n),a&&2==A()?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:a&&1==A()?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}G.ɵfac=function(e){return new(e||G)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](W),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](N,8))},G.ɵdir=r["ɵɵdefineDirective"]({type:G,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),G.ctorParameters=()=>[{type:r.ElementRef},{type:W},{type:r.NgZone},{type:N,decorators:[{type:r.Optional}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](G,[{type:r.Directive,args:[{selector:"[cdk-scrollable], [cdkScrollable]"}]}],(function(){return[{type:r.ElementRef},{type:W},{type:r.NgZone},{type:N,decorators:[{type:r.Optional}]}]}),null);class Q{constructor(e,t,n){this._platform=e,this._change=new l.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular((()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe((()=>this._updateViewportSize()))}))}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(y.a)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}Q.ɵfac=function(e){return new(e||Q)(r["ɵɵinject"](j),r["ɵɵinject"](r.NgZone),r["ɵɵinject"](a.DOCUMENT,8))},Q.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new Q(Object(r["ɵɵinject"])(j),Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(a.DOCUMENT,8))},token:Q,providedIn:"root"}),Q.ctorParameters=()=>[{type:j},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Q,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:j},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a.DOCUMENT]}]}]}),null);const Y="undefined"!=typeof requestAnimationFrame?h.b:p.b;class Z extends G{constructor(e,t,n,r,a,i,o){if(super(e,i,n,a),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=r,this._detachedSubject=new l.a,this._renderedRangeSubject=new l.a,this._orientation="vertical",this.scrolledIndexChange=new u.a((e=>this._scrollStrategy.scrolledIndexChange.subscribe((t=>Promise.resolve().then((()=>this.ngZone.run((()=>e.next(t))))))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=f.a.EMPTY,!r&&("undefined"==typeof ngDevMode||ngDevMode))throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');this._viewportChanges=o.change().subscribe((()=>{this.checkViewportSize()}))}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(w.a)(null),Object(y.a)(0,Y)).subscribe((()=>this._scrollStrategy.onContentScrolled())),this._markChangeDetectionNeeded()}))))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){if(this._forOf&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((()=>{this._forOf=e,this._forOf.dataStream.pipe(Object(v.a)(this._detachedSubject)).subscribe((e=>{const t=e.length;t!==this._dataLength&&(this._dataLength=t,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()}))}))}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){var t,n;t=this._renderedRange,n=e,(t.start!=n.start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded((()=>this._scrollStrategy.onContentRendered())))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){const n=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,a=r?"X":"Y";let i=`translate${a}(${Number((r&&n?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(i+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=i&&(this._renderedContentTransform=i,this._markChangeDetectionNeeded((()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()})))}scrollToOffset(e,t="auto"){const n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){return e?super.measureScrollOffset(e):super.measureScrollOffset("horizontal"===this.orientation?"start":"top")}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>{this._doChangeDetection()})))))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run((()=>this._changeDetectorRef.markForCheck()));const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function J(e,t,n){const r=n;if(!r.getBoundingClientRect)return 0;const a=r.getBoundingClientRect();return"horizontal"===e?"start"===t?a.left:a.right:"start"===t?a.top:a.bottom}Z.ɵfac=function(e){return new(e||Z)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](U,8),r["ɵɵdirectiveInject"](N,8),r["ɵɵdirectiveInject"](W),r["ɵɵdirectiveInject"](Q))},Z.ɵcmp=r["ɵɵdefineComponent"]({type:Z,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](V,3),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t._contentWrapper=e.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r["ɵɵProvidersFeature"]([{provide:G,useExisting:Z}]),r["ɵɵInheritDefinitionFeature"]],ngContentSelectors:["*"],decls:10,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r["ɵɵprojectionDef"](),r["ɵɵtext"](0,"\n"),r["ɵɵelementStart"](1,"div",0,1),r["ɵɵtext"](3,"\n "),r["ɵɵprojection"](4),r["ɵɵtext"](5,"\n"),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n"),r["ɵɵtext"](7,"\n"),r["ɵɵelement"](8,"div",2),r["ɵɵtext"](9,"\n")),2&e&&(r["ɵɵadvance"](8),r["ɵɵstyleProp"]("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),Z.ctorParameters=()=>[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[U]}]},{type:N,decorators:[{type:r.Optional}]},{type:W},{type:Q}],Z.propDecorators={orientation:[{type:r.Input}],scrolledIndexChange:[{type:r.Output}],_contentWrapper:[{type:r.ViewChild,args:["contentWrapper",{static:!0}]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Z,[{type:r.Component,args:[{selector:"cdk-virtual-scroll-viewport",template:'\x3c!--\n Wrap the rendered content in an element that will be used to offset it based on the scroll\n position.\n--\x3e\n
\n \n
\n\x3c!--\n Spacer used to force the scrolling container to the correct size for the *total* number of items\n so that the scrollbar captures the size of the entire data set.\n--\x3e\n
\n',host:{class:"cdk-virtual-scroll-viewport","[class.cdk-virtual-scroll-orientation-horizontal]":'orientation === "horizontal"',"[class.cdk-virtual-scroll-orientation-vertical]":'orientation !== "horizontal"'},encapsulation:r.ViewEncapsulation.None,changeDetection:r.ChangeDetectionStrategy.OnPush,providers:[{provide:G,useExisting:Z}],styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"]}]}],(function(){return[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:r.NgZone},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[U]}]},{type:N,decorators:[{type:r.Optional}]},{type:W},{type:Q}]}),{scrolledIndexChange:[{type:r.Output}],orientation:[{type:r.Input}],_contentWrapper:[{type:r.ViewChild,args:["contentWrapper",{static:!0}]}]});class X{constructor(e,t,n,r,a,i){this._viewContainerRef=e,this._template=t,this._differs=n,this._viewRepeater=r,this._viewport=a,this.viewChange=new l.a,this._dataSourceChanges=new l.a,this.dataStream=this._dataSourceChanges.pipe(Object(w.a)(null),Object(k.a)(),Object(_.a)((([e,t])=>this._changeDataSource(e,t))),Object(C.a)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new l.a,this.dataStream.subscribe((e=>{this._data=e,this._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Object(v.a)(this._destroyed)).subscribe((e=>{this._renderedRange=e,i.run((()=>this.viewChange.next(this._renderedRange))),this._onRenderedDataChange()})),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,!function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(new q(Object(m.a)(e)?e:Array.from(e||[]))):this._dataSourceChanges.next(e)}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,n)=>e(t+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=o(e)}measureRangeSize(e,t){if(e.start>=e.end)return 0;if((e.startthis._renderedRange.end)&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Error: attempted to measure an item that isn't rendered.");const n=e.start-this._renderedRange.start,r=e.end-e.start;let a,i;for(let o=0;o-1;o--){const e=this._viewContainerRef.get(o+n);if(e&&e.rootNodes.length){i=e.rootNodes[e.rootNodes.length-1];break}}return a&&i?J(t,"end",i)-J(t,"start",a):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t))),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(c.a)()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,((e,t,n)=>this._getEmbeddedViewArgs(e,n)),(e=>e.item)),e.forEachIdentityChange((e=>{this._viewContainerRef.get(e.currentIndex).context.$implicit=e.item}));const t=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const e=this._viewContainerRef.get(n);e.context.index=this._renderedRange.start+n,e.context.count=t,this._updateComputedContextProperties(e.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}X.ɵfac=function(e){return new(e||X)(r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.IterableDiffers),r["ɵɵdirectiveInject"](F),r["ɵɵdirectiveInject"](Z,4),r["ɵɵdirectiveInject"](r.NgZone))},X.ɵdir=r["ɵɵdefineDirective"]({type:X,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[r["ɵɵProvidersFeature"]([{provide:F,useClass:B}])]}),X.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers},{type:B,decorators:[{type:r.Inject,args:[F]}]},{type:Z,decorators:[{type:r.SkipSelf}]},{type:r.NgZone}],X.propDecorators={cdkVirtualForOf:[{type:r.Input}],cdkVirtualForTrackBy:[{type:r.Input}],cdkVirtualForTemplate:[{type:r.Input}],cdkVirtualForTemplateCacheSize:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](X,[{type:r.Directive,args:[{selector:"[cdkVirtualFor][cdkVirtualForOf]",providers:[{provide:F,useClass:B}]}]}],(function(){return[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers},{type:B,decorators:[{type:r.Inject,args:[F]}]},{type:Z,decorators:[{type:r.SkipSelf}]},{type:r.NgZone}]}),{cdkVirtualForOf:[{type:r.Input}],cdkVirtualForTrackBy:[{type:r.Input}],cdkVirtualForTemplate:[{type:r.Input}],cdkVirtualForTemplateCacheSize:[{type:r.Input}]});class ee{}ee.ɵfac=function(e){return new(e||ee)},ee.ɵmod=r["ɵɵdefineNgModule"]({type:ee}),ee.ɵinj=r["ɵɵdefineInjector"]({}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](ee,{declarations:[G],exports:[G]}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ee,[{type:r.NgModule,args:[{exports:[G],declarations:[G]}]}],null,null);class te{}te.ɵfac=function(e){return new(e||te)},te.ɵmod=r["ɵɵdefineNgModule"]({type:te}),te.ɵinj=r["ɵɵdefineInjector"]({imports:[[P,E,ee],P,ee]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](te,{declarations:function(){return[K,X,Z]},imports:function(){return[P,E,ee]},exports:function(){return[P,ee,K,X,Z]}}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](te,[{type:r.NgModule,args:[{imports:[P,E,ee],exports:[P,ee,K,X,Z],declarations:[K,X,Z]}]}],null,null);var ne=n(489),re=n(267),ae=n(31),ie=n(181),oe=n(81);function se(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function le(e,t){const n=t?"":"none";se(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function ce(e,t){const n=e.style;n.position=t?"":"fixed",n.top=n.opacity=t?"":"0",n.left=t?"":"-999em"}function ue(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function de(e,t){return e.getPropertyValue(t).split(",").map((e=>e.trim()))}function he(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function pe(e,t,n){const{top:r,bottom:a,left:i,right:o}=e;return n>=r&&n<=a&&t>=i&&t<=o}function fe(e,t,n){e.top+=t,e.bottom=e.top+e.height,e.left+=n,e.right=e.left+e.width}function me(e,t,n,r){const{top:a,right:i,bottom:o,left:s,width:l,height:c}=e,u=l*t,d=c*t;return r>a-d&&rs-u&&n{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:he(e)})}))}handleScroll(e){const t=e.target,n=this.positions.get(t);if(!n)return null;const r=t===this._document?t.documentElement:t,a=n.scrollPosition;let i,o;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();i=e.top,o=e.left}else i=t.scrollTop,o=t.scrollLeft;const s=a.top-i,l=a.left-o;return this.positions.forEach(((e,n)=>{e.clientRect&&t!==n&&r.contains(n)&&fe(e.clientRect,s,l)})),a.top=i,a.left=o,{top:s,left:l}}}function ye(e){const t=e.cloneNode(!0),n=t.querySelectorAll("[id]"),r=e.nodeName.toLowerCase();t.removeAttribute("id");for(let a=0;a{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find((t=>{const n=e.target;return!!n&&(n===t||t.contains(n))}));!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const t=Date.now()>=this._dragStartTime+this._getDragStartDelay(e),n=this._dropContainer;if(!t)return void this._endDragSequence(e);n&&(n.isDragging()||n.isReceiving())||(e.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run((()=>this._startDragSequence(e))))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect())),e.preventDefault();const n=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._lastKnownPointerPosition=t,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n,t);else{const e=this._activeTransform;if(e.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement){const t=`translate(${e.x} ${e.y})`;this._rootElement.setAttribute("transform",t)}}this._moveEvents.observers.length&&this._ngZone.run((()=>{this._moveEvents.next({source:this,pointerPosition:n,event:e,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})}))},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new ge(n,a),i.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=i(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions(),this._handles.forEach((e=>le(e,t))))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map((e=>s(e))),this._handles.forEach((e=>le(e,this.disabled))),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach((e=>{this._handles.indexOf(e)>-1&&t.add(e)})),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=s(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular((()=>{t.addEventListener("mousedown",this._pointerDown,Ce),t.addEventListener("touchstart",this._pointerDown,_e)})),this._initialTransform=void 0,this._rootElement=t),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?s(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((()=>this._containInsideBoundaryOnResize()))),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Se(this._rootElement),Se(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),le(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),le(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&Se(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&Se(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(e))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(e){De(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,r=this._preview=this._createPreviewElement(),a=this._placeholder=this._createPlaceholderElement(),i=this._anchor=this._anchor||this._document.createComment(""),o=this._getShadowRoot();n.insertBefore(i,e),ce(e,!1),this._document.body.appendChild(n.replaceChild(a,e)),function(e,t){return t||e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body}(this._document,o).appendChild(r),this.started.next({source:this}),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const n=this.isDragging(),r=De(t),a=!r&&0!==t.button,i=this._rootElement,o=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),n||a||o)return;this._handles.length&&(this._rootElementTapHighlight=i.style.webkitTapHighlightColor||"",i.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe((e=>{this._updateOnScroll(e)})),this._boundaryElement&&(this._boundaryRect=he(this._boundaryElement));const s=this._previewTemplate;this._pickupPositionInElement=s&&s.template&&!s.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){ce(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((()=>{const t=this._dropContainer,n=t.getItemIndex(this),r=this._getPointerPositionOnPage(e),a=this._getDragDistance(this._getPointerPositionOnPage(e)),i=t._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:a}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:i,distance:a}),t.drop(this,n,this._initialIndex,this._initialContainer,i,a),this._dropContainer=this._initialContainer}))}_updateActiveDropContainer({x:e,y:t},{x:n,y:r}){let a=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(a=this._initialContainer),a&&a!==this._dropContainer&&this._ngZone.run((()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=a,this._dropContainer.enter(this,e,t,a===this._initialContainer&&a.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:a,currentIndex:a.getItemIndex(this)})})),this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=je(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,n=e?e.template:null;let r;if(n&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,a=e.viewContainer.createEmbeddedView(n,e.context);a.detectChanges(),r=Te(a,this._document),this._previewRef=a,e.matchSize?ze(r,t):r.style.transform=je(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;r=ye(e),ze(r,e.getBoundingClientRect())}return se(r.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:`${this._config.zIndex||1e3}`}),le(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach((e=>r.classList.add(e))):r.classList.add(t)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=je(e.left,e.top);const t=function(e){const t=getComputedStyle(e),n=de(t,"transition-property"),r=n.find((e=>"transform"===e||"all"===e));if(!r)return 0;const a=n.indexOf(r),i=de(t,"transition-duration"),o=de(t,"transition-delay");return ue(i[a])+ue(o[a])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular((()=>new Promise((e=>{const n=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",n),e(),clearTimeout(r))},r=setTimeout(n,1.5*t);this._preview.addEventListener("transitionend",n)}))))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let n;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),n=Te(this._placeholderRef,this._document)):n=ye(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(e,t){const n=this._rootElement.getBoundingClientRect(),r=e===this._rootElement?null:e,a=r?r.getBoundingClientRect():n,i=De(t)?t.targetTouches[0]:t,o=this._getViewportScrollPosition(),s=i.pageX-a.left-o.left,l=i.pageY-a.top-o.top;return{x:a.left-n.left+s,y:a.top-n.top+l}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),n=De(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,r=n.pageX-t.left,a=n.pageY-t.top;if(this._ownerSVGElement){const e=this._ownerSVGElement.getScreenCTM();if(e){const t=this._ownerSVGElement.createSVGPoint();return t.x=r,t.y=a,t.matrixTransform(e.inverse())}}return{x:r,y:a}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:n,y:r}=this.constrainPosition?this.constrainPosition(e,this):e;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(n=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:t}=this._pickupPositionInElement,a=this._boundaryRect,i=this._previewRect,o=a.top+t,s=a.bottom-(i.height-t);n=Ee(n,a.left+e,a.right-(i.width-e)),r=Ee(r,o,s)}return{x:n,y:r}}_updatePointerDirectionDelta(e){const{x:t,y:n}=e,r=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,i=Math.abs(t-a.x),o=Math.abs(n-a.y);return i>this._config.pointerDirectionChangeThreshold&&(r.x=t>a.x?1:-1,a.x=t),o>this._config.pointerDirectionChangeThreshold&&(r.y=n>a.y?1:-1,a.y=n),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,le(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,Ce),e.removeEventListener("touchstart",this._pointerDown,_e)}_applyRootElementTransform(e,t){const n=je(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===r.width&&0===r.height)return;const a=n.left-r.left,i=r.right-n.right,o=n.top-r.top,s=r.bottom-n.bottom;n.width>r.width?(a>0&&(e+=a),i>0&&(e-=i)):e=0,n.height>r.height?(o>0&&(t+=o),s>0&&(t-=s)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:De(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const n=e.target;this._boundaryRect&&(n===this._document||n!==this._boundaryElement&&n.contains(this._boundaryElement))&&fe(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=O(this._rootElement)),this._cachedShadowRoot}}function je(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function Ee(e,t,n){return Math.max(t,Math.min(n,e))}function Se(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function De(e){return"t"===e.type[0]}function Te(e,t){const n=e.rootNodes;if(1===n.length&&n[0].nodeType===t.ELEMENT_NODE)return n[0];const r=t.createElement("div");return n.forEach((e=>r.appendChild(e))),r}function ze(e,t){e.style.width=`${t.width}px`,e.style.height=`${t.height}px`,e.style.transform=je(t.left,t.top)}function Ie(e,t,n){const r=Me(t,e.length-1),a=Me(n,e.length-1);if(r===a)return;const i=e[r],o=a!0,this.sortPredicate=()=>!0,this.beforeStarted=new l.a,this.entered=new l.a,this.exited=new l.a,this.dropped=new l.a,this.sorted=new l.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=f.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new l.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),Object(ne.a)(0,h.b).pipe(Object(v.a)(this._stopScrollTimers)).subscribe((()=>{const e=this._scrollNode,t=this.autoScrollStep;1===this._verticalScrollDirection?Pe(e,-t):2===this._verticalScrollDirection&&Pe(e,t),1===this._horizontalScrollDirection?qe(e,-t):2===this._horizontalScrollDirection&&qe(e,t)}))},this.element=s(e),this._document=n,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new ge(n,a)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,n,r){let a;this._draggingStarted(),null==r?(a=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===a&&(a=this._getItemIndexFromPointerPosition(e,t,n))):a=r;const i=this._activeDraggables,o=i.indexOf(e),l=e.getPlaceholderElement();let c=i[a];if(c===e&&(c=i[a+1]),o>-1&&i.splice(o,1),c&&!this._dragDropRegistry.isDragging(c)){const t=c.getRootElement();t.parentElement.insertBefore(l,t),i.splice(a,0,e)}else if(this._shouldEnterAsFirstChild(t,n)){const t=i[0].getRootElement();t.parentNode.insertBefore(l,t),i.unshift(e)}else s(this.element).appendChild(l),i.push(e);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,n,r,a,i){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:n,container:this,previousContainer:r,isPointerOverContainer:a,distance:i})}withItems(e){const t=this._draggables;if(this._draggables=e,e.forEach((e=>e._withDropContainer(this))),this.isDragging()){t.filter((e=>e.isDragging())).every((t=>-1===e.indexOf(t)))?this._reset():this._cacheItems()}return this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=s(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){if(!this._isDragging)return this._draggables.indexOf(e);return Re("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,(t=>t.drag===e))}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,n,r){if(this.sortingDisabled||!this._clientRect||!me(this._clientRect,.05,t,n))return;const a=this._itemPositions,i=this._getItemIndexFromPointerPosition(e,t,n,r);if(-1===i&&a.length>0)return;const o="horizontal"===this._orientation,s=Re(a,(t=>t.drag===e)),l=a[i],c=a[s].clientRect,u=l.clientRect,d=s>i?1:-1,h=this._getItemOffsetPx(c,u,d),p=this._getSiblingOffsetPx(s,a,d),f=a.slice();Ie(a,s,i),this.sorted.next({previousIndex:s,currentIndex:i,container:this,item:e}),a.forEach(((t,n)=>{if(f[n]===t)return;const r=t.drag===e,a=r?h:p,i=r?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=a,o?(i.style.transform=`translate3d(${Math.round(t.offset)}px, 0, 0)`,fe(t.clientRect,0,a)):(i.style.transform=`translate3d(0, ${Math.round(t.offset)}px, 0)`,fe(t.clientRect,a,0))})),this._previousSwap.overlaps=pe(u,t,n),this._previousSwap.drag=l.drag,this._previousSwap.delta=o?r.x:r.y}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let n,r=0,a=0;if(this._parentPositions.positions.forEach(((i,o)=>{o!==this._document&&i.clientRect&&!n&&me(i.clientRect,.05,e,t)&&([r,a]=function(e,t,n,r){const a=Be(t,r),i=Le(t,n);let o=0,s=0;if(a){const t=e.scrollTop;1===a?t>0&&(o=1):e.scrollHeight-t>e.clientHeight&&(o=2)}if(i){const t=e.scrollLeft;1===i?t>0&&(s=1):e.scrollWidth-t>e.clientWidth&&(s=2)}return[o,s]}(o,i.clientRect,e,t),(r||a)&&(n=o))})),!r&&!a){const{width:i,height:o}=this._viewportRuler.getViewportSize(),s={width:i,height:o,top:0,right:i,bottom:o,left:0};r=Be(s,t),a=Le(s,e),n=window}!n||r===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=n,(r||a)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=s(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=s(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map((e=>{const t=e.getVisibleElement();return{drag:e,offset:0,clientRect:he(t)}})).sort(((t,n)=>e?t.clientRect.left-n.clientRect.left:t.clientRect.top-n.clientRect.top))}_reset(){this._isDragging=!1;const e=s(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach((e=>{const t=e.getRootElement();t&&(t.style.transform="")})),this._siblings.forEach((e=>e._stopReceiving(this))),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,n){const r="horizontal"===this._orientation,a=t[e].clientRect,i=t[e+-1*n];let o=a[r?"width":"height"]*n;if(i){const e=r?"left":"top",t=r?"right":"bottom";-1===n?o-=i.clientRect[e]-a[t]:o+=a[e]-i.clientRect[t]}return o}_getItemOffsetPx(e,t,n){const r="horizontal"===this._orientation;let a=r?t.left-e.left:t.top-e.top;return-1===n&&(a+=r?t.width-e.width:t.height-e.height),a}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,r="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const a=n[n.length-1].clientRect;return r?e>=a.right:t>=a.bottom}{const a=n[0].clientRect;return r?e<=a.left:t<=a.top}}_getItemIndexFromPointerPosition(e,t,n,r){const a="horizontal"===this._orientation,i=Re(this._itemPositions,(({drag:i,clientRect:o},s,l)=>{if(i===e)return l.length<2;if(r){const e=a?r.x:r.y;if(i===this._previousSwap.drag&&this._previousSwap.overlaps&&e===this._previousSwap.delta)return!1}return a?t>=Math.floor(o.left)&&t=Math.floor(o.top)&&nr._canReceive(e,t,n)))}_canReceive(e,t,n){if(!this._clientRect||!pe(this._clientRect,t,n)||!this.enterPredicate(e,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,n);if(!r)return!1;const a=s(this.element);return r===a||a.contains(r)}_startReceiving(e,t){const n=this._activeSiblings;!n.has(e)&&t.every((e=>this.enterPredicate(e,this)||this._draggables.indexOf(e)>-1))&&(n.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe((e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach((({clientRect:e})=>{fe(e,t.top,t.left)})),this._itemPositions.forEach((({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()})))}else this.isReceiving()&&this._cacheParentPositions()}))}_getShadowRoot(){if(!this._cachedShadowRoot){const e=O(s(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._activeDraggables.filter((e=>e.isDragging()));this._siblings.forEach((t=>t._startReceiving(this,e)))}}function Re(e,t){for(let n=0;n=n-i&&t<=n+i?1:t>=r-i&&t<=r+i?2:0}function Le(e,t){const{left:n,right:r,width:a}=e,i=.05*a;return t>=n-i&&t<=n+i?1:t>=r-i&&t<=r+i?2:0}const Fe=I({passive:!1,capture:!0});class Ve{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=e=>e.isDragging(),this.pointerMove=new l.a,this.pointerUp=new l.a,this.scroll=new l.a,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.length>0&&e.preventDefault()},this._persistentTouchmoveListener=e=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&e.preventDefault(),this.pointerMove.next(e))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular((()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Fe)}))}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Fe)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const e=t.type.startsWith("touch");this._globalListeners.set(e?"touchend":"mouseup",{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Fe}),e||this._globalListeners.set("mousemove",{handler:e=>this.pointerMove.next(e),options:Fe}),this._ngZone.runOutsideAngular((()=>{this._globalListeners.forEach(((e,t)=>{this._document.addEventListener(t,e.handler,e.options)}))}))}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}ngOnDestroy(){this._dragInstances.forEach((e=>this.removeDragItem(e))),this._dropInstances.forEach((e=>this.removeDropContainer(e))),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach(((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)})),this._globalListeners.clear()}}Ve.ɵfac=function(e){return new(e||Ve)(r["ɵɵinject"](r.NgZone),r["ɵɵinject"](a.DOCUMENT))},Ve.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new Ve(Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(a.DOCUMENT))},token:Ve,providedIn:"root"}),Ve.ctorParameters=()=>[{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Ve,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:r.NgZone},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}]}),null);const Ue={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class He{constructor(e,t,n,r){this._document=e,this._ngZone=t,this._viewportRuler=n,this._dragDropRegistry=r}createDrag(e,t=Ue){return new xe(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Ne(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}He.ɵfac=function(e){return new(e||He)(r["ɵɵinject"](a.DOCUMENT),r["ɵɵinject"](r.NgZone),r["ɵɵinject"](Q),r["ɵɵinject"](Ve))},He.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new He(Object(r["ɵɵinject"])(a.DOCUMENT),Object(r["ɵɵinject"])(r.NgZone),Object(r["ɵɵinject"])(Q),Object(r["ɵɵinject"])(Ve))},token:He,providedIn:"root"}),He.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:r.NgZone},{type:Q},{type:Ve}],("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](He,[{type:r.Injectable,args:[{providedIn:"root"}]}],(function(){return[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:r.NgZone},{type:Q},{type:Ve}]}),null);const $e=new r.InjectionToken("CDK_DRAG_PARENT"),Ke=new r.InjectionToken("CdkDropListGroup");class We{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=i(e)}ngOnDestroy(){this._items.clear()}}We.ɵfac=function(e){return new(e||We)},We.ɵdir=r["ɵɵdefineDirective"]({type:We,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[r["ɵɵProvidersFeature"]([{provide:Ke,useExisting:We}])]}),We.propDecorators={disabled:[{type:r.Input,args:["cdkDropListGroupDisabled"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](We,[{type:r.Directive,args:[{selector:"[cdkDropListGroup]",exportAs:"cdkDropListGroup",providers:[{provide:Ke,useExisting:We}]}]}],(function(){return[]}),{disabled:[{type:r.Input,args:["cdkDropListGroupDisabled"]}]});const Ge=new r.InjectionToken("CDK_DRAG_CONFIG");function Qe(e,t){if(1!==e.nodeType)throw Error(`${t} must be attached to an element node. Currently attached to "${e.nodeName}".`)}let Ye=0;const Ze=new r.InjectionToken("CdkDropList"),Je=void 0;class Xe{constructor(e,t,n,a,i,o,s){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=a,this._dir=i,this._group=o,this._destroyed=new l.a,this.connectedTo=[],this.id="cdk-drop-list-"+Ye++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new r.EventEmitter,this.entered=new r.EventEmitter,this.exited=new r.EventEmitter,this.sorted=new r.EventEmitter,this._unsortedItems=new Set,("undefined"==typeof ngDevMode||ngDevMode)&&Qe(e.nativeElement,"cdkDropList"),this._dropListRef=t.createDropList(e),this._dropListRef.data=this,s&&this._assignDefaults(s),this._dropListRef.enterPredicate=(e,t)=>this.enterPredicate(e.data,t.data),this._dropListRef.sortPredicate=(e,t,n)=>this.sortPredicate(e,t.data,n.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Xe._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=i(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort(((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1))}ngOnDestroy(){const e=Xe._dropLists.indexOf(this);e>-1&&Xe._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(w.a)(this._dir.value),Object(v.a)(this._destroyed)).subscribe((t=>e.withDirection(t))),e.beforeStarted.subscribe((()=>{const t=(n=this.connectedTo,Array.isArray(n)?n:[n]).map((e=>{if("string"==typeof e){const t=Xe._dropLists.find((t=>t.id===e));return t||"undefined"!=typeof ngDevMode&&!ngDevMode||console.warn(`CdkDropList could not find connected drop list with id "${e}"`),t}return e}));var n;if(this._group&&this._group._items.forEach((e=>{-1===t.indexOf(e)&&t.push(e)})),!this._scrollableParentsResolved){const e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map((e=>e.getElementRef().nativeElement));this._dropListRef.withScrollableParents(e),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=i(this.sortingDisabled),e.autoScrollDisabled=i(this.autoScrollDisabled),e.autoScrollStep=o(this.autoScrollStep,2),e.connectedTo(t.filter((e=>e&&e!==this)).map((e=>e._dropListRef))).withOrientation(this.orientation)}))}_handleEvents(e){e.beforeStarted.subscribe((()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()})),e.entered.subscribe((e=>{this.entered.emit({container:this,item:e.item.data,currentIndex:e.currentIndex})})),e.exited.subscribe((e=>{this.exited.emit({container:this,item:e.item.data}),this._changeDetectorRef.markForCheck()})),e.sorted.subscribe((e=>{this.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:this,item:e.item.data})})),e.dropped.subscribe((e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance}),this._changeDetectorRef.markForCheck()}))}_assignDefaults(e){const{lockAxis:t,draggingDisabled:n,sortingDisabled:r,listAutoScrollDisabled:a,listOrientation:i}=e;this.disabled=null!=n&&n,this.sortingDisabled=null!=r&&r,this.autoScrollDisabled=null!=a&&a,this.orientation=i||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map((e=>e._dragRef)))}}Xe.ɵfac=function(e){return new(e||Xe)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](He),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](W),r["ɵɵdirectiveInject"](N,8),r["ɵɵdirectiveInject"](Ke,12),r["ɵɵdirectiveInject"](Ge,8))},Xe.ɵdir=r["ɵɵdefineDirective"]({type:Xe,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(r["ɵɵattribute"]("id",t.id),r["ɵɵclassProp"]("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r["ɵɵProvidersFeature"]([{provide:Ke,useValue:Je},{provide:Ze,useExisting:Xe}])]}),Xe._dropLists=[],Xe.ctorParameters=()=>[{type:r.ElementRef},{type:He},{type:r.ChangeDetectorRef},{type:W},{type:N,decorators:[{type:r.Optional}]},{type:We,decorators:[{type:r.Optional},{type:r.Inject,args:[Ke]},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Ge]}]}],Xe.propDecorators={connectedTo:[{type:r.Input,args:["cdkDropListConnectedTo"]}],data:[{type:r.Input,args:["cdkDropListData"]}],orientation:[{type:r.Input,args:["cdkDropListOrientation"]}],id:[{type:r.Input}],lockAxis:[{type:r.Input,args:["cdkDropListLockAxis"]}],disabled:[{type:r.Input,args:["cdkDropListDisabled"]}],sortingDisabled:[{type:r.Input,args:["cdkDropListSortingDisabled"]}],enterPredicate:[{type:r.Input,args:["cdkDropListEnterPredicate"]}],sortPredicate:[{type:r.Input,args:["cdkDropListSortPredicate"]}],autoScrollDisabled:[{type:r.Input,args:["cdkDropListAutoScrollDisabled"]}],autoScrollStep:[{type:r.Input,args:["cdkDropListAutoScrollStep"]}],dropped:[{type:r.Output,args:["cdkDropListDropped"]}],entered:[{type:r.Output,args:["cdkDropListEntered"]}],exited:[{type:r.Output,args:["cdkDropListExited"]}],sorted:[{type:r.Output,args:["cdkDropListSorted"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](Xe,[{type:r.Directive,args:[{selector:"[cdkDropList], cdk-drop-list",exportAs:"cdkDropList",providers:[{provide:Ke,useValue:Je},{provide:Ze,useExisting:Xe}],host:{class:"cdk-drop-list","[attr.id]":"id","[class.cdk-drop-list-disabled]":"disabled","[class.cdk-drop-list-dragging]":"_dropListRef.isDragging()","[class.cdk-drop-list-receiving]":"_dropListRef.isReceiving()"}}]}],(function(){return[{type:r.ElementRef},{type:He},{type:r.ChangeDetectorRef},{type:W},{type:N,decorators:[{type:r.Optional}]},{type:We,decorators:[{type:r.Optional},{type:r.Inject,args:[Ke]},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Ge]}]}]}),{connectedTo:[{type:r.Input,args:["cdkDropListConnectedTo"]}],id:[{type:r.Input}],enterPredicate:[{type:r.Input,args:["cdkDropListEnterPredicate"]}],sortPredicate:[{type:r.Input,args:["cdkDropListSortPredicate"]}],dropped:[{type:r.Output,args:["cdkDropListDropped"]}],entered:[{type:r.Output,args:["cdkDropListEntered"]}],exited:[{type:r.Output,args:["cdkDropListExited"]}],sorted:[{type:r.Output,args:["cdkDropListSorted"]}],disabled:[{type:r.Input,args:["cdkDropListDisabled"]}],sortingDisabled:[{type:r.Input,args:["cdkDropListSortingDisabled"]}],autoScrollDisabled:[{type:r.Input,args:["cdkDropListAutoScrollDisabled"]}],orientation:[{type:r.Input,args:["cdkDropListOrientation"]}],lockAxis:[{type:r.Input,args:["cdkDropListLockAxis"]}],data:[{type:r.Input,args:["cdkDropListData"]}],autoScrollStep:[{type:r.Input,args:["cdkDropListAutoScrollStep"]}]});const et=new r.InjectionToken("CdkDragHandle");class tt{constructor(e,t){this.element=e,this._stateChanges=new l.a,this._disabled=!1,("undefined"==typeof ngDevMode||ngDevMode)&&Qe(e.nativeElement,"cdkDragHandle"),this._parentDrag=t}get disabled(){return this._disabled}set disabled(e){this._disabled=i(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}tt.ɵfac=function(e){return new(e||tt)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"]($e,12))},tt.ɵdir=r["ɵɵdefineDirective"]({type:tt,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[r["ɵɵProvidersFeature"]([{provide:et,useExisting:tt}])]}),tt.ctorParameters=()=>[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[$e]},{type:r.Optional},{type:r.SkipSelf}]}],tt.propDecorators={disabled:[{type:r.Input,args:["cdkDragHandleDisabled"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](tt,[{type:r.Directive,args:[{selector:"[cdkDragHandle]",host:{class:"cdk-drag-handle"},providers:[{provide:et,useExisting:tt}]}]}],(function(){return[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[$e]},{type:r.Optional},{type:r.SkipSelf}]}]}),{disabled:[{type:r.Input,args:["cdkDragHandleDisabled"]}]});const nt=new r.InjectionToken("CdkDragPlaceholder");class rt{constructor(e){this.templateRef=e}}rt.ɵfac=function(e){return new(e||rt)(r["ɵɵdirectiveInject"](r.TemplateRef))},rt.ɵdir=r["ɵɵdefineDirective"]({type:rt,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[r["ɵɵProvidersFeature"]([{provide:nt,useExisting:rt}])]}),rt.ctorParameters=()=>[{type:r.TemplateRef}],rt.propDecorators={data:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](rt,[{type:r.Directive,args:[{selector:"ng-template[cdkDragPlaceholder]",providers:[{provide:nt,useExisting:rt}]}]}],(function(){return[{type:r.TemplateRef}]}),{data:[{type:r.Input}]});const at=new r.InjectionToken("CdkDragPreview");class it{constructor(e){this.templateRef=e,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(e){this._matchSize=i(e)}}it.ɵfac=function(e){return new(e||it)(r["ɵɵdirectiveInject"](r.TemplateRef))},it.ɵdir=r["ɵɵdefineDirective"]({type:it,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"},features:[r["ɵɵProvidersFeature"]([{provide:at,useExisting:it}])]}),it.ctorParameters=()=>[{type:r.TemplateRef}],it.propDecorators={data:[{type:r.Input}],matchSize:[{type:r.Input}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](it,[{type:r.Directive,args:[{selector:"ng-template[cdkDragPreview]",providers:[{provide:at,useExisting:it}]}]}],(function(){return[{type:r.TemplateRef}]}),{matchSize:[{type:r.Input}],data:[{type:r.Input}]});const ot="cdk-drag";class st{constructor(e,t,n,a,i,o,s,c,d,h,p){this.element=e,this.dropContainer=t,this._ngZone=a,this._viewContainerRef=i,this._dir=s,this._changeDetectorRef=d,this._selfHandle=h,this._parentDrag=p,this._destroyed=new l.a,this.started=new r.EventEmitter,this.released=new r.EventEmitter,this.ended=new r.EventEmitter,this.entered=new r.EventEmitter,this.exited=new r.EventEmitter,this.dropped=new r.EventEmitter,this.moved=new u.a((e=>{const t=this._dragRef.moved.pipe(Object(ae.a)((e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance})))).subscribe(e);return()=>{t.unsubscribe()}})),this._dragRef=c.createDrag(e,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,st._dragInstances.push(this),o&&this._assignDefaults(o),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=i(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(Object(ie.a)(1),Object(v.a)(this._destroyed)).subscribe((()=>{this._updateRootElement(),this._handles.changes.pipe(Object(w.a)(this._handles),Object(oe.a)((e=>{const t=e.filter((e=>e._parentDrag===this)).map((e=>e.element));this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)})),Object(_.a)((e=>Object(re.a)(...e.map((e=>e._stateChanges.pipe(Object(w.a)(e))))))),Object(v.a)(this._destroyed)).subscribe((e=>{const t=this._dragRef,n=e.element.nativeElement;e.disabled?t.disableHandle(n):t.enableHandle(n)})),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}))}ngOnChanges(e){const t=e.rootElementSelector,n=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=st._dragInstances.indexOf(this);e>-1&&st._dragInstances.splice(e,1),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?lt(e,this.rootElementSelector):e;t&&("undefined"==typeof ngDevMode||ngDevMode)&&Qe(t,"cdkDrag"),this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;if(!e)return null;if("string"==typeof e)return lt(this.element.nativeElement,e);const t=s(e);if(("undefined"==typeof ngDevMode||ngDevMode)&&!t.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return t}_syncInputs(e){e.beforeStarted.subscribe((()=>{if(!e.isDragging()){const t=this._dir,n=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,a=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof n&&n?n:o(n),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(a),t&&e.withDirection(t.value)}})),e.beforeStarted.pipe(Object(ie.a)(1)).subscribe((()=>{var t,n;if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let r=this.element.nativeElement.parentElement;for(;r;){if(null===(t=r.classList)||void 0===t?void 0:t.contains(ot)){e.withParent((null===(n=st._dragInstances.find((e=>e.element.nativeElement===r)))||void 0===n?void 0:n._dragRef)||null);break}r=r.parentElement}}))}_handleEvents(e){e.started.subscribe((()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()})),e.released.subscribe((()=>{this.released.emit({source:this})})),e.ended.subscribe((e=>{this.ended.emit({source:this,distance:e.distance}),this._changeDetectorRef.markForCheck()})),e.entered.subscribe((e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})})),e.exited.subscribe((e=>{this.exited.emit({container:e.container.data,item:this})})),e.dropped.subscribe((e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance})}))}_assignDefaults(e){const{lockAxis:t,dragStartDelay:n,constrainPosition:r,previewClass:a,boundaryElement:i,draggingDisabled:o,rootElementSelector:s}=e;this.disabled=null!=o&&o,this.dragStartDelay=n||0,t&&(this.lockAxis=t),r&&(this.constrainPosition=r),a&&(this.previewClass=a),i&&(this.boundaryElement=i),s&&(this.rootElementSelector=s)}}function lt(e,t){let n=e.parentElement;for(;n;){if(n.matches?n.matches(t):n.msMatchesSelector(t))return n;n=n.parentElement}return null}st.ɵfac=function(e){return new(e||st)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](Ze,12),r["ɵɵdirectiveInject"](a.DOCUMENT),r["ɵɵdirectiveInject"](r.NgZone),r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](Ge,8),r["ɵɵdirectiveInject"](N,8),r["ɵɵdirectiveInject"](He),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](et,10),r["ɵɵdirectiveInject"]($e,12))},st.ɵdir=r["ɵɵdefineDirective"]({type:st,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,n){if(1&e&&(r["ɵɵcontentQuery"](n,at,1),r["ɵɵcontentQuery"](n,nt,1),r["ɵɵcontentQuery"](n,et,1)),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t._previewTemplate=e.first),r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t._placeholderTemplate=e.first),r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t._handles=e)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&r["ɵɵclassProp"]("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r["ɵɵProvidersFeature"]([{provide:$e,useExisting:st}]),r["ɵɵNgOnChangesFeature"]]}),st._dragInstances=[],st.ctorParameters=()=>[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[Ze]},{type:r.Optional},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:r.NgZone},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Ge]}]},{type:N,decorators:[{type:r.Optional}]},{type:He},{type:r.ChangeDetectorRef},{type:tt,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[et]}]},{type:st,decorators:[{type:r.Optional},{type:r.SkipSelf},{type:r.Inject,args:[$e]}]}],st.propDecorators={_handles:[{type:r.ContentChildren,args:[et,{descendants:!0}]}],_previewTemplate:[{type:r.ContentChild,args:[at]}],_placeholderTemplate:[{type:r.ContentChild,args:[nt]}],data:[{type:r.Input,args:["cdkDragData"]}],lockAxis:[{type:r.Input,args:["cdkDragLockAxis"]}],rootElementSelector:[{type:r.Input,args:["cdkDragRootElement"]}],boundaryElement:[{type:r.Input,args:["cdkDragBoundary"]}],dragStartDelay:[{type:r.Input,args:["cdkDragStartDelay"]}],freeDragPosition:[{type:r.Input,args:["cdkDragFreeDragPosition"]}],disabled:[{type:r.Input,args:["cdkDragDisabled"]}],constrainPosition:[{type:r.Input,args:["cdkDragConstrainPosition"]}],previewClass:[{type:r.Input,args:["cdkDragPreviewClass"]}],started:[{type:r.Output,args:["cdkDragStarted"]}],released:[{type:r.Output,args:["cdkDragReleased"]}],ended:[{type:r.Output,args:["cdkDragEnded"]}],entered:[{type:r.Output,args:["cdkDragEntered"]}],exited:[{type:r.Output,args:["cdkDragExited"]}],dropped:[{type:r.Output,args:["cdkDragDropped"]}],moved:[{type:r.Output,args:["cdkDragMoved"]}]},("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](st,[{type:r.Directive,args:[{selector:"[cdkDrag]",exportAs:"cdkDrag",host:{class:ot,"[class.cdk-drag-disabled]":"disabled","[class.cdk-drag-dragging]":"_dragRef.isDragging()"},providers:[{provide:$e,useExisting:st}]}]}],(function(){return[{type:r.ElementRef},{type:void 0,decorators:[{type:r.Inject,args:[Ze]},{type:r.Optional},{type:r.SkipSelf}]},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:r.NgZone},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[Ge]}]},{type:N,decorators:[{type:r.Optional}]},{type:He},{type:r.ChangeDetectorRef},{type:tt,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[et]}]},{type:st,decorators:[{type:r.Optional},{type:r.SkipSelf},{type:r.Inject,args:[$e]}]}]}),{started:[{type:r.Output,args:["cdkDragStarted"]}],released:[{type:r.Output,args:["cdkDragReleased"]}],ended:[{type:r.Output,args:["cdkDragEnded"]}],entered:[{type:r.Output,args:["cdkDragEntered"]}],exited:[{type:r.Output,args:["cdkDragExited"]}],dropped:[{type:r.Output,args:["cdkDragDropped"]}],moved:[{type:r.Output,args:["cdkDragMoved"]}],disabled:[{type:r.Input,args:["cdkDragDisabled"]}],dragStartDelay:[{type:r.Input,args:["cdkDragStartDelay"]}],lockAxis:[{type:r.Input,args:["cdkDragLockAxis"]}],constrainPosition:[{type:r.Input,args:["cdkDragConstrainPosition"]}],previewClass:[{type:r.Input,args:["cdkDragPreviewClass"]}],boundaryElement:[{type:r.Input,args:["cdkDragBoundary"]}],rootElementSelector:[{type:r.Input,args:["cdkDragRootElement"]}],_handles:[{type:r.ContentChildren,args:[et,{descendants:!0}]}],_previewTemplate:[{type:r.ContentChild,args:[at]}],_placeholderTemplate:[{type:r.ContentChild,args:[nt]}],data:[{type:r.Input,args:["cdkDragData"]}],freeDragPosition:[{type:r.Input,args:["cdkDragFreeDragPosition"]}]});class ct{}ct.ɵfac=function(e){return new(e||ct)},ct.ɵmod=r["ɵɵdefineNgModule"]({type:ct}),ct.ɵinj=r["ɵɵdefineInjector"]({providers:[He],imports:[ee]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](ct,{declarations:function(){return[Xe,We,st,tt,it,rt]},exports:function(){return[ee,Xe,We,st,tt,it,rt]}}),("undefined"==typeof ngDevMode||ngDevMode)&&r["ɵsetClassMetadata"](ct,[{type:r.NgModule,args:[{declarations:[Xe,We,st,tt,it,rt],exports:[ee,Xe,We,st,tt,it,rt],providers:[He]}]}],null,null)},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(5),a=n(42),i=n(266),o=n(38),s=n(331),l=n(123),c=n(335),u=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var a=e.call(this)||this;return a.scheduler=r,a._events=[],a._infiniteTimeWindow=!1,a._bufferSize=t<1?1:t,a._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(a._infiniteTimeWindow=!0,a.next=a.nextInfiniteTimeWindow):a.next=a.nextTimeWindow,a}return r.a(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new d(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),a=this.scheduler,i=r.length;if(this.closed)throw new l.a;if(this.isStopped||this.hasError?t=o.a.EMPTY:(this.observers.push(e),t=new c.a(this,e)),a&&e.add(e=new s.a(e,a)),n)for(var u=0;ut&&(i=Math.max(i,a-t)),i>0&&r.splice(0,i),r},t}(a.a),d=function(){return function(e,t){this.time=e,this.value=t}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20);function a(e,t){return t?new r.a((function(n){return t.schedule(i,0,{error:e,subscriber:n})})):new r.a((function(t){return t.error(e)}))}function i(e){var t=e.error;e.subscriber.error(t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var r=n(5),a=n(144),i=n(54),o=n(13),s=n(116),l=n(18);function c(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),f=function(e){function t(t,n,r){var a=e.call(this,t)||this;return a.parent=n,a.observable=r,a.stillUnsubscribed=!0,a.buffer=[],a.isComplete=!1,a}return r.a(t,e),t.prototype[s.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return Object(l.c)(this.observable,new l.a(this))},t}(l.b)},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";n.d(t,"a",(function(){return a}));var r=n(13);function a(e){for(;e;){var t=e,n=t.closed,a=t.destination,i=t.isStopped;if(n||i)return!1;e=a&&a instanceof r.a?a:null}return!0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(20),a=n(38);function i(e,t){return new r.a((function(n){var r=new a.a,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(91),a=n(167),i={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(a.a)(e)},complete:function(){}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(115),a=n(202),i=n(42);function o(){return new i.a}function s(){return function(e){return Object(a.a)()(Object(r.a)(o)(e))}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(99).Buffer)},function(e,t,n){var r=n(39);n(161),n(48),(e.exports=r.hmac=r.hmac||{}).create=function(){var e=null,t=null,n=null,a=null,i={start:function(i,o){if(null!==i)if("string"==typeof i){if(!((i=i.toLowerCase())in r.md.algorithms))throw new Error('Unknown hash algorithm "'+i+'"');t=r.md.algorithms[i].create()}else t=i;if(null===o)o=e;else{if("string"==typeof o)o=r.util.createBuffer(o);else if(r.util.isArray(o)){var s=o;o=r.util.createBuffer();for(var l=0;lt.blockLength&&(t.start(),t.update(o.bytes()),o=t.digest()),n=r.util.createBuffer(),a=r.util.createBuffer(),c=o.length();for(l=0;l>>0,l>>>0];for(var c=a.fullMessageLength.length-1;c>=0;--c)a.fullMessageLength[c]+=l[1],l[1]=l[0]+(a.fullMessageLength[c]/4294967296>>>0),a.fullMessageLength[c]=a.fullMessageLength[c]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(i),s(e,n,t),(t.read>2048||0===t.length())&&t.compact(),a},a.digest=function(){var o=r.util.createBuffer();o.putBytes(t.bytes());var l,c=a.fullMessageLength[a.fullMessageLength.length-1]+a.messageLengthSize&a.blockLength-1;o.putBytes(i.substr(0,a.blockLength-c));for(var u=8*a.fullMessageLength[0],d=0;d>>0,o.putInt32(u>>>0),u=l>>>0;o.putInt32(u);var h={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};s(h,n,o);var p=r.util.createBuffer();return p.putInt32(h.h0),p.putInt32(h.h1),p.putInt32(h.h2),p.putInt32(h.h3),p.putInt32(h.h4),p},a};var i=null,o=!1;function s(e,t,n){for(var r,a,i,o,s,l,c,u=n.length();u>=64;){for(a=e.h0,i=e.h1,o=e.h2,s=e.h3,l=e.h4,c=0;c<16;++c)r=n.getInt32(),t[c]=r,r=(a<<5|a>>>27)+(s^i&(o^s))+l+1518500249+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;c<20;++c)r=(r=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|r>>>31,t[c]=r,r=(a<<5|a>>>27)+(s^i&(o^s))+l+1518500249+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;c<32;++c)r=(r=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|r>>>31,t[c]=r,r=(a<<5|a>>>27)+(i^o^s)+l+1859775393+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;c<40;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(a<<5|a>>>27)+(i^o^s)+l+1859775393+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;c<60;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(a<<5|a>>>27)+(i&o|s&(i^o))+l+2400959708+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;for(;c<80;++c)r=(r=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|r>>>30,t[c]=r,r=(a<<5|a>>>27)+(i^o^s)+l+3395469782+r,l=s,s=o,o=(i<<30|i>>>2)>>>0,i=a,a=r;e.h0=e.h0+a|0,e.h1=e.h1+i|0,e.h2=e.h2+o|0,e.h3=e.h3+s|0,e.h4=e.h4+l|0,u-=64}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n(5),a=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return r.a(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(n(148).a),i=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.a(t,e),t}(n(145).a))(a),o=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(20),a=n(66),i=n(163),o=n(144);function s(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof l&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof r.a?e[0]:Object(i.a)(n)(Object(o.a)(e,s))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u}));var r=n(5),a=n(42),i=n(20),o=n(13),s=n(38),l=n(202),c=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 s.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e},t.prototype.refCount=function(){return Object(l.a)()(this)},t}(i.a),u=function(){var e=c.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}}}(),d=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}(a.b);o.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}()},,,,,,,,,,,,,,,,,,,function(e,t,n){var r;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,a){"use strict";var i=[],o=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},h=d.toString,p=d.hasOwnProperty,f=p.toString,m=f.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},v=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,n){var r,a,i=(n=n||v).createElement("script");if(i.text=e,t)for(r in w)(a=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,a);n.head.appendChild(i).parentNode.removeChild(i)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var C="3.6.0",x=function(e,t){return new x.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:C,constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),$=new RegExp(P+"|>"),K=new RegExp(L),W=new RegExp("^"+q+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+L),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){h()},oe=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(z=M.call(k.childNodes),k.childNodes),z[k.childNodes.length].nodeType}catch(je){O={apply:z.length?function(e,t){A.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,a){var i,s,c,u,d,f,y,b=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!a&&(h(t),t=t||p,m)){if(11!==k&&(d=X.exec(e)))if(i=d[1]){if(9===k){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(b&&(c=b.getElementById(i))&&v(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return O.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!S[e+" "]&&(!g||!g.test(e))&&(1!==k||"object"!==t.nodeName.toLowerCase())){if(y=e,b=t,1===k&&($.test(e)||H.test(e))){for((b=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ae):t.setAttribute("id",u=w)),s=(f=o(e)).length;s--;)f[s]=(u?"#"+u:":scope")+" "+ve(f[s]);y=f.join(",")}try{return O.apply(r,b.querySelectorAll(y)),r}catch(_){S(e,!0)}finally{u===w&&t.removeAttribute("id")}}}return l(e.replace(V,"$1"),t,r,a)}function le(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function ce(e){return e[w]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(je){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},h=se.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:k;return o!=p&&9===o.nodeType&&o.documentElement?(f=(p=o).documentElement,m=!i(p),k!=p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ie,!1):a.attachEvent&&a.attachEvent("onunload",ie)),n.scope=ue((function(e){return f.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=ue((function(e){return f.appendChild(e).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=J.test(p.querySelectorAll))&&(ue((function(e){var t;f.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+R+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=J.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",L)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=J.test(f.compareDocumentPosition),v=t||J.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==k&&v(k,e)?-1:t==p||t.ownerDocument==k&&v(k,t)?1:u?N(u,e)-N(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e==p?-1:t==p?1:a?-1:i?1:u?N(u,e)-N(u,t):0;if(a===i)return he(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?he(o[r],s[r]):o[r]==k?-1:s[r]==k?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!S[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(je){S(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&h(e),v(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&h(e);var a=r.attrHandle[t.toLowerCase()],i=a&&T.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],a=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(D),d){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return u=null,e},a=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+P+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=se.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,p,f,m=i!==o?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),b=!l&&!s,v=!1;if(g){if(i){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&b){for(v=(p=(c=(u=(d=(h=g)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(v=p=0)||f.pop();)if(1===h.nodeType&&++v&&h===t){u[e]=[_,p,v];break}}else if(b&&(v=p=(c=(u=(d=(h=t)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===_&&c[1]),!1===v)for(;(h=++p&&h&&h[m]||(v=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++v||(b&&((u=(d=h[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[_,v]),h!==t)););return(v-=a)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[w]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=N(e,i[o])]=!(n[r]=i[o])})):function(e){return a(e,0,n)}):a}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[w]?ce((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:ce((function(e){return W.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function _e(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,c=null!=t;s-1&&(i[c]=!(o[c]=d))}}else y=_e(y===o?y.splice(f,y.length):y),a?a(null,o,y,l):O.apply(o,y)}))}function xe(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,u=we((function(e){return e===t}),s,!0),d=we((function(e){return N(t,e)>-1}),s,!0),h=[function(e,n,r){var a=!o&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,a}];l1&&ke(h),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(V,"$1"),n,l0,a=e.length>0,i=function(i,o,s,l,u){var d,f,g,y=0,b="0",v=i&&[],w=[],k=c,C=i||a&&r.find.TAG("*",u),x=_+=null==k?1:Math.random()||.1,j=C.length;for(u&&(c=o==p||o||u);b!==j&&null!=(d=C[b]);b++){if(a&&d){for(f=0,o||d.ownerDocument==p||(h(d),s=!m);g=e[f++];)if(g(d,o||p,s)){l.push(d);break}u&&(_=x)}n&&((d=!g&&d)&&y--,i&&v.push(d))}if(y+=b,n&&b!==y){for(f=0;g=t[f++];)g(v,w,o,s);if(i){if(y>0)for(;b--;)v[b]||w[b]||(w[b]=I.call(l));w=_e(w)}O.apply(l,w),u&&!i&&w.length>0&&y+t.length>1&&se.uniqueSort(l)}return u&&(_=x,c=k),v};return n?ce(i):i}(i,a))).selector=e}return s},l=se.select=function(e,t,n,a){var i,l,c,u,d,h="function"==typeof e&&e,p=!a&&o(e=h.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(a=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ye(t.parentNode)||t))){if(l.splice(i,1),!(e=a.length&&ve(l)))return O.apply(n,a),n;break}}return(h||s(e,p))(a,t,!m,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=w.split("").sort(D).join("")===w,n.detectDuplicates=!!d,h(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var S=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&x(e).is(n))break;r.push(e)}return r},D=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function z(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,t,n){return y(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return u.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var O,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),I.test(r[1])&&x.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=v.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,O=x(v);var N=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return D((e.parentNode||{}).firstChild,e)},children:function(e){return D(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(z(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var a=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=x.filter(r,a)),this.length>1&&(R[e]||x.uniqueSort(a),N.test(e)&&a.reverse()),this.pushStack(a)}}));var q=/[^\x20\t\r\n\f]+/g;function B(e){return e}function L(e){throw e}function F(e,t,n,r){var a;try{e&&y(a=e.promise)?a.call(e).done(t).fail(n):e&&y(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(q)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,a,i=[],o=[],s=-1,l=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?x.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,r){var a=y(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,a){var i=0;function o(e,t,r,a){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e=i&&(r!==L&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(x.Deferred.getStackHook&&(u.stackTrace=x.Deferred.getStackHook()),n.setTimeout(u))}}return x.Deferred((function(n){t[0][3].add(o(0,n,y(a)?a:B,n.notifyWith)),t[1][3].add(o(0,n,y(e)?e:B)),t[2][3].add(o(0,n,y(r)?r:L))})).promise()},promise:function(e){return null!=e?x.extend(e,a):a}},i={};return x.each(t,(function(e,n){var o=n[2],s=n[5];a[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=o.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),i=x.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(F(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||y(a[n]&&a[n].then)))return i.then();for(;n--;)F(a[n],o(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout((function(){throw e}))};var U=x.Deferred();function H(){v.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),x.ready()}x.fn.ready=function(e){return U.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||U.resolveWith(v,[x]))}}),x.ready.then=U.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?n.setTimeout(x.ready):(v.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var $=function(e,t,n,r,a,i,o){var s=0,l=e.length,c=null==n;if("object"===_(n))for(s in a=!0,n)$(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,y(r)||(o=!0),c&&(o?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(x(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,a=n.shift(),i=x._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){x.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:x.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;fe=v.createDocumentFragment().appendChild(v.createElement("div")),(me=v.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),fe.appendChild(me),g.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="",g.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="",g.option=!!fe.lastChild;var ve={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function we(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&z(e,t)?x.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n",""]);var _e=/<|&#?\w+;/;function Ce(e,t,n,r,a){for(var i,o,s,l,c,u,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p-1)a&&a.push(i);else if(c=se(i),o=we(d.appendChild(i),"script"),c&&ke(o),n)for(u=0;i=o[u++];)be.test(i.type||"")&&n.push(i);return d}var xe=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function De(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)De(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Ee;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return x().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),e.each((function(){x.event.add(this,t,a,r,n)}))}function Te(e,t,n){n?(J.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,a,i=J.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),J.set(this,t,i),r=n(this,t),this[t](),i!==(a=J.get(this,t))||r?J.set(this,t,!1):a={},i!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else i.length&&(J.set(this,t,{value:x.event.trigger(x.extend(i[0],x.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&x.event.add(e,t,je)}x.event={global:{},add:function(e,t,n,r,a){var i,o,s,l,c,u,d,h,p,f,m,g=J.get(e);if(Y(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&x.find.matchesSelector(oe,a),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(q)||[""]).length;c--;)p=m=(s=xe.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},u=x.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:f.join(".")},i),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,f,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?h.splice(h.delegateCount++,0,u):h.push(u),x.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,c,u,d,h,p,f,m,g=J.hasData(e)&&J.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(q)||[""]).length;c--;)if(p=m=(s=xe.exec(t[c])||[])[1],f=(s[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},h=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=h.length;i--;)u=h[i],!a&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(h.splice(i,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));o&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||x.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)x.event.remove(e,p+t[c],n,r,!0);x.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),l=x.event.fix(e),c=(J.get(this,"events")||Object.create(null))[l.type]||[],u=x.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],o={},n=0;n-1:x.find(a,this,null,[c]).length),o[a]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l\s*$/g;function Oe(e,t){return z(e,"table")&&z(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(J.hasData(e)&&(s=J.get(e).events))for(a in J.remove(t,"handle events"),s)for(n=0,r=s[a].length;n1&&"string"==typeof f&&!g.checkClone&&Ie.test(f))return e.each((function(a){var i=e.eq(a);m&&(t[0]=f.call(this,a,i.html())),qe(i,t,n,r)}));if(h&&(i=(a=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=x.map(we(a,"script"),Me)).length;d0&&ke(o,!l&&we(e,"script")),s},cleanData:function(e){for(var t,n,r,a=x.event.special,i=0;void 0!==(n=e[i]);i++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)a[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return $(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return $(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ze.test(e)&&!ve[(ye.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function nt(e,t,n){var r=Fe(e),a=(!g.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),i=a,o=He(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Le.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&a||!g.reliableTrDimensions()&&z(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===x.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+tt(e,t,n||(a?"border":"content"),i,r,o)+"px"}function rt(e,t,n,r,a){return new rt.prototype.init(e,t,n,r,a)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=Q(t),l=Ze.test(t),c=e.style;if(l||(t=Qe(s)),o=x.cssHooks[t]||x.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:c[t];"string"===(i=typeof n)&&(a=ae.exec(n))&&a[1]&&(n=ue(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var a,i,o,s=Q(t);return Ze.test(t)||(t=Qe(s)),(o=x.cssHooks[t]||x.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=He(e,t,r)),"normal"===a&&t in Xe&&(a=Xe[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Ye.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Ve(e,Je,(function(){return nt(e,t,r)}))},set:function(e,n,r){var a,i=Fe(e),o=!g.scrollboxSize()&&"absolute"===i.position,s=(o||r)&&"border-box"===x.css(e,"boxSizing",!1,i),l=r?tt(e,t,r,s,i):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),l&&(a=ae.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,l)}}})),x.cssHooks.marginLeft=$e(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+ie[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(x.cssHooks[e+t].set=et)})),x.fn.extend({css:function(e,t){return $(this,(function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=Fe(e),a=t.length;o1)}}),x.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=rt.prototype.init,x.fx.step={};var at,it,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){it&&(!1===v.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,x.fx.interval),x.fx.tick())}function ct(){return n.setTimeout((function(){at=void 0})),at=Date.now()}function ut(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=ie[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function dt(e,t,n){for(var r,a=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(a=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&z(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(q);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ft[t]||x.find.attr;ft[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=ft[o],ft[o]=a,a=null!=n(e,t,r)?o:null,ft[o]=i),a}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function yt(e){return(e.match(q)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(t=x.propFix[t]||t,a=x.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,l=0;if(y(e))return this.each((function(t){x(this).addClass(e.call(this,t,bt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(a=bt(n),r=1===n.nodeType&&" "+yt(a)+" "){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,l=0;if(y(e))return this.each((function(t){x(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(a=bt(n),r=1===n.nodeType&&" "+yt(a)+" "){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,a,i,o;if(r)for(a=0,i=x(this),o=vt(e);t=o[a++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;x.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=y(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,x(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=x.map(a,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=x.valHooks[a.type]||x.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(wt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:yt(x.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},g.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var kt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,r,a){var i,o,s,l,c,u,d,h,f=[r||v],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!kt.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[x.expando]?e:new x.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[m]||{},a||!d.trigger||!1!==d.trigger.apply(r,t))){if(!a&&!d.noBubble&&!b(r)){for(l=d.delegateType||m,kt.test(l+m)||(o=o.parentNode);o;o=o.parentNode)f.push(o),s=o;s===(r.ownerDocument||v)&&f.push(s.defaultView||s.parentWindow||n)}for(i=0;(o=f[i++])&&!e.isPropagationStopped();)h=o,e.type=i>1?l:d.bindType||m,(u=(J.get(o,"events")||Object.create(null))[e.type]&&J.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Y(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!Y(r)||c&&y(r[m])&&!b(r)&&((s=r[c])&&(r[c]=null),x.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,_t),r[m](),e.isPropagationStopped()&&h.removeEventListener(m,_t),x.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=J.access(r,t);a||r.addEventListener(e,n,!0),J.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=J.access(r,t)-1;a?J.access(r,t,a):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var Ct=n.location,xt={guid:Date.now()},jt=/\?/;x.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(a){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||x.error("Invalid XML: "+(r?x.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,St=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;function zt(e,t,n,r){var a;if(Array.isArray(t))x.each(t,(function(t,a){n||Et.test(e)?r(e,a):zt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==_(t))r(e,t);else for(a in t)zt(e+"["+a+"]",t[a],n,r)}x.param=function(e,t){var n,r=[],a=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){a(this.name,this.value)}));else for(n in e)zt(n,e[n],t,a);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Tt.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:n.replace(St,"\r\n")}})).get()}});var It=/%20/g,At=/#.*$/,Ot=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Pt={},qt={},Bt="*/".concat("*"),Lt=v.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(q)||[];if(y(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var a={},i=e===qt;function o(s){var l;return a[s]=!0,x.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||a[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Ut(e,t){var n,r,a=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Lt.href=Ct.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Ft(Pt),ajaxTransport:Ft(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,a,i,o,s,l,c,u,d,h,p=x.ajaxSetup({},t),f=p.context||p,m=p.context&&(f.nodeType||f.jquery)?x(f):x.event,g=x.Deferred(),y=x.Callbacks("once memory"),b=p.statusCode||{},w={},k={},_="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!o)for(o={};t=Mt.exec(i);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=k[e.toLowerCase()]=k[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||_;return r&&r.abort(t),j(0,t),this}};if(g.promise(C),p.url=((e||p.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(q)||[""],null==p.crossDomain){l=v.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Lt.protocol+"//"+Lt.host!=l.protocol+"//"+l.host}catch(E){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),Vt(Pt,p,t,C),c)return C;for(d in(u=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nt.test(p.type),a=p.url.replace(At,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(It,"+")):(h=p.url.slice(a.length),p.data&&(p.processData||"string"==typeof p.data)&&(a+=(jt.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(a=a.replace(Ot,"$1"),h=(jt.test(a)?"&":"?")+"_="+xt.guid+++h),p.url=a+h),p.ifModified&&(x.lastModified[a]&&C.setRequestHeader("If-Modified-Since",x.lastModified[a]),x.etag[a]&&C.setRequestHeader("If-None-Match",x.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(f,C,p)||c))return C.abort();if(_="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=Vt(qt,p,t,C)){if(C.readyState=1,u&&m.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,r.send(w,j)}catch(E){if(c)throw E;j(-1,E)}}else j(-1,"No Transport");function j(e,t,o,l){var d,h,v,w,k,_=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(w=function(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,C,o)),!d&&x.inArray("script",p.dataTypes)>-1&&x.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(e,t,n,r){var a,i,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=c[l+" "+i]||c["* "+i]))for(a in c)if((s=a.split(" "))[1]===i&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[a]:!0!==c[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(E){return{state:"parsererror",error:o?E:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,w,C,d),d?(p.ifModified&&((k=C.getResponseHeader("Last-Modified"))&&(x.lastModified[a]=k),(k=C.getResponseHeader("etag"))&&(x.etag[a]=k)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=w.state,h=w.data,d=!(v=w.error))):(v=_,!e&&_||(_="error",e<0&&(e=0))),C.status=e,C.statusText=(t||_)+"",d?g.resolveWith(f,[h,_,C]):g.rejectWith(f,[C,_,v]),C.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?h:v]),y.fireWith(f,[C,_]),u&&(m.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,a){return y(n)&&(a=a||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:a,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},$t=x.ajaxSettings.xhr();g.cors=!!$t&&"withCredentials"in $t,g.ajax=$t=!!$t,x.ajaxTransport((function(e){var t,r;if(g.cors||$t&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(l){if(t)throw l}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=x("