ok
Direktori : /usr/share/cloudlinux-awp-plugin/awp-user/ |
Current File : //usr/share/cloudlinux-awp-plugin/awp-user/vendor.bundle.min.js |
/*! For license information please see vendor.bundle.min.js.LICENSE.txt */ (window.wpJsonpCloudLinuxLveManager=window.wpJsonpCloudLinuxLveManager||[]).push([[2],[function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return Yu})),n.d(e,"APP_BOOTSTRAP_LISTENER",(function(){return qb})),n.d(e,"APP_ID",(function(){return Bb})),n.d(e,"APP_INITIALIZER",(function(){return Lb})),n.d(e,"ApplicationInitStatus",(function(){return Vb})),n.d(e,"ApplicationModule",(function(){return Rw})),n.d(e,"ApplicationRef",(function(){return Hv})),n.d(e,"Attribute",(function(){return S})),n.d(e,"COMPILER_OPTIONS",(function(){return hv})),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Mi})),n.d(e,"ChangeDetectionStrategy",(function(){return te})),n.d(e,"ChangeDetectorRef",(function(){return Bc})),n.d(e,"Compiler",(function(){return dv})),n.d(e,"CompilerFactory",(function(){return pv})),n.d(e,"Component",(function(){return Sb})),n.d(e,"ComponentFactory",(function(){return Yf})),n.d(e,"ComponentFactoryResolver",(function(){return Qf})),n.d(e,"ComponentRef",(function(){return Wf})),n.d(e,"ContentChild",(function(){return Qu})),n.d(e,"ContentChildren",(function(){return Ku})),n.d(e,"DEFAULT_CURRENCY_CODE",(function(){return Kb})),n.d(e,"DebugElement",(function(){return Ew})),n.d(e,"DebugEventListener",(function(){return rw})),n.d(e,"DebugNode",(function(){return Ow})),n.d(e,"DefaultIterableDiffer",(function(){return pm})),n.d(e,"Directive",(function(){return Cb})),n.d(e,"ElementRef",(function(){return tm})),n.d(e,"EmbeddedViewRef",(function(){return nw})),n.d(e,"ErrorHandler",(function(){return Ri})),n.d(e,"EventEmitter",(function(){return dy})),n.d(e,"Host",(function(){return w})),n.d(e,"HostBinding",(function(){return Ib})),n.d(e,"HostListener",(function(){return kb})),n.d(e,"INJECTOR",(function(){return wt})),n.d(e,"Inject",(function(){return _})),n.d(e,"InjectFlags",(function(){return O})),n.d(e,"Injectable",(function(){return su})),n.d(e,"InjectionToken",(function(){return vt})),n.d(e,"Injector",(function(){return Eu})),n.d(e,"Input",(function(){return Eb})),n.d(e,"IterableDiffers",(function(){return wm})),n.d(e,"KeyValueDiffers",(function(){return Cm})),n.d(e,"LOCALE_ID",(function(){return Zb})),n.d(e,"MissingTranslationStrategy",(function(){return Xb})),n.d(e,"ModuleWithComponentFactories",(function(){return nv})),n.d(e,"NO_ERRORS_SCHEMA",(function(){return Ni})),n.d(e,"NgModule",(function(){return Nb})),n.d(e,"NgModuleFactory",(function(){return Ht})),n.d(e,"NgModuleFactoryLoader",(function(){return qv})),n.d(e,"NgModuleRef",(function(){return zt})),n.d(e,"NgProbeToken",(function(){return Nv})),n.d(e,"NgZone",(function(){return gv})),n.d(e,"Optional",(function(){return y})),n.d(e,"Output",(function(){return xb})),n.d(e,"PACKAGE_ROOT_URL",(function(){return Wb})),n.d(e,"PLATFORM_ID",(function(){return Gb})),n.d(e,"PLATFORM_INITIALIZER",(function(){return $b})),n.d(e,"Pipe",(function(){return Ob})),n.d(e,"PlatformRef",(function(){return Uv})),n.d(e,"Query",(function(){return Zu})),n.d(e,"QueryList",(function(){return py})),n.d(e,"ReflectiveInjector",(function(){return qu})),n.d(e,"ReflectiveKey",(function(){return ju})),n.d(e,"Renderer2",(function(){return om})),n.d(e,"RendererFactory2",(function(){return rm})),n.d(e,"RendererStyleFlags2",(function(){return im})),n.d(e,"ResolvedReflectiveFactory",(function(){return Fu})),n.d(e,"Sanitizer",(function(){return cm})),n.d(e,"SecurityContext",(function(){return To})),n.d(e,"Self",(function(){return b})),n.d(e,"SimpleChange",(function(){return Dn})),n.d(e,"SkipSelf",(function(){return v})),n.d(e,"SystemJsNgModuleLoader",(function(){return Xv})),n.d(e,"SystemJsNgModuleLoaderConfig",(function(){return Qv})),n.d(e,"TRANSLATIONS",(function(){return Qb})),n.d(e,"TRANSLATIONS_FORMAT",(function(){return Jb})),n.d(e,"TemplateRef",(function(){return Im})),n.d(e,"Testability",(function(){return Ov})),n.d(e,"TestabilityRegistry",(function(){return Ev})),n.d(e,"Type",(function(){return Hc})),n.d(e,"VERSION",(function(){return lm})),n.d(e,"Version",(function(){return um})),n.d(e,"ViewChild",(function(){return Xu})),n.d(e,"ViewChildren",(function(){return Ju})),n.d(e,"ViewContainerRef",(function(){return Tm})),n.d(e,"ViewEncapsulation",(function(){return ne})),n.d(e,"ViewRef",(function(){return ew})),n.d(e,"WrappedValue",(function(){return $l})),n.d(e,"asNativeElements",(function(){return sw})),n.d(e,"assertPlatform",(function(){return Lv})),n.d(e,"createPlatform",(function(){return Pv})),n.d(e,"createPlatformFactory",(function(){return Fv})),n.d(e,"defineInjectable",(function(){return k})),n.d(e,"destroyPlatform",(function(){return Vv})),n.d(e,"enableProdMode",(function(){return Xi})),n.d(e,"forwardRef",(function(){return U})),n.d(e,"getDebugNode",(function(){return vw})),n.d(e,"getModuleFactory",(function(){return Zv})),n.d(e,"getPlatform",(function(){return Bv})),n.d(e,"inject",(function(){return Nt})),n.d(e,"isDevMode",(function(){return Ji})),n.d(e,"platformCore",(function(){return xw})),n.d(e,"resolveForwardRef",(function(){return z})),n.d(e,"setTestabilityGetter",(function(){return xv})),n.d(e,"\u02750",(function(){return g})),n.d(e,"\u02751",(function(){return C})),n.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",(function(){return Mv})),n.d(e,"\u0275APP_ID_RANDOM_PROVIDER",(function(){return zb})),n.d(e,"\u0275ChangeDetectorStatus",(function(){return ee})),n.d(e,"\u0275CodegenComponentFactoryResolver",(function(){return Jf})),n.d(e,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return uv})),n.d(e,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return av})),n.d(e,"\u0275Compiler_compileModuleAsync__POST_R3__",(function(){return ov})),n.d(e,"\u0275Compiler_compileModuleSync__POST_R3__",(function(){return rv})),n.d(e,"\u0275ComponentFactory",(function(){return Yf})),n.d(e,"\u0275Console",(function(){return Yb})),n.d(e,"\u0275DEFAULT_LOCALE_ID",(function(){return Ap})),n.d(e,"\u0275EMPTY_ARRAY",(function(){return Ig})),n.d(e,"\u0275EMPTY_MAP",(function(){return kg})),n.d(e,"\u0275INJECTOR_IMPL__POST_R3__",(function(){return Su})),n.d(e,"\u0275INJECTOR_SCOPE",(function(){return uu})),n.d(e,"\u0275LifecycleHooksFeature",(function(){return Tl})),n.d(e,"\u0275LocaleDataIndex",(function(){return Tp})),n.d(e,"\u0275NG_COMP_DEF",(function(){return J})),n.d(e,"\u0275NG_DIR_DEF",(function(){return X})),n.d(e,"\u0275NG_ELEMENT_ID",(function(){return it})),n.d(e,"\u0275NG_INJ_DEF",(function(){return M})),n.d(e,"\u0275NG_MOD_DEF",(function(){return et})),n.d(e,"\u0275NG_PIPE_DEF",(function(){return tt})),n.d(e,"\u0275NG_PROV_DEF",(function(){return R})),n.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return v_})),n.d(e,"\u0275NO_CHANGE",(function(){return ps})),n.d(e,"\u0275NgModuleFactory",(function(){return V_})),n.d(e,"\u0275NoopNgZone",(function(){return Sv})),n.d(e,"\u0275ReflectionCapabilities",(function(){return Zc})),n.d(e,"\u0275Render3ComponentFactory",(function(){return T_})),n.d(e,"\u0275Render3ComponentRef",(function(){return j_})),n.d(e,"\u0275Render3NgModuleRef",(function(){return L_})),n.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return Uc})),n.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return Db})),n.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return Tb})),n.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return au})),n.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return Pb})),n.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",(function(){return jb})),n.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return em})),n.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",(function(){return tv})),n.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return sm})),n.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return km})),n.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return jm})),n.d(e,"\u0275_sanitizeHtml",(function(){return ko})),n.d(e,"\u0275_sanitizeUrl",(function(){return oo})),n.d(e,"\u0275allowSanitizationBypassAndThrow",(function(){return Hi})),n.d(e,"\u0275and",(function(){return Mw})),n.d(e,"\u0275angular_packages_core_core_a",(function(){return H})),n.d(e,"\u0275angular_packages_core_core_b",(function(){return At})),n.d(e,"\u0275angular_packages_core_core_ba",(function(){return ir})),n.d(e,"\u0275angular_packages_core_core_bb",(function(){return cr})),n.d(e,"\u0275angular_packages_core_core_bc",(function(){return _r})),n.d(e,"\u0275angular_packages_core_core_bd",(function(){return Mr})),n.d(e,"\u0275angular_packages_core_core_bf",(function(){return Q_})),n.d(e,"\u0275angular_packages_core_core_bg",(function(){return J_})),n.d(e,"\u0275angular_packages_core_core_bh",(function(){return X_})),n.d(e,"\u0275angular_packages_core_core_bi",(function(){return ty})),n.d(e,"\u0275angular_packages_core_core_bj",(function(){return ey})),n.d(e,"\u0275angular_packages_core_core_bk",(function(){return Po})),n.d(e,"\u0275angular_packages_core_core_bl",(function(){return f})),n.d(e,"\u0275angular_packages_core_core_bm",(function(){return m})),n.d(e,"\u0275angular_packages_core_core_bn",(function(){return E})),n.d(e,"\u0275angular_packages_core_core_bp",(function(){return gs})),n.d(e,"\u0275angular_packages_core_core_bq",(function(){return jf})),n.d(e,"\u0275angular_packages_core_core_c",(function(){return Lt})),n.d(e,"\u0275angular_packages_core_core_d",(function(){return Wu})),n.d(e,"\u0275angular_packages_core_core_e",(function(){return Mu})),n.d(e,"\u0275angular_packages_core_core_f",(function(){return Bu})),n.d(e,"\u0275angular_packages_core_core_g",(function(){return Ub})),n.d(e,"\u0275angular_packages_core_core_h",(function(){return Pc})),n.d(e,"\u0275angular_packages_core_core_i",(function(){return Fc})),n.d(e,"\u0275angular_packages_core_core_j",(function(){return Wv})),n.d(e,"\u0275angular_packages_core_core_k",(function(){return iw})),n.d(e,"\u0275angular_packages_core_core_l",(function(){return ow})),n.d(e,"\u0275angular_packages_core_core_m",(function(){return ww})),n.d(e,"\u0275angular_packages_core_core_n",(function(){return dm})),n.d(e,"\u0275angular_packages_core_core_o",(function(){return ym})),n.d(e,"\u0275angular_packages_core_core_p",(function(){return Iw})),n.d(e,"\u0275angular_packages_core_core_q",(function(){return kw})),n.d(e,"\u0275angular_packages_core_core_r",(function(){return Dw})),n.d(e,"\u0275angular_packages_core_core_s",(function(){return jw})),n.d(e,"\u0275angular_packages_core_core_t",(function(){return Aw})),n.d(e,"\u0275angular_packages_core_core_u",(function(){return Rp})),n.d(e,"\u0275angular_packages_core_core_v",(function(){return p_})),n.d(e,"\u0275angular_packages_core_core_w",(function(){return Hm})),n.d(e,"\u0275angular_packages_core_core_x",(function(){return jn})),n.d(e,"\u0275angular_packages_core_core_y",(function(){return D_})),n.d(e,"\u0275angular_packages_core_core_z",(function(){return gi})),n.d(e,"\u0275bypassSanitizationTrustHtml",(function(){return Gi})),n.d(e,"\u0275bypassSanitizationTrustResourceUrl",(function(){return Zi})),n.d(e,"\u0275bypassSanitizationTrustScript",(function(){return Wi})),n.d(e,"\u0275bypassSanitizationTrustStyle",(function(){return qi})),n.d(e,"\u0275bypassSanitizationTrustUrl",(function(){return Yi})),n.d(e,"\u0275ccf",(function(){return zg})),n.d(e,"\u0275clearOverrides",(function(){return cS})),n.d(e,"\u0275clearResolutionOfComponentResourcesQueue",(function(){return il})),n.d(e,"\u0275cmf",(function(){return uS})),n.d(e,"\u0275compileComponent",(function(){return ob})),n.d(e,"\u0275compileDirective",(function(){return sb})),n.d(e,"\u0275compileNgModule",(function(){return $y})),n.d(e,"\u0275compileNgModuleDefs",(function(){return Gy})),n.d(e,"\u0275compileNgModuleFactory__POST_R3__",(function(){return Tv})),n.d(e,"\u0275compilePipe",(function(){return vb})),n.d(e,"\u0275createInjector",(function(){return mu})),n.d(e,"\u0275crt",(function(){return Qm})),n.d(e,"\u0275defaultIterableDiffers",(function(){return Em})),n.d(e,"\u0275defaultKeyValueDiffers",(function(){return xm})),n.d(e,"\u0275detectChanges",(function(){return al})),n.d(e,"\u0275devModeEqual",(function(){return Hl})),n.d(e,"\u0275did",(function(){return l_})),n.d(e,"\u0275eld",(function(){return Nw})),n.d(e,"\u0275findLocaleData",(function(){return Ep})),n.d(e,"\u0275flushModuleScopingQueueAsMuchAsPossible",(function(){return zy})),n.d(e,"\u0275getComponentViewDefinitionFactory",(function(){return Hg})),n.d(e,"\u0275getDebugNodeR2",(function(){return Cw})),n.d(e,"\u0275getDebugNode__POST_R3__",(function(){return bw})),n.d(e,"\u0275getDirectives",(function(){return fl})),n.d(e,"\u0275getHostElement",(function(){return _l})),n.d(e,"\u0275getInjectableDef",(function(){return T})),n.d(e,"\u0275getLContext",(function(){return Wo})),n.d(e,"\u0275getLocaleCurrencyCode",(function(){return xp})),n.d(e,"\u0275getLocalePluralCase",(function(){return Ip})),n.d(e,"\u0275getModuleFactory__POST_R3__",(function(){return Yv})),n.d(e,"\u0275getSanitizationBypassType",(function(){return $i})),n.d(e,"\u0275global",(function(){return W})),n.d(e,"\u0275initServicesIfNeeded",(function(){return SC})),n.d(e,"\u0275inlineInterpolate",(function(){return Eg})),n.d(e,"\u0275interpolate",(function(){return Og})),n.d(e,"\u0275isBoundToModule__POST_R3__",(function(){return Rv})),n.d(e,"\u0275isDefaultChangeDetectionStrategy",(function(){return re})),n.d(e,"\u0275isListLikeIterable",(function(){return Gl})),n.d(e,"\u0275isObservable",(function(){return Nd})),n.d(e,"\u0275isPromise",(function(){return Md})),n.d(e,"\u0275ivyEnabled",(function(){return ev})),n.d(e,"\u0275makeDecorator",(function(){return h})),n.d(e,"\u0275markDirty",(function(){return cl})),n.d(e,"\u0275mod",(function(){return Mg})),n.d(e,"\u0275mpd",(function(){return Rg})),n.d(e,"\u0275ncd",(function(){return Gw})),n.d(e,"\u0275noSideEffects",(function(){return c})),n.d(e,"\u0275nov",(function(){return t_})),n.d(e,"\u0275overrideComponentView",(function(){return aS})),n.d(e,"\u0275overrideProvider",(function(){return sS})),n.d(e,"\u0275pad",(function(){return Yw})),n.d(e,"\u0275patchComponentDefWithScope",(function(){return tb})),n.d(e,"\u0275pid",(function(){return d_})),n.d(e,"\u0275pod",(function(){return Zw})),n.d(e,"\u0275ppd",(function(){return Ww})),n.d(e,"\u0275prd",(function(){return h_})),n.d(e,"\u0275publishDefaultGlobalUtils",(function(){return Ol})),n.d(e,"\u0275publishGlobalUtil",(function(){return El})),n.d(e,"\u0275qud",(function(){return Bw})),n.d(e,"\u0275registerLocaleData",(function(){return Op})),n.d(e,"\u0275registerModuleFactory",(function(){return M_})),n.d(e,"\u0275registerNgModuleType",(function(){return P_})),n.d(e,"\u0275renderComponent",(function(){return xl})),n.d(e,"\u0275resetCompiledComponents",(function(){return Qy})),n.d(e,"\u0275resetJitOptions",(function(){return Ly})),n.d(e,"\u0275resolveComponentResources",(function(){return tl})),n.d(e,"\u0275setClassMetadata",(function(){return A_})),n.d(e,"\u0275setCurrentInjector",(function(){return Tt})),n.d(e,"\u0275setDocument",(function(){return Bn})),n.d(e,"\u0275setLocaleId",(function(){return Fp})),n.d(e,"\u0275store",(function(){return bd})),n.d(e,"\u0275stringify",(function(){return L})),n.d(e,"\u0275ted",(function(){return Qw})),n.d(e,"\u0275transitiveScopesFor",(function(){return eb})),n.d(e,"\u0275unregisterLocaleData",(function(){return Dp})),n.d(e,"\u0275unv",(function(){return Ym})),n.d(e,"\u0275unwrapSafeValue",(function(){return zi})),n.d(e,"\u0275vid",(function(){return tC})),n.d(e,"\u0275whenRendered",(function(){return jl})),n.d(e,"\u0275\u0275CopyDefinitionFeature",(function(){return Bl})),n.d(e,"\u0275\u0275InheritDefinitionFeature",(function(){return Rl})),n.d(e,"\u0275\u0275NgOnChangesFeature",(function(){return Tn})),n.d(e,"\u0275\u0275ProvidersFeature",(function(){return qf})),n.d(e,"\u0275\u0275advance",(function(){return vs})),n.d(e,"\u0275\u0275attribute",(function(){return Xl})),n.d(e,"\u0275\u0275attributeInterpolate1",(function(){return ud})),n.d(e,"\u0275\u0275attributeInterpolate2",(function(){return ld})),n.d(e,"\u0275\u0275attributeInterpolate3",(function(){return dd})),n.d(e,"\u0275\u0275attributeInterpolate4",(function(){return hd})),n.d(e,"\u0275\u0275attributeInterpolate5",(function(){return pd})),n.d(e,"\u0275\u0275attributeInterpolate6",(function(){return fd})),n.d(e,"\u0275\u0275attributeInterpolate7",(function(){return md})),n.d(e,"\u0275\u0275attributeInterpolate8",(function(){return gd})),n.d(e,"\u0275\u0275attributeInterpolateV",(function(){return _d})),n.d(e,"\u0275\u0275classMap",(function(){return Ch})),n.d(e,"\u0275\u0275classMapInterpolate1",(function(){return qh})),n.d(e,"\u0275\u0275classMapInterpolate2",(function(){return Wh})),n.d(e,"\u0275\u0275classMapInterpolate3",(function(){return Yh})),n.d(e,"\u0275\u0275classMapInterpolate4",(function(){return Zh})),n.d(e,"\u0275\u0275classMapInterpolate5",(function(){return Kh})),n.d(e,"\u0275\u0275classMapInterpolate6",(function(){return Qh})),n.d(e,"\u0275\u0275classMapInterpolate7",(function(){return Jh})),n.d(e,"\u0275\u0275classMapInterpolate8",(function(){return Xh})),n.d(e,"\u0275\u0275classMapInterpolateV",(function(){return tp})),n.d(e,"\u0275\u0275classProp",(function(){return bh})),n.d(e,"\u0275\u0275contentQuery",(function(){return Iy})),n.d(e,"\u0275\u0275defineComponent",(function(){return ae})),n.d(e,"\u0275\u0275defineDirective",(function(){return me})),n.d(e,"\u0275\u0275defineInjectable",(function(){return I})),n.d(e,"\u0275\u0275defineInjector",(function(){return D})),n.d(e,"\u0275\u0275defineNgModule",(function(){return he})),n.d(e,"\u0275\u0275definePipe",(function(){return ge})),n.d(e,"\u0275\u0275directiveInject",(function(){return wd})),n.d(e,"\u0275\u0275disableBindings",(function(){return ar})),n.d(e,"\u0275\u0275element",(function(){return Dd})),n.d(e,"\u0275\u0275elementContainer",(function(){return Ad})),n.d(e,"\u0275\u0275elementContainerEnd",(function(){return jd})),n.d(e,"\u0275\u0275elementContainerStart",(function(){return Td})),n.d(e,"\u0275\u0275elementEnd",(function(){return kd})),n.d(e,"\u0275\u0275elementStart",(function(){return Id})),n.d(e,"\u0275\u0275enableBindings",(function(){return sr})),n.d(e,"\u0275\u0275getCurrentView",(function(){return Rd})),n.d(e,"\u0275\u0275getFactoryOf",(function(){return Ei})),n.d(e,"\u0275\u0275getInheritedFactory",(function(){return xi})),n.d(e,"\u0275\u0275hostProperty",(function(){return bp})),n.d(e,"\u0275\u0275i18n",(function(){return Mf})),n.d(e,"\u0275\u0275i18nApply",(function(){return Ff})),n.d(e,"\u0275\u0275i18nAttributes",(function(){return Nf})),n.d(e,"\u0275\u0275i18nEnd",(function(){return Rf})),n.d(e,"\u0275\u0275i18nExp",(function(){return Pf})),n.d(e,"\u0275\u0275i18nPostprocess",(function(){return Lf})),n.d(e,"\u0275\u0275i18nStart",(function(){return Af})),n.d(e,"\u0275\u0275inject",(function(){return Rt})),n.d(e,"\u0275\u0275injectAttribute",(function(){return Cd})),n.d(e,"\u0275\u0275injectPipeChangeDetectorRef",(function(){return Ny})),n.d(e,"\u0275\u0275invalidFactory",(function(){return Sd})),n.d(e,"\u0275\u0275invalidFactoryDep",(function(){return Mt})),n.d(e,"\u0275\u0275listener",(function(){return Pd})),n.d(e,"\u0275\u0275loadQuery",(function(){return Ty})),n.d(e,"\u0275\u0275namespaceHTML",(function(){return Br})),n.d(e,"\u0275\u0275namespaceMathML",(function(){return Vr})),n.d(e,"\u0275\u0275namespaceSVG",(function(){return Lr})),n.d(e,"\u0275\u0275nextContext",(function(){return Ud})),n.d(e,"\u0275\u0275pipe",(function(){return ny})),n.d(e,"\u0275\u0275pipeBind1",(function(){return ry})),n.d(e,"\u0275\u0275pipeBind2",(function(){return iy})),n.d(e,"\u0275\u0275pipeBind3",(function(){return oy})),n.d(e,"\u0275\u0275pipeBind4",(function(){return sy})),n.d(e,"\u0275\u0275pipeBindV",(function(){return ay})),n.d(e,"\u0275\u0275projection",(function(){return qd})),n.d(e,"\u0275\u0275projectionDef",(function(){return Hd})),n.d(e,"\u0275\u0275property",(function(){return Od})),n.d(e,"\u0275\u0275propertyInterpolate",(function(){return Wd})),n.d(e,"\u0275\u0275propertyInterpolate1",(function(){return Yd})),n.d(e,"\u0275\u0275propertyInterpolate2",(function(){return Zd})),n.d(e,"\u0275\u0275propertyInterpolate3",(function(){return Kd})),n.d(e,"\u0275\u0275propertyInterpolate4",(function(){return Qd})),n.d(e,"\u0275\u0275propertyInterpolate5",(function(){return Jd})),n.d(e,"\u0275\u0275propertyInterpolate6",(function(){return Xd})),n.d(e,"\u0275\u0275propertyInterpolate7",(function(){return th})),n.d(e,"\u0275\u0275propertyInterpolate8",(function(){return eh})),n.d(e,"\u0275\u0275propertyInterpolateV",(function(){return nh})),n.d(e,"\u0275\u0275pureFunction0",(function(){return B_})),n.d(e,"\u0275\u0275pureFunction1",(function(){return U_})),n.d(e,"\u0275\u0275pureFunction2",(function(){return z_})),n.d(e,"\u0275\u0275pureFunction3",(function(){return H_})),n.d(e,"\u0275\u0275pureFunction4",(function(){return $_})),n.d(e,"\u0275\u0275pureFunction5",(function(){return G_})),n.d(e,"\u0275\u0275pureFunction6",(function(){return q_})),n.d(e,"\u0275\u0275pureFunction7",(function(){return W_})),n.d(e,"\u0275\u0275pureFunction8",(function(){return Y_})),n.d(e,"\u0275\u0275pureFunctionV",(function(){return Z_})),n.d(e,"\u0275\u0275queryRefresh",(function(){return Sy})),n.d(e,"\u0275\u0275reference",(function(){return vd})),n.d(e,"\u0275\u0275resolveBody",(function(){return wn})),n.d(e,"\u0275\u0275resolveDocument",(function(){return vn})),n.d(e,"\u0275\u0275resolveWindow",(function(){return bn})),n.d(e,"\u0275\u0275restoreView",(function(){return lr})),n.d(e,"\u0275\u0275sanitizeHtml",(function(){return jo})),n.d(e,"\u0275\u0275sanitizeResourceUrl",(function(){return Mo})),n.d(e,"\u0275\u0275sanitizeScript",(function(){return No})),n.d(e,"\u0275\u0275sanitizeStyle",(function(){return Ao})),n.d(e,"\u0275\u0275sanitizeUrl",(function(){return Ro})),n.d(e,"\u0275\u0275sanitizeUrlOrResourceUrl",(function(){return Fo})),n.d(e,"\u0275\u0275setComponentScope",(function(){return ce})),n.d(e,"\u0275\u0275setNgModuleScope",(function(){return pe})),n.d(e,"\u0275\u0275staticContentQuery",(function(){return ky})),n.d(e,"\u0275\u0275staticViewQuery",(function(){return Oy})),n.d(e,"\u0275\u0275styleMap",(function(){return vh})),n.d(e,"\u0275\u0275styleMapInterpolate1",(function(){return ep})),n.d(e,"\u0275\u0275styleMapInterpolate2",(function(){return np})),n.d(e,"\u0275\u0275styleMapInterpolate3",(function(){return rp})),n.d(e,"\u0275\u0275styleMapInterpolate4",(function(){return ip})),n.d(e,"\u0275\u0275styleMapInterpolate5",(function(){return op})),n.d(e,"\u0275\u0275styleMapInterpolate6",(function(){return sp})),n.d(e,"\u0275\u0275styleMapInterpolate7",(function(){return ap})),n.d(e,"\u0275\u0275styleMapInterpolate8",(function(){return cp})),n.d(e,"\u0275\u0275styleMapInterpolateV",(function(){return up})),n.d(e,"\u0275\u0275styleProp",(function(){return yh})),n.d(e,"\u0275\u0275stylePropInterpolate1",(function(){return lp})),n.d(e,"\u0275\u0275stylePropInterpolate2",(function(){return dp})),n.d(e,"\u0275\u0275stylePropInterpolate3",(function(){return hp})),n.d(e,"\u0275\u0275stylePropInterpolate4",(function(){return pp})),n.d(e,"\u0275\u0275stylePropInterpolate5",(function(){return fp})),n.d(e,"\u0275\u0275stylePropInterpolate6",(function(){return mp})),n.d(e,"\u0275\u0275stylePropInterpolate7",(function(){return gp})),n.d(e,"\u0275\u0275stylePropInterpolate8",(function(){return _p})),n.d(e,"\u0275\u0275stylePropInterpolateV",(function(){return yp})),n.d(e,"\u0275\u0275syntheticHostListener",(function(){return Fd})),n.d(e,"\u0275\u0275syntheticHostProperty",(function(){return vp})),n.d(e,"\u0275\u0275template",(function(){return yd})),n.d(e,"\u0275\u0275templateRefExtractor",(function(){return My})),n.d(e,"\u0275\u0275text",(function(){return Nh})),n.d(e,"\u0275\u0275textInterpolate",(function(){return Ph})),n.d(e,"\u0275\u0275textInterpolate1",(function(){return Fh})),n.d(e,"\u0275\u0275textInterpolate2",(function(){return Lh})),n.d(e,"\u0275\u0275textInterpolate3",(function(){return Vh})),n.d(e,"\u0275\u0275textInterpolate4",(function(){return Bh})),n.d(e,"\u0275\u0275textInterpolate5",(function(){return Uh})),n.d(e,"\u0275\u0275textInterpolate6",(function(){return zh})),n.d(e,"\u0275\u0275textInterpolate7",(function(){return Hh})),n.d(e,"\u0275\u0275textInterpolate8",(function(){return $h})),n.d(e,"\u0275\u0275textInterpolateV",(function(){return Gh})),n.d(e,"\u0275\u0275viewQuery",(function(){return Ey}));var r=n(13),i=n(20),o=n(10),s=n(130),a=n(433);function c(t){return{toString:t}.toString()}const u="__annotations__",l="__parameters__",d="__prop__metadata__";function h(t,e,n,r,i){return c((()=>{const o=p(e);function s(...t){if(this instanceof s)return o.call(this,...t),this;const e=new s(...t);return function(n){i&&i(n,...t);return(n.hasOwnProperty(u)?n[u]:Object.defineProperty(n,u,{value:[]})[u]).push(e),r&&r(n),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}))}function p(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function f(t,e,n){return c((()=>{const r=p(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(l)?t[l]:Object.defineProperty(t,l,{value:[]})[l];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}))}function m(t,e,n,r){return c((()=>{const i=p(e);function o(...t){if(this instanceof o)return i.apply(this,t),this;const e=new o(...t);return function(n,i){const o=n.constructor,s=o.hasOwnProperty(d)?o[d]:Object.defineProperty(o,d,{value:{}})[d];s[i]=s.hasOwnProperty(i)&&s[i]||[],s[i].unshift(e),r&&r(n,i,...t)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}))}const g=t=>({token:t}),_=f("Inject",g),y=f("Optional"),b=f("Self"),v=f("SkipSelf"),w=f("Host"),C=t=>({attributeName:t}),S=f("Attribute",C);var O;function E(t){for(let e in t)if(t[e]===E)return e;throw Error("Could not find renamed property on target object.")}function x(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}!function(t){t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional"}(O||(O={}));const k=I;function D(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function T(t){return j(t,t[R])||j(t,t[P])}function j(t,e){return e&&e.token===t?e:null}function A(t){return t&&(t.hasOwnProperty(M)||t.hasOwnProperty(F))?t[M]:null}const R=E({"\u0275prov":E}),M=E({"\u0275inj":E}),N=E({"\u0275provFallback":E}),P=E({ngInjectableDef:E}),F=E({ngInjectorDef:E});function L(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(L).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function V(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const B=E({__forward_ref__:E});function U(t){return t.__forward_ref__=U,t.toString=function(){return L(this())},t}function z(t){return H(t)?t():t}function H(t){return"function"==typeof t&&t.hasOwnProperty(B)&&t.__forward_ref__===U}const $="undefined"!=typeof globalThis&&globalThis,G="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,W=$||void 0!==t&&t||G||q;var Y,Z,K;function Q(){const t=W.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}!function(t){t[t.Token=0]="Token",t[t.Attribute=1]="Attribute",t[t.ChangeDetectorRef=2]="ChangeDetectorRef",t[t.Invalid=3]="Invalid"}(Y||(Y={})),function(t){t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule"}(Z||(Z={})),function(t){t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(K||(K={}));const J=E({"\u0275cmp":E}),X=E({"\u0275dir":E}),tt=E({"\u0275pipe":E}),et=E({"\u0275mod":E}),nt=E({"\u0275loc":E}),rt=E({"\u0275fac":E}),it=E({__NG_ELEMENT_ID__:E});function ot(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&function(){const t="undefined"!=typeof location?location.toString():"",e={namedConstructors:-1!=t.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===t.indexOf("ngDevMode=false");W.ngDevMode=n&&e}(),"undefined"!=typeof ngDevMode&&!!ngDevMode)}function st(t,e){"number"!=typeof t&&_t(e,typeof t,"number","===")}function at(t,e,n){st(t,"Expected a number"),ft(t,n,"Expected number to be less than or equal to"),function(t,e,n){t>=e||_t(n,t,e,">=")}(t,e,"Expected number to be greater than or equal to")}function ct(t,e){"string"!=typeof t&&_t(e,null===t?"null":typeof t,"string","===")}function ut(t,e,n){t!=e&&_t(n,t,e,"==")}function lt(t,e,n){t==e&&_t(n,t,e,"!=")}function dt(t,e,n){t!==e&&_t(n,t,e,"===")}function ht(t,e,n){t===e&&_t(n,t,e,"!==")}function pt(t,e,n){t<e||_t(n,t,e,"<")}function ft(t,e,n){t<=e||_t(n,t,e,"<=")}function mt(t,e,n){t>e||_t(n,t,e,">")}function gt(t,e){null==t&&_t(e,t,null,"!=")}function _t(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function yt(t){ut("undefined"!=typeof Node&&t instanceof Node||"object"==typeof t&&null!=t&&"WebWorkerRenderNode"===t.constructor.name,!0,`The provided value must be an instance of a DOM Node but got ${L(t)}`)}function bt(t,e){const n=t?t.length:0;pt(e,n,`Index expected to be less than ${n} but got ${e}`)}class vt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=I({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const wt=new vt("INJECTOR",-1),Ct={},St="ngTempTokenPath",Ot=/\n/gm,Et="\u0275",xt="__source",It=E({provide:String,useValue:E});let kt,Dt;function Tt(t){const e=kt;return kt=t,e}function jt(t){const e=Dt;return Dt=t,e}function At(t,e=O.Default){if(void 0===kt)throw new Error("inject() must be called from an injection context");return null===kt?Pt(t,void 0,e):kt.get(t,e&O.Optional?null:void 0,e)}function Rt(t,e=O.Default){return(Dt||At)(z(t),e)}function Mt(t){const e=ngDevMode?`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${t} 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 ${t} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`:"invalid";throw new Error(e)}const Nt=Rt;function Pt(t,e,n){const r=T(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&O.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${L(t)}]`)}function Ft(t){const e=[];for(let n=0;n<t.length;n++){const r=z(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t,n=O.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof y||"Optional"===i.ngMetadataName||i===y?n|=O.Optional:i instanceof v||"SkipSelf"===i.ngMetadataName||i===v?n|=O.SkipSelf:i instanceof b||"Self"===i.ngMetadataName||i===b?n|=O.Self:t=i instanceof _||i===_?i.token:i}e.push(Rt(t,n))}else e.push(Rt(r))}return e}class Lt{get(t,e=Ct){if(e===Ct){const e=new Error(`NullInjectorError: No provider for ${L(t)}!`);throw e.name="NullInjectorError",e}return e}}function Vt(t,e,n,r){const i=t[St];throw e[xt]&&i.unshift(e[xt]),t.message=Bt("\n"+t.message,i,n,r),t.ngTokenPath=i,t[St]=null,t}function Bt(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Et?t.substr(2):t;let i=L(e);if(Array.isArray(e))i=e.map(L).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):L(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(Ot,"\n ")}`}const Ut={"\u0275\u0275defineInjectable":I,"\u0275\u0275defineInjector":D,"\u0275\u0275inject":Rt,"\u0275\u0275getFactoryOf":function t(e){const n=e;if(H(e))return()=>{const e=t(z(n));return e?e():null};const r=T(n)||A(n);if(!r||void 0===r.factory)return null;return r.factory},"\u0275\u0275invalidFactoryDep":Mt};class zt{}class Ht{}function $t(t,e){for(let n=0;n<t.length;n++)e.push(t[n])}function Gt(t,e){void 0===e&&(e=t);for(let n=0;n<t.length;n++){let r=t[n];Array.isArray(r)?(e===t&&(e=t.slice(0,n)),Gt(r,e)):e!==t&&e.push(r)}return e}function qt(t,e){t.forEach((t=>Array.isArray(t)?qt(t,e):e(t)))}function Wt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Yt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Zt(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function Kt(t,e,n){let r=Jt(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){ngDevMode&&ft(e,t.length,"Can't insert past array end.");let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;){const e=i-2;t[i]=t[e],i--}t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Qt(t,e){const n=Jt(t,e);if(n>=0)return t[1|n]}function Jt(t,e){return Xt(t,e,1)}function Xt(t,e,n){ngDevMode&&ut(Array.isArray(t),!0,"Expecting an array");let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<<n];if(e===s)return o<<n;s>e?i=o:r=o+1}return~(i<<n)}var te,ee,ne;function re(t){return null==t||t===te.Default}!function(t){t[t.OnPush=0]="OnPush",t[t.Default=1]="Default"}(te||(te={})),function(t){t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed"}(ee||(ee={})),function(t){t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(ne||(ne={}));const ie={},oe=[];("undefined"==typeof ngDevMode||ngDevMode)&&ot()&&(Object.freeze(ie),Object.freeze(oe));let se=0;function ae(t){return c((()=>{("undefined"==typeof ngDevMode||ngDevMode)&&ot();const e=t.type,n=(e.prototype,{}),r={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===te.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||oe,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ne.Emulated,id:"c",styles:t.styles||oe,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,s=t.pipes;return r.id+=se++,r.inputs=fe(t.inputs,n),r.outputs=fe(t.outputs),o&&o.forEach((t=>t(r))),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(ue):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(le):null,r}))}function ce(t,e,n){const r=t.\u0275cmp;r.directiveDefs=()=>e.map(ue),r.pipeDefs=()=>n.map(le)}function ue(t){const e=_e(t)||ye(t);if(ngDevMode&&!e)throw new Error(`'${t.name}' is neither 'ComponentType' or 'DirectiveType'.`);return e}function le(t){const e=be(t);if(ngDevMode&&!e)throw new Error(`'${t.name}' is not a 'PipeType'.`);return e}const de={};function he(t){const e={type:t.type,bootstrap:t.bootstrap||oe,declarations:t.declarations||oe,imports:t.imports||oe,exports:t.exports||oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&c((()=>{de[t.id]=t.type})),e}function pe(t,e){return c((()=>{const n=we(t,!0);n.declarations=e.declarations||oe,n.imports=e.imports||oe,n.exports=e.exports||oe}))}function fe(t,e){if(null==t)return ie;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const me=ae;function ge(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function _e(t){return t[J]||null}function ye(t){return t[X]||null}function be(t){return t[tt]||null}function ve(t,e){const n=t.hasOwnProperty(rt);if(!n&&!0===e&&ngDevMode)throw new Error(`Type ${L(t)} does not have '\u0275fac' property.`);return n?t[rt]:null}function we(t,e){const n=t[et]||null;if(!n&&!0===e)throw new Error(`Type ${L(t)} does not have '\u0275mod' property.`);return n}const Ce=0,Se=1,Oe=2,Ee=3,xe=4,Ie=5,ke=6,De=7,Te=8,je=9,Ae=10,Re=11,Me=12,Ne=13,Pe=14,Fe=15,Le=16,Ve=17,Be=18,Ue=19,ze=20,He=["Root","Component","Embedded"],$e=1,Ge=2,qe=7,We=8,Ye=9,Ze=10;function Ke(t){return Array.isArray(t)&&"object"==typeof t[$e]}function Qe(t){return Array.isArray(t)&&!0===t[$e]}function Je(t){return 0!=(8&t.flags)}function Xe(t){return 2==(2&t.flags)}function tn(t){return 1==(1&t.flags)}function en(t){return null!==t.template}function nn(t){return 0!=(512&t[Oe])}function rn(t,e){on(t,e[Se])}function on(t,e){gt(t,"TNode must be defined"),t.hasOwnProperty("tView_")&&ut(t.tView_,e,"This TNode does not belong to this TView.")}function sn(t,e="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){_e(t)||_t(e)}function an(t){gt(t,"currentTNode should exist!"),gt(t.parent,"currentTNode should have a parent")}function cn(t){gt(t,"LContainer must be defined"),ut(Qe(t),!0,"Expecting LContainer")}function un(t){t&&ut(Ke(t),!0,"Expecting LView or undefined or null")}function ln(t){gt(t,"LView must be defined"),ut(Ke(t),!0,"Expecting LView")}function dn(t,e){ut(t.firstCreatePass,!0,e||"Should only be called in first create pass.")}function hn(t,e){ut(t.firstUpdatePass,!0,e||"Should only be called in first update pass.")}function pn(t,e){fn(t[1].expandoStartIndex,t.length,e)}function fn(t,e,n){t<=n&&n<e||_t(`Index out of range (expecting ${t} <= ${n} < ${e})`)}function mn(t,e){pn(t,e),pn(t,e+8),st(t[e+0],"injectorIndex should point to a bloom filter"),st(t[e+1],"injectorIndex should point to a bloom filter"),st(t[e+2],"injectorIndex should point to a bloom filter"),st(t[e+3],"injectorIndex should point to a bloom filter"),st(t[e+4],"injectorIndex should point to a bloom filter"),st(t[e+5],"injectorIndex should point to a bloom filter"),st(t[e+6],"injectorIndex should point to a bloom filter"),st(t[e+7],"injectorIndex should point to a bloom filter"),st(t[e+8],"injectorIndex should point to parent injector")}function gn(t){return"string"==typeof t?t:null==t?"":""+t}function _n(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():gn(t)}const yn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W);function bn(t){return{name:"window",target:t.ownerDocument.defaultView}}function vn(t){return{name:"document",target:t.ownerDocument}}function wn(t){return{name:"body",target:t.ownerDocument.body}}const Cn="\ufffd";function Sn(t){return t instanceof Function?t():t}function On(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new Error(`Circular dependency in DI detected for ${t}${n}`)}function En(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function xn(){throw new Error("Cannot mix multi providers and regular providers")}function In(t,e,n,r,i){const[o,s,...a]=r.split(Cn);let c=s,u=s;for(let r=0;r<a.length;r++){const o=e+r;c+=`${t[o]}${a[r]}`,u+=`${o===n?i:t[o]}${a[r]}`}return{propName:o,oldValue:c,newValue:u}}function kn(t,e){const n=e?` in ${e}`:"";throw new Error(`No provider for ${_n(t)} found${n}`)}class Dn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Tn(){return jn}function jn(t){return t.type.prototype.ngOnChanges&&(t.setInput=Rn),An}function An(){const t=Nn(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===ie)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Rn(t,e,n,r){const i=Nn(t)||function(t,e){return t[Mn]=e}(t,{previous:ie,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],c=s[a];o[a]=new Dn(c&&c.currentValue,e,s===ie),t[r]=e}Tn.ngInherit=!0;const Mn="__ngSimpleChanges__";function Nn(t){return t[Mn]||null}const Pn="http://www.w3.org/2000/svg",Fn="http://www.w3.org/1998/MathML/",Ln="__ngContext__";let Vn;function Bn(t){Vn=t}function Un(){return void 0!==Vn?Vn:"undefined"!=typeof document?document:void 0}var zn;function Hn(t){return!!t.listen}!function(t){t[t.Important=1]="Important",t[t.DashCase=2]="DashCase"}(zn||(zn={}));const $n={createRenderer:(t,e)=>Un()};function Gn(t){for(;Array.isArray(t);)t=t[Ce];return t}function qn(t,e){return Gn(e[t+ze])}function Wn(t,e){ngDevMode&&rn(t,e),ngDevMode&&bt(e,t.index);const n=Gn(e[t.index]);return ngDevMode&&!Hn(e[Re])&&yt(n),n}function Yn(t,e){return ngDevMode&&mt(e,-1,"wrong index for TNode"),ngDevMode&&pt(e,t.data.length,"wrong index for TNode"),t.data[e+ze]}function Zn(t,e){return ngDevMode&&bt(t,e+ze),t[e+ze]}function Kn(t,e){ngDevMode&&bt(e,t);const n=e[t];return Ke(n)?n:n[Ce]}function Qn(t){return ngDevMode&>(t,"Target expected"),t[Ln]||null}function Jn(t){const e=Qn(t);return e?Array.isArray(e)?e:e.lView:null}function Xn(t){return 4==(4&t[Oe])}function tr(t){return 128==(128&t[Oe])}function er(t,e){return null===t||null==e?null:t[e]}function nr(t){t[Be]=0}function rr(t,e){t[Ie]+=e;let n=t,r=t[Ee];for(;null!==r&&(1===e&&1===n[Ie]||-1===e&&0===n[Ie]);)r[Ie]+=e,n=r,r=r[Ee]}const ir={lFrame:Tr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function or(){return ir.bindingsEnabled}function sr(){ir.bindingsEnabled=!0}function ar(){ir.bindingsEnabled=!1}function cr(){return ir.lFrame.lView}function ur(){return ir.lFrame.tView}function lr(t){ir.lFrame.contextLView=t}function dr(){return ir.lFrame.currentTNode}function hr(t,e){ngDevMode&&on(t,ir.lFrame.tView),ir.lFrame.currentTNode=t,ir.lFrame.isParent=e}function pr(){return ir.lFrame.isParent}function fr(){ir.lFrame.isParent=!1}function mr(){return ir.isInCheckNoChangesMode}function gr(t){ir.isInCheckNoChangesMode=t}function _r(){const t=ir.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function yr(){return ir.lFrame.bindingIndex}function br(t){return ir.lFrame.bindingIndex=t}function vr(){return ir.lFrame.bindingIndex++}function wr(t){const e=ir.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Cr(t,e){const n=ir.lFrame;n.bindingIndex=n.bindingRootIndex=t,Sr(e)}function Sr(t){ir.lFrame.currentDirectiveIndex=t}function Or(t){const e=ir.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Er(){return ir.lFrame.currentQueryIndex}function xr(t){ir.lFrame.currentQueryIndex=t}function Ir(t,e){ngDevMode&&un(t);const n=Dr();ir.lFrame=n,n.currentTNode=e,n.lView=t}function kr(t){ngDevMode&&un(t);const e=Dr();ngDevMode&&(ut(e.isParent,!0,"Expected clean LFrame"),ut(e.lView,null,"Expected clean LFrame"),ut(e.tView,null,"Expected clean LFrame"),ut(e.selectedIndex,0,"Expected clean LFrame"),ut(e.elementDepthCount,0,"Expected clean LFrame"),ut(e.currentDirectiveIndex,-1,"Expected clean LFrame"),ut(e.currentNamespace,null,"Expected clean LFrame"),ut(e.bindingRootIndex,-1,"Expected clean LFrame"),ut(e.currentQueryIndex,0,"Expected clean LFrame"));const n=t[Se];ir.lFrame=e,ngDevMode&&n.firstChild&&on(n.firstChild,n),e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex}function Dr(){const t=ir.lFrame,e=null===t?null:t.child;return null===e?Tr(t):e}function Tr(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function jr(){const t=ir.lFrame;return ir.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Ar=jr;function Rr(){const t=jr();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Mr(t){return(ir.lFrame.contextLView=function(t,e){for(;t>0;)ngDevMode&>(e[Fe],"Declaration view should be defined if nesting level is greater than 0."),e=e[Fe],t--;return e}(t,ir.lFrame.contextLView))[Te]}function Nr(){return ir.lFrame.selectedIndex}function Pr(t){ir.lFrame.selectedIndex=t}function Fr(){const t=ir.lFrame;return Yn(t.tView,t.selectedIndex)}function Lr(){ir.lFrame.currentNamespace=Pn}function Vr(){ir.lFrame.currentNamespace=Fn}function Br(){ir.lFrame.currentNamespace=null}function Ur(t,e){ngDevMode&&dn(t);for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),o&&(t.viewHooks||(t.viewHooks=[])).push(-n,o),s&&((t.viewHooks||(t.viewHooks=[])).push(n,s),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,s)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function zr(t,e,n){Gr(t,e,3,n)}function Hr(t,e,n,r){ngDevMode&<(n,3,"Init pre-order hooks should not be called more than once"),(3&t[Oe])===n&&Gr(t,e,n,r)}function $r(t,e){ngDevMode&<(e,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=t[Oe];(3&n)===e&&(n&=2047,n+=1,t[Oe]=n)}function Gr(t,e,n,r){ngDevMode&&ut(mr(),!1,"Hooks should never be run when in check no changes mode.");const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&t[Be]:0;s<e.length;s++){if("number"==typeof e[s+1]){if(o=e[s],null!=r&&o>=r)break}else{e[s]<0&&(t[Be]+=65536),(o<i||-1==i)&&(qr(t,n,e,s),t[Be]=(4294901760&t[Be])+s+2),s++}}}function qr(t,e,n,r){const i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];if(i){t[Oe]>>11<t[Be]>>16&&(3&t[Oe])===e&&(t[Oe]+=2048,o.call(s))}else o.call(s)}const Wr=-1;class Yr{constructor(t,e,n){this.factory=t,this.resolving=!1,ngDevMode&>(t,"Factory not specified"),ngDevMode&&ut(typeof t,"function","Expected factory function."),this.canSeeViewProviders=e,this.injectImpl=n}}const Zr=["Container","Projection","Element","ElementContainer","IcuContainer"];function Kr(t,e){gt(t,"should be called with a TNode"),ut(t.type,e,`should be a ${Jr(e)}`)}function Qr(t,e,n){gt(t,"should be called with a TNode");ut(e.some((e=>t.type===e)),!0,null!=n?n:`Should be one of ${e.map(Jr).join(", ")} but got ${Jr(t.type)}`)}function Jr(t){return Zr[t]||"<unknown>"}function Xr(t,e,n){const r=Hn(t);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],c=n[i++];ngDevMode&&ngDevMode.rendererSetAttribute++,r?t.setAttribute(e,a,c,s):e.setAttributeNS(s,a,c)}else{const s=o,a=n[++i];ngDevMode&&ngDevMode.rendererSetAttribute++,ei(s)?r&&t.setProperty(e,s,a):r?t.setAttribute(e,s,a):e.setAttribute(s,a),i++}}return i}function ti(t){return 3===t||4===t||6===t}function ei(t){return 64===t.charCodeAt(0)}function ni(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||ri(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function ri(t,e,n,r,i){let o=0,s=t.length;if(-1===e)s=-1;else for(;o<t.length;){const n=t[o++];if("number"==typeof n){if(n===e){s=-1;break}if(n>e){s=o-1;break}}}for(;o<t.length;){const e=t[o];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[o+1]=i));if(r===t[o+1])return void(t[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,n),null!==r&&t.splice(o++,0,r),null!==i&&t.splice(o++,0,i)}function ii(t){return t!==Wr}function oi(t){ngDevMode&&st(t,"Number expected"),ngDevMode&<(t,-1,"Not a valid state.");return ngDevMode&&mt(32767&t,ze,"Parent injector must be pointing past HEADER_OFFSET."),32767&t}function si(t,e){let n=t>>16;let r=e;for(;n>0;)r=r[Fe],n--;return r}let ai=!0;function ci(t){const e=ai;return ai=t,e}const ui=255;let li=0;function di(t,e){const n=pi(t,e);if(-1!==n)return n;const r=e[Se];r.firstCreatePass&&(t.injectorIndex=e.length,hi(r.data,t),hi(e,null),hi(r.blueprint,null));const i=fi(t,e),o=t.injectorIndex;if(ii(i)){const t=oi(i),n=si(i,e),r=n[Se].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function hi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function pi(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:(ngDevMode&&bt(e,t.injectorIndex),t.injectorIndex)}function fi(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const t=i[Se],e=t.type;if(2===e?(ngDevMode&>(t.declTNode,"Embedded TNodes should have declaration parents."),r=t.declTNode):1===e?r=i[ke]:(ngDevMode&&ut(t.type,0,"Root type expected"),r=null),null===r)return Wr;if(ngDevMode&&r&&rn(r,i[Fe]),n++,i=i[Fe],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Wr}function mi(t,e,n){!function(t,e,n){let r;ngDevMode&&ut(e.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(it)&&(r=n[it]),null==r&&(r=n[it]=li++);const i=r&ui,o=1<<i,s=128&i,a=64&i,c=32&i,u=e.data;s?a?c?u[t+7]|=o:u[t+6]|=o:c?u[t+5]|=o:u[t+4]|=o:a?c?u[t+3]|=o:u[t+2]|=o:c?u[t+1]|=o:u[t]|=o}(t,e,n)}function gi(t,e){if(ngDevMode&&Qr(t,[0,2,3]),ngDevMode&>(t,"expecting tNode"),"class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const i=n[r];if(ti(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}function _i(t,e,n,r=O.Default,i){if(null!==t){const i=function(t){if(ngDevMode&>(t,"token must be defined"),"string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(it)?t[it]:void 0;return"number"==typeof e&&e>0?e&ui:e}(n);if("function"==typeof i){Ir(e,t);try{const t=i();if(null!=t||r&O.Optional)return t;kn(n)}finally{Ar()}}else if("number"==typeof i){if(-1===i)return new Oi(t,e);let o=null,s=pi(t,e),a=Wr,c=r&O.Host?e[Le][ke]:null;for((-1===s||r&O.SkipSelf)&&(a=-1===s?fi(t,e):e[s+8],a!==Wr&&Si(r,!1)?(o=e[Se],s=oi(a),e=si(a,e)):s=-1);-1!==s;){ngDevMode&&mn(e,s);const t=e[Se];if(ngDevMode&&rn(t.data[s+8],e),Ci(i,s,t.data)){const t=bi(s,e,n,o,r,c);if(t!==yi)return t}a=e[s+8],a!==Wr&&Si(r,e[Se].data[s+8]===c)&&Ci(i,s,e)?(o=t,s=oi(a),e=si(a,e)):s=-1}}}if(r&O.Optional&&void 0===i&&(i=null),0==(r&(O.Self|O.Host))){const t=e[je],o=jt(void 0);try{return t?t.get(n,i,r&O.Optional):Pt(n,i,r&O.Optional)}finally{jt(o)}}if(r&O.Optional)return i;kn(n,"NodeInjector")}const yi={};function bi(t,e,n,r,i,o){const s=e[Se],a=s.data[t+8],c=vi(a,s,n,null==r?Xe(a)&&ai:r!=s&&2===a.type,i&O.Host&&o===a);return null!==c?wi(e,s,c,a):yi}function vi(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,c=t.directiveStart,u=t.directiveEnd,l=o>>20,d=i?a+l:u;for(let t=r?a:a+l;t<d;t++){const e=s[t];if(t<c&&n===e||t>=c&&e.type===n)return t}if(i){const t=s[c];if(t&&en(t)&&t.type===n)return c}return null}function wi(t,e,n,r){let i=t[n];const o=e.data;if(i instanceof Yr){const s=i;s.resolving&&On(_n(o[n]));const a=ci(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?jt(s.injectImpl):null;Ir(t,r);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&function(t){void 0!==t.type&&null!=t.selectors&&void 0!==t.inputs||_t("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(o[n]),function(t,e,n){ngDevMode&&dn(n);const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const r=jn(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e))}finally{null!==c&&jt(c),ci(a),s.resolving=!1,Ar()}}return i}function Ci(t,e,n){const r=1<<t,i=64&t,o=32&t;let s;return s=128&t?i?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:i?o?n[e+3]:n[e+2]:o?n[e+1]:n[e],!!(s&r)}function Si(t,e){return!(t&O.Self||t&O.Host&&e)}class Oi{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return _i(this._tNode,this._lView,t,void 0,e)}}function Ei(t){const e=t;if(H(t))return()=>{const t=Ei(z(e));return t?t():null};let n=ve(e);if(null===n){const t=A(e);n=t&&t.factory}return n||null}function xi(t){return c((()=>{const e=t.prototype.constructor,n=e[rt]||Ei(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[rt]||Ei(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t}))}const Ii="ngDebugContext",ki="ngOriginalError",Di="ngErrorLogger";function Ti(t){return t[Ii]}function ji(t){return t[ki]}function Ai(t,...e){t.error(...e)}class Ri{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Di]||Ai}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Ti(t)?Ti(t):this._findContext(ji(t)):null}_findOriginalError(t){let e=ji(t);for(;e&&ji(e);)e=ji(e);return e}}const Mi={name:"custom-elements"},Ni={name:"no-errors-schema"};class Pi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see http://g.co/ng/security#xss)`}}class Fi extends Pi{getTypeName(){return"HTML"}}class Li extends Pi{getTypeName(){return"Style"}}class Vi extends Pi{getTypeName(){return"Script"}}class Bi extends Pi{getTypeName(){return"URL"}}class Ui extends Pi{getTypeName(){return"ResourceURL"}}function zi(t){return t instanceof Pi?t.changingThisBreaksApplicationSecurity:t}function Hi(t,e){const n=$i(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function $i(t){return t instanceof Pi&&t.getTypeName()||null}function Gi(t){return new Fi(t)}function qi(t){return new Li(t)}function Wi(t){return new Vi(t)}function Yi(t){return new Bi(t)}function Zi(t){return new Ui(t)}let Ki=!0,Qi=!1;function Ji(){return Qi=!0,Ki}function Xi(){if(Qi)throw new Error("Cannot enable prod mode after platform setup.");(void 0===typeof ngDevMode||ngDevMode)&&(W.ngDevMode=!1),Ki=!1}function to(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new eo:new no(t)}class eo{getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}}}class no{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let n=e.length-1;0<n;n--){const r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const ro=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,io=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function oo(t){return(t=String(t)).match(ro)||t.match(io)?t:(Ji(),"unsafe:"+t)}function so(t){return(t=String(t)).split(",").map((t=>oo(t.trim()))).join(", ")}function ao(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function co(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const uo=ao("area,br,col,hr,img,wbr"),lo=ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ho=ao("rp,rt"),po=co(ho,lo),fo=co(lo,ao("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")),mo=co(ho,ao("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")),go=co(uo,fo,mo,po),_o=ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yo=ao("srcset"),bo=ao("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"),vo=ao("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"),wo=co(_o,yo,bo,vo),Co=ao("script,style,template");class So{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!go.hasOwnProperty(e))return this.sanitizedSomething=!0,!Co.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t<n.length;t++){const e=n.item(t),r=e.name,i=r.toLowerCase();if(!wo.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;_o[i]&&(o=oo(o)),yo[i]&&(o=so(o)),this.buf.push(" ",r,'="',xo(o),'"')}return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();go.hasOwnProperty(e)&&!uo.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(xo(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Oo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Eo=/([^\#-~ |!])/g;function xo(t){return t.replace(/&/g,"&").replace(Oo,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Eo,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Io;function ko(t,e){let n=null;try{Io=Io||to(t);let r=e?String(e):"";n=Io.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Io.getInertBodyElement(r)}while(r!==o);const s=new So,a=s.sanitizeChildren(Do(n)||n);return Ji()&&s.sanitizedSomething,a}finally{if(n){const t=Do(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Do(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var To;function jo(t){const e=Lo();return e?e.sanitize(To.HTML,t)||"":Hi(t,"HTML")?zi(t):ko(Un(),gn(t))}function Ao(t){const e=Lo();return e?e.sanitize(To.STYLE,t)||"":Hi(t,"Style")?zi(t):gn(t)}function Ro(t){const e=Lo();return e?e.sanitize(To.URL,t)||"":Hi(t,"URL")?zi(t):oo(gn(t))}function Mo(t){const e=Lo();if(e)return e.sanitize(To.RESOURCE_URL,t)||"";if(Hi(t,"ResourceURL"))return zi(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function No(t){const e=Lo();if(e)return e.sanitize(To.SCRIPT,t)||"";if(Hi(t,"Script"))return zi(t);throw new Error("unsafe value used in a script context")}function Po(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?Mo:Ro}function Fo(t,e,n){return Po(e,n)(t)}function Lo(){const t=cr();return t&&t[Me]}!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(To||(To={}));const Vo=/^>|^->|<!--|-->|--!>|<!-$/g,Bo=/(<|>)/,Uo="\u200b$1\u200b";function zo(t){return t.replace(Vo,(t=>t.replace(Bo,Uo)))}function Ho(t){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 new(0,Ho.constructor)("Array",`return class ${t} extends Array{}`)(Array)}catch(t){return Array}}function $o(t){var e;return e=t.replace(/[$@]/g,"_"),`ng-reflect-${t=e.replace(Go,((...t)=>"-"+t[1].toLowerCase()))}`}const Go=/([A-Z])/g;function qo(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Wo(t){let e=Qn(t);if(e){if(Array.isArray(e)){const r=e;let i,o,s;if((n=t)&&n.constructor&&n.constructor.\u0275cmp){if(i=Xo(r,t),-1==i)throw new Error("The provided component was not found in the application");o=t}else if(function(t){return t&&t.constructor&&t.constructor.\u0275dir}(t)){if(i=function(t,e){let n=t[Se].firstChild;for(;n;){const r=n.directiveStart,i=n.directiveEnd;for(let o=r;o<i;o++)if(t[o]===e)return n.index;n=Jo(n)}return-1}(r,t),-1==i)throw new Error("The provided directive was not found in the application");s=ts(i,r,!1)}else if(i=Qo(r,t),-1==i)return null;const a=Gn(r[i]),c=Qn(a),u=c&&!Array.isArray(c)?c:Yo(r,i,a);if(o&&void 0===u.component&&(u.component=o,Ko(u.component,u)),s&&void 0===u.directives){u.directives=s;for(let t=0;t<s.length;t++)Ko(s[t],u)}Ko(u.native,u),e=u}}else{const n=t;ngDevMode&&yt(n);let r=n;for(;r=r.parentNode;){const t=Qn(r);if(t){let r;if(r=Array.isArray(t)?t:t.lView,!r)return null;const i=Qo(r,n);if(i>=0){const t=Gn(r[i]),n=Yo(r,i,t);Ko(t,n),e=n;break}}}}var n;return e||null}function Yo(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Zo(t){let e,n=Qn(t);if(Array.isArray(n)){const r=Xo(n,t);e=Kn(r,n);const i=Yo(n,r,e[Ce]);i.component=t,Ko(t,i),Ko(i.native,i)}else{const t=n;e=Kn(t.nodeIndex,t.lView)}return e}function Ko(t,e){t[Ln]=e}function Qo(t,e){const n=t[Se];for(let r=ze;r<n.bindingStartIndex;r++)if(Gn(t[r])===e)return r;return-1}function Jo(t){if(t.child&&t.child.parent===t)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}function Xo(t,e){const n=t[Se].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(Kn(i,t)[Te]===e)return i}else{if(Kn(ze,t)[Te]===e)return ze}return-1}function ts(t,e,n){const r=e[Se].data[t];let i=r.directiveStart;if(0==i)return oe;const o=r.directiveEnd;return!n&&2&r.flags&&i++,e.slice(i,o)}function es(t,e,n){ngDevMode&<(e,"",'can not look for "" string.');let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const ns="ng-template";function rs(t,e,n){ngDevMode&&ut(e,e.toLowerCase(),"Class name expected to be lowercase.");let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==es(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function is(t){return 0===t.type&&t.tagName!==ns}function os(t,e,n){return e===(0!==t.type||n?t.tagName:ns)}function ss(t,e,n){ngDevMode&>(e[0],"Selector should have a tag name");let r=4;const i=t.attrs||[],o=function(t){for(let e=0;e<t.length;e++){if(ti(t[e]))return e}return t.length}(i);let s=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!s)if(4&r){if(r=2|1&r,""!==c&&!os(t,c,n)||""===c&&1===e.length){if(as(r))return!1;s=!0}}else{const u=8&r?c:e[++a];if(8&r&&null!==t.attrs){if(!rs(t.attrs,u,n)){if(as(r))return!1;s=!0}continue}const l=cs(8&r?"class":c,i,is(t),n);if(-1===l){if(as(r))return!1;s=!0;continue}if(""!==u){let t;l>o?t="":(ngDevMode&<(i[l],0,"We do not match directives on namespaced attributes"),t=i[l+1].toLowerCase());const e=8&r?t:null;if(e&&-1!==es(e,u,0)||2&r&&u!==t){if(as(r))return!1;s=!0}}}}else{if(!s&&!as(r)&&!as(c))return!1;if(s&&as(c))continue;s=!1,r=c|1&r}}return as(r)||s}function as(t){return 0==(1&t)}function cs(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function us(t,e,n=!1){for(let r=0;r<e.length;r++)if(ss(t,e[r],n))return!0;return!1}function ls(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function ds(t,e){return t?":not("+e.trim()+")":e}function hs(t){let e=t[0],n=1,r=2,i="",o=!1;for(;n<t.length;){let s=t[n];if("string"==typeof s)if(2&r){const e=t[++n];i+="["+s+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||as(s)||(e+=ds(o,i),i=""),r=s,o=o||!as(r);n++}return""!==i&&(e+=ds(o,i)),e}const ps="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};function fs(t){ngDevMode&&ln(t);const e=t[Ee];return Qe(e)?e[Ee]:e}function ms(t){ngDevMode&>(t,"component");let e=Ke(t)?t:Jn(t);for(;e&&!(512&e[Oe]);)e=fs(e);return ngDevMode&&ln(e),e}function gs(t){const e=ms(t);return ngDevMode&>(e[Te],"RootView has no context. Perhaps it is disconnected?"),e[Te]}function _s(t){return bs(t[Ne])}function ys(t){return bs(t[xe])}function bs(t){for(;null!==t&&!Qe(t);)t=t[xe];return t}function vs(t){ngDevMode&&mt(t,0,"Can only advance forward"),ws(ur(),cr(),Nr()+t,mr())}function ws(t,e,n,r){if(ngDevMode&&mt(n,-1,"Invalid index"),ngDevMode&&bt(e,n+ze),!r){if(3==(3&e[Oe])){const r=t.preOrderCheckHooks;null!==r&&zr(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Hr(e,r,0,n)}}Pr(n)}function Cs(t,e){return ngDevMode&&at(t,0,32767),ngDevMode&&at(e,0,32767),t<<17|e<<2}function Ss(t){return ngDevMode&&st(t,"expected number"),t>>17&32767}function Os(t){return ngDevMode&&st(t,"expected number"),2==(2&t)}function Es(t){return ngDevMode&&st(t,"expected number"),2|t}function xs(t){return ngDevMode&&st(t,"expected number"),(131068&t)>>2}function Is(t,e){return ngDevMode&&st(t,"expected number"),ngDevMode&&at(e,0,32767),-131069&t|e<<2}function ks(t){return ngDevMode&&st(t,"expected number"),1==(1&t)}function Ds(t){return ngDevMode&&st(t,"expected number"),1|t}function Ts(t,e){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(t,"debug",{value:e,enumerable:!1})}function js(t,e){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(t,"debug",{get:e,enumerable:!1})}const As=("undefined"==typeof ngDevMode||!!ngDevMode)&&ot();let Rs,Ms,Ns;function Ps(t){return function(t,e){switch(t){case 0:return void 0===Ns&&(Ns=new(Ho("LRootView"))),Ns;case 1:void 0===Rs&&(Rs=new Map);let t=Rs.get(e);return void 0===t&&(t=new(Ho("LComponentView"+Fs(e))),Rs.set(e,t)),t;case 2:void 0===Ms&&(Ms=new Map);let n=Ms.get(e);return void 0===n&&(n=new(Ho("LEmbeddedView"+Fs(e))),Ms.set(e,n)),n}throw new Error("unreachable code")}(t.type,t.template&&t.template.name).concat(t.blueprint)}function Fs(t){if(null==t)return"";const e=t.lastIndexOf("_Template");return"_"+(-1===e?t:t.substr(0,e))}const Ls=class{constructor(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y,b,v,w,C,S,O,E,x,I,k,D,T,j){this.type=t,this.blueprint=e,this.template=n,this.queries=r,this.viewQuery=i,this.declTNode=o,this.data=s,this.bindingStartIndex=a,this.expandoStartIndex=c,this.expandoInstructions=u,this.firstCreatePass=l,this.firstUpdatePass=d,this.staticViewQueries=h,this.staticContentQueries=p,this.preOrderHooks=f,this.preOrderCheckHooks=m,this.contentHooks=g,this.contentCheckHooks=_,this.viewHooks=y,this.viewCheckHooks=b,this.destroyHooks=v,this.cleanup=w,this.contentQueries=C,this.components=S,this.directiveRegistry=O,this.pipeRegistry=E,this.firstChild=x,this.schemas=I,this.consts=k,this.incompleteFirstPass=D,this._decls=T,this._vars=j}get template_(){const t=[];return Us(this.firstChild,t),t.join("")}get type_(){return He[this.type]||`TViewType.?${this.type}?`}get i18nStartIndex(){return ze+this._decls+this._vars}};const Vs=class{constructor(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y,b,v,w,C,S,O,E,x,I,k,D,T){this.tView_=t,this.type=e,this.index=n,this.injectorIndex=r,this.directiveStart=i,this.directiveEnd=o,this.directiveStylingLast=s,this.propertyBindings=a,this.flags=c,this.providerIndexes=u,this.tagName=l,this.attrs=d,this.mergedAttrs=h,this.localNames=p,this.initialInputs=f,this.inputs=m,this.outputs=g,this.tViews=_,this.next=y,this.projectionNext=b,this.child=v,this.parent=w,this.projection=C,this.styles=S,this.stylesWithoutHost=O,this.residualStyles=E,this.classes=x,this.classesWithoutHost=I,this.residualClasses=k,this.classBindings=D,this.styleBindings=T}debugNodeInjectorPath(t){const e=[];let n=pi(this,t);for(ngDevMode&&mn(t,n);-1!==n;){const r=t[Se].data[n+8];e.push(na(r,t));const i=t[n+8];i===Wr?n=-1:(n=oi(i),t=si(i,t))}return e}get type_(){return Zr[this.type]||`TNodeType.?${this.type}?`}get flags_(){const t=[];return 16&this.flags&&t.push("TNodeFlags.hasClassInput"),8&this.flags&&t.push("TNodeFlags.hasContentQuery"),32&this.flags&&t.push("TNodeFlags.hasStyleInput"),128&this.flags&&t.push("TNodeFlags.hasHostBindings"),2&this.flags&&t.push("TNodeFlags.isComponentHost"),1&this.flags&&t.push("TNodeFlags.isDirectiveHost"),64&this.flags&&t.push("TNodeFlags.isDetached"),4&this.flags&&t.push("TNodeFlags.isProjected"),t.join("|")}get template_(){const t=[];if(t.push("<",this.tagName||this.type_),this.attrs)for(let e=0;e<this.attrs.length;){const n=this.attrs[e++];if("number"==typeof n)break;const r=this.attrs[e++];t.push(" ",n,'="',r,'"')}return t.push(">"),Us(this.child,t),t.push("</",this.tagName||this.type_,">"),t.join("")}get styleBindings_(){return Bs(this,!1)}get classBindings_(){return Bs(this,!0)}get providerIndexStart_(){return 1048575&this.providerIndexes}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}};function Bs(t,e){const n=t.tView_.data,r=[],i=e?t.classBindings:t.styleBindings,o=Ss(i),s=xs(i);let a=0!==s,c=a?s:o;for(;0!==c;){const t=n[c],e=n[c+1];r.unshift({key:t,index:c,isTemplate:a,prevDuplicate:Os(e),nextDuplicate:ks(e),nextIndex:xs(e),prevIndex:Ss(e)}),c===o&&(a=!1),c=Ss(e)}return r.push((e?t.residualClasses:t.residualStyles)||null),r}function Us(t,e){for(;t;)e.push(t.template_),t=t.next}const zs=As&&Ho("TViewData")||null;let Hs;const $s=As&&Ho("LViewBlueprint")||null,Gs=As&&Ho("MatchesArray")||null,qs=As&&Ho("TViewComponents")||null,Ws=As&&Ho("TNodeLocalNames")||null,Ys=As&&Ho("TNodeInitialInputs")||null,Zs=(As&&Ho("TNodeInitialData"),As&&Ho("LCleanup")||null),Ks=As&&Ho("TCleanup")||null;function Qs(t){if(t){const e=t.debug;return gt(e,"Object does not have a debug representation."),e}return t}function Js(t,e=!1){const n=Gn(t);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 t=n.outerHTML;if(e)return t;{const e=">"+n.innerHTML+"<";return t.split(e)[0]+">"}}return null}class Xs{constructor(t){this._raw_lView=t}get flags(){const t=this._raw_lView[Oe];return{__raw__flags__:t,initPhaseState:3&t,creationMode:!!(4&t),firstViewPass:!!(8&t),checkAlways:!!(16&t),dirty:!!(64&t),attached:!!(128&t),destroyed:!!(256&t),isRoot:!!(512&t),indexWithinInitPhase:t>>11}}get parent(){return Qs(this._raw_lView[Ee])}get hostHTML(){return Js(this._raw_lView[Ce],!0)}get html(){return(this.nodes||[]).map((t=>Js(t.native,!0))).join("")}get context(){return this._raw_lView[Te]}get nodes(){const t=this._raw_lView;return ea(t[Se].firstChild,t)}get tView(){return this._raw_lView[Se]}get cleanup(){return this._raw_lView[De]}get injector(){return this._raw_lView[je]}get rendererFactory(){return this._raw_lView[Ae]}get renderer(){return this._raw_lView[Re]}get sanitizer(){return this._raw_lView[Me]}get childHead(){return Qs(this._raw_lView[Ne])}get next(){return Qs(this._raw_lView[xe])}get childTail(){return Qs(this._raw_lView[Pe])}get declarationView(){return Qs(this._raw_lView[Fe])}get queries(){return this._raw_lView[Ue]}get tHost(){return this._raw_lView[ke]}get decls(){return ta(this.tView,this._raw_lView,ze,this.tView.bindingStartIndex)}get vars(){const t=this.tView;return ta(t,this._raw_lView,t.bindingStartIndex,t.i18nStartIndex)}get i18n(){const t=this.tView;return ta(t,this._raw_lView,t.i18nStartIndex,t.expandoStartIndex)}get expando(){this.tView;return ta(this.tView,this._raw_lView,this.tView.expandoStartIndex,this._raw_lView.length)}get childViews(){const t=[];let e=this.childHead;for(;e;)t.push(e),e=e.next;return t}}function ta(t,e,n,r){let i=[];for(let o=n;o<r;o++)i.push({index:o,t:t.data[o],l:e[o]});return{start:n,end:r,length:r-n,content:i}}function ea(t,e){if(t){const n=[];let r=t;for(;r;)n.push(na(r,e)),r=r.next;return n}return[]}function na(t,e){const n=Gn(e[t.index]),r=[],i=[],o=e[Se];for(let n=t.directiveStart;n<t.directiveEnd;n++){const t=o.data[n];r.push(t.type),i.push(e[n])}return{html:Js(n),type:Zr[t.type],native:n,children:ea(t.child,e),factories:r,instances:i,injector:ra(t,o,e)}}function ra(t,e,n){const r=[];for(let n=t.providerIndexStart_;n<t.providerIndexEnd_;n++)r.push(e.data[n]);const i=[];for(let n=t.providerIndexEnd_;n<t.directiveEnd;n++)i.push(e.data[n]);return{bloom:oa(n,t.injectorIndex),cumulativeBloom:oa(e.data,t.injectorIndex),providers:i,viewProviders:r,parentInjectorIndex:n[t.providerIndexStart_-1]}}function ia(t,e){const n=t[e];if("number"!=typeof n)return"????????";const r="00000000"+n.toString(2);return r.substring(r.length-8)}function oa(t,e){return`${ia(t,e+7)}_${ia(t,e+6)}_${ia(t,e+5)}_${ia(t,e+4)}_${ia(t,e+3)}_${ia(t,e+2)}_${ia(t,e+1)}_${ia(t,e+0)}`}class sa{constructor(t){this._raw_lContainer=t}get hasTransplantedViews(){return this._raw_lContainer[Ge]}get views(){return this._raw_lContainer.slice(Ze).map(Qs)}get parent(){return Qs(this._raw_lContainer[Ee])}get movedViews(){return this._raw_lContainer[Ye]}get host(){return this._raw_lContainer[Ce]}get native(){return this._raw_lContainer[qe]}get next(){return Qs(this._raw_lContainer[xe])}}const aa=Promise.resolve(null);function ca(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=t.data[o];ngDevMode&>(n.contentQueries,"contentQueries function should be defined"),xr(i),n.contentQueries(2,e[o],o)}}}function ua(t,e,n){return Hn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function la(t,e,n,r,i,o,s,a,c,u){const l=ngDevMode?Ps(e):e.blueprint.slice();return l[Ce]=i,l[Oe]=140|r,nr(l),ngDevMode&&e.declTNode&&t&&rn(e.declTNode,t),l[Ee]=l[Fe]=t,l[Te]=n,l[Ae]=s||t&&t[Ae],ngDevMode&>(l[Ae],"RendererFactory is required"),l[Re]=a||t&&t[Re],ngDevMode&>(l[Re],"Renderer is required"),l[Me]=c||t&&t[Me]||null,l[je]=u||t&&t[je]||null,l[ke]=o,ngDevMode&&ut(2!=e.type||null!==t,!0,"Embedded views must have parentLView"),l[Le]=2==e.type?t[Le]:l,ngDevMode&&function(t){Ts(t,new Xs(t))}(l),l}function da(t,e,n,r,i){const o=e+ze,s=t.data[o]||function(t,e,n,r,i){const o=dr(),s=pr(),a=s?o:o&&o.parent,c=t.data[e]=function(t,e,n,r,i,o){ngDevMode&&ngDevMode.tNode++;let s=e?e.injectorIndex:-1;const a=ngDevMode?new Vs(t,n,r,s,-1,-1,-1,null,0,0,i,o,null,null,void 0,null,null,null,null,null,null,e,null,null,null,void 0,null,null,void 0,0,0):{type:n,index:r,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};ngDevMode&&Object.seal(a);return a}(t,a,n,e,r,i);null===t.firstChild&&(t.firstChild=c);null!==o&&(s&&null==o.child&&null!==c.parent?o.child=c:s||(o.next=c));return c}(t,o,n,r,i);return hr(s,!0),s}function ha(t,e,n){ngDevMode&&ut(Xn(e),!0,"Should be run in creation mode"),kr(e);try{const r=t.viewQuery;null!==r&&Xa(1,r,n);const i=t.template;null!==i&&ma(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&ca(t,e),t.staticViewQueries&&Xa(2,t.viewQuery,n);const o=t.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Wa(t,e[n])}(e,o)}catch(e){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),e}finally{e[Oe]&=-5,Rr()}}function pa(t,e,n,r){ngDevMode&&ut(Xn(e),!1,"Should be run in update mode");const i=e[Oe];if(256==(256&i))return;kr(e);const o=mr();try{nr(e),br(t.bindingStartIndex),null!==n&&ma(t,e,n,2,r);const s=3==(3&i);if(!o)if(s){const n=t.preOrderCheckHooks;null!==n&&zr(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Hr(e,n,0,null),$r(e,0)}if(function(t){for(let e=_s(t);null!==e;e=ys(e)){if(!e[Ge])continue;const t=e[Ye];ngDevMode&>(t,"Transplanted View flags set but missing MOVED_VIEWS");for(let e=0;e<t.length;e++){const n=t[e],r=n[Ee];ngDevMode&&cn(r),0==(1024&n[Oe])&&rr(r,1),n[Oe]|=1024}}}(e),function(t){for(let e=_s(t);null!==e;e=ys(e))for(let t=Ze;t<e.length;t++){const n=e[t],r=n[Se];ngDevMode&>(r,"TView must be allocated"),tr(n)&&pa(r,n,r.template,n[Te])}}(e),null!==t.contentQueries&&ca(t,e),!o)if(s){const n=t.contentCheckHooks;null!==n&&zr(e,n)}else{const n=t.contentHooks;null!==n&&Hr(e,n,1),$r(e,1)}!function(t,e){ngDevMode&&dt(t,e[Se],"`LView` is not associated with the `TView`!");try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,o=-1;for(let t=0;t<n.length;t++){const s=n[t];"number"==typeof s?s<=0?(o=0-s,Pr(o),r+=9+n[++t],i=r):r+=s:(null!==s&&(ngDevMode&&pt(i,1048576,"Reached the max number of host bindings"),Cr(r,i),s(2,e[i])),i++)}}}finally{Pr(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Ga(t,e[n])}(e,a);const c=t.viewQuery;if(null!==c&&Xa(2,c,r),!o)if(s){const n=t.viewCheckHooks;null!==n&&zr(e,n)}else{const n=t.viewHooks;null!==n&&Hr(e,n,2),$r(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o||(e[Oe]&=-73),1024&e[Oe]&&(e[Oe]&=-1025,rr(e[Ee],-1))}finally{Rr()}}function fa(t,e,n,r){const i=e[Ae],o=!mr(),s=Xn(e);try{o&&!s&&i.begin&&i.begin(),s&&ha(t,e,r),pa(t,e,n,r)}finally{o&&!s&&i.end&&i.end()}}function ma(t,e,n,r,i){const o=Nr();try{Pr(-1),2&r&&e.length>ze&&ws(t,e,0,mr()),n(r,i)}finally{Pr(o)}}function ga(t,e,n){if(Je(e)){const r=e.directiveStart,i=e.directiveEnd;for(let e=r;e<i;e++){const r=t.data[e];r.contentQueries&&r.contentQueries(1,n[e],e)}}}function _a(t,e,n){or()&&(function(t,e,n,r){const i=n.directiveStart,o=n.directiveEnd;t.firstCreatePass||di(n,e);Ko(r,e);const s=n.initialInputs;for(let r=i;r<o;r++){const o=t.data[r],a=en(o);a&&(ngDevMode&&Qr(n,[2]),Va(e,n,o));const c=wi(e,t,r,n);if(Ko(c,e),null!==s&&Ua(e,r-i,c,o,n,s),a){Kn(n.index,e)[Te]=c}}}(t,e,n,Wn(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,o=t.expandoInstructions,s=t.firstCreatePass,a=n.index-ze,c=ir.lFrame.currentDirectiveIndex;try{Pr(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];Sr(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Ra(r,i):s&&o.push(null)}}finally{Pr(-1),Sr(c)}}(t,e,n))}function ya(t,e,n=Wn){const r=e.localNames;if(null!==r){let i=e.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(e,t):t[s];t[i++]=a}}}function ba(t){const e=t.tView;if(null===e||e.incompleteFirstPass){const e=null;return t.tView=va(1,e,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts)}return e}function va(t,e,n,r,i,o,s,a,c,u){ngDevMode&&ngDevMode.tView++;const l=ze+r,d=l+i,h=function(t,e){const n=ngDevMode?new $s:[];for(let r=0;r<e;r++)n.push(r<t?null:ps);return n}(l,d),p="function"==typeof u?u():u,f=h[Se]=ngDevMode?new Ls(t,h,n,null,a,e,(m=h,void 0===Hs&&(Hs=new zs),Hs.concat(m)).fill(null,l),l,d,null,!0,!0,!1,!1,null,null,null,null,null,null,null,null,null,null,"function"==typeof o?o():o,"function"==typeof s?s():s,null,c,p,!1,r,i):{type:t,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1};var m;return ngDevMode&&Object.seal(f),f}function wa(t,e){return new Error(`Renderer: ${t} [${_n(e)}]`)}function Ca(t,e,n){if(Hn(t)){const r=n===ne.ShadowDom;return t.selectRootElement(e,r)}let r="string"==typeof e?t.querySelector(e):e;return ngDevMode&&function(t,e){if(!t)throw wa("string"==typeof e?"Host node with selector not found:":"Host node is required:",e)}(r,e),r.textContent="",r}function Sa(t,e,n,r){const i=nc(e);i.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=ngDevMode?new Ks:[])}(t).push(r,i.length-1)}function Oa(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){n=null===n?{}:n;const i=t[r];n.hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function Ea(t,e,n,r,i,o,s,a){ngDevMode&&ht(i,ps,"Incoming value should never be NO_CHANGE.");const c=Wn(e,n);let u,l=e.inputs;if(!a&&null!=l&&(u=l[r]))oc(t,n,u,r,i),Xe(e)&&function(t,e){ngDevMode&&ln(t);const n=Kn(e,t);16&n[Oe]||(n[Oe]|=64)}(n,e.index),ngDevMode&&Ia(n,c,e.type,u,i);else if(2===e.type){if(r="class"===(d=r)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,ngDevMode){if(function(t){if(t.toLowerCase().startsWith("on")){const e=`Binding to event property '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...\nIf '${t}' is a directive input, make sure the directive is imported by the current module.`;throw new Error(e)}}(r),!function(t,e,n,r){if(null===t.schemas)return!0;if(ka(t,r.tagName)||n in e||ei(n))return!0;return"undefined"==typeof Node||null===Node||!(e instanceof Node)}(t,c,r,e))return void Da(r,e);ngDevMode.rendererSetProperty++}i=null!=s?s(i,e.tagName||"",r):i,Hn(o)?o.setProperty(c,r,i):ei(r)||(c.setProperty?c.setProperty(r,i):c[r]=i)}else 0!==e.type&&3!==e.type||ngDevMode&&!ka(t,e.tagName)&&Da(r,e);var d}function xa(t,e,n,r,i){const o=t[Re];r=$o(r);const s=qo(i);if(2===n)null==i?Hn(o)?o.removeAttribute(e,r):e.removeAttribute(r):Hn(o)?o.setAttribute(e,r,s):e.setAttribute(r,s);else{const t=zo(`bindings=${JSON.stringify({[r]:s},null,2)}`);Hn(o)?o.setValue(e,t):e.textContent=t}}function Ia(t,e,n,r,i){if(2===n||0===n)for(let o=0;o<r.length;o+=2)xa(t,e,n,r[o+1],i)}function ka(t,e){const n=t.schemas;if(null!==n)for(let t=0;t<n.length;t++){const r=n[t];if(r===Ni||r===Mi&&e&&e.indexOf("-")>-1)return!0}return!1}function Da(t,e){}function Ta(t,e,n,r){ngDevMode&&dn(t);let i=!1;if(or()){const o=function(t,e,n){ngDevMode&&dn(t),ngDevMode&&Qr(n,[2,3,0]);const r=t.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];us(n,s.selectors,!1)&&(i||(i=ngDevMode?new Gs:[]),mi(di(n,e),t,s.type),en(s)?(ngDevMode&&(Qr(n,[2],`"${n.tagName}" tags cannot be used as component hosts. Please use a different tag to activate the ${L(s.type)} component.`),2&n.flags&&En(n)),Na(t,n),i.unshift(s)):i.push(s))}return i}(t,e,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Fa(n,t.data.length,o.length);for(let t=0;t<o.length;t++){const e=o[t];e.providersResolver&&e.providersResolver(e)}Ma(t,n,o.length);let a=!1,c=!1;for(let i=0;i<o.length;i++){const u=o[i];n.mergedAttrs=ni(n.mergedAttrs,u.hostAttrs),La(t,e,u),Pa(t.data.length-1,u,s),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const l=u.type.prototype;!a&&(l.ngOnChanges||l.ngOnInit||l.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-ze),a=!0),c||!l.ngOnChanges&&!l.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-ze),c=!0),ja(t,u),r+=u.hostVars}!function(t,e){ngDevMode&&dn(t);const n=e.directiveStart,r=e.directiveEnd,i=t.data,o=e.attrs,s=ngDevMode?new Ys:[];let a=null,c=null;for(let t=n;t<r;t++){const n=i[t],r=n.inputs,u=null===o||is(e)?null:za(r,o);s.push(u),a=Oa(r,t,a),c=Oa(n.outputs,t,c)}null!==a&&(a.hasOwnProperty("class")&&(e.flags|=16),a.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=a,e.outputs=c}(t,n),Aa(t,e,r)}s&&function(t,e,n){if(e){const r=t.localNames=ngDevMode?new Ws:[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,s)}return n.mergedAttrs=ni(n.mergedAttrs,n.attrs),i}function ja(t,e){ngDevMode&&dn(t);const n=t.expandoInstructions;n.push(e.hostBindings);0!==e.hostVars&&n.push(e.hostVars)}function Aa(t,e,n){ngDevMode&&dn(t),ngDevMode&&dt(t,e[Se],"`LView` must be associated with `TView`!");for(let r=0;r<n;r++)e.push(ps),t.blueprint.push(ps),t.data.push(null)}function Ra(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Ma(t,e,n){ngDevMode&&ut(t.firstCreatePass,!0,"Expando block should only be generated on first create pass.");const r=ze-e.index,i=1048575&e.providerIndexes,o=t.data.length-i;(t.expandoInstructions||(t.expandoInstructions=[])).push(r,o,n)}function Na(t,e){ngDevMode&&dn(t),e.flags|=2,(t.components||(t.components=ngDevMode?new qs:[])).push(e.index)}function Pa(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;en(e)&&(n[""]=t)}}function Fa(t,e,n){ngDevMode&<(n,t.directiveEnd-t.directiveStart,"Reached the max number of directives"),t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function La(t,e,n){t.data.push(n);const r=n.factory||(n.factory=ve(n.type,!0)),i=new Yr(r,en(n),null);t.blueprint.push(i),e.push(i)}function Va(t,e,n){const r=Wn(e,t),i=ba(n),o=t[Ae],s=Ya(t,la(t,i,null,n.onPush?64:16,r,e,o,o.createRenderer(r,n),null,null));t[e.index]=s}function Ba(t,e,n,r,i,o){ngDevMode&&(ht(r,ps,"Incoming value should never be NO_CHANGE."),function(t){if(t.toLowerCase().startsWith("on")){const e=`Binding to event attribute '${t}' is disallowed for security reasons, please use (${t.slice(2)})=...`;throw new Error(e)}}(n),function(t,e,n){gt(t,"should be called with a TNode"),ut(e.some((e=>t.type===e)),!1,null!=n?n:`Should not be one of ${e.map(Jr).join(", ")} but got ${Jr(t.type)}`)}(t,[0,3],`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const s=Wn(t,e),a=e[Re];if(null==r)ngDevMode&&ngDevMode.rendererRemoveAttribute++,Hn(a)?a.removeAttribute(s,n,o):s.removeAttribute(n);else{ngDevMode&&ngDevMode.rendererSetAttribute++;const e=null==i?gn(r):i(r,t.tagName||"",n);Hn(a)?a.setAttribute(s,n,e,o):o?s.setAttributeNS(o,n,e):s.setAttribute(n,e)}}function Ua(t,e,n,r,i,o){const s=o[e];if(null!==s){const e=r.setInput;for(let o=0;o<s.length;){const a=s[o++],c=s[o++],u=s[o++];if(null!==e?r.setInput(n,u,a,c):n[c]=u,ngDevMode){xa(t,Wn(i,t),i.type,c,u)}}}}function za(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}const Ha=("undefined"==typeof ngDevMode||ngDevMode)&&ot()&&Ho("LContainer");function $a(t,e,n,r){ngDevMode&&ln(e),ngDevMode&&!Hn(e[Re])&&yt(n);const i=new(ngDevMode?Ha:Array)(t,!0,!1,e,null,0,r,n,null,null);return ngDevMode&&ut(i.length,Ze,"Should allocate correct number of slots for LContainer header."),ngDevMode&&function(t){Ts(t,new sa(t))}(i),i}function Ga(t,e){ngDevMode&&ut(Xn(t),!1,"Should be run in update mode");const n=Kn(e,t);if(tr(n)){const t=n[Se];80&n[Oe]?pa(t,n,t.template,n[Te]):n[Ie]>0&&qa(n)}}function qa(t){for(let e=_s(t);null!==e;e=ys(e))for(let t=Ze;t<e.length;t++){const n=e[t];if(1024&n[Oe]){const t=n[Se];ngDevMode&>(t,"TView must be allocated"),pa(t,n,t.template,n[Te])}else n[Ie]>0&&qa(n)}const e=t[Se].components;if(null!==e)for(let n=0;n<e.length;n++){const r=Kn(e[n],t);tr(r)&&r[Ie]>0&&qa(r)}}function Wa(t,e){ngDevMode&&ut(Xn(t),!0,"Should be run in creation mode");const n=Kn(e,t),r=n[Se];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),ha(r,n,n[Te])}function Ya(t,e){return t[Ne]?t[Pe][xe]=e:t[Ne]=e,t[Pe]=e,e}function Za(t){for(;t;){t[Oe]|=64;const e=fs(t);if(nn(t)&&!e)return t;t=e}return null}function Ka(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Jn(n),i=r[Se];fa(i,r,i.template,n)}}function Qa(t,e,n){const r=e[Ae];r.begin&&r.begin();try{pa(t,e,t.template,n)}catch(t){throw ic(e,t),t}finally{r.end&&r.end()}}function Ja(t){Ka(t[Te])}function Xa(t,e,n){ngDevMode&>(e,"View queries function to execute must be defined."),xr(0),e(t,n)}function tc(t,e,n,r,...i){if(null===t[r]&&(null==e.inputs||!e.inputs[n])){(e.propertyBindings||(e.propertyBindings=[])).push(r);let o=n;i.length>0&&(o+=Cn+i.join(Cn)),t[r]=o}}const ec=aa;function nc(t){return t[De]||(t[De]=ngDevMode?new Zs:[])}function rc(t,e,n){return(null===t||en(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[$e])return t;t=t[Ce]}return null}(n[e.index])),n[Re]}function ic(t,e){const n=t[je],r=n?n.get(Ri,null):null;r&&r.handleError(e)}function oc(t,e,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],c=e[s];ngDevMode&&bt(e,s);const u=t.data[s];null!==u.setInput?u.setInput(c,i,r,a):c[a]=i}}function sc(t,e,n){ngDevMode&&ht(n,ps,"value should not be NO_CHANGE"),ngDevMode&&bt(t,e+ze);const r=qn(e,t);ngDevMode&>(r,"native element should exist"),ngDevMode&&ngDevMode.rendererSetText++;const i=t[Re];Hn(i)?i.setValue(r,n):r.textContent=n}function ac(t,e,n,r,i){if(null!=r){let o,s=!1;Qe(r)?o=r:Ke(r)&&(s=!0,ngDevMode&>(r[Ce],"HOST must be defined for a component LView"),r=r[Ce]);const a=Gn(r);ngDevMode&&!Hn(e)&&yt(a),0===t&&null!==n?null==i?gc(e,n,a):mc(e,n,a,i||null):1===t&&null!==n?mc(e,n,a,i||null):2===t?Sc(e,a,s):3===t&&(ngDevMode&&ngDevMode.rendererDestroyNode++,e.destroyNode(a)),null!=o&&function(t,e,n,r,i){ngDevMode&&cn(n);const o=n[qe],s=Gn(n);o!==s&&ac(e,t,r,o,i);for(let i=Ze;i<n.length;i++){const s=n[i];Ec(s[Se],s,t,e,r,o)}}(e,t,o,n,i)}}function cc(t,e){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,Hn(e)?e.createText(t):e.createTextNode(t)}function uc(t,e,n,r){ngDevMode&&ln(e),ngDevMode&&cn(n);const i=Ze+r,o=n.length;r>0&&(n[i-1][xe]=e),r<o-Ze?(e[xe]=n[i],Wt(n,Ze+r,e)):(n.push(e),e[xe]=null),e[Ee]=n;const s=e[Ve];null!==s&&n!==s&&function(t,e){ngDevMode&>(e,"LView required"),ngDevMode&&cn(t);const n=t[Ye],r=e[Ee];ngDevMode&&cn(r);const i=r[Ee][Le];ngDevMode&>(i,"Missing insertedComponentLView");const o=e[Le];ngDevMode&>(o,"Missing declaredComponentLView"),o!==i&&(t[Ge]=!0);null===n?t[Ye]=[e]:n.push(e)}(s,e);const a=e[Ue];null!==a&&a.insertView(t),e[Oe]|=128}function lc(t,e){ngDevMode&&cn(t),ngDevMode&>(t[Ye],"A projected view should belong to a non-empty projected views collection");const n=t[Ye],r=n.indexOf(e),i=e[Ee];ngDevMode&&cn(i),1024&e[Oe]&&(e[Oe]&=-1025,rr(i,-1)),n.splice(r,1)}function dc(t,e){if(t.length<=Ze)return;const n=Ze+e,r=t[n];if(r){const o=r[Ve];null!==o&&o!==t&&lc(o,r),e>0&&(t[n-1][xe]=r[xe]);const s=Yt(t,Ze+e);Ec(r[Se],i=r,i[Re],2,null,null),i[Ce]=null,i[ke]=null;const a=s[Ue];null!==a&&a.detachView(s[Se]),r[Ee]=null,r[xe]=null,r[Oe]&=-129}var i;return r}function hc(t,e){if(!(256&e[Oe])){const n=e[Re];Hn(n)&&n.destroyNode&&Ec(t,e,n,3,null,null),function(t){let e=t[Ne];if(!e)return pc(t[Se],t);for(;e;){let n=null;if(Ke(e))n=e[Ne];else{ngDevMode&&cn(e);const t=e[Ze];t&&(n=t)}if(!n){for(;e&&!e[xe]&&e!==t;)Ke(e)&&pc(e[Se],e),e=e[Ee];null===e&&(e=t),Ke(e)&&pc(e[Se],e),n=e&&e[xe]}e=n}}(e)}}function pc(t,e){if(!(256&e[Oe])){e[Oe]&=-129,e[Oe]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t<n.length;t+=2){const r=e[n[t]];if(!(r instanceof Yr)){const e=n[t+1];if(Array.isArray(e))for(let t=0;t<e.length;t+=2)e[t+1].call(r[e[t]]);else e.call(r)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[De];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(e):Gn(e[i]),s=t[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else{const e=t[n[r+1]];n[r].call(e)}e[De]=null}}(t,e),1===e[Se].type&&Hn(e[Re])&&(ngDevMode&&ngDevMode.rendererDestroy++,e[Re].destroy());const n=e[Ve];if(null!==n&&Qe(e[Ee])){n!==e[Ee]&&lc(n,e);const r=e[Ue];null!==r&&r.detachView(t)}}}function fc(t,e,n){let r=e.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(e=r).parent;if(null===r)return n[Ce];if(e&&4===e.type&&4&e.flags)return Wn(e,n).parentNode;if(ngDevMode&&Kr(r,2),2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==ne.ShadowDom&&n!==ne.Native)return null}return Wn(r,n)}function mc(t,e,n,r){ngDevMode&&ngDevMode.rendererInsertBefore++,Hn(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function gc(t,e,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&>(e,"parent node must be defined"),Hn(t)?t.appendChild(e,n):e.appendChild(n)}function _c(t,e,n,r){null!==r?mc(t,e,n,r):gc(t,e,n)}function yc(t,e){return Hn(t)?t.parentNode(e):e.parentNode}function bc(t,e){return 3===t.type||4===t.type?Wn(t,e):null}function vc(t,e,n,r){const i=fc(t,r,e);if(null!=i){const t=e[Re],o=bc(r.parent||e[ke],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)_c(t,i,n[e],o);else _c(t,i,n,o)}}function wc(t,e){if(null!==e){ngDevMode&&Qr(e,[2,0,3,4,1]);const n=e.type;if(2===n)return Wn(e,t);if(0===n)return Cc(-1,t[e.index]);if(3===n||4===n){const n=e.child;if(null!==n)return wc(t,n);{const n=t[e.index];return Qe(n)?Cc(-1,n):Gn(n)}}{const n=t[Le],r=n[ke],i=fs(n),o=r.projection[e.projection];return null!=o?wc(i,o):wc(t,e.next)}}return null}function Cc(t,e){const n=Ze+t+1;if(n<e.length){const t=e[n],r=t[Se].firstChild;if(null!==r)return wc(t,r)}return e[qe]}function Sc(t,e,n){const r=yc(t,e);r&&function(t,e,n,r){Hn(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}function Oc(t,e,n,r,i,o,s){for(;null!=n;){ngDevMode&&rn(n,r),ngDevMode&&Qr(n,[0,2,3,1,4]);const a=r[n.index],c=n.type;s&&0===e&&(a&&Ko(Gn(a),r),n.flags|=4),64!=(64&n.flags)&&(3===c||4===c?(Oc(t,e,n.child,r,i,o,!1),ac(e,t,i,a,o)):1===c?Ic(t,e,r,n,i,o):(ngDevMode&&Qr(n,[2,0]),ac(e,t,i,a,o))),n=s?n.projectionNext:n.next}}function Ec(t,e,n,r,i,o){Oc(n,r,t.firstChild,e,i,o,!1)}function xc(t,e,n){Ic(e[Re],0,e,n,fc(t,n,e),bc(n.parent||e[ke],e))}function Ic(t,e,n,r,i,o){const s=n[Le],a=s[ke];ngDevMode&&ut(typeof r.projection,"number","expecting projection index");const c=a.projection[r.projection];if(Array.isArray(c))for(let n=0;n<c.length;n++){ac(e,t,i,c[n],o)}else{Oc(t,e,c,s[Ee],i,o,!0)}}function kc(t,e,n){ngDevMode&&ct(n,"'newValue' should be a string"),Hn(t)?t.setAttribute(e,"style",n):e.style.cssText=n,ngDevMode&&ngDevMode.rendererSetStyle++}function Dc(t,e,n){ngDevMode&&ct(n,"'newValue' should be a string"),Hn(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n,ngDevMode&&ngDevMode.rendererSetClassName++}class Tc{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[Se];return Ac(e,t,e.firstChild,[])}get context(){return this._lView[Te]}get destroyed(){return 256==(256&this._lView[Oe])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}hc(this._lView[Se],this._lView)}onDestroy(t){Sa(this._lView[Se],this._lView,null,t)}markForCheck(){Za(this._cdRefInjectingView||this._lView)}detach(){this._lView[Oe]&=-129}reattach(){this._lView[Oe]|=128}detectChanges(){Qa(this._lView[Se],this._lView,this.context)}checkNoChanges(){!function(t,e,n){gr(!0);try{Qa(t,e,n)}finally{gr(!1)}}(this._lView[Se],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t,e;this._appRef=null,t=this._lView[Se],e=this._lView,Ec(t,e,e[Re],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class jc extends Tc{constructor(t){super(t),this._view=t}detectChanges(){Ja(this._view)}checkNoChanges(){!function(t){gr(!0);try{Ja(t)}finally{gr(!1)}}(this._view)}get context(){return null}}function Ac(t,e,n,r,i=!1){for(;null!==n;){ngDevMode&&Qr(n,[2,0,1,3,4]);const o=e[n.index];if(null!==o&&r.push(Gn(o)),Qe(o))for(let t=Ze;t<o.length;t++){const e=o[t],n=e[Se].firstChild;null!==n&&Ac(e[Se],e,n,r)}const s=n.type;if(3===s||4===s)Ac(t,e,n.child,r);else if(1===s){const t=e[Le],i=t[ke],o=n.projection;ngDevMode&>(i.projection,"Components with projection nodes (<ng-content>) must have projection slots defined.");const s=i.projection[o];if(Array.isArray(s))r.push(...s);else{const e=fs(t);ngDevMode&>(e,"Component views should always have a parent view (component's host view)"),Ac(e[Se],e,s,r,!0)}}n=i?n.projectionNext:n.next}return r}let Rc,Mc,Nc;function Pc(t,e,n){return Rc||(Rc=class extends t{}),new Rc(Wn(e,n))}function Fc(t,e,n,r){return Mc||(Mc=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=la(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null),r=this._declarationView[this._declarationTContainer.index];ngDevMode&&cn(r),n[Ve]=r;const i=this._declarationView[Ue];return null!==i&&(n[Ue]=i.createEmbeddedView(e)),ha(e,n,t),new Tc(n)}}),0===n.type?(ngDevMode&>(n.tViews,"TView must be allocated"),new Mc(r,n,Pc(e,n,r))):null}function Lc(t,e,n,r){let i;Nc||(Nc=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Pc(e,this._hostTNode,this._hostView)}get injector(){return new Oi(this._hostTNode,this._hostView)}get parentInjector(){const t=fi(this._hostTNode,this._hostView);if(ii(t)){const e=si(t,this._hostView),n=oi(t);ngDevMode&&mn(e,n);const r=e[Se].data[n+8];return new Oi(r,e)}return new Oi(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[We]&&this._lContainer[We][t]||null}get length(){return this._lContainer.length-Ze}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){const t=o.get(zt,null);t&&(i=t)}const s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,r=n[Se];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Qe(n[Ee])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[Ee];ngDevMode&&ut(Qe(e),!0,"An attached view should have its PARENT point to a container.");const r=new Nc(e,e[ke],e[Ee]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e),o=this._lContainer;uc(r,n,o,i);const s=Cc(i,o),a=n[Re],c=yc(a,o[qe]);return null!==c&&function(t,e,n,r,i,o){r[Ce]=i,r[ke]=e,Ec(t,r,n,1,i,o)}(r,o[ke],a,n,c,s),t.attachToViewContainerRef(this),Wt(o[We],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[We];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=dc(this._lContainer,e);n&&(Yt(this._lContainer[We],e),hc(n[Se],n))}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=dc(this._lContainer,e);return n&&null!=Yt(this._lContainer[We],e)?new Tc(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:(ngDevMode&&(mt(t,-1,`ViewRef index must be positive, got ${t}`),pt(t,this.length+1+e,"index")),t)}allocateContainerIfNeeded(){null===this._lContainer[We]&&(this._lContainer[We]=[])}}),ngDevMode&&Qr(n,[0,2,3]);const o=r[n.index];if(Qe(o))i=o;else{let t;if(3===n.type)t=Gn(o);else if(ngDevMode&&ngDevMode.rendererCreateComment++,t=r[Re].createComment(ngDevMode?"container":""),nn(r)){const e=r[Re],i=Wn(n,r);mc(e,yc(e,i),t,function(t,e){return Hn(t)?t.nextSibling(e):e.nextSibling}(e,i))}else vc(r[Se],r,t,n);r[n.index]=i=$a(o,r,t,n),Ya(r,i)}return new Nc(i,n,r)}function Vc(t=!1){return function(t,e,n){const r=!n&&Xe(t);if(r){const n=Kn(t.index,e);return new Tc(n,n)}if(2===t.type||0===t.type||3===t.type||4===t.type){const t=e[Le];return new Tc(t,e)}return null}(dr(),cr(),t)}class Bc{}Bc.__NG_ELEMENT_ID__=()=>zc();const Uc=Vc,zc=Uc,Hc=Function;function $c(t){return"function"==typeof t}const Gc=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,qc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Wc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Yc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Zc{constructor(t){this._reflect=t||W.Reflect}isReflectionEnabled(){return!0}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=Zt(void 0===t?e.length:t.length);for(let r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]&&t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n}_ownParameters(t,e){if(function(t){return Gc.test(t)||Yc.test(t)||qc.test(t)&&!Wc.test(t)}(t.toString()))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;const n=t.ctorParameters;if(n&&n!==e.ctorParameters){const t="function"==typeof n?n():n,e=t.map((t=>t&&t.type)),r=t.map((t=>t&&Kc(t.decorators)));return this._zipTypesAndAnnotations(e,r)}const r=t.hasOwnProperty(l)&&t[l],i=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return i||r?this._zipTypesAndAnnotations(i,r):Zt(t.length)}parameters(t){if(!$c(t))return[];const e=Qc(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?Kc(t.decorators):t.hasOwnProperty(u)?t[u]:null}annotations(t){if(!$c(t))return[];const e=Qc(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach((t=>{n[t]=Kc(e[t])})),n}return t.hasOwnProperty(d)?t[d]:null}propMetadata(t){if(!$c(t))return{};const e=Qc(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach((e=>{n[e]=t[e]}))}const r=this._ownPropMetadata(t,e);return r&&Object.keys(r).forEach((t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...r[t]),n[t]=e})),n}ownPropMetadata(t){return $c(t)&&this._ownPropMetadata(t,Qc(t))||{}}hasLifecycleHook(t,e){return t instanceof Hc&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${L(t)}`}resourceUri(t){return`./${L(t)}`}resolveIdentifier(t,e,n,r){return r}resolveEnum(t,e){return t[e]}}function Kc(t){return t?t.map((t=>new(0,t.type.annotationCls)(...t.args?t.args:[]))):[]}function Qc(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}let Jc=null;function Xc(){return Jc=Jc||new Zc}function tu(t){return eu(Xc().parameters(t))}function eu(t){const e=Q();return t.map((t=>function(t,e){const n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const o=e[i];if(void 0===o)continue;const s=Object.getPrototypeOf(o);if(o instanceof y||"Optional"===s.ngMetadataName)n.optional=!0;else if(o instanceof v||"SkipSelf"===s.ngMetadataName)n.skipSelf=!0;else if(o instanceof b||"Self"===s.ngMetadataName)n.self=!0;else if(o instanceof w||"Host"===s.ngMetadataName)n.host=!0;else if(o instanceof _)n.token=o.token;else if(o instanceof S){if(void 0===o.attributeName)throw new Error("Attribute name must be defined.");n.token=o.attributeName,n.resolved=t.R3ResolvedDependencyType.Attribute}else o===Bc?(n.token=o,n.resolved=t.R3ResolvedDependencyType.ChangeDetectorRef):r(o)}else void 0===e||Array.isArray(e)&&0===e.length?(n.token=void 0,n.resolved=Y.Invalid):r(e);return n}(e,t)))}const nu=E({provide:String,useValue:E});function ru(t){return void 0!==t.useClass}function iu(t){return void 0!==t.useFactory}function ou(t,e){const n=e||{providedIn:null},r={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(ru(n)||iu(n))&&void 0!==n.deps&&(r.userDeps=eu(n.deps)),ru(n)?r.useClass=z(n.useClass):!function(t){return nu in t}(n)?iu(n)?r.useFactory=n.useFactory:function(t){return void 0!==t.useExisting}(n)&&(r.useExisting=z(n.useExisting)):r.useValue=z(n.useValue),r}E({provide:String,useValue:E});const su=h("Injectable",void 0,void 0,void 0,((t,e)=>cu(t,e)));const au=function(t,e){let n=null,r=null;t.hasOwnProperty(R)||(Object.defineProperty(t,R,{get:()=>(null===n&&(n=Q().compileInjectable(Ut,`ng:///${t.name}/\u0275prov.js`,ou(t,e))),n)}),t.hasOwnProperty(N)||(t[N]=()=>t[R])),t.hasOwnProperty(rt)||Object.defineProperty(t,rt,{get:()=>{if(null===r){const n=ou(t,e),i=Q();r=i.compileFactory(Ut,`ng:///${t.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:tu(t),injectFn:"inject",target:i.R3FactoryTarget.Injectable})}return r},configurable:!0})},cu=au,uu=new vt("Set Injector scope."),lu={},du={},hu=[];let pu;function fu(){return void 0===pu&&(pu=new Lt),pu}function mu(t,e=null,n=null,r){const i=gu(t,e,n,r);return i._resolveInjectorDefTypes(),i}function gu(t,e=null,n=null,r){return new _u(t,n,e||fu(),r)}class _u{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&qt(e,(n=>this.processProvider(n,t,e))),qt([t],(t=>this.processInjectorType(t,[],i))),this.records.set(wt,vu(void 0,this));const o=this.records.get(uu);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:L(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((t=>t.ngOnDestroy()))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Ct,n=O.Default){this.assertNotDestroyed();const r=Tt(this);try{if(!(n&O.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof vt)&&T(t);e=n&&this.injectableDefInScope(n)?vu(yu(t),lu):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const r=n&O.Self?fu():this.parent;return e=n&O.Optional&&e===Ct?null:e,r.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[St]=e[St]||[]).unshift(L(t)),r)throw e;return Vt(e,t,"R3InjectorError",this.source)}throw e}finally{Tt(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach((t=>this.get(t)))}toString(){const t=[];return this.records.forEach(((e,n)=>t.push(L(n)))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=z(t)))return!1;let r=A(t);const i=null==r&&t.ngModule||void 0,o=void 0===i?t:i;if(ngDevMode&&-1!==e.indexOf(o)){On(L(o),e.map(L))}const s=-1!==n.indexOf(o);if(void 0!==i&&(r=A(i)),null==r)return!1;if(null!=r.imports&&!s){let t;ngDevMode&&e.push(o),n.push(o);try{qt(r.imports,(r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))}))}finally{ngDevMode&&e.pop()}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];qt(r,(t=>this.processProvider(t,n,r||hu)))}}this.injectorDefTypes.add(o),this.records.set(o,vu(r.factory,lu));const a=r.providers;if(null!=a&&!s){const e=t;qt(a,(t=>this.processProvider(t,e,a)))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=Cu(t=z(t))?t:z(t&&t.provide);const i=function(t,e,n){if(wu(t))return vu(void 0,t.useValue);return vu(bu(t,e,n),lu)}(t,e,n);if(Cu(t)||!0!==t.multi){const t=this.records.get(r);ngDevMode&&t&&void 0!==t.multi&&xn()}else{let e=this.records.get(r);e?ngDevMode&&void 0===e.multi&&xn():(e=vu(void 0,lu,!0),e.factory=()=>Ft(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return ngDevMode&&e.value===du?On(L(t)):e.value===lu&&(e.value=du,e.value=e.factory()),"object"==typeof e.value&&e.value&&(null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function yu(t){const e=T(t),n=null!==e?e.factory:ve(t);if(null!==n)return n;const r=A(t);if(null!==r)return r.factory;if(t instanceof vt)throw new Error(`Token ${L(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=Zt(e,"?");throw new Error(`Can't resolve all parameters for ${L(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[R]||t[P]||t[N]&&t[N]());if(e)return function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);null===e||e[1]}(t),e;return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function bu(t,e,n){let r;if(Cu(t)){const e=z(t);return ve(e)||yu(e)}if(wu(t))r=()=>z(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...Ft(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Rt(z(t.useExisting));else{const i=z(t&&(t.useClass||t.provide));if(ngDevMode&&!i&&function(t,e,n){let r="";t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map((t=>t==n?"?"+n+"?":"...")).join(", ")}]`);throw new Error(`Invalid provider for the NgModule '${L(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return ve(i)||yu(i);r=()=>new i(...Ft(t.deps))}var i;return r}function vu(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wu(t){return null!==t&&"object"==typeof t&&It in t}function Cu(t){return"function"==typeof t}function Su(t,e,n){return mu({name:n},e,t,n)}const Ou=Su;class Eu{static create(t,e){return Array.isArray(t)?Ou(t,e,""):Ou(t.providers,t.parent,t.name||"")}}Eu.THROW_IF_NOT_FOUND=Ct,Eu.NULL=new Lt,Eu.\u0275prov=I({token:Eu,providedIn:"any",factory:()=>Rt(wt)}),Eu.__NG_ELEMENT_ID__=-1;function xu(t){if(t.length>1){return" ("+function(t){const e=[];for(let n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map((t=>L(t.token))).join(" -> ")+")"}return""}function Iu(t,e,n,r){const i=[e],o=n(i),s=r?function(t,e){const n=`${t} caused by: ${e instanceof Error?e.message:e}`,r=Error(n);return r[ki]=e,r}(o,r):Error(o);return s.addKey=ku,s.keys=i,s.injectors=[t],s.constructResolvingMessage=n,s[ki]=r,s}function ku(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Du(t,e){const n=[];for(let t=0,r=e.length;t<r;t++){const r=e[t];r&&0!=r.length?n.push(r.map(L).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+L(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+L(t)+"' is decorated with Injectable.")}function Tu(t,e){return Error(`Cannot mix multi providers and regular providers, got: ${t} ${e}`)}class ju{constructor(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=L(this.token)}static get(t){return Au.get(z(t))}static get numberOfKeys(){return Au.numberOfKeys}}const Au=new class{constructor(){this._allKeys=new Map}get(t){if(t instanceof ju)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const e=new ju(t,ju.numberOfKeys);return this._allKeys.set(t,e),e}get numberOfKeys(){return this._allKeys.size}};const Ru=new class{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)}resolveEnum(t,e){return this.reflectionCapabilities.resolveEnum(t,e)}}(new Zc);class Mu{constructor(t,e,n){this.key=t,this.optional=e,this.visibility=n}static fromKey(t){return new Mu(t,!1,null)}}const Nu=[];class Pu{constructor(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class Fu{constructor(t,e){this.factory=t,this.dependencies=e}}function Lu(t){let e,n;if(t.useClass){const r=z(t.useClass);e=Ru.factory(r),n=zu(r)}else t.useExisting?(e=t=>t,n=[Mu.fromKey(ju.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){const n=e.map((t=>[t]));return e.map((e=>Hu(t,e,n)))}return zu(t)}(t.useFactory,t.deps)):(e=()=>t.useValue,n=Nu);return new Fu(e,n)}function Vu(t){return new Pu(ju.get(t.provide),[Lu(t)],t.multi||!1)}function Bu(t){const e=function(t,e){for(let n=0;n<t.length;n++){const r=t[n],i=e.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Tu(i,r);if(r.multiProvider)for(let t=0;t<r.resolvedFactories.length;t++)i.resolvedFactories.push(r.resolvedFactories[t]);else e.set(r.key.id,r)}else{let t;t=r.multiProvider?new Pu(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,t)}}return e}(Uu(t,[]).map(Vu),new Map);return Array.from(e.values())}function Uu(t,e){return t.forEach((t=>{if(t instanceof Hc)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!Array.isArray(t))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`);Uu(t,e)}})),e}function zu(t){const e=Ru.parameters(t);if(!e)return[];if(e.some((t=>null==t)))throw Du(t,e);return e.map((n=>Hu(t,n,e)))}function Hu(t,e,n){let r=null,i=!1;if(!Array.isArray(e))return $u(e instanceof _?e.token:e,i,null);let o=null;for(let t=0;t<e.length;++t){const n=e[t];n instanceof Hc?r=n:n instanceof _?r=n.token:n instanceof y?i=!0:n instanceof b||n instanceof v?o=n:n instanceof vt&&(r=n)}if(r=z(r),null!=r)return $u(r,i,o);throw Du(t,n)}function $u(t,e,n){return new Mu(ju.get(t),e,n)}const Gu={};class qu{static resolve(t){return Bu(t)}static resolveAndCreate(t,e){const n=qu.resolve(t);return qu.fromResolvedProviders(n,e)}static fromResolvedProviders(t,e){return new Wu(t,e)}}class Wu{constructor(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;const n=t.length;this.keyIds=[],this.objs=[];for(let e=0;e<n;e++)this.keyIds[e]=t[e].key.id,this.objs[e]=Gu}get(t,e=Ct){return this._getByKey(ju.get(t),null,e)}resolveAndCreateChild(t){const e=qu.resolve(t);return this.createChildFromResolved(e)}createChildFromResolved(t){const e=new Wu(t);return e.parent=this,e}resolveAndInstantiate(t){return this.instantiateResolved(qu.resolve([t])[0])}instantiateResolved(t){return this._instantiateProvider(t)}getProviderAtIndex(t){if(t<0||t>=this._providers.length)throw function(t){return Error(`Index ${t} is out-of-bounds.`)}(t);return this._providers[t]}_new(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw e=this,n=t.key,Iu(e,n,(function(t){return`Cannot instantiate cyclic dependency!${xu(t)}`}));var e,n;return this._instantiateProvider(t)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(t){if(t.multiProvider){const e=[];for(let n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])}_instantiate(t,e){const n=e.factory;let r,i;try{r=e.dependencies.map((t=>this._getByReflectiveDependency(t)))}catch(e){throw e.addKey&&e.addKey(this,t.key),e}try{i=n(...r)}catch(e){throw o=this,s=e,e.stack,a=t.key,Iu(o,a,(function(t){const e=L(t[0].token);return`${s.message}: Error during instantiation of ${e}!${xu(t)}.`}),s)}var o,s,a;return i}_getByReflectiveDependency(t){return this._getByKey(t.key,t.visibility,t.optional?null:Ct)}_getByKey(t,e,n){return t===Wu.INJECTOR_KEY?this:e instanceof b?this._getByKeySelf(t,n):this._getByKeyDefault(t,n,e)}_getObjByKeyId(t){for(let e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===Gu&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return Gu}_throwOrNull(t,e){if(e!==Ct)return e;throw function(t,e){return Iu(t,e,(function(t){return`No provider for ${L(t[0].token)}!${xu(t)}`}))}(this,t)}_getByKeySelf(t,e){const n=this._getObjByKeyId(t.id);return n!==Gu?n:this._throwOrNull(t,e)}_getByKeyDefault(t,e,n){let r;for(r=n instanceof v?this.parent:this;r instanceof Wu;){const e=r,n=e._getObjByKeyId(t.id);if(n!==Gu)return n;r=e.parent}return null!==r?r.get(t.token,e):this._throwOrNull(t,e)}get displayName(){return`ReflectiveInjector(providers: [${function(t,e){const n=[];for(let r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}(this,(t=>' "'+t.key.displayName+'" ')).join(", ")}])`}toString(){return this.displayName}}Wu.INJECTOR_KEY=ju.get(Eu);const Yu=new vt("AnalyzeForEntryComponents");class Zu{}const Ku=m("ContentChildren",((t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)),Zu),Qu=m("ContentChild",((t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)),Zu),Ju=m("ViewChildren",((t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)),Zu),Xu=m("ViewChild",((t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)),Zu);function tl(t){const e=[],n=new Map;function r(e){let r=n.get(e);if(!r){const i=t(e);n.set(e,r=i.then(ol))}return r}return el.forEach(((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then((e=>{t.template=e})));const o=t.styleUrls,s=t.styles||(t.styles=[]),a=t.styles.length;o&&o.forEach(((e,n)=>{s.push(""),i.push(r(e).then((r=>{s[a+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)})))}));const c=Promise.all(i).then((()=>function(t){nl.delete(t)}(n)));e.push(c)})),il(),Promise.all(e).then((()=>{}))}let el=new Map;const nl=new Set;function rl(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length)}function il(){const t=el;return el=new Map,t}function ol(t){return"string"==typeof t?t:t.text()}function sl(t,e,n){ngDevMode&&dn(ur(),"Expecting to be called in first template pass only");let r=n?t.styles:null,i=n?t.classes:null,o=0;if(null!==e)for(let t=0;t<e.length;t++){const n=e[t];if("number"==typeof n)o=n;else if(1==o)i=V(i,n);else if(2==o){r=V(r,n+": "+e[++t]+";")}}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function al(t){const e=Zo(t);Qa(e[Se],e,t)}function cl(t){ngDevMode&>(t,"component");const e=Za(Zo(t));ngDevMode&>(e[Te],"rootContext should be defined"),function(t,e){if(0===t.flags&&t.clean==aa){let n;t.flags|=e,t.clean=new Promise((t=>n=t)),t.scheduler((()=>{if(1&t.flags&&(t.flags&=-2,Ka(t)),2&t.flags){t.flags&=-3;const e=t.playerHandler;e&&e.flushPlayers()}t.clean=aa,n(null)}))}}(e[Te],1)}function ul(t){vl(t);const e=ml(t,!1);return null===e?null:(void 0===e.component&&(e.component=function(t,e){const n=e[Se].data[t];let r=n.directiveStart;return 2&n.flags?e[r]:null}(e.nodeIndex,e.lView)),e.component)}function ll(t){vl(t);const e=ml(t,!1);return null===e?null:e.lView[Te]}function dl(t){const e=ml(t,!1);if(null===e)return null;let n,r=e.lView;for(ngDevMode&&ln(r);2===r[Se].type&&(n=fs(r));)r=n;return 512&r[Oe]?null:r[Te]}function hl(t){return[...gs(t).components]}function pl(t){const e=ml(t,!1);if(null===e)return Eu.NULL;const n=e.lView[Se].data[e.nodeIndex];return new Oi(n,e.lView)}function fl(t){const e=ml(t);return void 0===e.directives&&(e.directives=ts(e.nodeIndex,e.lView,!1)),null===e.directives?[]:[...e.directives]}function ml(t,e=!0){const n=Wo(t);if(!n&&e)throw new Error(ngDevMode?`Unable to find context associated with ${_n(t)}`:"Invalid ng target");return n}function gl(t){const e=ml(t,!1);return null===e?{}:(void 0===e.localRefs&&(e.localRefs=function(t,e){const n=t[Se].data[e];if(n&&n.localNames){const e={};let r=n.index+1;for(let i=0;i<n.localNames.length;i+=2)e[n.localNames[i]]=t[r],r++;return e}return null}(e.lView,e.nodeIndex)),e.localRefs||{})}function _l(t){return Wo(t).native}function yl(t){vl(t);const e=ml(t,!1);if(null===e)return[];const n=e.lView,r=n[Se],i=n[De],o=r.cleanup,s=[];if(o&&i)for(let e=0;e<o.length;){const r=o[e++],a=o[e++];if("string"==typeof r){const c=r,u=Gn(n[a]),l=i[o[e++]],d=o[e++],h="boolean"==typeof d||d>=0?"dom":"output",p="boolean"==typeof d&&d;t==u&&s.push({element:t,name:c,callback:l,useCapture:p,type:h})}}return s.sort(bl),s}function bl(t,e){return t.name==e.name?0:t.name<e.name?-1:1}function vl(t){if("undefined"!=typeof Element&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}function wl(t){cl(t),hl(t).forEach((t=>al(t)))}const Cl="ng";let Sl=!1;function Ol(){Sl||(Sl=!0,El("getComponent",ul),El("getContext",ll),El("getListeners",yl),El("getOwningComponent",dl),El("getHostElement",_l),El("getInjector",pl),El("getRootComponents",hl),El("getDirectives",fl),El("applyChanges",wl))}function El(t,e){if("undefined"==typeof COMPILED||!COMPILED){const n=W;if(ngDevMode&>(e,"function not defined"),n){let r=n[Cl];r||(r=n[Cl]={}),r[t]=e}}}function xl(t,e={}){ngDevMode&&Ol(),ngDevMode&&sn(t);const n=e.rendererFactory||$n,r=e.sanitizer||null,i=_e(t);i.type!=t&&(i.type=t);const o=i.selectors[0][0],s=Ca(n.createRenderer(null,null),e.host||o,i.encapsulation),a=i.onPush?576:528,c=Dl(e.scheduler,e.playerHandler),u=n.createRenderer(s,i),l=va(0,null,null,1,0,null,null,null,null,null),d=la(null,l,c,a,null,null,n,u,null,e.injector||null);let h;kr(d);try{n.begin&&n.begin();h=kl(Il(s,i,d,n,u,r),i,d,c,e.hostFeatures||null),ha(l,d,null),pa(l,d,null,null)}finally{Rr(),n.end&&n.end()}return h}function Il(t,e,n,r,i,o){const s=n[Se];ngDevMode&&bt(n,0+ze),n[0+ze]=t;const a=da(s,0,2,null,null),c=a.mergedAttrs=e.hostAttrs;null!==c&&(sl(a,c,!0),null!==t&&(Xr(i,t,c),null!==a.classes&&Dc(i,t,a.classes),null!==a.styles&&kc(i,t,a.styles)));const u=r.createRenderer(t,e),l=la(n,ba(e),null,e.onPush?64:16,n[ze],a,r,u,o||null,null);return s.firstCreatePass&&(mi(di(a,n),s,e.type),Na(s,a),Fa(a,n.length,1)),Ya(n,l),n[ze]=l}function kl(t,e,n,r,i){const o=n[Se],s=function(t,e,n){const r=dr();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ma(t,r,1),La(t,e,n));const i=wi(e,t,e.length-1,r);Ko(i,e);const o=Wn(r,e);return o&&Ko(o,e),i}(o,n,e);r.components.push(s),t[Te]=s,i&&i.forEach((t=>t(s,e))),e.contentQueries&&e.contentQueries(1,s,n.length-1);const a=dr();if(ngDevMode&>(a,"tNode should have been already created"),o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Pr(a.index-ze);const t=n[Se];ja(t,e),Aa(t,n,e.hostVars),Ra(e,s)}return s}function Dl(t,e){return{components:[],scheduler:t||yn,clean:ec,playerHandler:e||null,flags:0}}function Tl(t,e){const n=Jn(t)[Se],r=n.data.length-1;Ur(n,{directiveStart:r,directiveEnd:r+1})}function jl(t){return gs(t).clean}function Al(t){return Object.getPrototypeOf(t.prototype).constructor}function Rl(t){let e=Al(t.type),n=!0;const r=[t];for(;e;){let i;if(en(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Ml(t.inputs),e.declaredInputs=Ml(t.declaredInputs),e.outputs=Ml(t.outputs);const n=i.hostBindings;n&&Fl(t,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Nl(t,o),s&&Pl(t,s),x(t.inputs,i.inputs),x(t.declaredInputs,i.declaredInputs),x(t.outputs,i.outputs),en(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===Rl&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=ni(i.hostAttrs,n=ni(n,i.hostAttrs))}}(r)}function Ml(t){return t===ie?{}:t===oe?[]:t}function Nl(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Pl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Fl(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}const Ll=["providersResolver"],Vl=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Bl(t){let e,n=Al(t.type);e=en(t)?n.\u0275cmp:n.\u0275dir;const r=t;for(const t of Ll)r[t]=e[t];if(en(e))for(const t of Vl)r[t]=e[t]}let Ul=null;function zl(){if(!Ul){const t=W.Symbol;if(t&&t.iterator)Ul=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ul=n)}}}return Ul}function Hl(t,e){const n=Gl(t),r=Gl(e);if(n&&r)return function(t,e,n){const r=t[zl()](),i=e[zl()]();for(;;){const t=r.next(),e=i.next();if(t.done&&e.done)return!0;if(t.done||e.done)return!1;if(!n(t.value,e.value))return!1}}(t,e,Hl);return!(n||!(t&&("object"==typeof t||"function"==typeof t))||r||!(e&&("object"==typeof e||"function"==typeof e)))||Object.is(t,e)}class $l{constructor(t){this.wrapped=t}static wrap(t){return new $l(t)}static unwrap(t){return $l.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof $l}}function Gl(t){return!!ql(t)&&(Array.isArray(t)||!(t instanceof Map)&&zl()in t)}function ql(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Wl(t,e,n){return t[e]=n}function Yl(t,e){return ngDevMode&&bt(t,e),ngDevMode&&ht(t[e],ps,"Stored value should never be NO_CHANGE."),t[e]}function Zl(t,e,n){ngDevMode&&ht(n,ps,"Incoming value should never be NO_CHANGE."),ngDevMode&&pt(e,t.length,"Slot should have been initialized to NO_CHANGE");const r=t[e];if(Object.is(r,n))return!1;if(ngDevMode&&mr()){const i=r!==ps?r:void 0;if(!Hl(i,n)){const o=function(t,e,n,r){const i=t[Se].data,o=i[e];if("string"==typeof o)return o.indexOf(Cn)>-1?In(t,e,e,o,r):{propName:o,oldValue:n,newValue:r};if(null===o){let n=e-1;for(;"string"!=typeof i[n]&&null===i[n+1];)n--;const o=i[n];if("string"==typeof o){const i=o.match(new RegExp(Cn,"g"));if(i&&i.length-1>e-n)return In(t,n,e,o,r)}}return{propName:void 0,oldValue:n,newValue:r}}(t,e,i,n);!function(t,e,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${e}'. Current value: '${n}'.`;throw t&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new Error(i)}(r===ps,o.oldValue,o.newValue,o.propName)}return!1}return t[e]=n,!0}function Kl(t,e,n,r){const i=Zl(t,e,n);return Zl(t,e+1,r)||i}function Ql(t,e,n,r,i){const o=Kl(t,e,n,r);return Zl(t,e+2,i)||o}function Jl(t,e,n,r,i,o){const s=Kl(t,e,n,r);return Kl(t,e+2,i,o)||s}function Xl(t,e,n,r){const i=cr(),o=vr();if(Zl(i,o,e)){const s=ur(),a=Fr();Ba(a,i,t,e,n,r),ngDevMode&&tc(s.data,a,"attr."+t,o)}return Xl}function td(t,e){ngDevMode&&pt(2,e.length,"should have at least 3 values"),ngDevMode&&ut(e.length%2,1,"should have an odd number of values");let n=!1,r=yr();for(let i=1;i<e.length;i+=2)n=Zl(t,r++,e[i])||n;if(br(r),!n)return ps;let i=e[0];for(let t=1;t<e.length;t+=2)i+=gn(e[t])+e[t+1];return i}function ed(t,e,n,r){return Zl(t,vr(),n)?e+gn(n)+r:ps}function nd(t,e,n,r,i,o){const s=Kl(t,yr(),n,i);return wr(2),s?e+gn(n)+r+gn(i)+o:ps}function rd(t,e,n,r,i,o,s,a){const c=Ql(t,yr(),n,i,s);return wr(3),c?e+gn(n)+r+gn(i)+o+gn(s)+a:ps}function id(t,e,n,r,i,o,s,a,c,u){const l=Jl(t,yr(),n,i,s,c);return wr(4),l?e+gn(n)+r+gn(i)+o+gn(s)+a+gn(c)+u:ps}function od(t,e,n,r,i,o,s,a,c,u,l,d){const h=yr();let p=Jl(t,h,n,i,s,c);return p=Zl(t,h+4,l)||p,wr(5),p?e+gn(n)+r+gn(i)+o+gn(s)+a+gn(c)+u+gn(l)+d:ps}function sd(t,e,n,r,i,o,s,a,c,u,l,d,h,p){const f=yr();let m=Jl(t,f,n,i,s,c);return m=Kl(t,f+4,l,h)||m,wr(6),m?e+gn(n)+r+gn(i)+o+gn(s)+a+gn(c)+u+gn(l)+d+gn(h)+p:ps}function ad(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m){const g=yr();let _=Jl(t,g,n,i,s,c);return _=Ql(t,g+4,l,h,f)||_,wr(7),_?e+gn(n)+r+gn(i)+o+gn(s)+a+gn(c)+u+gn(l)+d+gn(h)+p+gn(f)+m:ps}function cd(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_){const y=yr();let b=Jl(t,y,n,i,s,c);return b=Jl(t,y+4,l,h,f,g)||b,wr(8),b?e+gn(n)+r+gn(i)+o+gn(s)+a+gn(c)+u+gn(l)+d+gn(h)+p+gn(f)+m+gn(g)+_:ps}function ud(t,e,n,r,i,o){const s=cr(),a=ed(s,e,n,r);if(a!==ps){const n=Fr();Ba(n,s,t,a,i,o),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-1,e,r)}return ud}function ld(t,e,n,r,i,o,s,a){const c=cr(),u=nd(c,e,n,r,i,o);if(u!==ps){const n=Fr();Ba(n,c,t,u,s,a),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-2,e,r,o)}return ld}function dd(t,e,n,r,i,o,s,a,c,u){const l=cr(),d=rd(l,e,n,r,i,o,s,a);if(d!==ps){const n=Fr();Ba(n,l,t,d,c,u),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-3,e,r,o,a)}return dd}function hd(t,e,n,r,i,o,s,a,c,u,l,d){const h=cr(),p=id(h,e,n,r,i,o,s,a,c,u);if(p!==ps){const n=Fr();Ba(n,h,t,p,l,d),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-4,e,r,o,a,u)}return hd}function pd(t,e,n,r,i,o,s,a,c,u,l,d,h,p){const f=cr(),m=od(f,e,n,r,i,o,s,a,c,u,l,d);if(m!==ps){const n=Fr();Ba(n,f,t,m,h,p),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-5,e,r,o,a,u,d)}return pd}function fd(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m){const g=cr(),_=sd(g,e,n,r,i,o,s,a,c,u,l,d,h,p);if(_!==ps){const n=Fr();Ba(n,g,t,_,f,m),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-6,e,r,o,a,u,d,p)}return fd}function md(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_){const y=cr(),b=ad(y,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m);if(b!==ps){const n=Fr();Ba(n,y,t,b,g,_),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-7,e,r,o,a,u,d,p,m)}return md}function gd(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y,b){const v=cr(),w=cd(v,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_);if(w!==ps){const n=Fr();Ba(n,v,t,w,y,b),ngDevMode&&tc(ur().data,n,"attr."+t,yr()-8,e,r,o,a,u,d,p,m,_)}return gd}function _d(t,e,n,r){const i=cr(),o=td(i,e);if(o!==ps){const s=Fr();if(Ba(s,i,t,o,n,r),ngDevMode){const n=[e[0]];for(let t=2;t<e.length;t+=2)n.push(e[t]);tc(ur().data,s,"attr."+t,yr()-n.length+1,...n)}}return _d}function yd(t,e,n,r,i,o,s,a){const c=cr(),u=ur(),l=t+ze,d=u.firstCreatePass?function(t,e,n,r,i,o,s,a,c){ngDevMode&&dn(e),ngDevMode&&ngDevMode.firstCreatePass++;const u=e.consts,l=da(e,t,0,s||null,er(u,a));Ta(e,n,l,er(u,c)),Ur(e,l);const d=l.tViews=va(2,l,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}(t,u,c,e,n,r,i,o,s):u.data[l];hr(d,!1);const h=c[Re].createComment(ngDevMode?"container":"");vc(u,c,h,d),Ko(h,c),Ya(c,c[l]=$a(h,c,h,d)),tn(d)&&_a(u,c,d),null!=s&&ya(c,d,a)}function bd(t,e,n,r){const i=n+ze;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}function vd(t){return Zn(ir.lFrame.contextLView,t)}function wd(t,e=O.Default){const n=cr();if(null===n)return ngDevMode&&(r=wd,ngDevMode&<(Dt,r,"Calling \u0275\u0275inject would cause infinite recursion")),Rt(t,e);var r;return _i(dr(),n,z(t),e)}function Cd(t){return gi(dr(),t)}function Sd(){const t=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(t)}function Od(t,e,n){const r=cr(),i=vr();if(Zl(r,i,e)){const o=ur(),s=Fr();Ea(o,s,r,t,e,r[Re],n,!1),ngDevMode&&tc(o.data,s,t,i)}return Od}function Ed(t,e,n,r,i){const o=i?"class":"style";oc(t,n,e.inputs[o],o,r)}function xd(t,e,n,r,i,o,s){ngDevMode&&dn(e),ngDevMode&&ngDevMode.firstCreatePass++;const a=e.consts,c=da(e,t,2,i,er(a,o)),u=Ta(e,n,c,er(a,s));return ngDevMode&&function(t,e,n,r){const i=t.schemas;if(null===i)return;const o=n.tagName;if(!r&&null!==o){if(("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&e instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&o.indexOf("-")>-1&&!customElements.get(o))&&!ka(t,o)){let t=`'${o}' is not a known element:\n`;t+=`1. If '${o}' is an Angular component, then verify that it is part of this module.\n`,o&&o.indexOf("-")>-1?t+=`2. If '${o}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:t+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."}}}(e,r,c,u),null!==c.attrs&&sl(c,c.attrs,!1),null!==c.mergedAttrs&&sl(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}function Id(t,e,n,r){const i=cr(),o=ur(),s=ze+t;ngDevMode&&ut(yr(),o.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&bt(i,s);const a=i[Re],c=i[s]=ua(e,a,ir.lFrame.currentNamespace),u=o.firstCreatePass?xd(t,o,i,c,e,n,r):o.data[s];hr(u,!0);const l=u.mergedAttrs;null!==l&&Xr(a,c,l);const d=u.classes;null!==d&&Dc(a,c,d);const h=u.styles;null!==h&&kc(a,c,h),vc(o,i,c,u),0===ir.lFrame.elementDepthCount&&Ko(c,i),ir.lFrame.elementDepthCount++,tn(u)&&(_a(o,i,u),ga(o,u,i)),null!==r&&ya(i,u)}function kd(){let t=dr();ngDevMode&>(t,"No parent node to close."),pr()?fr():(ngDevMode&&an(dr()),t=t.parent,hr(t,!1));const e=t;ngDevMode&&Kr(e,2),ir.lFrame.elementDepthCount--;const n=ur();n.firstCreatePass&&(Ur(n,t),Je(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Ed(n,e,cr(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Ed(n,e,cr(),e.stylesWithoutHost,!1)}function Dd(t,e,n,r){Id(t,e,n,r),kd()}function Td(t,e,n){const r=cr(),i=ur(),o=t+ze;ngDevMode&&bt(r,o),ngDevMode&&ut(yr(),i.bindingStartIndex,"element containers should be created before any bindings");const s=i.firstCreatePass?function(t,e,n,r,i){ngDevMode&&ngDevMode.firstCreatePass++;const o=e.consts,s=er(o,r),a=da(e,t,3,"ng-container",s);return null!==s&&sl(a,s,!0),Ta(e,n,a,er(o,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,i,r,e,n):i.data[o];hr(s,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[o]=r[Re].createComment(ngDevMode?"ng-container":"");vc(i,r,a,s),Ko(a,r),tn(s)&&(_a(i,r,s),ga(i,s,r)),null!=n&&ya(r,s)}function jd(){let t=dr();const e=ur();pr()?fr():(ngDevMode&&an(t),t=t.parent,hr(t,!1)),ngDevMode&&Kr(t,3),e.firstCreatePass&&(Ur(e,t),Je(t)&&e.queries.elementEnd(t))}function Ad(t,e,n){Td(t,e,n),jd()}function Rd(){return cr()}function Md(t){return!!t&&"function"==typeof t.then}function Nd(t){return!!t&&"function"==typeof t.subscribe}function Pd(t,e,n=!1,r){const i=cr(),o=ur(),s=dr();return Ld(o,i,i[Re],s,t,e,n,r),Pd}function Fd(t,e,n=!1,r){const i=dr(),o=cr(),s=ur();return Ld(s,o,rc(Or(s.data),i,o),i,t,e,n,r),Fd}function Ld(t,e,n,r,i,o,s=!1,a){const c=tn(r),u=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),l=nc(e);ngDevMode&&Qr(r,[2,0,3]);let d=!0;if(2===r.type){const h=Wn(r,e),p=a?a(h):ie,f=p.target||h,m=l.length,g=a?t=>a(Gn(t[r.index])).target:r.index;if(Hn(n)){let s=null;if(!a&&c&&(s=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let t=0;t<i.length-1;t+=2){const o=i[t];if(o===n&&i[t+1]===r){const n=e[De],r=i[t+2];return n.length>r?n[r]:null}"string"==typeof o&&(t+=2)}return null}(t,e,i,r.index)),null!==s){(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1}else{o=Bd(r,e,o,!1);const t=n.listen(p.name||f,i,o);ngDevMode&&ngDevMode.rendererAddEventListener++,l.push(o,t),u&&u.push(i,g,m,m+1)}}else o=Bd(r,e,o,!0),f.addEventListener(i,o,s),ngDevMode&&ngDevMode.rendererAddEventListener++,l.push(o),u&&u.push(i,g,m,s)}const h=r.outputs;let p;if(d&&null!==h&&(p=h[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=p[n];ngDevMode&&bt(e,t);const s=p[n+1],a=e[t],c=a[s];if(ngDevMode&&!Nd(c))throw new Error(`@Output ${s} not initialized in '${a.constructor.name}'.`);const d=c.subscribe(o),h=l.length;l.push(o,d),u&&u.push(i,r.index,h,-(h+1))}}}function Vd(t,e,n){try{return!1!==e(n)}catch(e){return ic(t,e),!1}}function Bd(t,e,n,r){return function i(o){if(o===Function)return n;const s=2&t.flags?Kn(t.index,e):e;0==(32&e[Oe])&&Za(s);let a=Vd(e,n,o),c=i.__ngNextListenerFn__;for(;c;)a=Vd(e,c,o)&&a,c=c.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function Ud(t=1){return Mr(t)}function zd(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const o=e[i];if("*"!==o){if(null===r?us(t,o,!0):ls(r,o))return i}else n=i}return n}function Hd(t){const e=cr()[Le][ke];if(!e.projection){const n=t?t.length:1,r=e.projection=Zt(n,null),i=r.slice();let o=e.child;for(;null!==o;){const e=t?zd(o,t):0;null!==e&&(i[e]?i[e].projectionNext=o:r[e]=o,i[e]=o),o=o.next}}}let $d=!1;function Gd(t){$d=t}function qd(t,e=0,n){const r=cr(),i=ur(),o=da(i,t,1,null,n||null);null===o.projection&&(o.projection=e),fr(),$d||xc(i,r,o)}function Wd(t,e,n){return Yd(t,"",e,"",n),Wd}function Yd(t,e,n,r,i){const o=cr(),s=ed(o,e,n,r);if(s!==ps){const n=ur(),a=Fr();Ea(n,a,o,t,s,o[Re],i,!1),ngDevMode&&tc(n.data,a,t,yr()-1,e,r)}return Yd}function Zd(t,e,n,r,i,o,s){const a=cr(),c=nd(a,e,n,r,i,o);if(c!==ps){const n=ur(),i=Fr();Ea(n,i,a,t,c,a[Re],s,!1),ngDevMode&&tc(n.data,i,t,yr()-2,e,r,o)}return Zd}function Kd(t,e,n,r,i,o,s,a,c){const u=cr(),l=rd(u,e,n,r,i,o,s,a);if(l!==ps){const n=ur(),i=Fr();Ea(n,i,u,t,l,u[Re],c,!1),ngDevMode&&tc(n.data,i,t,yr()-3,e,r,o,a)}return Kd}function Qd(t,e,n,r,i,o,s,a,c,u,l){const d=cr(),h=id(d,e,n,r,i,o,s,a,c,u);if(h!==ps){const n=ur(),i=Fr();Ea(n,i,d,t,h,d[Re],l,!1),ngDevMode&&tc(n.data,i,t,yr()-4,e,r,o,a,u)}return Qd}function Jd(t,e,n,r,i,o,s,a,c,u,l,d,h){const p=cr(),f=od(p,e,n,r,i,o,s,a,c,u,l,d);if(f!==ps){const n=ur(),i=Fr();Ea(n,i,p,t,f,p[Re],h,!1),ngDevMode&&tc(n.data,i,t,yr()-5,e,r,o,a,u,d)}return Jd}function Xd(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f){const m=cr(),g=sd(m,e,n,r,i,o,s,a,c,u,l,d,h,p);if(g!==ps){const n=ur(),i=Fr();Ea(n,i,m,t,g,m[Re],f,!1),ngDevMode&&tc(n.data,i,t,yr()-6,e,r,o,a,u,d,p)}return Xd}function th(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g){const _=cr(),y=ad(_,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m);if(y!==ps){const n=ur(),i=Fr();Ea(n,i,_,t,y,_[Re],g,!1),ngDevMode&&tc(n.data,i,t,yr()-7,e,r,o,a,u,d,p,m)}return th}function eh(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y){const b=cr(),v=cd(b,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_);if(v!==ps){const n=ur(),i=Fr();Ea(n,i,b,t,v,b[Re],y,!1),ngDevMode&&tc(n.data,i,t,yr()-8,e,r,o,a,u,d,p,m,_)}return eh}function nh(t,e,n){const r=cr(),i=td(r,e);if(i!==ps){const o=ur(),s=Fr();if(Ea(o,s,r,t,i,r[Re],n,!1),ngDevMode){const n=[e[0]];for(let t=2;t<e.length;t+=2)n.push(e[t]);tc(o.data,s,t,yr()-n.length+1,...n)}}return nh}const rh={},ih=[];function oh(t,e,n,r,i,o){ngDevMode&&hn(ur());let s=o?e.classBindings:e.styleBindings,a=Ss(s),c=xs(s);t[r]=n;let u,l=!1;if(Array.isArray(n)){const t=n;u=t[1],(null===u||Jt(t,u)>0)&&(l=!0)}else u=n;if(i){if(0!==c){const e=Ss(t[a+1]);t[r+1]=Cs(e,a),0!==e&&(t[e+1]=Is(t[e+1],r)),t[a+1]=(d=t[a+1],h=r,ngDevMode&&st(d,"expected number"),ngDevMode&&at(h,0,32767),131071&d|h<<17)}else t[r+1]=Cs(a,0),0!==a&&(t[a+1]=Is(t[a+1],r)),a=r}else t[r+1]=Cs(c,0),ngDevMode&&ut(0!==a&&0===c,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=r:t[c+1]=Is(t[c+1],r),c=r;var d,h;l&&(t[r+1]=Es(t[r+1])),sh(t,u,r,!0,o),sh(t,u,r,!1,o),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&Jt(o,e)>=0&&(n[r+1]=Ds(n[r+1]))}(e,u,t,r,o),s=Cs(a,c),o?e.classBindings=s:e.styleBindings=s}function sh(t,e,n,r,i){const o=t[n+1],s=null===e;let a=r?Ss(o):xs(o),c=!1;for(;0!==a&&(!1===c||s);){ngDevMode&&bt(t,a);const n=t[a],i=t[a+1];ah(n,e)&&(c=!0,t[a+1]=r?Ds(i):Es(i)),a=r?Ss(i):xs(i)}c&&(t[n+1]=r?Es(o):Ds(o))}function ah(t,e){return ngDevMode&<(Array.isArray(e),!0,"Expected that 'tStylingKey' has been unwrapped"),null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Jt(t,e)>=0}("undefined"==typeof ngDevMode||ngDevMode)&&ot()&&(Object.freeze(rh),Object.freeze(ih));const ch={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function uh(t){return t.substring(ch.key,ch.keyEnd)}function lh(t){return t.substring(ch.value,ch.valueEnd)}function dh(t,e){const n=ch.textEnd;return n===e?-1:(e=ch.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,ch.key=e,n),fh(t,e,n))}function hh(t,e){const n=ch.textEnd;let r=ch.key=fh(t,e,n);return n===r?-1:(r=ch.keyEnd=function(t,e,n){let r;for(;e<n&&(45===(r=t.charCodeAt(e))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)e++;return e}(t,r,n),r=mh(t,r,n,58),r=ch.value=fh(t,r,n),r=ch.valueEnd=function(t,e,n){let r=-1,i=-1,o=-1,s=e,a=s;for(;s<n;){const c=t.charCodeAt(s++);if(59===c)return a;34===c||39===c?a=s=gh(t,c,s,n):e===s-4&&85===o&&82===i&&76===r&&40===c?a=s=gh(t,41,s,n):c>32&&(a=s),o=i,i=r,r=-33&c}return a}(t,r,n),mh(t,r,n,59))}function ph(t){ch.key=0,ch.keyEnd=0,ch.value=0,ch.valueEnd=0,ch.textEnd=t.length}function fh(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function mh(t,e,n,r){return(e=fh(t,e,n))<n&&(ngDevMode&&t.charCodeAt(e)!==r&&_h(t,String.fromCharCode(r),e),e++),e}function gh(t,e,n,r){let i=-1,o=n;for(;o<r;){const n=t.charCodeAt(o++);if(n==e&&92!==i)return o;i=92==n&&92===i?0:n}throw ngDevMode?_h(t,String.fromCharCode(e),r):new Error}function _h(t,e,n){throw ngDevMode&&ut("string"==typeof t,!0,"String expected here"),_t(`Malformed style at location ${n} in string '`+t.substring(0,n)+"[>>"+t.substring(n,n+1)+"<<]"+t.substr(n+1)+`'. Expecting '${e}'.`)}function yh(t,e,n){return Oh(t,e,n,!1),yh}function bh(t,e){return Oh(t,e,null,!0),bh}function vh(t){Eh(Th,wh,t,!1)}function wh(t,e){for(let n=function(t){return ph(t),hh(t,fh(t,0,ch.textEnd))}(e);n>=0;n=hh(e,n))Th(t,uh(e),lh(e))}function Ch(t){Eh(Kt,Sh,t,!0)}function Sh(t,e){for(let n=function(t){return ph(t),dh(t,fh(t,0,ch.textEnd))}(e);n>=0;n=dh(e,n))Kt(t,uh(e),!0)}function Oh(t,e,n,r){const i=cr(),o=ur(),s=wr(2);if(o.firstUpdatePass&&Ih(o,t,s,r),e!==ps&&Zl(i,s,e)){jh(o,o.data[Nr()+ze],i,i[Re],t,i[s+1]=function(t,e){null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=L(zi(t))));return t}(e,n),r,s)}}function Eh(t,e,n,r){const i=ur(),o=wr(2);i.firstUpdatePass&&Ih(i,null,o,r);const s=cr();if(n!==ps&&Zl(s,o,n)){const a=i.data[Nr()+ze];if(Mh(a,r)&&!xh(i,o)){if(ngDevMode){const t=i.data[o];ut(Array.isArray(t)?t[1]:t,!1,"Styling linked list shadow input should be marked as 'false'")}let t=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===r&&null!==t&&ut(t.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==t&&(n=V(t,n||"")),Ed(i,a,s,n,r)}else!function(t,e,n,r,i,o,s,a){i===ps&&(i=ih);let c=0,u=0,l=0<i.length?i[0]:null,d=0<o.length?o[0]:null;for(;null!==l||null!==d;){ngDevMode&&pt(c,999,"Are we stuck in infinite loop?"),ngDevMode&&pt(u,999,"Are we stuck in infinite loop?");const h=c<i.length?i[c+1]:void 0,p=u<o.length?o[u+1]:void 0;let f,m=null;l===d?(c+=2,u+=2,h!==p&&(m=d,f=p)):null===d||null!==l&&l<d?(c+=2,m=l):(ngDevMode&>(d,"Expecting to have a valid key"),u+=2,m=d,f=p),null!==m&&jh(t,e,n,r,m,f,s,a),l=c<i.length?i[c]:null,d=u<o.length?o[u]:null}}(i,a,s,s[Re],s[o+1],s[o+1]=function(t,e,n){if(null==n||""===n)return ih;const r=[],i=zi(n);if(Array.isArray(i))for(let e=0;e<i.length;e++)t(r,i[e],!0);else if("object"==typeof i)for(const e in i)i.hasOwnProperty(e)&&t(r,e,i[e]);else"string"==typeof i?e(r,i):ngDevMode&&_t("Unsupported styling type "+typeof i+": "+i);return r}(t,e,n),r,o)}}function xh(t,e){return e>=t.expandoStartIndex}function Ih(t,e,n,r){ngDevMode&&hn(t);const i=t.data;if(null===i[n+1]){const o=i[Nr()+ze],s=xh(t,n);Mh(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=Or(t);let o=r?e.residualClasses:e.residualStyles;if(null===i){0===(r?e.classBindings:e.styleBindings)&&(n=Dh(n=kh(null,t,e,n,r),e.attrs,r),o=null)}else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=kh(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0===xs(r))return;return t[Ss(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=kh(null,t,e,n[1],r),n=Dh(n,e.attrs,r),function(t,e,n,r){const i=n?e.classBindings:e.styleBindings;ngDevMode&<(xs(i),0,"Expecting to have at least one template styling binding."),t[Ss(i)]=r}(t,e,r,n))}else o=function(t,e,n){let r;const i=e.directiveEnd;ngDevMode&<(e.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let o=1+e.directiveStylingLast;o<i;o++){r=Dh(r,t[o].hostAttrs,n)}return Dh(r,e.attrs,n)}(t,e,r)}void 0!==o&&(r?e.residualClasses=o:e.residualStyles=o);return n}(i,o,e,r),oh(i,o,e,n,s,r)}}function kh(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=e[a],ngDevMode&>(o,"expected to be defined"),r=Dh(r,o.hostAttrs,i),o!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function Dh(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?i=s:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Kt(t,s,!!n||e[++o]))}return void 0===t?null:t}function Th(t,e,n){Kt(t,e,zi(n))}function jh(t,e,n,r,i,o,s,a){if(2!==e.type)return;const c=t.data,u=c[a+1];if(!Rh(ks(u)?Ah(c,e,n,i,xs(u),s):void 0)){Rh(o)||Os(u)&&(o=Ah(c,null,n,i,a,s));!function(t,e,n,r,i){const o=Hn(t);if(e)i?(ngDevMode&&ngDevMode.rendererAddClass++,o?t.addClass(n,r):(ngDevMode&>(n.classList,"HTMLElement expected"),n.classList.add(r))):(ngDevMode&&ngDevMode.rendererRemoveClass++,o?t.removeClass(n,r):n.classList.remove(r));else{const e=-1==r.indexOf("-")?void 0:2;null==i?(ngDevMode&&ngDevMode.rendererRemoveStyle++,o?t.removeStyle(n,r,e):n.style.removeProperty(r)):(ngDevMode&&ngDevMode.rendererSetStyle++,o?t.setStyle(n,r,i,e):(ngDevMode&>(n.style,"HTMLElement expected"),n.style.setProperty(r,i)))}}(r,s,qn(Nr(),n),i,o)}}function Ah(t,e,n,r,i,o){const s=null===e;let a;for(;i>0;){const e=t[i],o=Array.isArray(e),c=o?e[1]:e,u=null===c;let l=n[i+1];l===ps&&(l=u?ih:void 0);let d=u?Qt(l,r):c===r?l:void 0;if(o&&!Rh(d)&&(d=Qt(e,r)),Rh(d)&&(a=d,s))return a;const h=t[i+1];i=s?Ss(h):xs(h)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=Qt(t,r))}return a}function Rh(t){return void 0!==t}function Mh(t,e){return 0!=(t.flags&(e?16:32))}function Nh(t,e=""){const n=cr(),r=ur(),i=t+ze;ngDevMode&&ut(yr(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&bt(n,i);const o=r.firstCreatePass?da(r,t,2,null,null):r.data[i],s=n[i]=cc(e,n[Re]);vc(r,n,s,o),hr(o,!1)}function Ph(t){return Fh("",t,""),Ph}function Fh(t,e,n){const r=cr(),i=ed(r,t,e,n);return i!==ps&&sc(r,Nr(),i),Fh}function Lh(t,e,n,r,i){const o=cr(),s=nd(o,t,e,n,r,i);return s!==ps&&sc(o,Nr(),s),Lh}function Vh(t,e,n,r,i,o,s){const a=cr(),c=rd(a,t,e,n,r,i,o,s);return c!==ps&&sc(a,Nr(),c),Vh}function Bh(t,e,n,r,i,o,s,a,c){const u=cr(),l=id(u,t,e,n,r,i,o,s,a,c);return l!==ps&&sc(u,Nr(),l),Bh}function Uh(t,e,n,r,i,o,s,a,c,u,l){const d=cr(),h=od(d,t,e,n,r,i,o,s,a,c,u,l);return h!==ps&&sc(d,Nr(),h),Uh}function zh(t,e,n,r,i,o,s,a,c,u,l,d,h){const p=cr(),f=sd(p,t,e,n,r,i,o,s,a,c,u,l,d,h);return f!==ps&&sc(p,Nr(),f),zh}function Hh(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f){const m=cr(),g=ad(m,t,e,n,r,i,o,s,a,c,u,l,d,h,p,f);return g!==ps&&sc(m,Nr(),g),Hh}function $h(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g){const _=cr(),y=cd(_,t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g);return y!==ps&&sc(_,Nr(),y),$h}function Gh(t){const e=cr(),n=td(e,t);return n!==ps&&sc(e,Nr(),n),Gh}function qh(t,e,n){Eh(Kt,Sh,ed(cr(),t,e,n),!0)}function Wh(t,e,n,r,i){Eh(Kt,Sh,nd(cr(),t,e,n,r,i),!0)}function Yh(t,e,n,r,i,o,s){Eh(Kt,Sh,rd(cr(),t,e,n,r,i,o,s),!0)}function Zh(t,e,n,r,i,o,s,a,c){Eh(Kt,Sh,id(cr(),t,e,n,r,i,o,s,a,c),!0)}function Kh(t,e,n,r,i,o,s,a,c,u,l){Eh(Kt,Sh,od(cr(),t,e,n,r,i,o,s,a,c,u,l),!0)}function Qh(t,e,n,r,i,o,s,a,c,u,l,d,h){Eh(Kt,Sh,sd(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h),!0)}function Jh(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f){Eh(Kt,Sh,ad(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h,p,f),!0)}function Xh(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g){Eh(Kt,Sh,cd(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g),!0)}function tp(t){Eh(Kt,Sh,td(cr(),t),!0)}function ep(t,e,n){vh(ed(cr(),t,e,n))}function np(t,e,n,r,i){vh(nd(cr(),t,e,n,r,i))}function rp(t,e,n,r,i,o,s){vh(rd(cr(),t,e,n,r,i,o,s))}function ip(t,e,n,r,i,o,s,a,c){vh(id(cr(),t,e,n,r,i,o,s,a,c))}function op(t,e,n,r,i,o,s,a,c,u,l){vh(od(cr(),t,e,n,r,i,o,s,a,c,u,l))}function sp(t,e,n,r,i,o,s,a,c,u,l,d,h){vh(sd(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h))}function ap(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f){vh(ad(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h,p,f))}function cp(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g){vh(cd(cr(),t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g))}function up(t){vh(td(cr(),t))}function lp(t,e,n,r,i){return Oh(t,ed(cr(),e,n,r),i,!1),lp}function dp(t,e,n,r,i,o,s){return Oh(t,nd(cr(),e,n,r,i,o),s,!1),dp}function hp(t,e,n,r,i,o,s,a,c){return Oh(t,rd(cr(),e,n,r,i,o,s,a),c,!1),hp}function pp(t,e,n,r,i,o,s,a,c,u,l){return Oh(t,id(cr(),e,n,r,i,o,s,a,c,u),l,!1),pp}function fp(t,e,n,r,i,o,s,a,c,u,l,d,h){return Oh(t,od(cr(),e,n,r,i,o,s,a,c,u,l,d),h,!1),fp}function mp(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f){return Oh(t,sd(cr(),e,n,r,i,o,s,a,c,u,l,d,h,p),f,!1),mp}function gp(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g){return Oh(t,ad(cr(),e,n,r,i,o,s,a,c,u,l,d,h,p,f,m),g,!1),gp}function _p(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y){return Oh(t,cd(cr(),e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_),y,!1),_p}function yp(t,e,n){return Oh(t,td(cr(),e),n,!1),yp}function bp(t,e,n){const r=cr(),i=vr();if(Zl(r,i,e)){const o=ur(),s=Fr();Ea(o,s,r,t,e,r[Re],n,!0),ngDevMode&&tc(o.data,s,t,i)}return bp}function vp(t,e,n){const r=cr(),i=vr();if(Zl(r,i,e)){const o=ur(),s=Fr();Ea(o,s,r,t,e,rc(Or(o.data),s,r),n,!0),ngDevMode&&tc(o.data,s,t,i)}return vp}"undefined"==typeof ngI18nClosureMode&&(W.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);const wp=void 0;var Cp=["en",[["a","p"],["AM","PM"],wp],[["AM","PM"],wp,wp],[["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"]],wp,[["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"]],wp,[["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}",wp,"{1} 'at' {0}",wp],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Sp={};function Op(t,e,n){"string"!=typeof e&&(n=e,e=t[Tp.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Sp[e]=t,n&&(Sp[e][Tp.ExtraData]=n)}function Ep(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=kp(e);if(n)return n;const r=e.split("-")[0];if(n=kp(r),n)return n;if("en"===r)return Cp;throw new Error(`Missing locale data for the locale "${t}".`)}function xp(t){return Ep(t)[Tp.CurrencyCode]||null}function Ip(t){return Ep(t)[Tp.PluralCase]}function kp(t){return t in Sp||(Sp[t]=W.ng&&W.ng.common&&W.ng.common.locales&&W.ng.common.locales[t]),Sp[t]}function Dp(){Sp={}}var Tp;!function(t){t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData"}(Tp||(Tp={}));const jp=["zero","one","two","few","many"];const Ap="en-US",Rp="USD";const Mp={marker:"element"},Np={marker:"comment"};let Pp=Ap;function Fp(t){gt(t,"Expected localeId to be defined"),"string"==typeof t&&(Pp=t.toLowerCase().replace(/_/g,"-"))}const Lp=[];let Vp=-1;let Bp=0,Up=0;function zp(t,e,n,r){const i=r[Re];let o=null,s=null;const a=[];for(let c=0;c<n.length;c++){const u=n[c];if("string"==typeof u){const e=cc(u,i),l=n[++c];ngDevMode&&ngDevMode.rendererCreateTextNode++,s=o,o=Kp(t,r,l,2,e,null),a.push(l),fr()}else if("number"==typeof u)switch(7&u){case 1:const i=u>>>17;let l;l=i===e?r[ke]:Yn(t,i),ngDevMode&>(o,"You need to create or select a node before you can insert it into the DOM"),s=Wp(t,o,l,s,r);break;case 0:const d=u>=0,h=(d?u:~u)>>>3;a.push(h),s=o,o=Yn(t,h),o&&hr(o,d);break;case 5:s=o=Yn(t,u>>>3),hr(o,!1);break;case 4:const p=u>>>3,f=n[++c],m=n[++c];Ba(Yn(t,p),r,f,m,null,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${u}"`)}else switch(u){case Np:const e=n[++c],l=n[++c];ngDevMode&&ut(typeof e,"string",`Expected "${e}" to be a comment node value`);const d=i.createComment(e);ngDevMode&&ngDevMode.rendererCreateComment++,s=o,o=Kp(t,r,l,4,d,null),a.push(l),Ko(d,r),fr();break;case Mp:const h=n[++c],p=n[++c];ngDevMode&&ut(typeof h,"string",`Expected "${h}" to be an element node tag name`);const f=i.createElement(h);ngDevMode&&ngDevMode.rendererCreateElement++,s=o,o=Kp(t,r,p,2,f,h),a.push(p);break;default:throw new Error(`Unable to determine the type of mutate operation for "${u}"`)}}return fr(),a}function Hp(t,e,n,r,i,o){let s=!1;for(let a=0;a<r.length;a++){const c=r[a],u=r[++a];if(c&o){let o="";for(let c=a+1;c<=a+u;c++){const a=r[c];if("string"==typeof a)o+=a;else if("number"==typeof a)if(a<0)o+=gn(n[i-a]);else{const u=a>>>2;switch(3&a){case 1:const a=r[++c],l=r[++c];Ea(t,Yn(t,u),n,a,o,n[Re],l,!1);break;case 0:sc(n,u,o);break;case 2:s=Gp(t,e,r[++c],n,o);break;case 3:$p(t,e,r[++c],i,n,s)}}}}a+=u}}function $p(t,e,n,r,i,o){ngDevMode&&bt(e,n);const s=e[n];ngDevMode&&bt(i,s.currentCaseLViewIndex);const a=i[s.currentCaseLViewIndex];if(null!==a){const n=o?-1:Bp;Hp(t,e,i,s.update[a],r,n)}}function Gp(t,e,n,r,i){qp(t,e,n,r);let o=!1;const s=e[n],a=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const r=function(t,e){const n=Ip(e)(parseInt(t,10)),r=jp[n];return void 0!==r?r:"other"}(e,Pp);n=t.cases.indexOf(r),-1===n&&"other"!==r&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return n}(s,i);return r[s.currentCaseLViewIndex]=-1!==a?a:null,a>-1&&(zp(t,-1,s.create[a],r),o=!0),o}function qp(t,e,n,r){ngDevMode&&bt(e,n);const i=e[n],o=r[i.currentCaseLViewIndex];if(null!==o){const n=i.remove[o];for(let i=0;i<n.length;i++){const o=n[i],s=o>>>3;switch(7&o){case 3:Zp(t,r,s,!1);break;case 6:qp(t,e,s,r)}}}}function Wp(t,e,n,r,i){ngDevMode&&ngDevMode.rendererMoveNode++;const o=e.next;r||(r=n),r===n&&e!==n.child?(e.next=n.child,null===e.parent?t.firstChild=e:n.child=e):r!==n&&e!==r.next?(e.next=r.next,r.next=e):e.next=null,n!==i[ke]&&(e.parent=n);let s=e.next;for(;s;)s.next===e&&(s.next=o),s=s.next;if(1===e.type)return xc(t,i,e),e;vc(t,i,Wn(e,i),e);const a=i[e.index];return 0!==e.type&&Qe(a)&&vc(t,i,a[qe],e),e}function Yp(t,e){ngDevMode&&ut(yr(),t.bindingStartIndex,"i18nEnd should be called before any binding");const n=Lp[Vp--],r=t.data[n+ze];ngDevMode&>(r,"You should call i18nStart before i18nEnd");const i=dr(),o=zp(t,n,r.create,e);let s=n+1;for(;null!==i&&s<=i.index-ze;){-1===o.indexOf(s)&&Zp(t,e,s,!0);const n=Yn(t,s);!n||0!==n.type&&2!==n.type&&3!==n.type||null===n.localNames||(s+=n.localNames.length>>1),s++}}function Zp(t,e,n,r){const i=Yn(t,n),o=qn(n,e);o&&Sc(e[Re],o);const s=Zn(e,n);if(Qe(s)){const t=s;0!==i.type&&Sc(e[Re],t[qe])}r&&i&&(i.flags|=64),ngDevMode&&ngDevMode.rendererRemoveNode++}function Kp(t,e,n,r,i,o){const s=dr();ngDevMode&&bt(e,n+ze),e[n+ze]=i;const a=da(t,n,r,o,null);return s&&s.next===a&&(s.next=null),a}function Qp(t){const e=new Xp(t||(Array.isArray(this)?this:[]));let n=[];function r(t){const n=t>>>2,r=3&t;switch(r){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const t=e.consumeString(),r=e.consumeFunction();return`(lView[${n}] as Element).setAttribute('${t}', ${r?`(${r})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(lView[${n}] as Comment, ${e.consumeNumber()}, $$$)`;case 3:return`icuUpdateCase(lView[${n}] as Comment, ${e.consumeNumber()})`}throw new Error("unexpected OpCode")}for(;e.hasMore();){let t=e.consumeNumber(),i=e.consumeNumber();const o=e.i+i,s=[];let a="";for(;e.i<o;){let t=e.consumeNumberOrString();if("string"==typeof t)a+=t;else if(t<0)a+="${lView["+(0-t)+"]}";else{const e=r(t);s.push(e.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${t.toString(2)}) { ${s.join(" ")} }`)}return n}function Jp(t){const e=new Xp(t||(Array.isArray(this)?this:[]));let n=[];function r(t){const n=t>>>17;const r=function(t){return(131064&t)>>>3}(t);switch(function(t){return 7&t}(t)){case 0:return i=r,"";case 1:return`(lView[${n}] as Element).appendChild(lView[${i}])`;case 3:return`(lView[${n}] as Element).remove(lView[${r}])`;case 4:return`(lView[${r}] as Element).setAttribute("${e.consumeString()}", "${e.consumeString()}")`;case 5:return`setCurrentTNode(tView.data[${r}] as TNode)`;case 6:return`removeNestedICU(${r})`}throw new Error("Unexpected OpCode")}let i=-1;for(;e.hasMore();){let t=e.consumeNumberStringOrMarker();if(t===Np){const t=e.consumeString();i=e.consumeNumber(),n.push(`lView[${i}] = document.createComment("${t}")`)}else if(t===Mp){const t=e.consumeString();i=e.consumeNumber(),n.push(`lView[${i}] = document.createElement("${t}")`)}else if("string"==typeof t)i=e.consumeNumber(),n.push(`lView[${i}] = document.createTextNode("${t}")`);else{if("number"!=typeof t)throw new Error("Unexpected value");{const e=r(t);e&&n.push(e)}}}return n}class Xp{constructor(t){this.i=0,this.codes=t}hasMore(){return this.i<this.codes.length}consumeNumber(){let t=this.codes[this.i++];return st(t,"expecting number in OpCode"),t}consumeString(){let t=this.codes[this.i++];return ct(t,"expecting string in OpCode"),t}consumeFunction(){let t=this.codes[this.i++];if(null===t||"function"==typeof t)return t;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let t=this.codes[this.i++];return"string"==typeof t||st(t,"expecting number or string in OpCode"),t}consumeNumberStringOrMarker(){let t=this.codes[this.i++];return"string"==typeof t||"number"==typeof t||t==Np||t==Mp||st(t,"expecting number, string, COMMENT_MARKER or ELEMENT_MARKER in OpCode"),t}}const tf=/\ufffd(\d+):?\d*\ufffd/gi,ef=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,nf=/\ufffd(\d+)\ufffd/,rf=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/;let of;const sf=[],af="\ufffd",cf=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,uf=/\ufffd(\/?[#*!]\d+):?\d*\ufffd/gi,lf=/\uE500/g;function df(t,e,n,r,i){const o=e.blueprint.length-ze;of=0;const s=dr(),a=pr()?s:s&&s.parent;let c=a&&a!==t[ke]?a.index-ze:n,u=0;sf[u]=c;const l=[];if(ngDevMode&&js(l,Jp),n>0&&s!==a){let t=s.index-ze;pr()||(t=~t),l.push(t<<3|0)}const d=[];ngDevMode&&js(d,Qp);const h=[];if(""===r&&gf(i))l.push(r,ff(o),c<<17|1);else{const t=function(t,e){if(gf(e))return _f(t);{const n=t.indexOf(`:${e}${af}`)+2+e.toString().length,r=t.search(new RegExp(`${af}\\/\\*\\d+:${e}${af}`));return _f(t.substring(n,r))}}(r,i),e=(p=t,p.replace(lf," ")).split(uf);for(let n=0;n<e.length;n++){let r=e[n];if(1&n)if("/"===r.charAt(0)){if("#"===r.charAt(1)){const t=parseInt(r.substr(2),10);c=sf[--u],l.push(t<<3|5)}}else{const t=parseInt(r.substr(1),10),e="#"===r.charAt(0);l.push((e?t:~t)<<3|0,c<<17|1),e&&(sf[++u]=c=t)}else{const e=wf(r);for(let n=0;n<e.length;n++)if(1&n){const r=e[n];if("object"!=typeof r)throw new Error(`Unable to parse ICU expression in "${t}" message.`);const i=ff(o);l.push(Np,ngDevMode?`ICU ${i}`:"",i,c<<17|1);const s=pf(r);yf(h,r,i,i);const a=h.length-1;d.push(mf(r.mainBinding),3,-1-r.mainBinding,i<<2|2,a,s,2,i<<2|3,a)}else if(""!==e[n]){const t=e[n],r=t.match(tf),i=ff(o);l.push(r?"":t,i,c<<17|1),r&&$t(hf(t,i),d)}}}}var p;of>0&&function(t,e,n){if(ngDevMode&&mt(n,0,"The number of slots to alloc should be greater than 0"),n>0&&t.firstCreatePass){for(let r=0;r<n;r++)t.blueprint.push(null),t.data.push(null),e.push(null);t.expandoInstructions?t.expandoInstructions.push(n):t.expandoStartIndex+=n}}(e,t,of);const f={vars:of,create:l,update:d,icus:h.length?h:null};e.data[n+ze]=f}function hf(t,e,n,r=null){const i=[null,null];ngDevMode&&js(i,Qp);const o=t.split(tf);let s=0;for(let t=0;t<o.length;t++){const e=o[t];if(1&t){const t=parseInt(e,10);i.push(-1-t),s|=mf(t)}else""!==e&&i.push(e)}return i.push(e<<2|(n?1:0)),n&&i.push(n,r),i[0]=s,i[1]=i.length-2,i}function pf(t,e=0){let n;e|=mf(t.mainBinding);for(let r=0;r<t.values.length;r++){const i=t.values[r];for(let t=0;t<i.length;t++){const r=i[t];if("string"==typeof r)for(;n=tf.exec(r);)e|=mf(parseInt(n[1],10));else e=pf(r,e)}}return e}function ff(t){return t+of++}function mf(t){return 1<<Math.min(t,31)}function gf(t){return void 0===t}function _f(t){let e,n,r="",i=0,o=!1;for(;null!==(e=cf.exec(t));)o?e[0]===`${af}/*${n}${af}`&&(i=e.index,o=!1):(r+=t.substring(i,e.index+e[0].length),n=e[1],o=!0);return ngDevMode&&ut(o,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${t}"`),r+=t.substr(i),r}function yf(t,e,n,r){const i=[],o=[],s=[],a=[],c=[],u=e.values;for(let e=0;e<u.length;e++){const l=u[e],d=[];for(let t=0;t<l.length;t++){const e=l[t];if("string"!=typeof e){const n=d.push(e)-1;l[t]=`\x3c!--\ufffd${n}\ufffd--\x3e`}}const h=vf(l.join(""),n,d,t,r);i.push(h.create),o.push(h.remove),s.push(h.update),a.push(h.vars),c.push(h.childIcus)}const l={type:e.type,vars:a,currentCaseLViewIndex:ze+r+1,childIcus:c,cases:e.cases,create:i,remove:o,update:s};t.push(l),of+=Math.max(...a)}function bf(t){const e=[],n=[];let r=1,i=0;const o=wf(t=t.replace(rf,(function(t,e,n){return r="select"===n?0:1,i=parseInt(e.substr(1),10),""})));for(let t=0;t<o.length;){let i=o[t++].trim();1===r&&(i=i.replace(/\s*(?:=)?(\w+)\s*/,"$1")),i.length&&e.push(i);const s=wf(o[t++]);e.length>n.length&&n.push(s)}return{type:r,mainBinding:i,cases:e,values:n}}function vf(t,e,n,r,i){const o=to(Un()).getInertBodyElement(t);if(!o)throw new Error("Unable to generate inert body element");const s=Do(o)||o,a={vars:1,childIcus:[],create:[],remove:[],update:[]};return ngDevMode&&(js(a.create,Jp),js(a.remove,Jp),js(a.update,Qp)),Cf(s.firstChild,a,e,n,r,i),a}function wf(t){if(!t)return[];let e=0;const n=[],r=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(t);){const i=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=t.substring(e,i);rf.test(n)?r.push(bf(n)):r.push(n),e=i+1}}else{if(0==n.length){const n=t.substring(e,i);r.push(n),e=i+1}n.push("{")}}const s=t.substring(e);return r.push(s),r}function Cf(t,e,n,r,i,o){if(t){const s=[];for(;t;){const a=t.nextSibling,c=o+ ++e.vars;switch(t.nodeType){case Node.ELEMENT_NODE:const a=t,u=a.tagName.toLowerCase();if(go.hasOwnProperty(u)){e.create.push(Mp,u,c,n<<17|1);const s=a.attributes;for(let t=0;t<s.length;t++){const n=s.item(t),r=n.name.toLowerCase();!!n.value.match(tf)?wo.hasOwnProperty(r)?_o[r]?$t(hf(n.value,c,n.name,oo),e.update):yo[r]?$t(hf(n.value,c,n.name,so),e.update):$t(hf(n.value,c,n.name),e.update):ngDevMode:e.create.push(c<<3|4,n.name,n.value)}Cf(t.firstChild,e,c,r,i,o),e.remove.push(c<<3|3)}else e.vars--;break;case Node.TEXT_NODE:const l=t.textContent||"",d=l.match(tf);e.create.push(d?"":l,c,n<<17|1),e.remove.push(c<<3|3),d&&$t(hf(l,c),e.update);break;case Node.COMMENT_NODE:const h=nf.exec(t.textContent||"");if(h){const t=parseInt(h[1],10),i=ngDevMode?`nested ICU ${t}`:"";e.create.push(Np,i,c,n<<17|1);const o=r[t];s.push([o,c])}else e.vars--;break;default:e.vars--}t=a}for(let t=0;t<s.length;t++){const n=s[t][0],r=s[t][1];yf(i,n,r,o+e.vars);const a=i.length-1;e.vars+=Math.max(...i[a].vars),e.childIcus.push(a);const c=pf(n);e.update.push(mf(n.mainBinding),3,-1-n.mainBinding,r<<2|2,a,c,2,r<<2|3,a),e.remove.push(a<<3|6,r<<3|3)}}}const Sf=0,Of=/\[(\ufffd.+?\ufffd?)\]/,Ef=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,xf=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,If=/{([A-Z0-9_]+)}/g,kf=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Df=/\/\*/,Tf=/\d+\:(\d+)/;function jf(t,e={}){let n=t;if(Of.test(t)){const t={},e=[Sf];n=n.replace(Ef,((n,r,i)=>{const o=r||i,s=t[o]||[];if(s.length||(o.split("|").forEach((t=>{const e=t.match(Tf),n=e?parseInt(e[1],10):Sf,r=Df.test(t);s.push([n,r,t])})),t[o]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${o}`);const a=e[e.length-1];let c=0;for(let t=0;t<s.length;t++)if(s[t][0]===a){c=t;break}const[u,l,d]=s[c];return l?e.pop():a!==u&&e.push(u),s.splice(c,1),d}))}return Object.keys(e).length?(n=n.replace(xf,((t,n,r,i,o,s)=>e.hasOwnProperty(r)?`${n}${e[r]}${s}`:t)),n=n.replace(If,((t,n)=>e.hasOwnProperty(n)?e[n]:t)),n=n.replace(kf,((t,n)=>{if(e.hasOwnProperty(n)){const r=e[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return r.shift()}return t})),n):n}function Af(t,e,n){const r=ur();ngDevMode&>(r,"tView should be defined");const i=er(r.consts,e);!function(t){Lp[++Vp]=t}(t),Gd(!0),r.firstCreatePass&&null===r.data[t+ze]&&df(cr(),r,t,i,n)}function Rf(){const t=cr(),e=ur();ngDevMode&>(e,"tView should be defined"),Yp(e,t),Gd(!1)}function Mf(t,e,n){Af(t,e,n),Rf()}function Nf(t,e){const n=cr(),r=ur();ngDevMode&>(r,"tView should be defined");!function(t,e,n,r){const i=dr().index-ze,o=[];ngDevMode&&js(o,Qp);for(let s=0;s<r.length;s+=2){const a=r[s],c=r[s+1].split(ef);for(let r=0;r<c.length;r++){const s=c[r];if(1&r)throw new Error("ICU expressions are not yet supported in attributes");if(""!==s)if(s.match(tf))e.firstCreatePass&&null===e.data[n+ze]&&$t(hf(s,i,a),o);else{const n=Yn(e,i);2===n.type&&Ba(n,t,a,s,null,null);const r=null!==n.inputs&&n.inputs[a];r&&(oc(e,t,r,a,s),ngDevMode)&&Ia(t,qn(i,t),n.type,r,s)}}}e.firstCreatePass&&null===e.data[n+ze]&&(e.data[n+ze]=o)}(n,r,t,er(r.consts,e))}function Pf(t){const e=cr();return Zl(e,vr(),t)&&(Bp|=1<<Up),Up++,Pf}function Ff(t){!function(t,e,n){if(Up>0){ngDevMode&>(t,"tView should be defined");const r=t.data[n+ze];let i,o=null;Array.isArray(r)?i=r:(i=r.update,o=r.icus),Hp(t,o,e,i,yr()-Up-1,Bp),Bp=0,Up=0}}(ur(),cr(),t)}function Lf(t,e={}){return jf(t,e)}function Vf(t,e,n,r,i){if(t=z(t),Array.isArray(t))for(let o=0;o<t.length;o++)Vf(t[o],e,n,r,i);else{const o=ur(),s=cr();let a=Cu(t)?t:z(t.provide),c=bu(t);const u=dr(),l=1048575&u.providerIndexes,d=u.directiveStart,h=u.providerIndexes>>20;if(Cu(t)||!t.multi){const r=new Yr(c,i,wd),p=zf(a,e,i?l:l+h,d);-1===p?(mi(di(u,s),o,a),Bf(o,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(r),s.push(r)):(n[p]=r,s[p]=r)}else{const p=zf(a,e,l+h,d),f=zf(a,e,l,l+h),m=p>=0&&n[p],g=f>=0&&n[f];if(i&&!g||!i&&!m){mi(di(u,s),o,a);const l=function(t,e,n,r,i){const o=new Yr(t,n,wd);return o.multi=[],o.index=e,o.componentProviders=0,Uf(o,i,r&&!n),o}(i?$f:Hf,n.length,i,r,c);!i&&g&&(n[f].providerFactory=l),Bf(o,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(l),s.push(l)}else{Bf(o,t,p>-1?p:f,Uf(n[i?f:p],c,!i&&r))}!i&&r&&g&&n[f].componentProviders++}}}function Bf(t,e,n,r){const i=Cu(e);if(i||e.useClass){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){ngDevMode&>(r,"indexInFactory when registering multi factory destroy hook");const t=s.indexOf(n);-1===t?s.push(n,[r,o]):s[t+1].push(r,o)}else s.push(n,o)}}}function Uf(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function zf(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Hf(t,e,n,r){return Gf(this.multi,[])}function $f(t,e,n,r){const i=this.multi;let o;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=wi(n,n[Se],this.providerFactory.index,r);o=e.slice(0,t),Gf(i,o);for(let n=t;n<e.length;n++)o.push(e[n])}else o=[],Gf(i,o);return o}function Gf(t,e){for(let n=0;n<t.length;n++){const r=t[n];e.push(r())}return e}function qf(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=ur();if(r.firstCreatePass){const i=en(t);Vf(n,r.data,r.blueprint,i,!0),Vf(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}class Wf{}class Yf{}function Zf(t){const e=Error(`No component factory found for ${L(t)}. Did you add it to @NgModule.entryComponents?`);return e[Kf]=t,e}const Kf="ngComponent";class Qf{}Qf.NULL=new class{resolveComponentFactory(t){throw Zf(t)}};class Jf{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let e=0;e<t.length;e++){const n=t[e];this._factories.set(n.componentType,n)}}resolveComponentFactory(t){let e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Zf(t);return new Xf(e,this._ngModule)}}class Xf extends Yf{constructor(t,e){super(),this.factory=t,this.ngModule=e,this.selector=t.selector,this.componentType=t.componentType,this.ngContentSelectors=t.ngContentSelectors,this.inputs=t.inputs,this.outputs=t.outputs}create(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)}}class tm{constructor(t){this.nativeElement=t}}tm.__NG_ELEMENT_ID__=()=>nm(tm);const em=function(t){return Pc(t,dr(),cr())},nm=em;new vt("Renderer2Interceptor");class rm{}var im;!function(t){t[t.Important=1]="Important",t[t.DashCase=2]="DashCase"}(im||(im={}));class om{}om.__NG_ELEMENT_ID__=()=>am();const sm=function(){const t=cr(),e=Kn(dr().index,t);return function(t){const e=t[Re];if(Hn(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ke(e)?e:t)},am=sm;class cm{}cm.\u0275prov=I({token:cm,providedIn:"root",factory:()=>null});class um{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lm=new um("10.2.5");class dm{constructor(){}supports(t){return Gl(t)}create(t){return new pm(t)}}const hm=(t,e)=>e;class pm{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||hm}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex<_m(n,r,i)?e:n,s=_m(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);const t=s-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;e<=o&&o<t&&(i[n]=r+1)}i[o.previousIndex]=e-t}}s!==a&&t(o,s,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Gl(t))throw new Error(`Error trying to diff '${L(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,o=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),o=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[zl()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,(t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++})),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new fm(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new gm),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new gm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class fm{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mm{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class gm{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new mm,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,r=this.map.get(n);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _m(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class ym{constructor(){}supports(t){return t instanceof Map||ql(t)}create(){return new bm}}class bm{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||ql(t)))throw new Error(`Error trying to diff '${L(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,((t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}})),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vm(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((n=>e(t[n],n)))}}class vm{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}class wm{constructor(t){this.factories=t}static create(t,e){if(null!=e){const n=e.factories.slice();t=t.concat(n)}return new wm(t)}static extend(t){return{provide:wm,useFactory:e=>{if(!e)throw new Error("Cannot extend IterableDiffers without a parent injector");return wm.create(t,e)},deps:[[wm,new v,new y]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}wm.\u0275prov=I({token:wm,providedIn:"root",factory:()=>new wm([new dm])});class Cm{constructor(t){this.factories=t}static create(t,e){if(e){const n=e.factories.slice();t=t.concat(n)}return new Cm(t)}static extend(t){return{provide:Cm,useFactory:e=>{if(!e)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return Cm.create(t,e)},deps:[[Cm,new v,new y]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}Cm.\u0275prov=I({token:Cm,providedIn:"root",factory:()=>new Cm([new ym])});const Sm=[new ym],Om=[new dm],Em=new wm(Om),xm=new Cm(Sm);class Im{}Im.__NG_ELEMENT_ID__=()=>Dm(Im,tm);const km=function(t,e){return Fc(t,e,dr(),cr())},Dm=km;class Tm{}Tm.__NG_ELEMENT_ID__=()=>Am(Tm,tm);const jm=function(t,e){return Lc(t,e,dr(),cr())},Am=jm;function Rm(t,e,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${e}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){const n=new Error(t);return Mm(n,e),n}(i,t)}function Mm(t,e){t[Ii]=e,t[Di]=e.logError.bind(e)}function Nm(t){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${t}`)}function Pm(t,e,n){const r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function Fm(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Lm(t,e){return t.nodes[e]}function Vm(t,e){return t.nodes[e]}function Bm(t,e){return t.nodes[e]}function Um(t,e){return t.nodes[e]}function zm(t,e){return t.nodes[e]}class Hm{}const $m={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},Gm=()=>{},qm=new Map;function Wm(t){let e=qm.get(t);return e||(e=L(t)+"_"+qm.size,qm.set(t,e)),e}function Ym(t,e,n,r){if($l.isWrapped(r)){r=$l.unwrap(r);const i=t.def.nodes[e].bindingIndex+n,o=$l.unwrap(t.oldValues[i]);t.oldValues[i]=new $l(o)}return r}const Zm="$$undefined",Km="$$empty";function Qm(t){return{id:Zm,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let Jm=0;function Xm(t,e,n,r){const i=t.oldValues;return!(!(2&t.state)&&Object.is(i[e.bindingIndex+n],r))}function tg(t,e,n,r){return!!Xm(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function eg(t,e,n,r){const i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Hl(i,r)){const o=e.bindings[n].name;throw Rm($m.createDebugContext(t,e.nodeIndex),`${o}: ${i}`,`${o}: ${r}`,0!=(1&t.state))}}function ng(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function rg(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ig(t,e,n,r){try{const i=t.def.nodes[e];return ng(33554432&i.flags?Vm(t,e).componentView:t),$m.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function og(t){if(t.parent){return Vm(t.parent,t.parentNodeDef.nodeIndex)}return null}function sg(t){return t.parent?t.parentNodeDef.parent:null}function ag(t,e){switch(201347067&e.flags){case 1:return Vm(t,e.nodeIndex).renderElement;case 2:return Lm(t,e.nodeIndex).renderText}}function cg(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function ug(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function lg(t){return 1<<t%32}function dg(t){const e={};let n=0;const r={};return t&&t.forEach((([t,i])=>{"number"==typeof t?(e[t]=i,n|=lg(t)):r[t]=i})),{matchedQueries:e,references:r,matchedQueryIds:n}}function hg(t,e){return t.map((t=>{let n,r;return Array.isArray(t)?[r,n]=t:(r=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,xt,{value:e,configurable:!0}),{flags:r,token:n,tokenKey:Wm(n)}}))}function pg(t,e,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ne.Native?Vm(t,n.renderParent.nodeIndex).renderElement:void 0:e}const fg=new WeakMap;function mg(t){let e=fg.get(t);return e||(e=t((()=>Gm)),e.factory=t,fg.set(t,e)),e}function gg(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(ag(t,t.def.lastRenderRootNode))),_g(t,e,0,t.def.nodes.length-1,n,r,i)}function _g(t,e,n,r,i,o,s){for(let a=n;a<=r;a++){const n=t.def.nodes[a];11&n.flags&&bg(t,n,e,i,o,s),a+=n.childCount}}function yg(t,e,n,r,i,o){let s=t;for(;s&&!cg(s);)s=s.parent;const a=s.parent,c=sg(s),u=c.nodeIndex+1,l=c.nodeIndex+c.childCount;for(let t=u;t<=l;t++){const s=a.def.nodes[t];s.ngContentIndex===e&&bg(a,s,n,r,i,o),t+=s.childCount}if(!a.parent){const s=t.root.projectableNodes[e];if(s)for(let e=0;e<s.length;e++)vg(t,s[e],n,r,i,o)}}function bg(t,e,n,r,i,o){if(8&e.flags)yg(t,e.ngContent.index,n,r,i,o);else{const s=ag(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&vg(t,s,n,r,i,o),32&e.bindingFlags){vg(Vm(t,e.nodeIndex).componentView,s,n,r,i,o)}}else vg(t,s,n,r,i,o);if(16777216&e.flags){const s=Vm(t,e.nodeIndex).viewContainer._embeddedViews;for(let t=0;t<s.length;t++)gg(s[t],n,r,i,o)}1&e.flags&&!e.element.name&&_g(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function vg(t,e,n,r,i,o){const s=t.renderer;switch(n){case 1:s.appendChild(r,e);break;case 2:s.insertBefore(r,e,i);break;case 3:s.removeChild(r,e);break;case 0:o.push(e)}}const wg=/^:([^:]+):(.+)$/;function Cg(t){if(":"===t[0]){const e=t.match(wg);return[e[1],e[2]]}return["",t]}function Sg(t){let e=0;for(let n=0;n<t.length;n++)e|=t[n].flags;return e}function Og(t,e){let n="";for(let r=0;r<2*t;r+=2)n=n+e[r]+xg(e[r+1]);return n+e[2*t]}function Eg(t,e,n,r,i,o,s,a,c,u,l,d,h,p,f,m,g,_,y,b){switch(t){case 1:return e+xg(n)+r;case 2:return e+xg(n)+r+xg(i)+o;case 3:return e+xg(n)+r+xg(i)+o+xg(s)+a;case 4:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u;case 5:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u+xg(l)+d;case 6:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u+xg(l)+d+xg(h)+p;case 7:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u+xg(l)+d+xg(h)+p+xg(f)+m;case 8:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u+xg(l)+d+xg(h)+p+xg(f)+m+xg(g)+_;case 9:return e+xg(n)+r+xg(i)+o+xg(s)+a+xg(c)+u+xg(l)+d+xg(h)+p+xg(f)+m+xg(g)+_+xg(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function xg(t){return null!=t?t.toString():""}const Ig=[],kg={},Dg={},Tg=Wm(Eu),jg=Wm(wt),Ag=Wm(zt);function Rg(t,e,n,r){n=z(n);return{index:-1,deps:hg(r,L(e)),flags:t,token:e,value:n}}function Mg(t){const e={},n=[];let r=null;for(let i=0;i<t.length;i++){const o=t[i];o.token===uu&&(r=o.value),1073741824&o.flags&&n.push(o.token),o.index=i,e[Wm(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,scope:r}}function Ng(t,e,n=Eu.THROW_IF_NOT_FOUND){const r=Tt(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);const r=e.tokenKey;switch(r){case Tg:case jg:case Ag:return t}const i=t._def.providersByKey[r];let o;if(i){let e=t._providers[i.index];return void 0===e&&(e=t._providers[i.index]=Pg(t,i)),e===Dg?void 0:e}if((o=T(e.token))&&function(t,e){const n=e.providedIn;return null!=n&&("any"===n||n===t._def.scope||function(t,e){return t._def.modules.indexOf(e)>-1}(t,n))}(t,o)){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:e.token},t._providers[n]=Dg,t._providers[n]=Pg(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Tt(r)}}function Pg(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const r=n.length;switch(r){case 0:return new e;case 1:return new e(Ng(t,n[0]));case 2:return new e(Ng(t,n[0]),Ng(t,n[1]));case 3:return new e(Ng(t,n[0]),Ng(t,n[1]),Ng(t,n[2]));default:const i=[];for(let e=0;e<r;e++)i[e]=Ng(t,n[e]);return new e(...i)}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){const r=n.length;switch(r){case 0:return e();case 1:return e(Ng(t,n[0]));case 2:return e(Ng(t,n[0]),Ng(t,n[1]));case 3:return e(Ng(t,n[0]),Ng(t,n[1]),Ng(t,n[2]));default:const i=[];for(let e=0;e<r;e++)i[e]=Ng(t,n[e]);return e(...i)}}(t,e.value,e.deps);break;case 2048:n=Ng(t,e.deps[0]);break;case 256:n=e.value}return n===Dg||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Dg:n}function Fg(t,e,n,r){let i=e.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=t,Wt(i,n,r),function(t,e){const n=og(e);if(!n||n===t||16&e.state)return;e.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,r),$m.dirtyParentQueries(r);Vg(e,n>0?i[n-1]:null,r)}function Lg(t,e){const n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;const r=n[e];return r.viewContainerParent=null,Yt(n,e),$m.dirtyParentQueries(r),Bg(r),r}function Vg(t,e,n){const r=e?ag(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);gg(n,2,i,o,void 0)}function Bg(t){gg(t,3,null,null,void 0)}const Ug={};function zg(t,e,n,r,i,o){return new $g(t,e,n,r,i,o)}function Hg(t){return t.viewDefFactory}class $g extends Yf{constructor(t,e,n,r,i,o){super(),this.selector=t,this.componentType=e,this._inputs=r,this._outputs=i,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e){const r=e[n];t.push({propName:n,templateName:r})}return t}get outputs(){const t=[];for(let e in this._outputs){const n=this._outputs[e];t.push({propName:e,templateName:n})}return t}create(t,e,n,r){if(!r)throw new Error("ngModule should be provided");const i=mg(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=$m.createRootView(t,e||[],n,i,r,Ug),a=Bm(s,o).instance;return n&&s.renderer.setAttribute(Vm(s,0).renderElement,"ng-version",lm.full),new Gg(s,new Zg(s),a)}}class Gg extends Wf{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new tm(Vm(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Xg(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function qg(t,e,n){return new Wg(t,e,n)}class Wg{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new tm(this._data.renderElement)}get injector(){return new Xg(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=sg(t),t=t.parent;return t?new Xg(t,e):new Xg(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=Lg(this._data,t);$m.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new Zg(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;i||t instanceof Xf||(i=o.get(zt));const s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t,r=n._view;return Fg(this._view,this._data,e,r),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const r=t.viewContainer._embeddedViews,i=r[e];Yt(r,e),null==n&&(n=r.length),Wt(r,n,i),$m.dirtyParentQueries(i),Bg(i),Vg(t,n>0?r[n-1]:null,i)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=Lg(this._data,t);e&&$m.destroyView(e)}detach(t){const e=Lg(this._data,t);return e?new Zg(e):null}}function Yg(t){return new Zg(t)}class Zg{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return gg(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){ng(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{$m.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){$m.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$m.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Bg(this._view),$m.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function Kg(t,e){return new Qg(t,e)}class Qg extends Im{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new Zg($m.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new tm(Vm(this._parentView,this._def.nodeIndex).renderElement)}}function Jg(t,e){return new Xg(t,e)}class Xg{constructor(t,e){this.view=t,this.elDef=e}get(t,e=Eu.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return $m.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Wm(t)},e)}}function t_(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=Vm(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return Lm(t,n.nodeIndex).renderText;if(20240&n.flags)return Bm(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function e_(t,e,n,r){return new n_(t,e,n,r)}class n_{constructor(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){const e=t._def,n=t._providers=Zt(e.providers.length);for(let r=0;r<e.providers.length;r++){const i=e.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=Pg(t,i))}}(this)}get(t,e=Eu.THROW_IF_NOT_FOUND,n=O.Default){let r=0;return n&O.SkipSelf?r|=1:n&O.Self&&(r|=4),Ng(this,{token:t,tokenKey:Wm(t),flags:r},e)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Qf)}destroy(){if(this._destroyed)throw new Error(`The ng module ${L(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(t,e){const n=t._def,r=new Set;for(let e=0;e<n.providers.length;e++)if(131072&n.providers[e].flags){const n=t._providers[e];if(n&&n!==Dg){const t=n.ngOnDestroy;"function"!=typeof t||r.has(n)||(t.apply(n),r.add(n))}}}(this),this._destroyListeners.forEach((t=>t()))}onDestroy(t){this._destroyListeners.push(t)}}const r_=Wm(om),i_=Wm(tm),o_=Wm(Tm),s_=Wm(Im),a_=Wm(Bc),c_=Wm(Eu),u_=Wm(wt);function l_(t,e,n,r,i,o,s,a){const c=[];if(s)for(let t in s){const[e,n]=s[t];c[e]={flags:8,name:t,nonMinifiedName:n,ns:null,securityContext:null,suffix:null}}const u=[];if(a)for(let t in a)u.push({type:1,propName:t,target:null,eventName:a[t]});return p_(t,e|=16384,n,r,i,i,o,c,u)}function d_(t,e,n){return p_(-1,t|=16,null,0,e,e,n)}function h_(t,e,n,r,i){return p_(-1,t,e,0,n,r,i)}function p_(t,e,n,r,i,o,s,a,c){const{matchedQueries:u,references:l,matchedQueryIds:d}=dg(n);c||(c=[]),a||(a=[]),o=z(o);const h=hg(s,L(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:l,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Sg(a),outputs:c,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function f_(t,e){return y_(t,e)}function m_(t,e){let n=t;for(;n.parent&&!cg(n);)n=n.parent;return b_(n.parent,sg(n),!0,e.provider.value,e.provider.deps)}function g_(t,e){const n=(32768&e.flags)>0,r=b_(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(let n=0;n<e.outputs.length;n++){const i=e.outputs[n],o=r[i.propName];if(!Nd(o))throw new Error(`@Output ${i.propName} not initialized in '${r.constructor.name}'.`);{const r=o.subscribe(__(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+n]=r.unsubscribe.bind(r)}}return r}function __(t,e,n){return r=>ig(t,e,n,r)}function y_(t,e){const n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return b_(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){const o=i.length;switch(o){case 0:return r();case 1:return r(w_(t,e,n,i[0]));case 2:return r(w_(t,e,n,i[0]),w_(t,e,n,i[1]));case 3:return r(w_(t,e,n,i[0]),w_(t,e,n,i[1]),w_(t,e,n,i[2]));default:const s=[];for(let r=0;r<o;r++)s.push(w_(t,e,n,i[r]));return r(...s)}}(t,e.parent,n,r.value,r.deps);case 2048:return w_(t,e.parent,n,r.deps[0]);case 256:return r.value}}function b_(t,e,n,r,i){const o=i.length;switch(o){case 0:return new r;case 1:return new r(w_(t,e,n,i[0]));case 2:return new r(w_(t,e,n,i[0]),w_(t,e,n,i[1]));case 3:return new r(w_(t,e,n,i[0]),w_(t,e,n,i[1]),w_(t,e,n,i[2]));default:const s=[];for(let r=0;r<o;r++)s.push(w_(t,e,n,i[r]));return new r(...s)}}const v_={};function w_(t,e,n,r,i=Eu.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=t;2&r.flags&&(i=null);const s=r.tokenKey;s===a_&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);let a=t;for(;a;){if(e)switch(s){case r_:return C_(a,e,n).renderer;case i_:return new tm(Vm(a,e.nodeIndex).renderElement);case o_:return Vm(a,e.nodeIndex).viewContainer;case s_:if(e.element.template)return Vm(a,e.nodeIndex).template;break;case a_:return Yg(C_(a,e,n));case c_:case u_:return Jg(a,e);default:const t=(n?e.element.allProviders:e.element.publicProviders)[s];if(t){let e=Bm(a,t.nodeIndex);return e||(e={instance:y_(a,t)},a.nodes[t.nodeIndex]=e),e.instance}}n=cg(a),e=sg(a),a=a.parent,4&r.flags&&(a=null)}const c=o.root.injector.get(r.token,v_);return c!==v_||i===v_?c:o.root.ngModule.injector.get(r.token,i)}function C_(t,e,n){let r;if(n)r=Vm(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!cg(r);)r=r.parent;return r}function S_(t,e,n,r,i,o){if(32768&n.flags){const e=Vm(t,n.parent.nodeIndex).componentView;2&e.def.flags&&(e.state|=8)}const s=n.bindings[r].name;if(e.instance[s]=i,524288&n.flags){o=o||{};const e=$l.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Dn(e,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function O_(t,e){if(!(t.def.nodeFlags&e))return;const n=t.def.nodes;let r=0;for(let i=0;i<n.length;i++){const o=n[i];let s=o.parent;for(!s&&o.flags&e&&x_(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&e&&(r=E_(t,s,e,r)),s=s.parent}}function E_(t,e,n,r){for(let i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){const e=t.def.nodes[i];e.flags&n&&x_(t,i,e.flags&n,r++),i+=e.childCount}return r}function x_(t,e,n,r){const i=Bm(t,e);if(!i)return;const o=i.instance;o&&($m.setCurrentNode(t,e),1048576&n&&Fm(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Fm(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}class I_ extends Qf{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){ngDevMode&&sn(t);const e=_e(t);return new T_(e,this.ngModule)}}function k_(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const r=t[n];e.push({propName:r,templateName:n})}return e}const D_=new vt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>yn});class T_ extends Yf{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(hs).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return k_(this.componentDef.inputs)}get outputs(){return k_(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,v_,i);return o!==v_||r===v_?o:e.get(n,r,i)}}}(t,r.injector):t,o=i.get(rm,$n),s=i.get(cm,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=n?Ca(a,n,this.componentDef.encapsulation):ua(c,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?Pn:"math"===e?Fn:null}(c)),l=this.componentDef.onPush?576:528,d=Dl(),h=va(0,null,null,1,0,null,null,null,null,null),p=la(null,h,d,l,null,null,o,a,s,i);let f,m;kr(p);try{const t=Il(u,this.componentDef,p,o,a);if(u)if(n)Xr(a,u,["ng-version",lm.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let o=t[r];if("string"==typeof o)2===i?""!==o&&e.push(o,t[++r]):8===i&&n.push(o);else{if(!as(i))break;i=o}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Xr(a,u,t),e&&e.length>0&&Dc(a,u,e.join(" "))}if(m=Yn(h,0),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=kl(t,this.componentDef,p,d,[Tl]),ha(h,p,null)}finally{Rr()}return new j_(this.componentType,f,Pc(tm,m,p),p,m)}}new I_;class j_ extends Wf{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new jc(r),this.componentType=t}get injector(){return new Oi(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach((t=>t())),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}function A_(t,e,n,r){return c((()=>{const i=t,o=i.prototype?Object.getPrototypeOf(i.prototype):null,s=o&&o.constructor;null!==e&&(void 0===i.decorators||s&&s.decorators===i.decorators?i.decorators=e:i.decorators.push(...e)),null!==n&&(i.ctorParameters=n),null!==r&&(void 0===i.propDecorators||s&&s.propDecorators===i.propDecorators?i.propDecorators=r:i.propDecorators=Object.assign(Object.assign({},i.propDecorators),r))}))}const R_=new Map;function M_(t,e){const n=R_.get(t);N_(t,n&&n.moduleType,e.moduleType),R_.set(t,e)}function N_(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${L(e)} vs ${L(e.name)}`)}function P_(t){const e=new Set;!function t(n){const r=we(n,!0),i=r.id;if(null!==i){N_(i,R_.get(i),n),R_.set(i,n)}const o=Sn(r.imports);for(const n of o)e.has(n)||(e.add(n),t(n))}(t)}function F_(t){return R_.get(t)||de[t]}class L_ extends zt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new I_(this);const n=we(t);ngDevMode&>(n,`NgModule '${L(t)}' is not a subtype of 'NgModuleType'.`);const r=t[nt]||null;r&&Fp(r),this._bootstrapComponents=Sn(n.bootstrap),this._r3Injector=gu(t,e,[{provide:zt,useValue:this},{provide:Qf,useValue:this.componentFactoryResolver}],L(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Eu.THROW_IF_NOT_FOUND,n=O.Default){return t===Eu||t===zt||t===wt?this:this._r3Injector.get(t,e,n)}destroy(){ngDevMode&>(this.destroyCbs,"NgModule already destroyed");const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){ngDevMode&>(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(t)}}class V_ extends Ht{constructor(t){super(),this.moduleType=t;null!==we(t)&&P_(t)}create(t){return new L_(this.moduleType,t)}}function B_(t,e,n){const r=_r()+t,i=cr();return i[r]===ps?Wl(i,r,n?e.call(n):e()):Yl(i,r)}function U_(t,e,n,r){return Q_(cr(),_r(),t,e,n,r)}function z_(t,e,n,r,i){return J_(cr(),_r(),t,e,n,r,i)}function H_(t,e,n,r,i,o){return X_(cr(),_r(),t,e,n,r,i,o)}function $_(t,e,n,r,i,o,s){return ty(cr(),_r(),t,e,n,r,i,o,s)}function G_(t,e,n,r,i,o,s,a){const c=_r()+t,u=cr(),l=Jl(u,c,n,r,i,o);return Zl(u,c+4,s)||l?Wl(u,c+5,a?e.call(a,n,r,i,o,s):e(n,r,i,o,s)):Yl(u,c+5)}function q_(t,e,n,r,i,o,s,a,c){const u=_r()+t,l=cr(),d=Jl(l,u,n,r,i,o);return Kl(l,u+4,s,a)||d?Wl(l,u+6,c?e.call(c,n,r,i,o,s,a):e(n,r,i,o,s,a)):Yl(l,u+6)}function W_(t,e,n,r,i,o,s,a,c,u){const l=_r()+t,d=cr();let h=Jl(d,l,n,r,i,o);return Ql(d,l+4,s,a,c)||h?Wl(d,l+7,u?e.call(u,n,r,i,o,s,a,c):e(n,r,i,o,s,a,c)):Yl(d,l+7)}function Y_(t,e,n,r,i,o,s,a,c,u,l){const d=_r()+t,h=cr(),p=Jl(h,d,n,r,i,o);return Jl(h,d+4,s,a,c,u)||p?Wl(h,d+8,l?e.call(l,n,r,i,o,s,a,c,u):e(n,r,i,o,s,a,c,u)):Yl(h,d+8)}function Z_(t,e,n,r){return ey(cr(),_r(),t,e,n,r)}function K_(t,e){ngDevMode&&bt(t,e);const n=t[e];return n===ps?void 0:n}function Q_(t,e,n,r,i,o){const s=e+n;return Zl(t,s,i)?Wl(t,s+1,o?r.call(o,i):r(i)):K_(t,s+1)}function J_(t,e,n,r,i,o,s){const a=e+n;return Kl(t,a,i,o)?Wl(t,a+2,s?r.call(s,i,o):r(i,o)):K_(t,a+2)}function X_(t,e,n,r,i,o,s,a){const c=e+n;return Ql(t,c,i,o,s)?Wl(t,c+3,a?r.call(a,i,o,s):r(i,o,s)):K_(t,c+3)}function ty(t,e,n,r,i,o,s,a,c){const u=e+n;return Jl(t,u,i,o,s,a)?Wl(t,u+4,c?r.call(c,i,o,s,a):r(i,o,s,a)):K_(t,u+4)}function ey(t,e,n,r,i,o){let s=e+n,a=!1;for(let e=0;e<i.length;e++)Zl(t,s++,i[e])&&(a=!0);return a?Wl(t,s,r.apply(o,i)):K_(t,s)}function ny(t,e){const n=ur();let r;const i=t+ze;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=ve(r.type,!0)),s=jt(wd);try{const e=ci(!1),r=o();return ci(e),bd(n,cr(),t,r),r}finally{jt(s)}}function ry(t,e,n){const r=cr(),i=Zn(r,t);return uy(r,cy(r,t)?Q_(r,_r(),e,i.transform,n,i):i.transform(n))}function iy(t,e,n,r){const i=cr(),o=Zn(i,t);return uy(i,cy(i,t)?J_(i,_r(),e,o.transform,n,r,o):o.transform(n,r))}function oy(t,e,n,r,i){const o=cr(),s=Zn(o,t);return uy(o,cy(o,t)?X_(o,_r(),e,s.transform,n,r,i,s):s.transform(n,r,i))}function sy(t,e,n,r,i,o){const s=cr(),a=Zn(s,t);return uy(s,cy(s,t)?ty(s,_r(),e,a.transform,n,r,i,o,a):a.transform(n,r,i,o))}function ay(t,e,n){const r=cr(),i=Zn(r,t);return uy(r,cy(r,t)?ey(r,_r(),e,i.transform,n,i):i.transform.apply(i,n))}function cy(t,e){return t[Se].data[e+ze].pure}function uy(t,e){if($l.isWrapped(e)){e=$l.unwrap(e);t[yr()]=ps}return e}class ly extends r.b{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,o=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout((()=>t.next(e)))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout((()=>t.error(e)))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout((()=>t.complete()))}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout((()=>t(e)))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout((()=>e(t)))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout((()=>n()))}:()=>{n()}));const a=super.subscribe(r,o,s);return t instanceof i.a&&t.add(a),a}}const dy=ly;function hy(){return this._results[zl()]()}class py{constructor(){this.dirty=!0,this._results=[],this.changes=new dy,this.length=0;const t=zl(),e=py.prototype;e[t]||(e[t]=hy)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=Gt(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class fy{constructor(t){this.queryList=t,this.matches=null}clone(){return new fy(this.queryList)}setDirty(){this.queryList.setDirty()}}class my{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t),i=this.queries[n.indexInDeclarationView];r.push(i.clone())}return new my(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ry(t,e).matches&&this.queries[e].setDirty()}}class gy{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class _y{constructor(t=[]){this.queries=t}elementStart(t,e){ngDevMode&&dn(t,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new _y(e):null}template(t,e){ngDevMode&&dn(t,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return ngDevMode&&bt(this.queries,t),this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class yy{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new yy(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&3===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,by(e,i)),this.matchTNodeWithReadOption(t,e,vi(e,t,i,!1,!1))}else n===Im?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,vi(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===tm||r===Tm||r===Im&&0===e.type)this.addMatch(e.index,-2);else{const n=vi(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function by(t,e){const n=t.localNames;if(null!==n)for(let t=0;t<n.length;t+=2)if(n[t]===e)return n[t+1];return null}function vy(t,e,n,r){return-1===n?function(t,e){return 2===t.type||3===t.type?Pc(tm,t,e):0===t.type?Fc(Im,tm,t,e):null}(e,t):-2===n?function(t,e,n){if(n===tm)return Pc(tm,e,t);if(n===Im)return Fc(Im,tm,e,t);if(n===Tm)return ngDevMode&&Qr(e,[2,0,3]),Lc(Tm,tm,e,t);ngDevMode&&_t(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${L(n)}.`)}(t,e,r):wi(t,t[Se],n,e)}function wy(t,e,n,r){const i=e[Ue].queries[r];if(null===i.matches){const r=t.data,o=n.matches,s=[];for(let t=0;t<o.length;t+=2){const i=o[t];if(i<0)s.push(null);else{ngDevMode&&bt(r,i);const a=r[i];s.push(vy(e,a,o[t+1],n.metadata.read))}}i.matches=s}return i.matches}function Cy(t,e,n,r){const i=t.queries.getByIndex(n),o=i.matches;if(null!==o){const s=wy(t,e,i,n);for(let t=0;t<o.length;t+=2){const n=o[t];if(n>0)r.push(s[t/2]);else{const i=o[t+1],s=e[-n];ngDevMode&&cn(s);for(let t=Ze;t<s.length;t++){const e=s[t];e[Ve]===e[Ee]&&Cy(e[Se],e,i,r)}if(null!==s[Ye]){const t=s[Ye];for(let e=0;e<t.length;e++){const n=t[e];Cy(n[Se],n,i,r)}}}}}return r}function Sy(t){const e=cr(),n=ur(),r=Er();xr(r+1);const i=Ry(n,r);if(t.dirty&&Xn(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const o=i.crossesNgTemplate?Cy(n,e,r,[]):wy(n,e,i,r);t.reset(o),t.notifyOnChanges()}return!0}return!1}function Oy(t,e,n){xy(ur(),cr(),t,e,n,!0)}function Ey(t,e,n){xy(ur(),cr(),t,e,n,!1)}function xy(t,e,n,r,i,o){t.firstCreatePass&&(Ay(t,new gy(n,r,o,i),-1),o&&(t.staticViewQueries=!0)),jy(t,e)}function Iy(t,e,n,r){Dy(ur(),cr(),e,n,r,!1,dr(),t)}function ky(t,e,n,r){Dy(ur(),cr(),e,n,r,!0,dr(),t)}function Dy(t,e,n,r,i,o,s,a){t.firstCreatePass&&(Ay(t,new gy(n,r,o,i),s.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]),r=t.contentQueries.length?n[n.length-1]:-1;e!==r&&n.push(t.queries.length-1,e)}(t,a),o&&(t.staticContentQueries=!0)),jy(t,e)}function Ty(){return t=cr(),e=Er(),ngDevMode&>(t[Ue],"LQueries should be defined when trying to load a query"),ngDevMode&&bt(t[Ue].queries,e),t[Ue].queries[e].queryList;var t,e}function jy(t,e){const n=new py;Sa(t,e,n,n.destroy),null===e[Ue]&&(e[Ue]=new my),e[Ue].queries.push(new fy(n))}function Ay(t,e,n){null===t.queries&&(t.queries=new _y),t.queries.track(new yy(e,n))}function Ry(t,e){return ngDevMode&>(t.queries,"TQueries must be defined to retrieve a TQuery"),t.queries.getByIndex(e)}function My(t,e){return Fc(Im,tm,t,e)}function Ny(t=O.Default){const e=Vc(!0);if(null!=e||t&O.Optional)return e;kn("ChangeDetectorRef")}const Py={"\u0275\u0275attribute":Xl,"\u0275\u0275attributeInterpolate1":ud,"\u0275\u0275attributeInterpolate2":ld,"\u0275\u0275attributeInterpolate3":dd,"\u0275\u0275attributeInterpolate4":hd,"\u0275\u0275attributeInterpolate5":pd,"\u0275\u0275attributeInterpolate6":fd,"\u0275\u0275attributeInterpolate7":md,"\u0275\u0275attributeInterpolate8":gd,"\u0275\u0275attributeInterpolateV":_d,"\u0275\u0275defineComponent":ae,"\u0275\u0275defineDirective":me,"\u0275\u0275defineInjectable":I,"\u0275\u0275defineInjector":D,"\u0275\u0275defineNgModule":he,"\u0275\u0275definePipe":ge,"\u0275\u0275directiveInject":wd,"\u0275\u0275getFactoryOf":Ei,"\u0275\u0275getInheritedFactory":xi,"\u0275\u0275inject":Rt,"\u0275\u0275injectAttribute":Cd,"\u0275\u0275invalidFactory":Sd,"\u0275\u0275invalidFactoryDep":Mt,"\u0275\u0275injectPipeChangeDetectorRef":Ny,"\u0275\u0275templateRefExtractor":My,"\u0275\u0275NgOnChangesFeature":Tn,"\u0275\u0275ProvidersFeature":qf,"\u0275\u0275CopyDefinitionFeature":Bl,"\u0275\u0275InheritDefinitionFeature":Rl,"\u0275\u0275nextContext":Ud,"\u0275\u0275namespaceHTML":Br,"\u0275\u0275namespaceMathML":Vr,"\u0275\u0275namespaceSVG":Lr,"\u0275\u0275enableBindings":sr,"\u0275\u0275disableBindings":ar,"\u0275\u0275elementStart":Id,"\u0275\u0275elementEnd":kd,"\u0275\u0275element":Dd,"\u0275\u0275elementContainerStart":Td,"\u0275\u0275elementContainerEnd":jd,"\u0275\u0275elementContainer":Ad,"\u0275\u0275pureFunction0":B_,"\u0275\u0275pureFunction1":U_,"\u0275\u0275pureFunction2":z_,"\u0275\u0275pureFunction3":H_,"\u0275\u0275pureFunction4":$_,"\u0275\u0275pureFunction5":G_,"\u0275\u0275pureFunction6":q_,"\u0275\u0275pureFunction7":W_,"\u0275\u0275pureFunction8":Y_,"\u0275\u0275pureFunctionV":Z_,"\u0275\u0275getCurrentView":Rd,"\u0275\u0275restoreView":lr,"\u0275\u0275listener":Pd,"\u0275\u0275projection":qd,"\u0275\u0275syntheticHostProperty":vp,"\u0275\u0275syntheticHostListener":Fd,"\u0275\u0275pipeBind1":ry,"\u0275\u0275pipeBind2":iy,"\u0275\u0275pipeBind3":oy,"\u0275\u0275pipeBind4":sy,"\u0275\u0275pipeBindV":ay,"\u0275\u0275projectionDef":Hd,"\u0275\u0275hostProperty":bp,"\u0275\u0275property":Od,"\u0275\u0275propertyInterpolate":Wd,"\u0275\u0275propertyInterpolate1":Yd,"\u0275\u0275propertyInterpolate2":Zd,"\u0275\u0275propertyInterpolate3":Kd,"\u0275\u0275propertyInterpolate4":Qd,"\u0275\u0275propertyInterpolate5":Jd,"\u0275\u0275propertyInterpolate6":Xd,"\u0275\u0275propertyInterpolate7":th,"\u0275\u0275propertyInterpolate8":eh,"\u0275\u0275propertyInterpolateV":nh,"\u0275\u0275pipe":ny,"\u0275\u0275queryRefresh":Sy,"\u0275\u0275viewQuery":Ey,"\u0275\u0275staticViewQuery":Oy,"\u0275\u0275staticContentQuery":ky,"\u0275\u0275loadQuery":Ty,"\u0275\u0275contentQuery":Iy,"\u0275\u0275reference":vd,"\u0275\u0275classMap":Ch,"\u0275\u0275classMapInterpolate1":qh,"\u0275\u0275classMapInterpolate2":Wh,"\u0275\u0275classMapInterpolate3":Yh,"\u0275\u0275classMapInterpolate4":Zh,"\u0275\u0275classMapInterpolate5":Kh,"\u0275\u0275classMapInterpolate6":Qh,"\u0275\u0275classMapInterpolate7":Jh,"\u0275\u0275classMapInterpolate8":Xh,"\u0275\u0275classMapInterpolateV":tp,"\u0275\u0275styleMap":vh,"\u0275\u0275styleMapInterpolate1":ep,"\u0275\u0275styleMapInterpolate2":np,"\u0275\u0275styleMapInterpolate3":rp,"\u0275\u0275styleMapInterpolate4":ip,"\u0275\u0275styleMapInterpolate5":op,"\u0275\u0275styleMapInterpolate6":sp,"\u0275\u0275styleMapInterpolate7":ap,"\u0275\u0275styleMapInterpolate8":cp,"\u0275\u0275styleMapInterpolateV":up,"\u0275\u0275styleProp":yh,"\u0275\u0275stylePropInterpolate1":lp,"\u0275\u0275stylePropInterpolate2":dp,"\u0275\u0275stylePropInterpolate3":hp,"\u0275\u0275stylePropInterpolate4":pp,"\u0275\u0275stylePropInterpolate5":fp,"\u0275\u0275stylePropInterpolate6":mp,"\u0275\u0275stylePropInterpolate7":gp,"\u0275\u0275stylePropInterpolate8":_p,"\u0275\u0275stylePropInterpolateV":yp,"\u0275\u0275classProp":bh,"\u0275\u0275advance":vs,"\u0275\u0275template":yd,"\u0275\u0275text":Nh,"\u0275\u0275textInterpolate":Ph,"\u0275\u0275textInterpolate1":Fh,"\u0275\u0275textInterpolate2":Lh,"\u0275\u0275textInterpolate3":Vh,"\u0275\u0275textInterpolate4":Bh,"\u0275\u0275textInterpolate5":Uh,"\u0275\u0275textInterpolate6":zh,"\u0275\u0275textInterpolate7":Hh,"\u0275\u0275textInterpolate8":$h,"\u0275\u0275textInterpolateV":Gh,"\u0275\u0275i18n":Mf,"\u0275\u0275i18nAttributes":Nf,"\u0275\u0275i18nExp":Pf,"\u0275\u0275i18nStart":Af,"\u0275\u0275i18nEnd":Rf,"\u0275\u0275i18nApply":Ff,"\u0275\u0275i18nPostprocess":Lf,"\u0275\u0275resolveWindow":bn,"\u0275\u0275resolveDocument":vn,"\u0275\u0275resolveBody":wn,"\u0275\u0275setComponentScope":ce,"\u0275\u0275setNgModuleScope":pe,"\u0275\u0275sanitizeHtml":jo,"\u0275\u0275sanitizeStyle":Ao,"\u0275\u0275sanitizeResourceUrl":Mo,"\u0275\u0275sanitizeScript":No,"\u0275\u0275sanitizeUrl":Ro,"\u0275\u0275sanitizeUrlOrResourceUrl":Fo};let Fy=null;function Ly(){Fy=null}const Vy=[],By=[];let Uy=!1;function zy(){if(!Uy){Uy=!0;try{for(let t=By.length-1;t>=0;t--){const{moduleType:e,ngModule:n}=By[t];n.declarations&&n.declarations.every(Hy)&&(By.splice(t,1),Xy(e,n))}}finally{Uy=!1}}}function Hy(t){return Array.isArray(t)?t.every(Hy):!!z(t)}function $y(t,e={}){Gy(t,e),function(t,e){By.push({moduleType:t,ngModule:e})}(t,e)}function Gy(t,e,n=!1){ngDevMode&>(t,"Required value moduleType"),ngDevMode&>(e,"Required value ngModule");const r=Gt(e.declarations||Vy);let i=null;Object.defineProperty(t,et,{configurable:!0,get:()=>{if(null===i){if(ngDevMode&&e.imports&&e.imports.indexOf(t)>-1)throw new Error(`'${_n(t)}' module can't import itself`);i=Q().compileNgModule(Py,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:Gt(e.bootstrap||Vy).map(z),declarations:r.map(z),imports:Gt(e.imports||Vy).map(z).map(nb),exports:Gt(e.exports||Vy).map(z).map(nb),schemas:e.schemas?Gt(e.schemas):null,id:e.id||null}),i.schemas||(i.schemas=[])}return i}});let o=null;Object.defineProperty(t,M,{get:()=>{if(null===o){ngDevMode&&qy(t,n);const r={name:t.name,type:t,deps:tu(t),providers:e.providers||Vy,imports:[(e.imports||Vy).map(z),(e.exports||Vy).map(z)]};o=Q().compileInjector(Py,`ng:///${t.name}/\u0275inj.js`,r)}return o},configurable:!!ngDevMode})}function qy(t,e,n){if(Ky.get(t))return;let r;if(Ky.set(t,!0),t=z(t),n){if(r=we(t),!r)throw new Error(`Unexpected value '${t.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=we(t,!0);const i=[],o=Sn(r.declarations),s=Sn(r.imports);Gt(s).map(Wy).forEach((e=>{d(e,t),qy(e,!1,t)}));const a=Sn(r.exports);o.forEach((function(e){e=z(e);_e(e)||ye(e)||be(e)||i.push(`Unexpected value '${_n(e)}' declared by the module '${_n(t)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),o.forEach((function(t){const e=ye(t=z(t));!_e(t)&&e&&0==e.selectors.length&&i.push(`Directive ${_n(t)} has no selector, please add it!`)}));const c=[...o.map(z),...Gt(s.map(Jy)).map(z)];a.forEach((function(e){const n=(_e(e=z(e))?"component":ye(e)&&"directive")||be(e)&&"pipe";n&&-1===c.lastIndexOf(e)&&i.push(`Can't export ${n} ${_n(e)} from ${_n(t)} as it was neither declared nor imported!`)})),o.forEach((n=>function(e,n){e=z(e);const r=Zy.get(e);if(r&&r!==t){if(!n){const n=[r,t].map(_n).sort();i.push(`Type ${_n(e)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${_n(e)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${_n(e)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else Zy.set(e,t)}(n,e))),o.forEach((function(t){if(_e(t=z(t))){const e=Yy(t,"Component");e&&e.entryComponents&&qt(e.entryComponents,l)}}));const u=Yy(t,"NgModule");if(u&&(u.imports&&Gt(u.imports).map(Wy).forEach((e=>{d(e,t),qy(e,!1,t)})),u.bootstrap&&qt(u.bootstrap,(function(t){_e(t=z(t))||i.push(`${_n(t)} cannot be used as an entry component.`)})),u.bootstrap&&qt(u.bootstrap,l),u.entryComponents&&qt(u.entryComponents,l)),i.length)throw new Error(i.join("\n"));function l(t){t=z(t);Zy.get(t)||i.push(`Component ${_n(t)} is not part of any NgModule or the module has not been imported into your module.`)}function d(t,e){if(_e(t=z(t))||ye(t))throw new Error(`Unexpected directive '${t.name}' imported by the module '${e.name}'. Please add an @NgModule annotation.`);if(be(t))throw new Error(`Unexpected pipe '${t.name}' imported by the module '${e.name}'. Please add an @NgModule annotation.`)}}function Wy(t){return(t=z(t)).ngModule||t}function Yy(t,e){let n=null;return r(t.__annotations__),r(t.decorators),n;function r(t){t&&t.forEach(i)}function i(t){if(!n){if(Object.getPrototypeOf(t).ngMetadataName==e)n=t;else if(t.type){Object.getPrototypeOf(t.type).ngMetadataName==e&&(n=t.args[0])}}}}let Zy=new Map,Ky=new Map;function Qy(){Zy=new Map,Ky=new Map,By.length=0}function Jy(t){return[...Gt(Sn(we(t=z(t),!0).exports).map((t=>we(t)?(qy(t,!1),Jy(t)):t)))]}function Xy(t,e){const n=Gt(e.declarations||Vy),r=eb(t);n.forEach((e=>{if(e.hasOwnProperty(J)){tb(_e(e),r)}else e.hasOwnProperty(X)||e.hasOwnProperty(tt)||(e.ngSelectorScope=t)}))}function tb(t,e){t.directiveDefs=()=>Array.from(e.compilation.directives).map((t=>t.hasOwnProperty(J)?_e(t):ye(t))).filter((t=>!!t)),t.pipeDefs=()=>Array.from(e.compilation.pipes).map((t=>be(t))),t.schemas=e.schemas,t.tView=null}function eb(t){if(!rb(t))throw new Error(`${t.name} does not have a module def (\u0275mod property)`);const e=we(t);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;const n={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Sn(e.imports).forEach((t=>{const e=t;if(!rb(e))throw new Error(`Importing ${e.name} which does not have a \u0275mod property`);const r=eb(e);r.exported.directives.forEach((t=>n.compilation.directives.add(t))),r.exported.pipes.forEach((t=>n.compilation.pipes.add(t)))})),Sn(e.declarations).forEach((t=>{be(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)})),Sn(e.exports).forEach((t=>{const e=t;if(rb(e)){const t=eb(e);t.exported.directives.forEach((t=>{n.compilation.directives.add(t),n.exported.directives.add(t)})),t.exported.pipes.forEach((t=>{n.compilation.pipes.add(t),n.exported.pipes.add(t)}))}else be(e)?n.exported.pipes.add(e):n.exported.directives.add(e)})),e.transitiveCompileScopes=n,n}function nb(t){return function(t){return void 0!==t.ngModule}(t)?t.ngModule:t}function rb(t){return!!we(t)}let ib=0;function ob(t,e){("undefined"==typeof ngDevMode||ngDevMode)&&ot();let n=null;!function(t,e){rl(e)&&(el.set(t,e),nl.add(t))}(t,e),cb(t,e),Object.defineProperty(t,J,{get:()=>{if(null===n){const r=Q();if(rl(e)){const n=[`Component '${t.name}' is not resolved:`];throw e.templateUrl&&n.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const i=Fy;let o=e.preserveWhitespaces;void 0===o&&(o=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let s=e.encapsulation;void 0===s&&(s=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:ne.Emulated);const a=e.templateUrl||`ng:///${t.name}/template.html`,c=Object.assign(Object.assign({},lb(t,e)),{typeSourceSpan:r.createParseSourceSpan("Component",t.name,a),template:e.template||"",preserveWhitespaces:o,styles:e.styles||oe,animations:e.animations,directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:s,interpolation:e.interpolation,viewProviders:e.viewProviders||null});ib++;try{c.usesInheritance&&db(t),n=r.compileComponent(Py,a,c)}finally{ib--}if(0===ib&&zy(),void 0!==t.ngSelectorScope){const e=eb(t.ngSelectorScope);tb(n,e)}}return n},configurable:!!ngDevMode})}function sb(t,e){let n=null;cb(t,e||{}),Object.defineProperty(t,X,{get:()=>{if(null===n){const r=ab(t,e||{});n=Q().compileDirective(Py,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function ab(t,e){const n=t&&t.name,r=`ng:///${n}/\u0275dir.js`,i=Q(),o=lb(t,e);return o.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),o.usesInheritance&&db(t),{metadata:o,sourceMapUrl:r}}function cb(t,e){let n=null;Object.defineProperty(t,rt,{get:()=>{if(null===n){const r=ab(t,e),i=Q();n=i.compileFactory(Py,`ng:///${t.name}/\u0275fac.js`,Object.assign(Object.assign({},r.metadata),{injectFn:"directiveInject",target:i.R3FactoryTarget.Directive}))}return n},configurable:!!ngDevMode})}function ub(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function lb(t,e){const n=Xc(),r=n.ownPropMetadata(t);return{name:t.name,type:t,typeArgumentCount:0,selector:void 0!==e.selector?e.selector:null,deps:tu(t),host:e.host||ie,propMetadata:r,inputs:e.inputs||oe,outputs:e.outputs||oe,queries:pb(t,r,fb),lifecycle:{usesOnChanges:n.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!ub(t),exportAs:(i=e.exportAs,void 0===i?null:_b(i)),providers:e.providers||null,viewQueries:pb(t,r,mb)};var i}function db(t){const e=Object.prototype;let n=Object.getPrototypeOf(t.prototype).constructor;for(;n&&n!==e;)ye(n)||_e(n)||!bb(n)||sb(n,null),n=Object.getPrototypeOf(n)}function hb(t,e){return{propertyName:t,predicate:(n=e.selector,"string"==typeof n?_b(n):z(n)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static};var n}function pb(t,e,n){const r=[];for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];o.forEach((e=>{if(n(e)){if(!e.selector)throw new Error(`Can't construct a query for the property "${i}" of "${_n(t)}" since the query selector wasn't defined.`);if(o.some(gb))throw new Error("Cannot combine @Input decorators with query decorators");r.push(hb(i,e))}}))}return r}function fb(t){const e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function mb(t){const e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function gb(t){return"Input"===t.ngMetadataName}function _b(t){return t.split(",").map((t=>t.trim()))}const yb=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function bb(t){const e=Xc();if(yb.some((n=>e.hasLifecycleHook(t,n))))return!0;const n=e.propMetadata(t);for(const t in n){const e=n[t];for(let t=0;t<e.length;t++){const n=e[t],r=n.ngMetadataName;if(gb(n)||fb(n)||mb(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}function vb(t,e){let n=null,r=null;Object.defineProperty(t,rt,{get:()=>{if(null===r){const n=wb(t,e),i=Q();r=i.compileFactory(Py,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:i.R3FactoryTarget.Pipe}))}return r},configurable:!!ngDevMode}),Object.defineProperty(t,tt,{get:()=>{if(null===n){const r=wb(t,e);n=Q().compilePipe(Py,`ng:///${r.name}/\u0275pipe.js`,r)}return n},configurable:!!ngDevMode})}function wb(t,e){return{type:t,typeArgumentCount:0,name:t.name,deps:tu(t),pipeName:e.name,pure:void 0===e.pure||e.pure}}const Cb=h("Directive",((t={})=>t),void 0,void 0,((t,e)=>Rb(t,e))),Sb=h("Component",((t={})=>Object.assign({changeDetection:te.Default},t)),Cb,void 0,((t,e)=>Ab(t,e))),Ob=h("Pipe",(t=>Object.assign({pure:!0},t)),void 0,void 0,((t,e)=>Mb(t,e))),Eb=m("Input",(t=>({bindingPropertyName:t}))),xb=m("Output",(t=>({bindingPropertyName:t}))),Ib=m("HostBinding",(t=>({hostPropertyName:t}))),kb=m("HostListener",((t,e)=>({eventName:t,args:e}))),Db=ob,Tb=sb,jb=vb,Ab=Db,Rb=Tb,Mb=jb,Nb=h("NgModule",(t=>t),void 0,void 0,((t,e)=>Fb(t,e)));const Pb=$y,Fb=Pb,Lb=new vt("Application Initializer");class Vb{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let e=0;e<this.appInits.length;e++){const n=this.appInits[e]();Md(n)&&t.push(n)}Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}Vb.\u0275fac=function(t){return new(t||Vb)(Rt(Lb,8))},Vb.\u0275prov=I({token:Vb,factory:Vb.\u0275fac}),Vb.ctorParameters=()=>[{type:Array,decorators:[{type:_,args:[Lb]},{type:y}]}];const Bb=new vt("AppId");function Ub(){return`${Hb()}${Hb()}${Hb()}`}const zb={provide:Bb,useFactory:Ub,deps:[]};function Hb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $b=new vt("Platform Initializer"),Gb=new vt("Platform ID"),qb=new vt("appBootstrapListener"),Wb=new vt("Application Packages Root URL");class Yb{log(t){}warn(t){}}Yb.\u0275fac=function(t){return new(t||Yb)},Yb.\u0275prov=I({token:Yb,factory:Yb.\u0275fac});const Zb=new vt("LocaleId"),Kb=new vt("DefaultCurrencyCode"),Qb=new vt("Translations"),Jb=new vt("TranslationsFormat");var Xb;!function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"}(Xb||(Xb={}));const tv=!0,ev=tv;class nv{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const rv=function(t){return new V_(t)},iv=rv,ov=function(t){return Promise.resolve(rv(t))},sv=ov,av=function(t){const e=rv(t),n=Sn(we(t).declarations).reduce(((t,e)=>{const n=_e(e);return n&&t.push(new T_(n)),t}),[]);return new nv(e,n)},cv=av,uv=function(t){return Promise.resolve(av(t))},lv=uv;class dv{constructor(){this.compileModuleSync=iv,this.compileModuleAsync=sv,this.compileModuleAndAllComponentsSync=cv,this.compileModuleAndAllComponentsAsync=lv}clearCache(){}clearCacheFor(t){}getModuleId(t){}}dv.\u0275fac=function(t){return new(t||dv)},dv.\u0275prov=I({token:dv,factory:dv.\u0275fac});const hv=new vt("compilerOptions");class pv{}const fv=Promise.resolve(0);function mv(t){"undefined"==typeof Zone?fv.then((()=>{t&&t.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class gv{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new dy(!1),this.onMicrotaskEmpty=new dy(!1),this.onStable=new dy(!1),this.onError=new dy(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=W.requestAnimationFrame,e=W.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){if(-1!==t.lastRequestAnimationFrameId)return;t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(W,(()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{t.lastRequestAnimationFrameId=-1,vv(t),bv(t)}),void 0,(()=>{}),(()=>{}))),t.fakeTopEventTask.invoke()})),vv(t)}(t)},n=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&e;t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:n},onInvokeTask:(e,r,i,o,s,a)=>{try{return wv(t),e.invokeTask(i,o,s,a)}finally{n&&"eventTask"===o.type&&n(),Cv(t)}},onInvoke:(e,n,r,i,o,s,a)=>{try{return wv(t),e.invoke(r,i,o,s,a)}finally{Cv(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,vv(t),bv(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular((()=>t.onError.emit(i))),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gv.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(gv.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,yv,_v,_v);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function _v(){}const yv={};function bv(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((()=>t.onStable.emit(null)))}finally{t.isStable=!0}}}function vv(t){t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function wv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cv(t){t._nesting--,bv(t)}class Sv{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new dy,this.onMicrotaskEmpty=new dy,this.onStable=new dy,this.onError=new dy}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}class Ov{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{gv.assertNotInAngularZone(),mv((()=>{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())mv((()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1}));else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter((e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1))),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((t=>({source:t.source,creationLocation:t.creationLocation,data:t.data}))):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==r)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}Ov.\u0275fac=function(t){return new(t||Ov)(Rt(gv))},Ov.\u0275prov=I({token:Ov,factory:Ov.\u0275fac}),Ov.ctorParameters=()=>[{type:gv}];class Ev{constructor(){this._applications=new Map,kv.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return kv.findTestabilityInTree(this,t,e)}}Ev.\u0275fac=function(t){return new(t||Ev)},Ev.\u0275prov=I({token:Ev,factory:Ev.\u0275fac}),Ev.ctorParameters=()=>[];function xv(t){kv=t}let Iv,kv=new class{addToWindow(t){}findTestabilityInTree(t,e,n){return null}},Dv=Tv;function Tv(t,e,n){ngDevMode&&function(t,e="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){we(t)||_t(e)}(n);const r=new V_(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const i=t.get(hv,[]).concat(e);if(function(t){if(null!==Fy){if(t.defaultEncapsulation!==Fy.defaultEncapsulation)return void ngDevMode;if(t.preserveWhitespaces!==Fy.preserveWhitespaces)return void ngDevMode}Fy=t}({defaultEncapsulation:Gv(i.map((t=>t.defaultEncapsulation))),preserveWhitespaces:Gv(i.map((t=>t.preserveWhitespaces)))}),0===el.size)return Promise.resolve(r);const o=function(t){const e=[];return t.forEach((t=>t&&e.push(...t))),e}(i.map((t=>t.providers)));if(0===o.length)return Promise.resolve(r);const s=Q(),a=Eu.create({providers:o}).get(s.ResourceLoader);return tl((t=>Promise.resolve(a.get(t)))).then((()=>r))}let jv=function(){ngDevMode&&Ol()},Av=Rv;function Rv(t){return t.isBoundToModule}const Mv=new vt("AllowMultipleToken");class Nv{constructor(t,e){this.name=t,this.token=e}}function Pv(t){if(Iv&&!Iv.destroyed&&!Iv.injector.get(Mv,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");jv(),Iv=t.get(Uv);const e=t.get($b,null);return e&&e.forEach((t=>t())),Iv}function Fv(t,e,n=[]){const r=`Platform: ${e}`,i=new vt(r);return(e=[])=>{let o=Bv();if(!o||o.injector.get(Mv,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:uu,useValue:"platform"});Pv(Eu.create({providers:t,name:r}))}return Lv(i)}}function Lv(t){const e=Bv();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function Vv(){Iv&&!Iv.destroyed&&Iv.destroy()}function Bv(){return Iv&&!Iv.destroyed?Iv:null}class Uv{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;n="noop"===t?new Sv:("zone.js"===t?void 0:t)||new gv({enableLongStackTrace:Ji(),shouldCoalesceEventChangeDetection:e});return n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:gv,useValue:n}];return n.run((()=>{const e=Eu.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),o=i.injector.get(Ri,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy((()=>$v(this._modules,i))),n.runOutsideAngular((()=>n.onError.subscribe({next:t=>{o.handleError(t)}}))),function(t,e,n){try{const r=n();return Md(r)?r.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):r}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(o,n,(()=>{const t=i.injector.get(Vb);return t.runInitializers(),t.donePromise.then((()=>{if(ev){Fp(i.injector.get(Zb,Ap)||Ap)}return this._moduleDoBootstrap(i),i}))}))}))}bootstrapModule(t,e=[]){const n=zv({},e);return Dv(this.injector,n,t).then((t=>this.bootstrapModuleFactory(t,n)))}_moduleDoBootstrap(t){const e=t.injector.get(Hv);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((t=>e.bootstrap(t)));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${L(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((t=>t.destroy())),this._destroyListeners.forEach((t=>t())),this._destroyed=!0}get destroyed(){return this._destroyed}}function zv(t,e){return t=Array.isArray(e)?e.reduce(zv,t):Object.assign(Object.assign({},t),e)}Uv.\u0275fac=function(t){return new(t||Uv)(Rt(Eu))},Uv.\u0275prov=I({token:Uv,factory:Uv.\u0275fac}),Uv.ctorParameters=()=>[{type:Eu}];class Hv{constructor(t,e,n,r,i,c){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ji(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run((()=>{this.tick()}))}});const u=new o.a((t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular((()=>{t.next(this._stable),t.complete()}))})),l=new o.a((t=>{let e;this._zone.runOutsideAngular((()=>{e=this._zone.onStable.subscribe((()=>{gv.assertNotInAngularZone(),mv((()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))}))}))}));const n=this._zone.onUnstable.subscribe((()=>{gv.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular((()=>{t.next(!1)})))}));return()=>{e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(s.a)(u,l.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Yf?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=Av(n)?void 0:this._injector.get(zt),i=e||n.selector,o=n.create(Eu.NULL,[],i,r);o.onDestroy((()=>{this._unloadComponent(o)}));const s=o.injector.get(Ov,null);return s&&o.injector.get(Ev).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Ji()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular((()=>this._exceptionHandler.handleError(t)))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;$v(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);this._injector.get(qb,[]).concat(this._bootstrapListeners).forEach((e=>e(t)))}_unloadComponent(t){this.detachView(t.hostView),$v(this.components,t)}ngOnDestroy(){this._views.slice().forEach((t=>t.destroy()))}get viewCount(){return this._views.length}}function $v(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function Gv(t){for(let e=t.length-1;e>=0;e--)if(void 0!==t[e])return t[e]}Hv.\u0275fac=function(t){return new(t||Hv)(Rt(gv),Rt(Yb),Rt(Eu),Rt(Ri),Rt(Qf),Rt(Vb))},Hv.\u0275prov=I({token:Hv,factory:Hv.\u0275fac}),Hv.ctorParameters=()=>[{type:gv},{type:Yb},{type:Eu},{type:Ri},{type:Qf},{type:Vb}];class qv{}function Wv(t){const e=F_(t);if(!e)throw Kv(t);return e}function Yv(t){const e=F_(t);if(!e)throw Kv(t);return new V_(e)}const Zv=Yv;function Kv(t){return new Error(`No module with ID ${t} loaded`)}class Qv{}const Jv={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class Xv{constructor(t,e){this._compiler=t,this._config=e||Jv}load(t){return!ev&&this._compiler instanceof dv?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(536)(e).then((t=>t[r])).then((t=>tw(t,e,r))).then((t=>this._compiler.compileModuleAsync(t)))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n(536)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then((t=>t[r+i])).then((t=>tw(t,e,r)))}}function tw(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}Xv.\u0275fac=function(t){return new(t||Xv)(Rt(dv),Rt(Qv,8))},Xv.\u0275prov=I({token:Xv,factory:Xv.\u0275fac}),Xv.ctorParameters=()=>[{type:dv},{type:Qv,decorators:[{type:y}]}];class ew extends Bc{}class nw extends ew{}class rw{constructor(t,e){this.name=t,this.callback=e}}class iw{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof ow&&e.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 ow extends iw{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach((e=>{e.parent&&e.parent.removeChild(e),t.parent=this})))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return aw(this,t,e),e}queryAllNodes(t){const e=[];return cw(this,t,e),e}get children(){return this.childNodes.filter((t=>t instanceof ow))}triggerEventHandler(t,e){this.listeners.forEach((n=>{n.name==t&&n.callback(e)}))}}function sw(t){return t.map((t=>t.nativeElement))}function aw(t,e,n){t.childNodes.forEach((t=>{t instanceof ow&&(e(t)&&n.push(t),aw(t,e,n))}))}function cw(t,e,n){t instanceof ow&&t.childNodes.forEach((t=>{e(t)&&n.push(t),t instanceof ow&&cw(t,e,n)}))}class uw{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new lw(t):null}get injector(){return pl(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(ul(t)||dl(t))}get context(){return ul(this.nativeNode)||ll(this.nativeNode)}get listeners(){return yl(this.nativeNode).filter((t=>"dom"===t.type))}get references(){return gl(this.nativeNode)}get providerTokens(){return function(t){const e=ml(t,!1);if(null===e)return[];const n=e.lView[Se],r=n.data[e.nodeIndex],i=[],o=1048575&r.providerIndexes,s=r.directiveEnd;for(let t=o;t<s;t++){let e=n.data[t];void 0!==(a=e).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(e=e.type),i.push(e)}var a;return i}(this.nativeNode)}}class lw extends uw{constructor(t){ngDevMode&&yt(t),super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const t=ml(this.nativeNode),e=t.lView[Se].data;return e[t.nodeIndex].tagName}catch(t){return this.nativeNode.nodeName}}get properties(){const t=ml(this.nativeNode,!1);if(null==t)return{};const e=t.lView,n=e[Se].data,r=n[t.nodeIndex],i={};return function(t,e){if(t){let n=Object.getPrototypeOf(t);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=t[n];dw(r)&&(e[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,i),function(t,e,n,r){let i=e.propertyBindings;if(null!==i)for(let e=0;e<i.length;e++){const o=i[e],s=r[o].split(Cn),a=s[0];if(s.length>1){let e=s[1];for(let t=1;t<s.length-1;t++)e+=gn(n[o+t-1])+s[t+1];t[a]=e}else t[a]=n[o]}}(i,r,e,n),i}get attributes(){const t={},e=this.nativeElement;if(!e)return t;const n=ml(e,!1);if(null==n)return{};const r=n.lView[Se].data[n.nodeIndex].attrs,i=[];if(r){let e=0;for(;e<r.length;){const n=r[e];if("string"!=typeof n)break;const o=r[e+1];t[n]=o,i.push(n.toLowerCase()),e+=2}}const o=e.attributes;for(let e=0;e<o.length;e++){const n=o[e],r=n.name.toLowerCase();-1===i.indexOf(r)&&(t[r]=n.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},e=this.nativeElement.className;return(e&&"string"!=typeof e?e.baseVal.split(" "):e.split(" ")).forEach((e=>t[e]=!0)),t}get childNodes(){const t=this.nativeNode.childNodes,e=[];for(let n=0;n<t.length;n++){const r=t[n];e.push(bw(r))}return e}get children(){const t=this.nativeElement;if(!t)return[];const e=t.children,n=[];for(let t=0;t<e.length;t++){const r=e[t];n.push(bw(r))}return n}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return hw(this,t,e,!0),e}queryAllNodes(t){const e=[];return hw(this,t,e,!1),e}triggerEventHandler(t,e){const n=this.nativeNode,r=[];this.listeners.forEach((i=>{if(i.name===t){const t=i.callback;t.call(n,e),r.push(t)}})),"function"==typeof n.eventListeners&&n.eventListeners(t).forEach((t=>{if(-1!==t.toString().indexOf("__ngUnwrap__")){const i=t("__ngUnwrap__");return-1===r.indexOf(i)&&i.call(n,e)}}))}}function dw(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function hw(t,e,n,r){const i=ml(t.nativeNode,!1);if(null!==i){pw(i.lView[Se].data[i.nodeIndex],i.lView,e,n,r,t.nativeNode)}else gw(t.nativeNode,e,n,r)}function pw(t,e,n,r,i,o){ngDevMode&&rn(t,e);const s=function(t,e){const n=null===t?-1:t.index;if(-1!==n){ngDevMode&&rn(t,e);const r=Gn(e[n]);return ngDevMode&&null!==r&&!Hn(e[Re])&&yt(r),r}return null}(t,e);if(2===t.type||3===t.type){if(mw(s,n,r,i,o),Xe(t)){const s=Kn(t.index,e);s&&s[Se].firstChild&&pw(s[Se].firstChild,s,n,r,i,o)}else t.child&&pw(t.child,e,n,r,i,o),s&&gw(s,n,r,i);const a=e[t.index];Qe(a)&&fw(a,n,r,i,o)}else if(0===t.type){const s=e[t.index];mw(s[qe],n,r,i,o),fw(s,n,r,i,o)}else if(1===t.type){const s=e[Le],a=s[ke].projection[t.projection];if(Array.isArray(a))for(let t of a)mw(t,n,r,i,o);else if(a){const t=s[Ee];pw(t[Se].data[a.index],t,n,r,i,o)}}else t.child&&pw(t.child,e,n,r,i,o);if(o!==s){const s=4&t.flags?t.projectionNext:t.next;s&&pw(s,e,n,r,i,o)}}function fw(t,e,n,r,i){for(let o=Ze;o<t.length;o++){const s=t[o],a=s[Se].firstChild;a&&pw(a,s,e,n,r,i)}}function mw(t,e,n,r,i){if(i!==t){const i=vw(t);if(!i)return;(r&&i instanceof lw&&e(i)&&-1===n.indexOf(i)||!r&&e(i)&&-1===n.indexOf(i))&&n.push(i)}}function gw(t,e,n,r){const i=t.childNodes,o=i.length;for(let t=0;t<o;t++){const o=i[t],s=vw(o);s&&((r&&s instanceof lw&&e(s)&&-1===n.indexOf(s)||!r&&e(s)&&-1===n.indexOf(s))&&n.push(s),gw(o,e,n,r))}}const _w=new Map;const yw="__ng_debug__";function bw(t){return t instanceof Node?(t.hasOwnProperty(yw)||(t[yw]=t.nodeType==Node.ELEMENT_NODE?new lw(t):new uw(t)),t[yw]):null}const vw=bw;function ww(t){return function(t){return _w.get(t)||null}(t)}const Cw=function(t){return null};function Sw(t){_w.set(t.nativeNode,t)}const Ow=uw,Ew=lw,xw=Fv(null,"core",[{provide:Gb,useValue:"unknown"},{provide:Uv,deps:[Eu]},{provide:Ev,deps:[]},{provide:Yb,deps:[]}]);function Iw(){return Em}function kw(){return xm}function Dw(t){return t=t||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:ev&&"undefined"!=typeof $localize&&$localize.locale||Ap),ev&&Fp(t),t}const Tw=Rp,jw=[{provide:Hv,useClass:Hv,deps:[gv,Yb,Eu,Ri,Qf,Vb]},{provide:D_,deps:[gv],useFactory:Aw},{provide:Vb,useClass:Vb,deps:[[new y,Lb]]},{provide:dv,useClass:dv,deps:[]},zb,{provide:wm,useFactory:Iw,deps:[]},{provide:Cm,useFactory:kw,deps:[]},{provide:Zb,useFactory:Dw,deps:[[new _(Zb),new y,new v]]},{provide:Kb,useValue:Tw}];function Aw(t){let e=[];return t.onStable.subscribe((()=>{for(;e.length;)e.pop()()})),function(t){e.push(t)}}class Rw{constructor(t){}}function Mw(t,e,n,r,i,o){t|=1;const{matchedQueries:s,references:a,matchedQueryIds:c}=dg(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:c,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?mg(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Gm},provider:null,text:null,query:null,ngContent:null}}function Nw(t,e,n,r,i,o,s=[],a,c,u,l,d){u||(u=Gm);const{matchedQueries:h,references:p,matchedQueryIds:f}=dg(n);let m=null,g=null;o&&([m,g]=Cg(o)),a=a||[];const _=[];for(let t=0;t<a.length;t++){const[e,n,r]=a[t],[i,o]=Cg(n);let s,c;switch(15&e){case 4:c=r;break;case 1:case 8:s=r}_[t]={flags:e,ns:i,name:o,nonMinifiedName:o,securityContext:s,suffix:c}}c=c||[];const y=[];for(let t=0;t<c.length;t++){const[e,n]=c[t];y[t]={type:0,target:e,eventName:n,propName:null}}const b=(s=s||[]).map((([t,e])=>{const[n,r]=Cg(t);return[n,r,e]}));return d=function(t){if(t&&t.id===Zm){const e=null!=t.encapsulation&&t.encapsulation!==ne.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Jm++:Km}return t&&t.id===Km&&(t=null),t||null}(d),l&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:Sg(_),outputs:y,element:{ns:m,name:g,attrs:b,template:null,componentProvider:null,componentView:l||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||Gm},provider:null,text:null,query:null,ngContent:null}}function Pw(t,e,n){const r=n.element,i=t.root.selectorOrNode,o=t.renderer;let s;if(t.parent||!i){s=r.name?o.createElement(r.name,r.ns):o.createComment("");const i=pg(t,e,n);i&&o.appendChild(i,s)}else{const t=!!r.componentRendererType&&r.componentRendererType.encapsulation===ne.ShadowDom;s=o.selectRootElement(i,t)}if(r.attrs)for(let t=0;t<r.attrs.length;t++){const[e,n,i]=r.attrs[t];o.setAttribute(s,n,i,e)}return s}function Fw(t,e,n,r){for(let s=0;s<n.outputs.length;s++){const a=n.outputs[s],c=Lw(t,n.nodeIndex,(i=a.target,o=a.eventName,i?`${i}:${o}`:o));let u=a.target,l=t;"component"===a.target&&(u=null,l=e);const d=l.renderer.listen(u||r,a.eventName,c);t.disposables[n.outputIndex+s]=d}var i,o}function Lw(t,e,n){return r=>ig(t,e,n,r)}function Vw(t,e,n,r){if(!tg(t,e,n,r))return!1;const i=e.bindings[n],o=Vm(t,e.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(t,e,n,r,i,o){const s=e.securityContext;let a=s?t.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;const c=t.renderer;null!=o?c.setAttribute(n,i,a,r):c.removeAttribute(n,i,r)}(t,i,s,i.ns,a,r);break;case 2:!function(t,e,n,r){const i=t.renderer;r?i.addClass(e,n):i.removeClass(e,n)}(t,s,a,r);break;case 4:!function(t,e,n,r,i){let o=t.root.sanitizer.sanitize(To.STYLE,i);if(null!=o){o=o.toString();const t=e.suffix;null!=t&&(o+=t)}else o=null;const s=t.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(t,i,s,a,r);break;case 8:!function(t,e,n,r,i){const o=e.securityContext;let s=o?t.root.sanitizer.sanitize(o,i):i;t.renderer.setProperty(n,r,s)}(33554432&e.flags&&32&i.flags?o.componentView:t,i,s,a,r)}return!0}function Bw(t,e,n){let r=[];for(let t in n){const e=n[t];r.push({propName:t,bindingType:e})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:lg(e),bindings:r},ngContent:null}}function Uw(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&ug(t);){let n=t.parentNodeDef;t=t.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=t.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&e)===r.query.filterId&&zm(t,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&t.def.nodeFlags)for(let e=0;e<t.def.nodes.length;e++){const n=t.def.nodes[e];134217728&n.flags&&536870912&n.flags&&zm(t,e).setDirty(),e+=n.childCount}}function zw(t,e){const n=zm(t,e.nodeIndex);if(!n.dirty)return;let r,i;if(67108864&e.flags){const n=e.parent.parent;i=Hw(t,n.nodeIndex,n.nodeIndex+n.childCount,e.query,[]),r=Bm(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=Hw(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);const o=e.query.bindings;let s=!1;for(let t=0;t<o.length;t++){const e=o[t];let i;switch(e.bindingType){case 0:i=n.first;break;case 1:i=n,s=!0}r[e.propName]=i}s&&n.notifyOnChanges()}function Hw(t,e,n,r,i){for(let o=e;o<=n;o++){const e=t.def.nodes[o],n=e.matchedQueries[r.id];if(null!=n&&i.push($w(t,e,n)),1&e.flags&&e.element.template&&(e.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Vm(t,o);if((e.childMatchedQueries&r.filterId)===r.filterId&&(Hw(t,o+1,o+e.childCount,r,i),o+=e.childCount),16777216&e.flags){const t=n.viewContainer._embeddedViews;for(let e=0;e<t.length;e++){const o=t[e],s=og(o);s&&s===n&&Hw(o,0,o.def.nodes.length-1,r,i)}}const s=n.template._projectedViews;if(s)for(let t=0;t<s.length;t++){const e=s[t];Hw(e,0,e.def.nodes.length-1,r,i)}}(e.childMatchedQueries&r.filterId)!==r.filterId&&(o+=e.childCount)}return i}function $w(t,e,n){if(null!=n)switch(n){case 1:return Vm(t,e.nodeIndex).renderElement;case 0:return new tm(Vm(t,e.nodeIndex).renderElement);case 2:return Vm(t,e.nodeIndex).template;case 3:return Vm(t,e.nodeIndex).viewContainer;case 4:return Bm(t,e.nodeIndex).instance}}function Gw(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function qw(t,e,n){const r=pg(t,e,n);if(!r)return;yg(t,n.ngContent.index,1,r,null,void 0)}function Ww(t,e){return Kw(128,t,Zt(e+1))}function Yw(t,e){return Kw(32,t,Zt(e))}function Zw(t,e){const n=Object.keys(e),r=n.length,i=[];for(let t=0;t<r;t++){const r=n[t];e[r];i.push(r)}return Kw(64,t,i)}function Kw(t,e,n){const r=[];for(let t=0;t<n.length;t++){const e=n[t];r.push({flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Sg(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Qw(t,e,n){const r=[];for(let t=1;t<n.length;t++)r[t-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[t]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Jw(t,e,n){let r;const i=t.renderer;r=i.createText(n.text.prefix);const o=pg(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function Xw(t,e){return(null!=t?t.toString():"")+e.suffix}function tC(t,e,n,r){let i=0,o=0,s=0,a=0,c=0,u=null,l=null,d=!1,h=!1,p=null;for(let t=0;t<e.length;t++){const n=e[t];if(n.nodeIndex=t,n.parent=u,n.bindingIndex=i,n.outputIndex=o,n.renderParent=l,s|=n.flags,c|=n.matchedQueryIds,n.element){const t=n.element;t.publicProviders=u?u.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,n.element.template&&(c|=n.element.template.nodeMatchedQueries)}if(nC(u,n,e.length),i+=n.bindings.length,o+=n.outputs.length,!l&&3&n.flags&&(p=n),20224&n.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const t=0!=(8192&n.flags),e=0!=(32768&n.flags);!t||e?u.element.publicProviders[Wm(n.provider.token)]=n:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Wm(n.provider.token)]=n),e&&(u.element.componentProvider=n)}if(u?(u.childFlags|=n.flags,u.directChildFlags|=n.flags,u.childMatchedQueries|=n.matchedQueryIds,n.element&&n.element.template&&(u.childMatchedQueries|=n.element.template.nodeMatchedQueries)):a|=n.flags,n.childCount>0)u=n,eC(n)||(l=n);else for(;u&&t===u.nodeIndex+u.childCount;){const t=u.parent;t&&(t.childFlags|=u.childFlags,t.childMatchedQueries|=u.childMatchedQueries),u=t,l=u&&eC(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:c,flags:t,nodes:e,updateDirectives:n||Gm,updateRenderer:r||Gm,handleEvent:(t,n,r,i)=>e[n].element.handleEvent(t,r,i),bindingCount:i,outputCount:o,lastRenderRootNode:p}}function eC(t){return 0!=(1&t.flags)&&null===t.element.name}function nC(t,e,n){const r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`)}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function rC(t,e,n,r){const i=sC(t.root,t.renderer,t,e,n);return aC(i,t.component,r),cC(i),i}function iC(t,e,n){const r=sC(t,t.renderer,null,null,e);return aC(r,n,n),cC(r),r}function oC(t,e,n,r){const i=e.element.componentRendererType;let o;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,sC(t.root,o,t,e.element.componentProvider,n)}function sC(t,e,n,r,i){const o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function aC(t,e,n){t.component=e,t.context=n}function cC(t){let e;if(cg(t)){const n=t.parentNodeDef;e=Vm(t.parent,n.parent.nodeIndex).renderElement}const n=t.def,r=t.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let s;switch($m.setCurrentNode(t,i),201347067&o.flags){case 1:const n=Pw(t,e,o);let a;if(33554432&o.flags){const e=mg(o.element.componentView);a=$m.createComponentView(t,o,e,n)}Fw(t,a,o,n),s={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?Kg(t,o):void 0},16777216&o.flags&&(s.viewContainer=qg(t,o,s));break;case 2:s=Jw(t,e,o);break;case 512:case 1024:case 2048:case 256:if(s=r[i],!(s||4096&o.flags)){s={instance:f_(t,o)}}break;case 16:s={instance:m_(t,o)};break;case 16384:if(s=r[i],!s){s={instance:g_(t,o)}}if(32768&o.flags){aC(Vm(t,o.parent.nodeIndex).componentView,s.instance,s.instance)}break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new py;break;case 8:qw(t,e,o),s=void 0}r[i]=s}_C(t,gC.CreateViewNodes),wC(t,201326592,268435456,0)}function uC(t){hC(t),$m.updateDirectives(t,1),yC(t,gC.CheckNoChanges),$m.updateRenderer(t,1),_C(t,gC.CheckNoChanges),t.state&=-97}function lC(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Pm(t,0,256),hC(t),$m.updateDirectives(t,0),yC(t,gC.CheckAndUpdate),wC(t,67108864,536870912,0);let e=Pm(t,256,512);O_(t,2097152|(e?1048576:0)),$m.updateRenderer(t,0),_C(t,gC.CheckAndUpdate),wC(t,134217728,536870912,0),e=Pm(t,512,768),O_(t,8388608|(e?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Pm(t,768,1024)}function dC(t,e,n,r,i,o,s,a,c,u,l,d,h){return 0===n?function(t,e,n,r,i,o,s,a,c,u,l,d){switch(201347067&e.flags){case 1:return function(t,e,n,r,i,o,s,a,c,u,l,d){const h=e.bindings.length;let p=!1;return h>0&&Vw(t,e,0,n)&&(p=!0),h>1&&Vw(t,e,1,r)&&(p=!0),h>2&&Vw(t,e,2,i)&&(p=!0),h>3&&Vw(t,e,3,o)&&(p=!0),h>4&&Vw(t,e,4,s)&&(p=!0),h>5&&Vw(t,e,5,a)&&(p=!0),h>6&&Vw(t,e,6,c)&&(p=!0),h>7&&Vw(t,e,7,u)&&(p=!0),h>8&&Vw(t,e,8,l)&&(p=!0),h>9&&Vw(t,e,9,d)&&(p=!0),p}(t,e,n,r,i,o,s,a,c,u,l,d);case 2:return function(t,e,n,r,i,o,s,a,c,u,l,d){let h=!1;const p=e.bindings,f=p.length;if(f>0&&tg(t,e,0,n)&&(h=!0),f>1&&tg(t,e,1,r)&&(h=!0),f>2&&tg(t,e,2,i)&&(h=!0),f>3&&tg(t,e,3,o)&&(h=!0),f>4&&tg(t,e,4,s)&&(h=!0),f>5&&tg(t,e,5,a)&&(h=!0),f>6&&tg(t,e,6,c)&&(h=!0),f>7&&tg(t,e,7,u)&&(h=!0),f>8&&tg(t,e,8,l)&&(h=!0),f>9&&tg(t,e,9,d)&&(h=!0),h){let h=e.text.prefix;f>0&&(h+=Xw(n,p[0])),f>1&&(h+=Xw(r,p[1])),f>2&&(h+=Xw(i,p[2])),f>3&&(h+=Xw(o,p[3])),f>4&&(h+=Xw(s,p[4])),f>5&&(h+=Xw(a,p[5])),f>6&&(h+=Xw(c,p[6])),f>7&&(h+=Xw(u,p[7])),f>8&&(h+=Xw(l,p[8])),f>9&&(h+=Xw(d,p[9]));const m=Lm(t,e.nodeIndex).renderText;t.renderer.setValue(m,h)}return h}(t,e,n,r,i,o,s,a,c,u,l,d);case 16384:return function(t,e,n,r,i,o,s,a,c,u,l,d){const h=Bm(t,e.nodeIndex),p=h.instance;let f,m=!1;const g=e.bindings.length;return g>0&&Xm(t,e,0,n)&&(m=!0,f=S_(t,h,e,0,n,f)),g>1&&Xm(t,e,1,r)&&(m=!0,f=S_(t,h,e,1,r,f)),g>2&&Xm(t,e,2,i)&&(m=!0,f=S_(t,h,e,2,i,f)),g>3&&Xm(t,e,3,o)&&(m=!0,f=S_(t,h,e,3,o,f)),g>4&&Xm(t,e,4,s)&&(m=!0,f=S_(t,h,e,4,s,f)),g>5&&Xm(t,e,5,a)&&(m=!0,f=S_(t,h,e,5,a,f)),g>6&&Xm(t,e,6,c)&&(m=!0,f=S_(t,h,e,6,c,f)),g>7&&Xm(t,e,7,u)&&(m=!0,f=S_(t,h,e,7,u,f)),g>8&&Xm(t,e,8,l)&&(m=!0,f=S_(t,h,e,8,l,f)),g>9&&Xm(t,e,9,d)&&(m=!0,f=S_(t,h,e,9,d,f)),f&&p.ngOnChanges(f),65536&e.flags&&Fm(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),m}(t,e,n,r,i,o,s,a,c,u,l,d);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,c,u,l,d){const h=e.bindings;let p=!1;const f=h.length;if(f>0&&tg(t,e,0,n)&&(p=!0),f>1&&tg(t,e,1,r)&&(p=!0),f>2&&tg(t,e,2,i)&&(p=!0),f>3&&tg(t,e,3,o)&&(p=!0),f>4&&tg(t,e,4,s)&&(p=!0),f>5&&tg(t,e,5,a)&&(p=!0),f>6&&tg(t,e,6,c)&&(p=!0),f>7&&tg(t,e,7,u)&&(p=!0),f>8&&tg(t,e,8,l)&&(p=!0),f>9&&tg(t,e,9,d)&&(p=!0),p){const p=Um(t,e.nodeIndex);let m;switch(201347067&e.flags){case 32:m=[],f>0&&m.push(n),f>1&&m.push(r),f>2&&m.push(i),f>3&&m.push(o),f>4&&m.push(s),f>5&&m.push(a),f>6&&m.push(c),f>7&&m.push(u),f>8&&m.push(l),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]=i),f>3&&(m[h[3].name]=o),f>4&&(m[h[4].name]=s),f>5&&(m[h[5].name]=a),f>6&&(m[h[6].name]=c),f>7&&(m[h[7].name]=u),f>8&&(m[h[8].name]=l),f>9&&(m[h[9].name]=d);break;case 128:const t=n;switch(f){case 1:m=t.transform(n);break;case 2:m=t.transform(r);break;case 3:m=t.transform(r,i);break;case 4:m=t.transform(r,i,o);break;case 5:m=t.transform(r,i,o,s);break;case 6:m=t.transform(r,i,o,s,a);break;case 7:m=t.transform(r,i,o,s,a,c);break;case 8:m=t.transform(r,i,o,s,a,c,u);break;case 9:m=t.transform(r,i,o,s,a,c,u,l);break;case 10:m=t.transform(r,i,o,s,a,c,u,l,d)}}p.value=m}return p}(t,e,n,r,i,o,s,a,c,u,l,d);default:throw"unreachable"}}(t,e,r,i,o,s,a,c,u,l,d,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let r=!1;for(let i=0;i<n.length;i++)Vw(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){const r=e.bindings;let i=!1;for(let r=0;r<n.length;r++)tg(t,e,r,n[r])&&(i=!0);if(i){let i="";for(let t=0;t<n.length;t++)i+=Xw(n[t],r[t]);i=e.text.prefix+i;const o=Lm(t,e.nodeIndex).renderText;t.renderer.setValue(o,i)}return i}(t,e,n);case 16384:return function(t,e,n){const r=Bm(t,e.nodeIndex),i=r.instance;let o,s=!1;for(let i=0;i<n.length;i++)Xm(t,e,i,n[i])&&(s=!0,o=S_(t,r,e,i,n[i],o));return o&&i.ngOnChanges(o),65536&e.flags&&Fm(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),s}(t,e,n);case 32:case 64:case 128:return function(t,e,n){const r=e.bindings;let i=!1;for(let r=0;r<n.length;r++)tg(t,e,r,n[r])&&(i=!0);if(i){const i=Um(t,e.nodeIndex);let o;switch(201347067&e.flags){case 32:o=n;break;case 64:o={};for(let t=0;t<n.length;t++)o[r[t].name]=n[t];break;case 128:const t=n[0],e=n.slice(1);o=t.transform(...e)}i.value=o}return i}(t,e,n);default:throw"unreachable"}}(t,e,r)}function hC(t){const e=t.def;if(4&e.nodeFlags)for(let n=0;n<e.nodes.length;n++){const r=e.nodes[n];if(4&r.flags){const e=Vm(t,n).template._projectedViews;if(e)for(let n=0;n<e.length;n++){const r=e[n];r.state|=32,rg(r,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function pC(t,e,n,r,i,o,s,a,c,u,l,d,h){return 0===n?function(t,e,n,r,i,o,s,a,c,u,l,d){const h=e.bindings.length;h>0&&eg(t,e,0,n);h>1&&eg(t,e,1,r);h>2&&eg(t,e,2,i);h>3&&eg(t,e,3,o);h>4&&eg(t,e,4,s);h>5&&eg(t,e,5,a);h>6&&eg(t,e,6,c);h>7&&eg(t,e,7,u);h>8&&eg(t,e,8,l);h>9&&eg(t,e,9,d)}(t,e,r,i,o,s,a,c,u,l,d,h):function(t,e,n){for(let r=0;r<n.length;r++)eg(t,e,r,n[r])}(t,e,r),!1}function fC(t,e){if(zm(t,e.nodeIndex).dirty)throw Rm($m.createDebugContext(t,e.nodeIndex),`Query ${e.query.id} not dirty`,`Query ${e.query.id} dirty`,0!=(1&t.state))}function mC(t){if(!(128&t.state)){if(yC(t,gC.Destroy),_C(t,gC.Destroy),O_(t,131072),t.disposables)for(let e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(!(16&t.state))return;const e=og(t);if(e){const n=e.template._projectedViews;n&&(Yt(n,n.indexOf(t)),$m.dirtyParentQueries(t))}}(t),t.renderer.destroyNode&&function(t){const e=t.def.nodes.length;for(let n=0;n<e;n++){const e=t.def.nodes[n];1&e.flags?t.renderer.destroyNode(Vm(t,n).renderElement):2&e.flags?t.renderer.destroyNode(Lm(t,n).renderText):(67108864&e.flags||134217728&e.flags)&&zm(t,n).destroy()}}(t),cg(t)&&t.renderer.destroy(),t.state|=128}}var gC;function _C(t,e){const n=t.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?bC(Vm(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function yC(t,e){const n=t.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=Vm(t,r).viewContainer._embeddedViews;for(let t=0;t<n.length;t++)bC(n[t],e)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function bC(t,e){const n=t.state;switch(e){case gC.CheckNoChanges:0==(128&n)&&(12==(12&n)?uC(t):64&n&&vC(t,gC.CheckNoChangesProjectedViews));break;case gC.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?uC(t):64&n&&vC(t,e));break;case gC.CheckAndUpdate:0==(128&n)&&(12==(12&n)?lC(t):64&n&&vC(t,gC.CheckAndUpdateProjectedViews));break;case gC.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?lC(t):64&n&&vC(t,e));break;case gC.Destroy:mC(t);break;case gC.CreateViewNodes:cC(t)}}function vC(t,e){yC(t,e),_C(t,e)}function wC(t,e,n,r){if(!(t.def.nodeFlags&e&&t.def.nodeFlags&n))return;const i=t.def.nodes.length;for(let o=0;o<i;o++){const i=t.def.nodes[o];if(i.flags&e&&i.flags&n)switch($m.setCurrentNode(t,i.nodeIndex),r){case 0:zw(t,i);break;case 1:fC(t,i)}i.childFlags&e&&i.childFlags&n||(o+=i.childCount)}}Rw.\u0275mod=he({type:Rw}),Rw.\u0275inj=D({factory:function(t){return new(t||Rw)(Rt(Hv))},providers:jw}),Rw.ctorParameters=()=>[{type:Hv}],function(t){t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy"}(gC||(gC={}));let CC=!1;function SC(){if(CC)return;CC=!0;const t=Ji()?{setCurrentNode:qC,createRootView:EC,createEmbeddedView:IC,createComponentView:kC,createNgModuleRef:DC,overrideProvider:RC,overrideComponentView:MC,clearOverrides:NC,checkAndUpdateView:VC,checkNoChangesView:BC,destroyView:UC,createDebugContext:(t,e)=>new tS(t,e),handleEvent:WC,updateDirectives:YC,updateRenderer:ZC}:{setCurrentNode:()=>{},createRootView:OC,createEmbeddedView:rC,createComponentView:oC,createNgModuleRef:e_,overrideProvider:Gm,overrideComponentView:Gm,clearOverrides:Gm,checkAndUpdateView:lC,checkNoChangesView:uC,destroyView:mC,createDebugContext:(t,e)=>new tS(t,e),handleEvent:(t,e,n,r)=>t.def.handleEvent(t,e,n,r),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?FC:LC,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?FC:LC,t)};$m.setCurrentNode=t.setCurrentNode,$m.createRootView=t.createRootView,$m.createEmbeddedView=t.createEmbeddedView,$m.createComponentView=t.createComponentView,$m.createNgModuleRef=t.createNgModuleRef,$m.overrideProvider=t.overrideProvider,$m.overrideComponentView=t.overrideComponentView,$m.clearOverrides=t.clearOverrides,$m.checkAndUpdateView=t.checkAndUpdateView,$m.checkNoChangesView=t.checkNoChangesView,$m.destroyView=t.destroyView,$m.resolveDep=w_,$m.createDebugContext=t.createDebugContext,$m.handleEvent=t.handleEvent,$m.updateDirectives=t.updateDirectives,$m.updateRenderer=t.updateRenderer,$m.dirtyParentQueries=Uw}function OC(t,e,n,r,i,o){const s=i.injector.get(rm);return iC(xC(t,i,s,e,n),r,o)}function EC(t,e,n,r,i,o){const s=i.injector.get(rm),a=xC(t,i,new iS(s),e,n),c=PC(r);return nS(zC.create,iC,null,[a,c,o])}function xC(t,e,n,r,i){const o=e.injector.get(cm),s=e.injector.get(Ri),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function IC(t,e,n,r){const i=PC(n);return nS(zC.create,rC,null,[t,e,i,r])}function kC(t,e,n,r){const i=AC.get(e.element.componentProvider.provider.token);return n=i||PC(n),nS(zC.create,oC,null,[t,e,n,r])}function DC(t,e,n,r){const i=function(t){const{hasOverrides:e,hasDeprecatedOverrides:n}=r(t);if(!e)return t;return t=t.factory((()=>Gm)),i(t),t;function r(t){let e=!1,n=!1;return 0===TC.size||(t.providers.forEach((t=>{const r=TC.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)})),t.modules.forEach((t=>{jC.forEach(((r,i)=>{T(i).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:e,hasDeprecatedOverrides:n}}function i(t){for(let e=0;e<t.providers.length;e++){const r=t.providers[e];n&&(r.flags|=4096);const i=TC.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=hg(i.deps),r.value=i.value)}if(jC.size>0){let e=new Set(t.modules);jC.forEach(((r,i)=>{if(e.has(T(i).providedIn)){let e={token:i,flags:r.flags|(n?4096:0),deps:hg(r.deps),value:r.value,index:t.providers.length};t.providers.push(e),t.providersByKey[Wm(i)]=e}}))}}}(r);return e_(t,e,n,i)}const TC=new Map,jC=new Map,AC=new Map;function RC(t){let e;TC.set(t.token,t),"function"==typeof t.token&&(e=T(t.token))&&"function"==typeof e.providedIn&&jC.set(t.token,t)}function MC(t,e){const n=mg(Hg(e)),r=mg(n.nodes[0].element.componentView);AC.set(t,r)}function NC(){TC.clear(),jC.clear(),AC.clear()}function PC(t){if(0===TC.size)return t;const e=function(t){const e=[];let n=null;for(let r=0;r<t.nodes.length;r++){const i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&TC.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory((()=>Gm));for(let r=0;r<e.length;r++)n(t,e[r]);return t;function n(t,e){for(let n=e+1;n<t.nodes.length;n++){const e=t.nodes[n];if(1&e.flags)return;if(3840&e.flags){const t=e.provider,n=TC.get(t.token);n&&(e.flags=-3841&e.flags|n.flags,t.deps=hg(n.deps),t.value=n.value)}}}}function FC(t,e,n,r,i,o,s,a,c,u,l,d,h){const p=t.def.nodes[e];return dC(t,p,n,r,i,o,s,a,c,u,l,d,h),224&p.flags?Um(t,e).value:void 0}function LC(t,e,n,r,i,o,s,a,c,u,l,d,h){const p=t.def.nodes[e];return pC(t,p,n,r,i,o,s,a,c,u,l,d,h),224&p.flags?Um(t,e).value:void 0}function VC(t){return nS(zC.detectChanges,lC,null,[t])}function BC(t){return nS(zC.checkNoChanges,uC,null,[t])}function UC(t){return nS(zC.destroy,mC,null,[t])}var zC;let HC,$C,GC;function qC(t,e){$C=t,GC=e}function WC(t,e,n,r){return qC(t,e),nS(zC.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function YC(t,e){if(128&t.state)throw Nm(zC[HC]);return qC(t,JC(t,0)),t.def.updateDirectives((function(t,n,r,...i){const o=t.def.nodes[n];0===e?KC(t,o,r,i):QC(t,o,r,i);16384&o.flags&&qC(t,JC(t,n));return 224&o.flags?Um(t,o.nodeIndex).value:void 0}),t)}function ZC(t,e){if(128&t.state)throw Nm(zC[HC]);return qC(t,XC(t,0)),t.def.updateRenderer((function(t,n,r,...i){const o=t.def.nodes[n];0===e?KC(t,o,r,i):QC(t,o,r,i);3&o.flags&&qC(t,XC(t,n));return 224&o.flags?Um(t,o.nodeIndex).value:void 0}),t)}function KC(t,e,n,r){if(dC(t,e,n,...r)){const i=1===n?r[0]:r;if(16384&e.flags){const n={};for(let t=0;t<e.bindings.length;t++){const r=e.bindings[t],o=i[t];8&r.flags&&(n[$o(r.nonMinifiedName)]=qo(o))}const r=e.parent,o=Vm(t,r.nodeIndex).renderElement;if(r.element.name)for(let e in n){const r=n[e];null!=r?t.renderer.setAttribute(o,e,r):t.renderer.removeAttribute(o,e)}else t.renderer.setValue(o,zo(`bindings=${JSON.stringify(n,null,2)}`))}}}function QC(t,e,n,r){pC(t,e,n,...r)}function JC(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(16384&e.flags&&e.bindings&&e.bindings.length)return n}return null}function XC(t,e){for(let n=e;n<t.def.nodes.length;n++){const e=t.def.nodes[n];if(3&e.flags&&e.bindings&&e.bindings.length)return n}return null}!function(t){t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent"}(zC||(zC={}));class tS{constructor(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];let n=this.nodeDef,r=t;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=sg(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Vm(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Jg(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const t=[];if(this.elDef)for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t}get references(){const t={};if(this.elDef){eS(this.elView,this.elDef,t);for(let e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){const n=this.elView.def.nodes[e];20224&n.flags&&eS(this.elView,n,t),e+=n.childCount}}return t}get componentRenderElement(){const t=function(t){for(;t&&!cg(t);)t=t.parent;if(t.parent)return Vm(t.parent,sg(t).nodeIndex);return null}(this.elOrCompView);return t?t.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?ag(this.view,this.nodeDef):ag(this.elView,this.elDef)}logError(t,...e){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(t,e){let n=-1;for(let r=0;r<=e;r++){3&t.nodes[r].flags&&n++}return n}(n,r);let o=-1;n.factory((()=>(o++,o===i?t.error.bind(t,...e):Gm))),o<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error(...e))}}function eS(t,e,n){for(let r in e.references)n[r]=$w(t,e,e.references[r])}function nS(t,e,n,r){const i=HC,o=$C,s=GC;try{HC=t;const a=e.apply(n,r);return $C=o,GC=s,HC=i,a}catch(t){if(Ti(t)||!$C)throw t;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Mm(t,e),t}(t,rS())}}function rS(){return $C?new tS($C,GC):null}class iS{constructor(t){this.delegate=t}createRenderer(t,e){return new oS(this.delegate.createRenderer(t,e))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class oS{constructor(t){this.delegate=t,this.debugContextFactory=rS,this.data=this.delegate.data}createDebugContext(t){return this.debugContextFactory(t)}destroyNode(t){const e=vw(t);!function(t){_w.delete(t.nativeNode)}(e),e instanceof iw&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(t)}destroy(){this.delegate.destroy()}createElement(t,e){const n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){const e=new ow(n,null,r);e.name=t,Sw(e)}return n}createComment(t){const e=this.delegate.createComment(zo(t)),n=this.createDebugContext(e);return n&&Sw(new iw(e,null,n)),e}createText(t){const e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&Sw(new iw(e,null,n)),e}appendChild(t,e){const n=vw(t),r=vw(e);n&&r&&n instanceof ow&&n.addChild(r),this.delegate.appendChild(t,e)}insertBefore(t,e,n){const r=vw(t),i=vw(e),o=vw(n);r&&i&&r instanceof ow&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)}removeChild(t,e){const n=vw(t),r=vw(e);n&&r&&n instanceof ow&&n.removeChild(r),this.delegate.removeChild(t,e)}selectRootElement(t,e){const n=this.delegate.selectRootElement(t,e),r=rS();return r&&Sw(new ow(n,null,r)),n}setAttribute(t,e,n,r){const i=vw(t);if(i&&i instanceof ow){const t=r?r+":"+e:e;i.attributes[t]=n}this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){const r=vw(t);if(r&&r instanceof ow){const t=n?n+":"+e:e;r.attributes[t]=null}this.delegate.removeAttribute(t,e,n)}addClass(t,e){const n=vw(t);n&&n instanceof ow&&(n.classes[e]=!0),this.delegate.addClass(t,e)}removeClass(t,e){const n=vw(t);n&&n instanceof ow&&(n.classes[e]=!1),this.delegate.removeClass(t,e)}setStyle(t,e,n,r){const i=vw(t);i&&i instanceof ow&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){const r=vw(t);r&&r instanceof ow&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){const r=vw(t);r&&r instanceof ow&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)}listen(t,e,n){if("string"!=typeof t){const r=vw(t);r&&r.listeners.push(new rw(e,n))}return this.delegate.listen(t,e,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setValue(t,e){return this.delegate.setValue(t,e)}}function sS(t){return SC(),$m.overrideProvider(t)}function aS(t,e){return SC(),$m.overrideComponentView(t,e)}function cS(){return SC(),$m.clearOverrides()}function uS(t,e,n){return new lS(t,e,n)}class lS extends Ht{constructor(t,e,n){super(),this.moduleType=t,this._bootstrapComponents=e,this._ngModuleDefFactory=n}create(t){SC();const e=function(t){const e=Array.from(t.providers),n=Array.from(t.modules),r={};for(const e in t.providersByKey)r[e]=t.providersByKey[e];return{factory:t.factory,scope:t.scope,providers:e,modules:n,providersByKey:r}}(mg(this._ngModuleDefFactory));return $m.createNgModuleRef(this.moduleType,t||Eu.NULL,this._bootstrapComponents,e)}}"undefined"!=typeof ngDevMode&&ngDevMode&&(W.$localize=W.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")})}.call(this,n(177))},function(t,e,n){"use strict";n.r(e),n.d(e,"APP_BASE_HREF",(function(){return v})),n.d(e,"AsyncPipe",(function(){return le})),n.d(e,"CommonModule",(function(){return De})),n.d(e,"CurrencyPipe",(function(){return Oe})),n.d(e,"DOCUMENT",(function(){return c})),n.d(e,"DatePipe",(function(){return me})),n.d(e,"DecimalPipe",(function(){return Ce})),n.d(e,"FormStyle",(function(){return D})),n.d(e,"FormatWidth",(function(){return j})),n.d(e,"HashLocationStrategy",(function(){return C})),n.d(e,"I18nPluralPipe",(function(){return _e})),n.d(e,"I18nSelectPipe",(function(){return ye})),n.d(e,"JsonPipe",(function(){return be})),n.d(e,"KeyValuePipe",(function(){return ve})),n.d(e,"LOCATION_INITIALIZED",(function(){return d})),n.d(e,"Location",(function(){return S})),n.d(e,"LocationStrategy",(function(){return y})),n.d(e,"LowerCasePipe",(function(){return de})),n.d(e,"NgClass",(function(){return $t})),n.d(e,"NgComponentOutlet",(function(){return Gt})),n.d(e,"NgForOf",(function(){return Wt})),n.d(e,"NgForOfContext",(function(){return qt})),n.d(e,"NgIf",(function(){return Zt})),n.d(e,"NgIfContext",(function(){return Kt})),n.d(e,"NgLocaleLocalization",(function(){return Ut})),n.d(e,"NgLocalization",(function(){return Vt})),n.d(e,"NgPlural",(function(){return ne})),n.d(e,"NgPluralCase",(function(){return re})),n.d(e,"NgStyle",(function(){return ie})),n.d(e,"NgSwitch",(function(){return Xt})),n.d(e,"NgSwitchCase",(function(){return te})),n.d(e,"NgSwitchDefault",(function(){return ee})),n.d(e,"NgTemplateOutlet",(function(){return oe})),n.d(e,"NumberFormatStyle",(function(){return I})),n.d(e,"NumberSymbol",(function(){return A})),n.d(e,"PathLocationStrategy",(function(){return w})),n.d(e,"PercentPipe",(function(){return Se})),n.d(e,"PlatformLocation",(function(){return u})),n.d(e,"Plural",(function(){return k})),n.d(e,"SlicePipe",(function(){return Ie})),n.d(e,"TitleCasePipe",(function(){return pe})),n.d(e,"TranslationWidth",(function(){return T})),n.d(e,"UpperCasePipe",(function(){return fe})),n.d(e,"VERSION",(function(){return Le})),n.d(e,"ViewportScroller",(function(){return Ve})),n.d(e,"WeekDay",(function(){return R})),n.d(e,"formatCurrency",(function(){return Mt})),n.d(e,"formatDate",(function(){return dt})),n.d(e,"formatNumber",(function(){return Pt})),n.d(e,"formatPercent",(function(){return Nt})),n.d(e,"getCurrencySymbol",(function(){return nt})),n.d(e,"getLocaleCurrencyCode",(function(){return Y})),n.d(e,"getLocaleCurrencyName",(function(){return W})),n.d(e,"getLocaleCurrencySymbol",(function(){return q})),n.d(e,"getLocaleDateFormat",(function(){return U})),n.d(e,"getLocaleDateTimeFormat",(function(){return H})),n.d(e,"getLocaleDayNames",(function(){return P})),n.d(e,"getLocaleDayPeriods",(function(){return N})),n.d(e,"getLocaleDirection",(function(){return X})),n.d(e,"getLocaleEraNames",(function(){return L})),n.d(e,"getLocaleExtraDayPeriodRules",(function(){return Q})),n.d(e,"getLocaleExtraDayPeriods",(function(){return J})),n.d(e,"getLocaleFirstDayOfWeek",(function(){return V})),n.d(e,"getLocaleId",(function(){return M})),n.d(e,"getLocaleMonthNames",(function(){return F})),n.d(e,"getLocaleNumberFormat",(function(){return G})),n.d(e,"getLocaleNumberSymbol",(function(){return $})),n.d(e,"getLocalePluralCase",(function(){return Z})),n.d(e,"getLocaleTimeFormat",(function(){return z})),n.d(e,"getLocaleWeekEndRange",(function(){return B})),n.d(e,"getNumberOfCurrencyDigits",(function(){return it})),n.d(e,"isPlatformBrowser",(function(){return Me})),n.d(e,"isPlatformServer",(function(){return Ne})),n.d(e,"isPlatformWorkerApp",(function(){return Pe})),n.d(e,"isPlatformWorkerUi",(function(){return Fe})),n.d(e,"registerLocaleData",(function(){return zt})),n.d(e,"\u0275BrowserPlatformLocation",(function(){return h})),n.d(e,"\u0275DomAdapter",(function(){return a})),n.d(e,"\u0275NullViewportScroller",(function(){return ze})),n.d(e,"\u0275PLATFORM_BROWSER_ID",(function(){return Te})),n.d(e,"\u0275PLATFORM_SERVER_ID",(function(){return je})),n.d(e,"\u0275PLATFORM_WORKER_APP_ID",(function(){return Ae})),n.d(e,"\u0275PLATFORM_WORKER_UI_ID",(function(){return Re})),n.d(e,"\u0275angular_packages_common_common_a",(function(){return l})),n.d(e,"\u0275angular_packages_common_common_b",(function(){return f})),n.d(e,"\u0275angular_packages_common_common_c",(function(){return O})),n.d(e,"\u0275angular_packages_common_common_d",(function(){return b})),n.d(e,"\u0275angular_packages_common_common_e",(function(){return se})),n.d(e,"\u0275angular_packages_common_common_f",(function(){return ke})),n.d(e,"\u0275getDOM",(function(){return o})),n.d(e,"\u0275parseCookieValue",(function(){return Ht})),n.d(e,"\u0275setRootDomAdapter",(function(){return s}));var r=n(0);let i=null;function o(){return i}function s(t){i||(i=t)}class a{}const c=new r.InjectionToken("DocumentToken");class u{}function l(){return Object(r["\u0275\u0275inject"])(h)}u.\u0275fac=function(t){return new(t||u)},u.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:l,token:u,providedIn:"platform"});const d=new r.InjectionToken("Location Initialized");class h extends u{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}function p(){return!!window.history.pushState}function f(){return new h(Object(r["\u0275\u0275inject"])(c))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function g(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}h.\u0275fac=function(t){return new(t||h)(r["\u0275\u0275inject"](c))},h.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:f,token:h,providedIn:"platform"}),h.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[c]}]}];class y{}function b(t){const e=Object(r["\u0275\u0275inject"])(c).location;return new w(Object(r["\u0275\u0275inject"])(u),e&&e.origin||"")}y.\u0275fac=function(t){return new(t||y)},y.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:b,token:y,providedIn:"root"});const v=new r.InjectionToken("appBaseHref");class w extends y{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}w.\u0275fac=function(t){return new(t||w)(r["\u0275\u0275inject"](u),r["\u0275\u0275inject"](v,8))},w.\u0275prov=r["\u0275\u0275defineInjectable"]({token:w,factory:w.\u0275fac}),w.ctorParameters=()=>[{type:u},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[v]}]}];class C extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}C.\u0275fac=function(t){return new(t||C)(r["\u0275\u0275inject"](u),r["\u0275\u0275inject"](v,8))},C.\u0275prov=r["\u0275\u0275defineInjectable"]({token:C,factory:C.\u0275fac}),C.ctorParameters=()=>[{type:u},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[v]}]}];class S{constructor(t,e){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=g(E(n)),this._platformStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(t){return S.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,E(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)})))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach((n=>n(t,e)))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}function O(){return new S(Object(r["\u0275\u0275inject"])(y),Object(r["\u0275\u0275inject"])(u))}function E(t){return t.replace(/\/index.html$/,"")}S.\u0275fac=function(t){return new(t||S)(r["\u0275\u0275inject"](y),r["\u0275\u0275inject"](u))},S.normalizeQueryParams=_,S.joinWithSlash=m,S.stripTrailingSlash=g,S.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:O,token:S,providedIn:"root"}),S.ctorParameters=()=>[{type:y},{type:u}];const x={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,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],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:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],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 I,k,D,T,j,A,R;function M(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].LocaleId]}function N(t,e,n){const i=Object(r["\u0275findLocaleData"])(t),o=tt([i[r["\u0275LocaleDataIndex"].DayPeriodsFormat],i[r["\u0275LocaleDataIndex"].DayPeriodsStandalone]],e);return tt(o,n)}function P(t,e,n){const i=Object(r["\u0275findLocaleData"])(t),o=tt([i[r["\u0275LocaleDataIndex"].DaysFormat],i[r["\u0275LocaleDataIndex"].DaysStandalone]],e);return tt(o,n)}function F(t,e,n){const i=Object(r["\u0275findLocaleData"])(t),o=tt([i[r["\u0275LocaleDataIndex"].MonthsFormat],i[r["\u0275LocaleDataIndex"].MonthsStandalone]],e);return tt(o,n)}function L(t,e){return tt(Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].Eras],e)}function V(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].FirstDayOfWeek]}function B(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].WeekendRange]}function U(t,e){return tt(Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].DateFormat],e)}function z(t,e){return tt(Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].TimeFormat],e)}function H(t,e){return tt(Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].DateTimeFormat],e)}function $(t,e){const n=Object(r["\u0275findLocaleData"])(t),i=n[r["\u0275LocaleDataIndex"].NumberSymbols][e];if(void 0===i){if(e===A.CurrencyDecimal)return n[r["\u0275LocaleDataIndex"].NumberSymbols][A.Decimal];if(e===A.CurrencyGroup)return n[r["\u0275LocaleDataIndex"].NumberSymbols][A.Group]}return i}function G(t,e){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].NumberFormats][e]}function q(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].CurrencySymbol]||null}function W(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].CurrencyName]||null}function Y(t){return Object(r["\u0275getLocaleCurrencyCode"])(t)}!function(t){t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific"}(I||(I={})),function(t){t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other"}(k||(k={})),function(t){t[t.Format=0]="Format",t[t.Standalone=1]="Standalone"}(D||(D={})),function(t){t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short"}(T||(T={})),function(t){t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full"}(j||(j={})),function(t){t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup"}(A||(A={})),function(t){t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday"}(R||(R={}));const Z=r["\u0275getLocalePluralCase"];function K(t){if(!t[r["\u0275LocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${t[r["\u0275LocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Q(t){const e=Object(r["\u0275findLocaleData"])(t);K(e);return(e[r["\u0275LocaleDataIndex"].ExtraData][2]||[]).map((t=>"string"==typeof t?et(t):[et(t[0]),et(t[1])]))}function J(t,e,n){const i=Object(r["\u0275findLocaleData"])(t);K(i);const o=tt([i[r["\u0275LocaleDataIndex"].ExtraData][0],i[r["\u0275LocaleDataIndex"].ExtraData][1]],e)||[];return tt(o,n)||[]}function X(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].Directionality]}function tt(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function et(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}function nt(t,e,n="en"){const i=function(t){return Object(r["\u0275findLocaleData"])(t)[r["\u0275LocaleDataIndex"].Currencies]}(n)[t]||x[t]||[],o=i[1];return"narrow"===e&&"string"==typeof o?o:i[0]||t}const rt=2;function it(t){let e;const n=x[t];return n&&(e=n[2]),"number"==typeof e?e:rt}const ot=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,st={},at=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ct,ut,lt;function dt(t,e,n,r){let i=function(t){if(St(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,r]=t.split("-").map((t=>+t));return new Date(e,n-1,r)}let n;if(n=t.match(ot))return function(t){const e=new Date(0);let n=0,r=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11]));i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-n,a=Number(t[5]||0)-r,c=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,s,a,c,u),e}(n)}const e=new Date(t);if(!St(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=ht(n,e)||e;let o,s=[];for(;e;){if(o=at.exec(e),!o){s.push(e);break}{s=s.concat(o.slice(1));const t=s.pop();if(!t)break;e=t}}let a=i.getTimezoneOffset();r&&(a=Ct(r,a),i=function(t,e,n){const r=n?-1:1,i=t.getTimezoneOffset(),o=Ct(e,i);return function(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}(t,r*(o-i))}(i,r,!0));let c="";return s.forEach((t=>{const e=function(t){if(wt[t])return wt[t];let e;switch(t){case"G":case"GG":case"GGG":e=gt(lt.Eras,T.Abbreviated);break;case"GGGG":e=gt(lt.Eras,T.Wide);break;case"GGGGG":e=gt(lt.Eras,T.Narrow);break;case"y":e=mt(ut.FullYear,1,0,!1,!0);break;case"yy":e=mt(ut.FullYear,2,0,!0,!0);break;case"yyy":e=mt(ut.FullYear,3,0,!1,!0);break;case"yyyy":e=mt(ut.FullYear,4,0,!1,!0);break;case"M":case"L":e=mt(ut.Month,1,1);break;case"MM":case"LL":e=mt(ut.Month,2,1);break;case"MMM":e=gt(lt.Months,T.Abbreviated);break;case"MMMM":e=gt(lt.Months,T.Wide);break;case"MMMMM":e=gt(lt.Months,T.Narrow);break;case"LLL":e=gt(lt.Months,T.Abbreviated,D.Standalone);break;case"LLLL":e=gt(lt.Months,T.Wide,D.Standalone);break;case"LLLLL":e=gt(lt.Months,T.Narrow,D.Standalone);break;case"w":e=vt(1);break;case"ww":e=vt(2);break;case"W":e=vt(1,!0);break;case"d":e=mt(ut.Date,1);break;case"dd":e=mt(ut.Date,2);break;case"E":case"EE":case"EEE":e=gt(lt.Days,T.Abbreviated);break;case"EEEE":e=gt(lt.Days,T.Wide);break;case"EEEEE":e=gt(lt.Days,T.Narrow);break;case"EEEEEE":e=gt(lt.Days,T.Short);break;case"a":case"aa":case"aaa":e=gt(lt.DayPeriods,T.Abbreviated);break;case"aaaa":e=gt(lt.DayPeriods,T.Wide);break;case"aaaaa":e=gt(lt.DayPeriods,T.Narrow);break;case"b":case"bb":case"bbb":e=gt(lt.DayPeriods,T.Abbreviated,D.Standalone,!0);break;case"bbbb":e=gt(lt.DayPeriods,T.Wide,D.Standalone,!0);break;case"bbbbb":e=gt(lt.DayPeriods,T.Narrow,D.Standalone,!0);break;case"B":case"BB":case"BBB":e=gt(lt.DayPeriods,T.Abbreviated,D.Format,!0);break;case"BBBB":e=gt(lt.DayPeriods,T.Wide,D.Format,!0);break;case"BBBBB":e=gt(lt.DayPeriods,T.Narrow,D.Format,!0);break;case"h":e=mt(ut.Hours,1,-12);break;case"hh":e=mt(ut.Hours,2,-12);break;case"H":e=mt(ut.Hours,1);break;case"HH":e=mt(ut.Hours,2);break;case"m":e=mt(ut.Minutes,1);break;case"mm":e=mt(ut.Minutes,2);break;case"s":e=mt(ut.Seconds,1);break;case"ss":e=mt(ut.Seconds,2);break;case"S":e=mt(ut.FractionalSeconds,1);break;case"SS":e=mt(ut.FractionalSeconds,2);break;case"SSS":e=mt(ut.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=_t(ct.Short);break;case"ZZZZZ":e=_t(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=_t(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=_t(ct.Long);break;default:return null}return wt[t]=e,e}(t);c+=e?e(i,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}function ht(t,e){const n=M(t);if(st[n]=st[n]||{},st[n][e])return st[n][e];let r="";switch(e){case"shortDate":r=U(t,j.Short);break;case"mediumDate":r=U(t,j.Medium);break;case"longDate":r=U(t,j.Long);break;case"fullDate":r=U(t,j.Full);break;case"shortTime":r=z(t,j.Short);break;case"mediumTime":r=z(t,j.Medium);break;case"longTime":r=z(t,j.Long);break;case"fullTime":r=z(t,j.Full);break;case"short":const e=ht(t,"shortTime"),n=ht(t,"shortDate");r=pt(H(t,j.Short),[e,n]);break;case"medium":const i=ht(t,"mediumTime"),o=ht(t,"mediumDate");r=pt(H(t,j.Medium),[i,o]);break;case"long":const s=ht(t,"longTime"),a=ht(t,"longDate");r=pt(H(t,j.Long),[s,a]);break;case"full":const c=ht(t,"fullTime"),u=ht(t,"fullDate");r=pt(H(t,j.Full),[c,u])}return r&&(st[n][e]=r),r}function pt(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function ft(t,e,n="-",r,i){let o="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o=n));let s=String(t);for(;s.length<e;)s="0"+s;return r&&(s=s.substr(s.length-e)),o+s}function mt(t,e,n=0,r=!1,i=!1){return function(o,s){let a=function(t,e){switch(t){case ut.FullYear:return e.getFullYear();case ut.Month:return e.getMonth();case ut.Date:return e.getDate();case ut.Hours:return e.getHours();case ut.Minutes:return e.getMinutes();case ut.Seconds:return e.getSeconds();case ut.FractionalSeconds:return e.getMilliseconds();case ut.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,o);if((n>0||a>-n)&&(a+=n),t===ut.Hours)0===a&&-12===n&&(a=12);else if(t===ut.FractionalSeconds)return c=e,ft(a,3).substr(0,c);var c;const u=$(s,A.MinusSign);return ft(a,e,u,r,i)}}function gt(t,e,n=D.Format,r=!1){return function(i,o){return function(t,e,n,r,i,o){switch(n){case lt.Months:return F(e,i,r)[t.getMonth()];case lt.Days:return P(e,i,r)[t.getDay()];case lt.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(o){const t=Q(e),n=J(e,i,r),o=t.findIndex((t=>{if(Array.isArray(t)){const[e,n]=t,r=s>=e.hours&&a>=e.minutes,i=s<n.hours||s===n.hours&&a<n.minutes;if(e.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(t.hours===s&&t.minutes===a)return!0;return!1}));if(-1!==o)return n[o]}return N(e,i,r)[s<12?0:1];case lt.Eras:return L(e,r)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(i,o,t,e,n,r)}}function _t(t){return function(e,n,r){const i=-1*r,o=$(n,A.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case ct.Short:return(i>=0?"+":"")+ft(s,2,o)+ft(Math.abs(i%60),2,o);case ct.ShortGMT:return"GMT"+(i>=0?"+":"")+ft(s,1,o);case ct.Long:return"GMT"+(i>=0?"+":"")+ft(s,2,o)+":"+ft(Math.abs(i%60),2,o);case ct.Extended:return 0===r?"Z":(i>=0?"+":"")+ft(s,2,o)+":"+ft(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}!function(t){t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended"}(ct||(ct={})),function(t){t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day"}(ut||(ut={})),function(t){t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras"}(lt||(lt={}));const yt=0,bt=4;function vt(t,e=!1){return function(n,r){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(bt-o.getDay()))),e=function(t){const e=new Date(t,yt,1).getDay();return new Date(t,0,1+(e<=bt?bt:bt+7)-e)}(t.getFullYear()),r=t.getTime()-e.getTime();i=1+Math.round(r/6048e5)}var o;return ft(i,t,$(r,A.MinusSign))}}const wt={};function Ct(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function St(t){return t instanceof Date&&!isNaN(t.valueOf())}const Ot=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Et=22,xt=".",It="0",kt=";",Dt=",",Tt="#",jt="\xa4",At="%";function Rt(t,e,n,r,i,o,s=!1){let a="",c=!1;if(isFinite(t)){let u=function(t){let e,n,r,i,o,s=Math.abs(t)+"",a=0;(n=s.indexOf(xt))>-1&&(s=s.replace(xt,""));(r=s.search(/e/i))>0?(n<0&&(n=r),n+=+s.slice(r+1),s=s.substring(0,r)):n<0&&(n=s.length);for(r=0;s.charAt(r)===It;r++);if(r===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===It;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=Number(s.charAt(r))}n>Et&&(e=e.splice(0,Et-1),a=n-1,n=1);return{digits:e,exponent:a,integerLen:n}}(t);s&&(u=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2);return t}(u));let l=e.minInt,d=e.minFrac,h=e.maxFrac;if(o){const t=o.match(Ot);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],r=t[5];null!=e&&(l=Lt(e)),null!=n&&(d=Lt(n)),null!=r?h=Lt(r):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let r=t.digits,i=r.length-t.integerLen;const o=Math.min(Math.max(e,i),n);let s=o+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let t=s;t<r.length;t++)r[t]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,s=o+1),r[0]=0;for(let t=1;t<s;t++)r[t]=0}if(a>=5)if(s-1<0){for(let e=0;e>s;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;i<Math.max(0,o);i++)r.push(0);let c=0!==o;const u=e+t.integerLen,l=r.reduceRight((function(t,e,n,r){return e+=t,r[n]=e<10?e:e-10,c&&(0===r[n]&&n>=u?r.pop():c=!1),e>=10?1:0}),0);l&&(r.unshift(l),t.integerLen++)}(u,d,h);let p=u.digits,f=u.integerLen;const m=u.exponent;let g=[];for(c=p.every((t=>!t));f<l;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join($(n,r)),g.length&&(a+=$(n,i)+g.join("")),m&&(a+=$(n,A.Exponential)+"+"+m)}else a=$(n,A.Infinity);return a=t<0&&!c?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function Mt(t,e,n,r,i){const o=Ft(G(e,I.Currency),$(e,A.MinusSign));o.minFrac=it(r),o.maxFrac=o.minFrac;return Rt(t,o,e,A.CurrencyGroup,A.CurrencyDecimal,i).replace(jt,n).replace(jt,"").trim()}function Nt(t,e,n){return Rt(t,Ft(G(e,I.Percent),$(e,A.MinusSign)),e,A.Group,A.Decimal,n,!0).replace(new RegExp(At,"g"),$(e,A.PercentSign))}function Pt(t,e,n){return Rt(t,Ft(G(e,I.Decimal),$(e,A.MinusSign)),e,A.Group,A.Decimal,n)}function Ft(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(kt),i=r[0],o=r[1],s=-1!==i.indexOf(xt)?i.split(xt):[i.substring(0,i.lastIndexOf(It)+1),i.substring(i.lastIndexOf(It)+1)],a=s[0],c=s[1]||"";n.posPre=a.substr(0,a.indexOf(Tt));for(let t=0;t<c.length;t++){const e=c.charAt(t);e===It?n.minFrac=n.maxFrac=t+1:e===Tt?n.maxFrac=t+1:n.posSuf+=e}const u=a.split(Dt);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){const t=i.length-n.posPre.length-n.posSuf.length,e=o.indexOf(Tt);n.negPre=o.substr(0,e).replace(/'/g,""),n.negSuf=o.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function Lt(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class Vt{}function Bt(t,e,n,r){let i=`=${t}`;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}class Ut extends Vt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(Z(e||this.locale)(t)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}function zt(t,e,n){return Object(r["\u0275registerLocaleData"])(t,e,n)}function Ht(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}Ut.\u0275fac=function(t){return new(t||Ut)(r["\u0275\u0275inject"](r.LOCALE_ID))},Ut.\u0275prov=r["\u0275\u0275defineInjectable"]({token:Ut,factory:Ut.\u0275fac}),Ut.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class $t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem((t=>this._toggleClass(t.key,t.currentValue))),t.forEachChangedItem((t=>this._toggleClass(t.key,t.currentValue))),t.forEachRemovedItem((t=>{t.previousValue&&this._toggleClass(t.key,!1)}))}_applyIterableChanges(t){t.forEachAddedItem((t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(r["\u0275stringify"])(t.item)}`);this._toggleClass(t.item,!0)})),t.forEachRemovedItem((t=>this._toggleClass(t.item,!1)))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach((t=>this._toggleClass(t,!0))):Object.keys(t).forEach((e=>this._toggleClass(e,!!t[e]))))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach((t=>this._toggleClass(t,!1))):Object.keys(t).forEach((t=>this._toggleClass(t,!1))))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}$t.\u0275fac=function(t){return new(t||$t)(r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2))},$t.\u0275dir=r["\u0275\u0275defineDirective"]({type:$t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),$t.ctorParameters=()=>[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}],$t.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]};class Gt{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}Gt.\u0275fac=function(t){return new(t||Gt)(r["\u0275\u0275directiveInject"](r.ViewContainerRef))},Gt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Gt,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),Gt.ctorParameters=()=>[{type:r.ViewContainerRef}],Gt.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]};class qt{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,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 Wt{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(r.isDevMode)()&&null!=t&&"function"!=typeof t&&console&&console.warn,this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(n){throw new Error(`Cannot find a differ supporting object '${e}' of type '${t=e,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation(((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new qt(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new Yt(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new Yt(t,i);e.push(o)}}));for(let t=0;t<e.length;t++)this._perViewChange(e[t].view,e[t].record);for(let t=0,e=this._viewContainer.length;t<e;t++){const n=this._viewContainer.get(t);n.context.index=t,n.context.count=e,n.context.ngForOf=this._ngForOf}t.forEachIdentityChange((t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item}))}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}Wt.\u0275fac=function(t){return new(t||Wt)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers))},Wt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Wt,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Wt.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}],Wt.propDecorators={ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]};class Yt{constructor(t,e){this.record=t,this.view=e}}class Zt{constructor(t,e){this._viewContainer=t,this._context=new Kt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Qt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Qt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}Zt.\u0275fac=function(t){return new(t||Zt)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef))},Zt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Zt,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Zt.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef}],Zt.propDecorators={ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]};class Kt{constructor(){this.$implicit=null,this.ngIf=null}}function Qt(t,e){if(!!(e&&!e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Object(r["\u0275stringify"])(e)}'.`)}class Jt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}class Xt{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++){this._defaultViews[e].enforceState(t)}}}}Xt.\u0275fac=function(t){return new(t||Xt)},Xt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Xt,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Xt.propDecorators={ngSwitch:[{type:r.Input}]};class te{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Jt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}te.\u0275fac=function(t){return new(t||te)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](Xt,1))},te.\u0275dir=r["\u0275\u0275defineDirective"]({type:te,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),te.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Xt,decorators:[{type:r.Host}]}],te.propDecorators={ngSwitchCase:[{type:r.Input}]};class ee{constructor(t,e,n){n._addDefault(new Jt(t,e))}}ee.\u0275fac=function(t){return new(t||ee)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](Xt,1))},ee.\u0275dir=r["\u0275\u0275defineDirective"]({type:ee,selectors:[["","ngSwitchDefault",""]]}),ee.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Xt,decorators:[{type:r.Host}]}];class ne{constructor(t){this._localization=t,this._caseViews={}}set ngPlural(t){this._switchValue=t,this._updateView()}addCase(t,e){this._caseViews[t]=e}_updateView(){this._clearViews();const t=Object.keys(this._caseViews),e=Bt(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}}ne.\u0275fac=function(t){return new(t||ne)(r["\u0275\u0275directiveInject"](Vt))},ne.\u0275dir=r["\u0275\u0275defineDirective"]({type:ne,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),ne.ctorParameters=()=>[{type:Vt}],ne.propDecorators={ngPlural:[{type:r.Input}]};class re{constructor(t,e,n,r){this.value=t;const i=!isNaN(Number(t));r.addCase(i?`=${t}`:t,new Jt(n,e))}}re.\u0275fac=function(t){return new(t||re)(r["\u0275\u0275injectAttribute"]("ngPluralCase"),r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](ne,1))},re.\u0275dir=r["\u0275\u0275defineDirective"]({type:re,selectors:[["","ngPluralCase",""]]}),re.ctorParameters=()=>[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:ne,decorators:[{type:r.Host}]}];class ie{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}ie.\u0275fac=function(t){return new(t||ie)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.KeyValueDiffers),r["\u0275\u0275directiveInject"](r.Renderer2))},ie.\u0275dir=r["\u0275\u0275defineDirective"]({type:ie,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),ie.ctorParameters=()=>[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}],ie.propDecorators={ngStyle:[{type:r.Input,args:["ngStyle"]}]};class oe{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}oe.\u0275fac=function(t){return new(t||oe)(r["\u0275\u0275directiveInject"](r.ViewContainerRef))},oe.\u0275dir=r["\u0275\u0275defineDirective"]({type:oe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),oe.ctorParameters=()=>[{type:r.ViewContainerRef}],oe.propDecorators={ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]};const se=[$t,Gt,Wt,Zt,oe,ie,Xt,te,ee,ne,re];function ae(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(r["\u0275stringify"])(t)}'`)}const ce=new class{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}onDestroy(t){}},ue=new class{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}};class le{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,(e=>this._updateLatestValue(t,e)))}_selectStrategy(t){if(Object(r["\u0275isPromise"])(t))return ce;if(Object(r["\u0275isObservable"])(t))return ue;throw ae(le,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}le.\u0275fac=function(t){return new(t||le)(r["\u0275\u0275injectPipeChangeDetectorRef"]())},le.\u0275pipe=r["\u0275\u0275definePipe"]({name:"async",type:le,pure:!1}),le.ctorParameters=()=>[{type:r.ChangeDetectorRef}];class de{transform(t){if(!t)return t;if("string"!=typeof t)throw ae(de,t);return t.toLowerCase()}}de.\u0275fac=function(t){return new(t||de)},de.\u0275pipe=r["\u0275\u0275definePipe"]({name:"lowercase",type:de,pure:!0});const he=/(?:[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 pe{transform(t){if(!t)return t;if("string"!=typeof t)throw ae(pe,t);return t.replace(he,(t=>t[0].toUpperCase()+t.substr(1).toLowerCase()))}}pe.\u0275fac=function(t){return new(t||pe)},pe.\u0275pipe=r["\u0275\u0275definePipe"]({name:"titlecase",type:pe,pure:!0});class fe{transform(t){if(!t)return t;if("string"!=typeof t)throw ae(fe,t);return t.toUpperCase()}}fe.\u0275fac=function(t){return new(t||fe)},fe.\u0275pipe=r["\u0275\u0275definePipe"]({name:"uppercase",type:fe,pure:!0});class me{constructor(t){this.locale=t}transform(t,e="mediumDate",n,r){if(null==t||""===t||t!=t)return null;try{return dt(t,e,r||this.locale,n)}catch(t){throw ae(me,t.message)}}}me.\u0275fac=function(t){return new(t||me)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},me.\u0275pipe=r["\u0275\u0275definePipe"]({name:"date",type:me,pure:!0}),me.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];const ge=/#/g;class _e{constructor(t){this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw ae(_e,e);return e[Bt(t,Object.keys(e),this._localization,n)].replace(ge,t.toString())}}_e.\u0275fac=function(t){return new(t||_e)(r["\u0275\u0275directiveInject"](Vt))},_e.\u0275pipe=r["\u0275\u0275definePipe"]({name:"i18nPlural",type:_e,pure:!0}),_e.ctorParameters=()=>[{type:Vt}];class ye{transform(t,e){if(null==t)return"";if("object"!=typeof e||"string"!=typeof t)throw ae(ye,e);return e.hasOwnProperty(t)?e[t]:e.hasOwnProperty("other")?e.other:""}}ye.\u0275fac=function(t){return new(t||ye)},ye.\u0275pipe=r["\u0275\u0275definePipe"]({name:"i18nSelect",type:ye,pure:!0});class be{transform(t){return JSON.stringify(t,null,2)}}be.\u0275fac=function(t){return new(t||be)},be.\u0275pipe=r["\u0275\u0275definePipe"]({name:"json",type:be,pure:!1});class ve{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=we){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem((t=>{var e,n;this.keyValues.push((e=t.key,n=t.currentValue,{key:e,value:n}))})),this.keyValues.sort(e)),this.keyValues}}function we(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),o=String(r);return i==o?0:i<o?-1:1}ve.\u0275fac=function(t){return new(t||ve)(r["\u0275\u0275directiveInject"](r.KeyValueDiffers))},ve.\u0275pipe=r["\u0275\u0275definePipe"]({name:"keyvalue",type:ve,pure:!1}),ve.ctorParameters=()=>[{type:r.KeyValueDiffers}];class Ce{constructor(t){this._locale=t}transform(t,e,n){if(Ee(t))return null;n=n||this._locale;try{return Pt(xe(t),n,e)}catch(t){throw ae(Ce,t.message)}}}Ce.\u0275fac=function(t){return new(t||Ce)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},Ce.\u0275pipe=r["\u0275\u0275definePipe"]({name:"number",type:Ce,pure:!0}),Ce.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class Se{constructor(t){this._locale=t}transform(t,e,n){if(Ee(t))return null;n=n||this._locale;try{return Nt(xe(t),n,e)}catch(t){throw ae(Se,t.message)}}}Se.\u0275fac=function(t){return new(t||Se)(r["\u0275\u0275directiveInject"](r.LOCALE_ID))},Se.\u0275pipe=r["\u0275\u0275definePipe"]({name:"percent",type:Se,pure:!0}),Se.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class Oe{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(t,e,n="symbol",r,i){if(Ee(t))return null;i=i||this._locale,"boolean"==typeof n&&(console&&console.warn,n=n?"symbol":"code");let o=e||this._defaultCurrencyCode;"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?nt(o,"symbol"===n?"wide":"narrow",i):n);try{return Mt(xe(t),i,o,e,r)}catch(t){throw ae(Oe,t.message)}}}function Ee(t){return null==t||""===t||t!=t}function xe(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}Oe.\u0275fac=function(t){return new(t||Oe)(r["\u0275\u0275directiveInject"](r.LOCALE_ID),r["\u0275\u0275directiveInject"](r.DEFAULT_CURRENCY_CODE))},Oe.\u0275pipe=r["\u0275\u0275definePipe"]({name:"currency",type:Oe,pure:!0}),Oe.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:String,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}];class Ie{transform(t,e,n){if(null==t)return t;if(!this.supports(t))throw ae(Ie,t);return t.slice(e,n)}supports(t){return"string"==typeof t||Array.isArray(t)}}Ie.\u0275fac=function(t){return new(t||Ie)},Ie.\u0275pipe=r["\u0275\u0275definePipe"]({name:"slice",type:Ie,pure:!1});const ke=[le,fe,de,be,Ie,Ce,Se,pe,Oe,me,_e,ye,ve];class De{}De.\u0275mod=r["\u0275\u0275defineNgModule"]({type:De}),De.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||De)},providers:[{provide:Vt,useClass:Ut}]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](De,{declarations:[$t,Gt,Wt,Zt,oe,ie,Xt,te,ee,ne,re,le,fe,de,be,Ie,Ce,Se,pe,Oe,me,_e,ye,ve],exports:[$t,Gt,Wt,Zt,oe,ie,Xt,te,ee,ne,re,le,fe,de,be,Ie,Ce,Se,pe,Oe,me,_e,ye,ve]});const Te="browser",je="server",Ae="browserWorkerApp",Re="browserWorkerUi";function Me(t){return t===Te}function Ne(t){return t===je}function Pe(t){return t===Ae}function Fe(t){return t===Re}const Le=new r.Version("10.2.5");class Ve{}Ve.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({token:Ve,providedIn:"root",factory:()=>new Be(Object(r["\u0275\u0275inject"])(c),window,Object(r["\u0275\u0275inject"])(r.ErrorHandler))});class Be{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=Ue(this.window.history)||Ue(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function Ue(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class ze{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}},,function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",(function(){return i})),n.d(e,"__assign",(function(){return o})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return a})),n.d(e,"__param",(function(){return c})),n.d(e,"__metadata",(function(){return u})),n.d(e,"__awaiter",(function(){return l})),n.d(e,"__generator",(function(){return d})),n.d(e,"__createBinding",(function(){return h})),n.d(e,"__exportStar",(function(){return p})),n.d(e,"__values",(function(){return f})),n.d(e,"__read",(function(){return m})),n.d(e,"__spread",(function(){return g})),n.d(e,"__spreadArrays",(function(){return _})),n.d(e,"__await",(function(){return y})),n.d(e,"__asyncGenerator",(function(){return b})),n.d(e,"__asyncDelegator",(function(){return v})),n.d(e,"__asyncValues",(function(){return w})),n.d(e,"__makeTemplateObject",(function(){return C})),n.d(e,"__importStar",(function(){return S})),n.d(e,"__importDefault",(function(){return O})),n.d(e,"__classPrivateFieldGet",(function(){return E})),n.d(e,"__classPrivateFieldSet",(function(){return x}));var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function a(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function c(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}function d(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function h(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}function p(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||(e[n]=t[n])}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function _(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function b(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){o.push([t,e,n,r])>1||a(t,e)}))})}function a(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(c,u):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function c(t){a("next",t)}function u(t){a("throw",t)}function l(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function v(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:y(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function w(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=f(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function S(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function O(t){return t&&t.__esModule?t:{default:t}}function E(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function x(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){"use strict";n.r(e),n.d(e,"Observable",(function(){return r.a})),n.d(e,"ConnectableObservable",(function(){return i.a})),n.d(e,"GroupedObservable",(function(){return o.a})),n.d(e,"observable",(function(){return s.a})),n.d(e,"Subject",(function(){return a.b})),n.d(e,"BehaviorSubject",(function(){return c.a})),n.d(e,"ReplaySubject",(function(){return u.a})),n.d(e,"AsyncSubject",(function(){return l.a})),n.d(e,"asap",(function(){return d.a})),n.d(e,"asapScheduler",(function(){return d.b})),n.d(e,"async",(function(){return h.a})),n.d(e,"asyncScheduler",(function(){return h.b})),n.d(e,"queue",(function(){return p.a})),n.d(e,"queueScheduler",(function(){return p.b})),n.d(e,"animationFrame",(function(){return f.a})),n.d(e,"animationFrameScheduler",(function(){return f.b})),n.d(e,"VirtualTimeScheduler",(function(){return m.b})),n.d(e,"VirtualAction",(function(){return m.a})),n.d(e,"Scheduler",(function(){return g.a})),n.d(e,"Subscription",(function(){return _.a})),n.d(e,"Subscriber",(function(){return y.a})),n.d(e,"Notification",(function(){return b.a})),n.d(e,"NotificationKind",(function(){return b.b})),n.d(e,"pipe",(function(){return v.a})),n.d(e,"noop",(function(){return w.a})),n.d(e,"identity",(function(){return C.a})),n.d(e,"isObservable",(function(){return S.a})),n.d(e,"ArgumentOutOfRangeError",(function(){return O.a})),n.d(e,"EmptyError",(function(){return E.a})),n.d(e,"ObjectUnsubscribedError",(function(){return x.a})),n.d(e,"UnsubscriptionError",(function(){return I.a})),n.d(e,"TimeoutError",(function(){return k.a})),n.d(e,"bindCallback",(function(){return R})),n.d(e,"bindNodeCallback",(function(){return P})),n.d(e,"combineLatest",(function(){return B.b})),n.d(e,"concat",(function(){return U.a})),n.d(e,"defer",(function(){return z.a})),n.d(e,"empty",(function(){return H.b})),n.d(e,"forkJoin",(function(){return $.a})),n.d(e,"from",(function(){return G.a})),n.d(e,"fromEvent",(function(){return q.a})),n.d(e,"fromEventPattern",(function(){return Y})),n.d(e,"generate",(function(){return Z})),n.d(e,"iif",(function(){return Q})),n.d(e,"interval",(function(){return X})),n.d(e,"merge",(function(){return et.a})),n.d(e,"never",(function(){return rt})),n.d(e,"of",(function(){return it.a})),n.d(e,"onErrorResumeNext",(function(){return ot})),n.d(e,"pairs",(function(){return st})),n.d(e,"partition",(function(){return dt})),n.d(e,"race",(function(){return ht.a})),n.d(e,"range",(function(){return pt.b})),n.d(e,"throwError",(function(){return ft.a})),n.d(e,"timer",(function(){return mt.a})),n.d(e,"using",(function(){return gt})),n.d(e,"zip",(function(){return _t.b})),n.d(e,"scheduled",(function(){return yt.a})),n.d(e,"EMPTY",(function(){return H.a})),n.d(e,"NEVER",(function(){return nt})),n.d(e,"config",(function(){return bt.a}));var r=n(10),i=n(356),o=n(232),s=n(105),a=n(13),c=n(102),u=n(152),l=n(153),d=n(196),h=n(49),p=n(296),f=n(300),m=n(251),g=n(215),_=n(20),y=n(7),b=n(62),v=n(167),w=n(101),C=n(90),S=n(131),O=n(114),E=n(115),x=n(106),I=n(170),k=n(234),D=n(21),T=n(259),j=n(45),A=n(60);function R(t,e,n){if(e){if(!Object(A.a)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return R(t,n).apply(void 0,r).pipe(Object(D.a)((function(t){return Object(j.a)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,s=this,a={context:s,subject:o,callbackFunc:t,scheduler:n};return new r.a((function(r){if(n){var i={args:e,subscriber:r,params:a};return n.schedule(M,0,i)}if(!o){o=new l.a;try{t.apply(s,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(t){Object(T.a)(o)&&o.error(t)}}return o.subscribe(r)}))}}function M(t){var e=this,n=t.args,r=t.subscriber,i=t.params,o=i.callbackFunc,s=i.context,a=i.scheduler,c=i.subject;if(!c){c=i.subject=new l.a;try{o.apply(s,n.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length<=1?t[0]:t;e.add(a.schedule(N,0,{value:r,subject:c}))}]))}catch(t){c.error(t)}}this.add(c.subscribe(r))}function N(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function P(t,e,n){if(e){if(!Object(A.a)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return P(t,n).apply(void 0,r).pipe(Object(D.a)((function(t){return Object(j.a)(t)?e.apply(void 0,t):e(t)})))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new r.a((function(r){var i=o.context,s=o.subject;if(n)return n.schedule(F,0,{params:o,subscriber:r,context:i});if(!s){s=o.subject=new l.a;try{t.apply(i,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift();n?s.error(n):(s.next(t.length<=1?t[0]:t),s.complete())}]))}catch(t){Object(T.a)(s)&&s.error(t)}}return s.subscribe(r)}))}}function F(t){var e=this,n=t.params,r=t.subscriber,i=t.context,o=n.callbackFunc,s=n.args,a=n.scheduler,c=n.subject;if(!c){c=n.subject=new l.a;try{o.apply(i,s.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.shift();if(r)e.add(a.schedule(V,0,{err:r,subject:c}));else{var i=t.length<=1?t[0]:t;e.add(a.schedule(L,0,{value:i,subject:c}))}}]))}catch(t){this.add(a.schedule(V,0,{err:t,subject:c}))}}this.add(c.subscribe(r))}function L(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function V(t){var e=t.err;t.subject.error(e)}var B=n(168),U=n(139),z=n(128),H=n(54),$=n(369),G=n(43),q=n(197),W=n(116);function Y(t,e,n){return n?Y(t,e).pipe(Object(D.a)((function(t){return Object(j.a)(t)?n.apply(void 0,t):n(t)}))):new r.a((function(n){var r,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1===t.length?t[0]:t)};try{r=t(i)}catch(t){return void n.error(t)}if(Object(W.a)(e))return function(){return e(i,r)}}))}function Z(t,e,n,i,o){var s,a;if(1==arguments.length){var c=t;a=c.initialState,e=c.condition,n=c.iterate,s=c.resultSelector||C.a,o=c.scheduler}else void 0===i||Object(A.a)(i)?(a=t,s=C.a,o=i):(a=t,s=i);return new r.a((function(t){var r=a;if(o)return o.schedule(K,0,{subscriber:t,iterate:n,condition:e,resultSelector:s,state:r});for(;;){if(e){var i=void 0;try{i=e(r)}catch(e){return void t.error(e)}if(!i){t.complete();break}}var c=void 0;try{c=s(r)}catch(e){return void t.error(e)}if(t.next(c),t.closed)break;try{r=n(r)}catch(e){return void t.error(e)}}}))}function K(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}function Q(t,e,n){return void 0===e&&(e=H.a),void 0===n&&(n=H.a),Object(z.a)((function(){return t()?e:n}))}var J=n(127);function X(t,e){return void 0===t&&(t=0),void 0===e&&(e=h.a),(!Object(J.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=h.a),new r.a((function(n){return n.add(e.schedule(tt,t,{subscriber:n,counter:0,period:t})),n}))}function tt(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}var et=n(130),nt=new r.a(w.a);function rt(){return nt}var it=n(19);function ot(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return H.a;var n=t[0],i=t.slice(1);return 1===t.length&&Object(j.a)(n)?ot.apply(void 0,n):new r.a((function(t){var e=function(){return t.add(ot.apply(void 0,i).subscribe(t))};return Object(G.a)(n).subscribe({next:function(e){t.next(e)},error:e,complete:e})}))}function st(t,e){return e?new r.a((function(n){var r=Object.keys(t),i=new _.a;return i.add(e.schedule(at,0,{keys:r,index:0,subscriber:n,subscription:i,obj:t})),i})):new r.a((function(e){for(var n=Object.keys(t),r=0;r<n.length&&!e.closed;r++){var i=n[r];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()}))}function at(t){var e=t.keys,n=t.index,r=t.subscriber,i=t.subscription,o=t.obj;if(!r.closed)if(n<e.length){var s=e[n];r.next([s,o[s]]),i.add(this.schedule({keys:e,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}var ct=n(252),ut=n(137),lt=n(46);function dt(t,e,n){return[Object(lt.a)(e,n)(new r.a(Object(ut.a)(t))),Object(lt.a)(Object(ct.a)(e,n))(new r.a(Object(ut.a)(t)))]}var ht=n(359),pt=n(335),ft=n(250),mt=n(298);function gt(t,e){return new r.a((function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?Object(G.a)(i):H.a).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}}))}var _t=n(253),yt=n(364),bt=n(85)},function(t,e,n){"use strict";n.r(e),n.d(e,"AUTO_STYLE",(function(){return o})),n.d(e,"AnimationBuilder",(function(){return r})),n.d(e,"AnimationFactory",(function(){return i})),n.d(e,"NoopAnimationPlayer",(function(){return v})),n.d(e,"animate",(function(){return a})),n.d(e,"animateChild",(function(){return m})),n.d(e,"animation",(function(){return f})),n.d(e,"group",(function(){return c})),n.d(e,"keyframes",(function(){return h})),n.d(e,"query",(function(){return _})),n.d(e,"sequence",(function(){return u})),n.d(e,"stagger",(function(){return y})),n.d(e,"state",(function(){return d})),n.d(e,"style",(function(){return l})),n.d(e,"transition",(function(){return p})),n.d(e,"trigger",(function(){return s})),n.d(e,"useAnimation",(function(){return g})),n.d(e,"\u0275AnimationGroupPlayer",(function(){return w})),n.d(e,"\u0275PRE_STYLE",(function(){return C}));class r{}class i{}const o="*";function s(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:3,steps:t,options:e}}function u(t,e=null){return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function d(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t){return{type:5,steps:t}}function p(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function f(t,e=null){return{type:8,animation:t,options:e}}function m(t=null){return{type:9,options:t}}function g(t,e=null){return{type:10,animation:t,options:e}}function _(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function y(t,e){return{type:12,timings:t,animation:e}}function b(t){Promise.resolve(null).then(t)}class v{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){b((()=>this._onFinish()))}_onStart(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class w{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const i=this.players.length;0==i?b((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==i&&this._onFinish()})),t.onDestroy((()=>{++n==i&&this._onDestroy()})),t.onStart((()=>{++r==i&&this._onStart()}))})),this.totalTime=this.players.reduce(((t,e)=>Math.max(t,e.totalTime)),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}init(){this.players.forEach((t=>t.init()))}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((t=>t())),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((t=>t.play()))}pause(){this.players.forEach((t=>t.pause()))}restart(){this.players.forEach((t=>t.restart()))}finish(){this._onFinish(),this.players.forEach((t=>t.finish()))}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((t=>t.destroy())),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}reset(){this.players.forEach((t=>t.reset())),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach((t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}getPosition(){let t=0;return this.players.forEach((e=>{const n=e.getPosition();t=Math.min(n,t)})),t}beforeDestroy(){this.players.forEach((t=>{t.beforeDestroy&&t.beforeDestroy()}))}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}const C="!"},function(t,e,n){"use strict";n.r(e),n.d(e,"audit",(function(){return r.a})),n.d(e,"auditTime",(function(){return i.a})),n.d(e,"buffer",(function(){return a})),n.d(e,"bufferCount",(function(){return d})),n.d(e,"bufferTime",(function(){return _})),n.d(e,"bufferToggle",(function(){return I})),n.d(e,"bufferWhen",(function(){return T})),n.d(e,"catchError",(function(){return R.a})),n.d(e,"combineAll",(function(){return N})),n.d(e,"combineLatest",(function(){return L})),n.d(e,"concat",(function(){return B})),n.d(e,"concatAll",(function(){return U.a})),n.d(e,"concatMap",(function(){return z.a})),n.d(e,"concatMapTo",(function(){return H})),n.d(e,"count",(function(){return $})),n.d(e,"debounce",(function(){return W})),n.d(e,"debounceTime",(function(){return K.a})),n.d(e,"defaultIfEmpty",(function(){return Q.a})),n.d(e,"delay",(function(){return tt})),n.d(e,"delayWhen",(function(){return ot})),n.d(e,"dematerialize",(function(){return lt})),n.d(e,"distinct",(function(){return pt})),n.d(e,"distinctUntilChanged",(function(){return gt.a})),n.d(e,"distinctUntilKeyChanged",(function(){return _t})),n.d(e,"elementAt",(function(){return Ct})),n.d(e,"endWith",(function(){return Ot})),n.d(e,"every",(function(){return Et})),n.d(e,"exhaust",(function(){return kt})),n.d(e,"exhaustMap",(function(){return At})),n.d(e,"expand",(function(){return Nt})),n.d(e,"filter",(function(){return bt.a})),n.d(e,"finalize",(function(){return Lt.a})),n.d(e,"find",(function(){return Vt})),n.d(e,"findIndex",(function(){return zt})),n.d(e,"first",(function(){return Ht.a})),n.d(e,"groupBy",(function(){return $t.b})),n.d(e,"ignoreElements",(function(){return Gt})),n.d(e,"isEmpty",(function(){return Yt})),n.d(e,"last",(function(){return Qt.a})),n.d(e,"map",(function(){return jt.a})),n.d(e,"mapTo",(function(){return Jt})),n.d(e,"materialize",(function(){return ee})),n.d(e,"max",(function(){return ce})),n.d(e,"merge",(function(){return le})),n.d(e,"mergeAll",(function(){return de.a})),n.d(e,"mergeMap",(function(){return he.b})),n.d(e,"flatMap",(function(){return he.a})),n.d(e,"mergeMapTo",(function(){return pe})),n.d(e,"mergeScan",(function(){return fe})),n.d(e,"min",(function(){return _e})),n.d(e,"multicast",(function(){return ye.a})),n.d(e,"observeOn",(function(){return be.b})),n.d(e,"onErrorResumeNext",(function(){return ve})),n.d(e,"pairwise",(function(){return Se.a})),n.d(e,"partition",(function(){return Ee})),n.d(e,"pluck",(function(){return xe})),n.d(e,"publish",(function(){return ke})),n.d(e,"publishBehavior",(function(){return Te})),n.d(e,"publishLast",(function(){return Ae})),n.d(e,"publishReplay",(function(){return Me})),n.d(e,"race",(function(){return Pe})),n.d(e,"reduce",(function(){return ae})),n.d(e,"repeat",(function(){return Le})),n.d(e,"repeatWhen",(function(){return Ue})),n.d(e,"retry",(function(){return $e})),n.d(e,"retryWhen",(function(){return We})),n.d(e,"refCount",(function(){return Ke.a})),n.d(e,"sample",(function(){return Qe})),n.d(e,"sampleTime",(function(){return tn})),n.d(e,"scan",(function(){return ie.a})),n.d(e,"sequenceEqual",(function(){return on})),n.d(e,"share",(function(){return un.a})),n.d(e,"shareReplay",(function(){return ln.a})),n.d(e,"single",(function(){return hn})),n.d(e,"skip",(function(){return mn.a})),n.d(e,"skipLast",(function(){return gn})),n.d(e,"skipUntil",(function(){return bn})),n.d(e,"skipWhile",(function(){return Cn})),n.d(e,"startWith",(function(){return En.a})),n.d(e,"subscribeOn",(function(){return In})),n.d(e,"switchAll",(function(){return jn})),n.d(e,"switchMap",(function(){return Dn.a})),n.d(e,"switchMapTo",(function(){return An})),n.d(e,"take",(function(){return wt.a})),n.d(e,"takeLast",(function(){return oe.a})),n.d(e,"takeUntil",(function(){return Rn.a})),n.d(e,"takeWhile",(function(){return Mn.a})),n.d(e,"tap",(function(){return Nn.a})),n.d(e,"throttle",(function(){return Pn.b})),n.d(e,"throttleTime",(function(){return Fn})),n.d(e,"throwIfEmpty",(function(){return vt.a})),n.d(e,"timeInterval",(function(){return Un.b})),n.d(e,"timeout",(function(){return Wn})),n.d(e,"timeoutWith",(function(){return Hn})),n.d(e,"timestamp",(function(){return Yn.b})),n.d(e,"toArray",(function(){return Kn})),n.d(e,"window",(function(){return Qn})),n.d(e,"windowCount",(function(){return tr})),n.d(e,"windowTime",(function(){return ir})),n.d(e,"windowToggle",(function(){return dr})),n.d(e,"windowWhen",(function(){return fr})),n.d(e,"withLatestFrom",(function(){return _r})),n.d(e,"zip",(function(){return wr})),n.d(e,"zipAll",(function(){return Cr}));var r=n(360),i=n(302),o=n(3),s=n(12);function a(t){return function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.closingNotifier))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add(Object(s.c)(n,new s.a(r))),r}return o.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(){var t=this.buffer;this.buffer=[],this.destination.next(t)},e}(s.b),l=n(7);function d(t,e){return void 0===e&&(e=null),function(n){return n.lift(new h(t,e))}}var h=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?f:p}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return o.__extends(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(l.a),f=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return o.__extends(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,i=e.buffers,o=e.count;this.count++,o%r==0&&i.push([]);for(var s=i.length;s--;){var a=i[s];a.push(t),a.length===n&&(i.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(l.a),m=n(49),g=n(60);function _(t){var e=arguments.length,n=m.a;Object(g.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new y(t,r,i,n))}}var y=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new v(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),b=function(){return function(){this.buffer=[]}}(),v=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.bufferTimeSpan=n,s.bufferCreationInterval=r,s.maxBufferSize=i,s.scheduler=o,s.contexts=[];var a=s.openContext();if(s.timespanOnly=null==r||r<0,s.timespanOnly){var c={subscriber:s,context:a,bufferTimeSpan:n};s.add(a.closeAction=o.schedule(w,n,c))}else{var u={subscriber:s,context:a},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:s,scheduler:o};s.add(a.closeAction=o.schedule(S,n,u)),s.add(o.schedule(C,r,l))}return s}return o.__extends(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],s=o.buffer;s.push(t),s.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(w,n,r))}},e.prototype.openContext=function(){var t=new b;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(l.a);function w(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function C(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(S,n,{subscriber:r,context:o})),this.schedule(t,e))}function S(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var O=n(20),E=n(84),x=n(96);function I(t,e){return function(n){return n.lift(new k(t,e))}}var k=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new D(t,this.openings,this.closingSelector))},t}(),D=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.closingSelector=r,i.contexts=[],i.add(Object(E.a)(i,n)),i}return o.__extends(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new O.a,r={buffer:[],subscription:n};e.push(r);var i=Object(E.a)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(x.a);function T(t){return function(e){return e.lift(new j(t))}}var j=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new A(t,this.closingSelector))},t}(),A=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return o.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},e.prototype.notifyNext=function(){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new O.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(s.c)(e,new s.a(this))),this.subscribing=!1},e}(s.b),R=n(198),M=n(168);function N(t){return function(e){return e.lift(new M.a(t))}}var P=n(45),F=n(43);function L(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(P.a)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(Object(F.a)([e].concat(t)),new M.a(n))}}var V=n(139);function B(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(V.a.apply(void 0,[e].concat(t)))}}var U=n(261),z=n(155);function H(t,e){return Object(z.a)((function(){return t}),e)}function $(t){return function(e){return e.lift(new G(t,e))}}var G=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new q(t,this.predicate,this.source))},t}(),q=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return o.__extends(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(l.a);function W(t){return function(e){return e.lift(new Y(t))}}var Y=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Z(t,this.durationSelector))},t}(),Z=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return o.__extends(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(s.c)(e,new s.a(this)))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=void 0,n.unsubscribe(),this.remove(n)),this.value=void 0,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(s.b),K=n(303),Q=n(150),J=n(254),X=n(62);function tt(t,e){void 0===e&&(e=m.a);var n=Object(J.a)(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new et(n,e))}}var et=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.delay,this.scheduler))},t}(),nt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return o.__extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new rt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(X.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(X.a.createComplete()),this.unsubscribe()},e}(l.a),rt=function(){return function(t,e){this.time=t,this.notification=e}}(),it=n(10);function ot(t,e){return e?function(n){return new ct(n,e).lift(new st(t))}:function(e){return e.lift(new st(t))}}var st=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new at(t,this.delayDurationSelector))},t}(),at=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return o.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=Object(E.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(x.a),ct=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return o.__extends(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new ut(t,this.source))},e}(it.a),ut=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return o.__extends(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(l.a);function lt(){return function(t){return t.lift(new dt)}}var dt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ht(t))},t}(),ht=function(t){function e(e){return t.call(this,e)||this}return o.__extends(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(l.a);function pt(t,e){return function(n){return n.lift(new ft(t,e))}}var ft=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new mt(t,this.keySelector,this.flushes))},t}(),mt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=n,i.values=new Set,r&&i.add(Object(s.c)(r,new s.a(i))),i}return o.__extends(e,t),e.prototype.notifyNext=function(){this.values.clear()},e.prototype.notifyError=function(t){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(s.b),gt=n(262);function _t(t,e){return Object(gt.a)((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}var yt=n(114),bt=n(46),vt=n(190),wt=n(74);function Ct(t,e){if(t<0)throw new yt.a;var n=arguments.length>=2;return function(r){return r.pipe(Object(bt.a)((function(e,n){return n===t})),Object(wt.a)(1),n?Object(Q.a)(e):Object(vt.a)((function(){return new yt.a})))}}var St=n(19);function Ot(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return Object(V.a)(e,St.a.apply(void 0,t))}}function Et(t,e){return function(n){return n.lift(new xt(t,e,n))}}var xt=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new It(t,this.predicate,this.thisArg,this.source))},t}(),It=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return o.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(l.a);function kt(){return function(t){return t.lift(new Dt)}}var Dt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Tt(t))},t}(),Tt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return o.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(s.c)(t,new s.a(this))))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(s.b),jt=n(21);function At(t,e){return e?function(n){return n.pipe(At((function(n,r){return Object(F.a)(t(n,r)).pipe(Object(jt.a)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new Rt(t))}}var Rt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Mt(t,this.project))},t}(),Mt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return o.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new s.a(this),n=this.destination;n.add(e);var r=Object(s.c)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(s.b);function Nt(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new Pt(t,e,n))}}var Pt=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new Ft(t,this.project,this.concurrent,this.scheduler))},t}(),Ft=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return o.__extends(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add(Object(s.c)(t,new s.a(this)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this._next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(s.b),Lt=n(370);function Vt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new Bt(t,n,!1,e))}}var Bt=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new Ut(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),Ut=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.predicate=n,s.source=r,s.yieldIndex=i,s.thisArg=o,s.index=0,s}return o.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(l.a);function zt(t,e){return function(n){return n.lift(new Bt(t,n,!0,e))}}var Ht=n(174),$t=n(232);function Gt(){return function(t){return t.lift(new qt)}}var qt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t))},t}(),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype._next=function(t){},e}(l.a);function Yt(){return function(t){return t.lift(new Zt)}}var Zt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Kt(t))},t}(),Kt=function(t){function e(e){return t.call(this,e)||this}return o.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(l.a),Qt=n(434);function Jt(t){return function(e){return e.lift(new Xt(t))}}var Xt=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new te(t,this.value))},t}(),te=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return o.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(l.a);function ee(){return function(t){return t.lift(new ne)}}var ne=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new re(t))},t}(),re=function(t){function e(e){return t.call(this,e)||this}return o.__extends(e,t),e.prototype._next=function(t){this.destination.next(X.a.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(X.a.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(X.a.createComplete()),t.complete()},e}(l.a),ie=n(194),oe=n(172),se=n(167);function ae(t,e){return arguments.length>=2?function(n){return Object(se.a)(Object(ie.a)(t,e),Object(oe.a)(1),Object(Q.a)(e))(n)}:function(e){return Object(se.a)(Object(ie.a)((function(e,n,r){return t(e,n,r+1)})),Object(oe.a)(1))(e)}}function ce(t){return ae("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var ue=n(130);function le(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(ue.a.apply(void 0,[e].concat(t)))}}var de=n(171),he=n(63);function pe(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?Object(he.b)((function(){return t}),e,n):("number"==typeof e&&(n=e),Object(he.b)((function(){return t}),n))}function fe(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new me(t,e,n))}}var me=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new ge(t,this.accumulator,this.seed,this.concurrent))},t}(),ge=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o.__extends(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r)}else this.buffer.push(t)},e.prototype._innerSub=function(t){var e=new s.a(this),n=this.destination;n.add(e);var r=Object(s.c)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t){var e=this.destination;this.acc=t,this.hasValue=!0,e.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(s.b);function _e(t){return ae("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var ye=n(117),be=n(357);function ve(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Object(P.a)(t[0])&&(t=t[0]),function(e){return e.lift(new we(t))}}var we=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new Ce(t,this.nextSources))},t}(),Ce=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return o.__extends(e,t),e.prototype.notifyError=function(){this.subscribeToNextSource()},e.prototype.notifyComplete=function(){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new s.a(this),n=this.destination;n.add(e);var r=Object(s.c)(t,e);r!==e&&n.add(r)}else this.destination.complete()},e}(s.b),Se=n(435),Oe=n(252);function Ee(t,e){return function(n){return[Object(bt.a)(t,e)(n),Object(bt.a)(Object(Oe.a)(t,e))(n)]}}function xe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Object(jt.a)(function(t,e){var n=function(n){for(var r=n,i=0;i<e;i++){var o=null!=r?r[t[i]]:void 0;if(void 0===o)return;r=o}return r};return n}(t,n))(e)}}var Ie=n(13);function ke(t){return t?Object(ye.a)((function(){return new Ie.b}),t):Object(ye.a)(new Ie.b)}var De=n(102);function Te(t){return function(e){return Object(ye.a)(new De.a(t))(e)}}var je=n(153);function Ae(){return function(t){return Object(ye.a)(new je.a)(t)}}var Re=n(152);function Me(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new Re.a(t,e,r);return function(t){return Object(ye.a)((function(){return o}),i)(t)}}var Ne=n(359);function Pe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&Object(P.a)(t[0])&&(t=t[0]),e.lift.call(Ne.a.apply(void 0,[e].concat(t)))}}var Fe=n(54);function Le(t){return void 0===t&&(t=-1),function(e){return 0===t?Object(Fe.b)():t<0?e.lift(new Ve(-1,e)):e.lift(new Ve(t-1,e))}}var Ve=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Be(t,this.count,this.source))},t}(),Be=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return o.__extends(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(l.a);function Ue(t){return function(e){return e.lift(new ze(t))}}var ze=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new He(t,this.notifier,e))},t}(),He=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return o.__extends(e,t),e.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new Ie.b;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(s.c)(e,new s.a(this))},e}(s.b);function $e(t){return void 0===t&&(t=-1),function(e){return e.lift(new Ge(t,e))}}var Ge=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new qe(t,this.count,this.source))},t}(),qe=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return o.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(l.a);function We(t){return function(e){return e.lift(new Ye(t,e))}}var Ye=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ze(t,this.notifier,this.source))},t}(),Ze=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return o.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new Ie.b;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}i=Object(s.c)(r,new s.a(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype.notifyNext=function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)},e}(s.b),Ke=n(249);function Qe(t){return function(e){return e.lift(new Je(t))}}var Je=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Xe(t),r=e.subscribe(n);return r.add(Object(s.c)(this.notifier,new s.a(n))),r},t}(),Xe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return o.__extends(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(s.b);function tn(t,e){return void 0===e&&(e=m.a),function(n){return n.lift(new en(t,e))}}var en=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new nn(t,this.period,this.scheduler))},t}(),nn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(rn,n,{subscriber:i,period:n})),i}return o.__extends(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(l.a);function rn(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function on(t,e){return function(n){return n.lift(new sn(t,e))}}var sn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new an(t,this.compareTo,this.comparator))},t}(),an=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new cn(e,i))),i}return o.__extends(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this,e=t._a,n=t._b,r=t.comparator;e.length>0&&n.length>0;){var i=e.shift(),o=n.shift(),s=!1;try{s=r?r(i,o):i===o}catch(t){this.destination.error(t)}s||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(l.a),cn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return o.__extends(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(l.a),un=n(433),ln=n(301),dn=n(115);function hn(t){return function(e){return e.lift(new pn(t,e))}}var pn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new fn(t,this.predicate,this.source))},t}(),fn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return o.__extends(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new dn.a)},e}(l.a),mn=n(545);function gn(t){return function(e){return e.lift(new _n(t))}}var _n=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new yt.a}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new l.a(t)):e.subscribe(new yn(t,this._skipCount))},t}(),yn=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return o.__extends(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(l.a);function bn(t){return function(e){return e.lift(new vn(t))}}var vn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new wn(t,this.notifier))},t}(),wn=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var i=new s.a(r);r.add(i),r.innerSubscription=i;var o=Object(s.c)(n,i);return o!==i&&(r.add(o),r.innerSubscription=o),r}return o.__extends(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(s.b);function Cn(t){return function(e){return e.lift(new Sn(t))}}var Sn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new On(t,this.predicate))},t}(),On=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return o.__extends(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(l.a),En=n(141),xn=n(361);function In(t,e){return void 0===e&&(e=0),function(n){return n.lift(new kn(t,e))}}var kn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new xn.a(e,this.delay,this.scheduler).subscribe(t)},t}(),Dn=n(77),Tn=n(90);function jn(){return Object(Dn.a)(Tn.a)}function An(t,e){return e?Object(Dn.a)((function(){return t}),e):Object(Dn.a)((function(){return t}))}var Rn=n(92),Mn=n(436),Nn=n(76),Pn=n(235);function Fn(t,e,n){return void 0===e&&(e=m.a),void 0===n&&(n=Pn.a),function(r){return r.lift(new Ln(t,e,n.leading,n.trailing))}}var Ln=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new Vn(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),Vn=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.duration=n,s.scheduler=r,s.leading=i,s.trailing=o,s._hasTrailingValue=!1,s._trailingValue=null,s}return o.__extends(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Bn,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(l.a);function Bn(t){t.subscriber.clearThrottle()}var Un=n(339),zn=n(234);function Hn(t,e,n){return void 0===n&&(n=m.a),function(r){var i=Object(J.a)(t),o=i?+t-n.now():Math.abs(t);return r.lift(new $n(o,i,e,n))}}var $n=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Gn(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),Gn=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.scheduleTimeout(),s}return o.__extends(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Object(s.c)(e,new s.a(t)))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=void 0,this.scheduler=null,this.withObservable=null},e}(s.b),qn=n(250);function Wn(t,e){return void 0===e&&(e=m.a),Hn(t,Object(qn.a)(new zn.a),e)}var Yn=n(340);function Zn(t,e,n){return 0===n?[e]:(t.push(e),t)}function Kn(){return ae(Zn,[])}function Qn(t){return function(e){return e.lift(new Jn(t))}}var Jn=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new Xn(t),r=e.subscribe(n);return r.closed||n.add(Object(s.c)(this.windowBoundaries,new s.a(n))),r},t}(),Xn=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new Ie.b,e.next(n.window),n}return o.__extends(e,t),e.prototype.notifyNext=function(){this.openWindow()},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new Ie.b;e.next(n)},e}(s.b);function tr(t,e){return void 0===e&&(e=0),function(n){return n.lift(new er(t,e))}}var er=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new nr(t,this.windowSize,this.startWindowEvery))},t}(),nr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new Ie.b],i.count=0,e.next(i.windows[0]),i}return o.__extends(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,s=0;s<o&&!this.closed;s++)i[s].next(t);var a=this.count-r+1;if(a>=0&&a%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var c=new Ie.b;i.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(l.a),rr=n(127);function ir(t){var e=m.a,n=null,r=Number.POSITIVE_INFINITY;return Object(g.a)(arguments[3])&&(e=arguments[3]),Object(g.a)(arguments[2])?e=arguments[2]:Object(rr.a)(arguments[2])&&(r=Number(arguments[2])),Object(g.a)(arguments[1])?e=arguments[1]:Object(rr.a)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new or(t,n,r,e))}}var or=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new ar(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),sr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return o.__extends(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(Ie.b),ar=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;s.destination=e,s.windowTimeSpan=n,s.windowCreationInterval=r,s.maxWindowSize=i,s.scheduler=o,s.windows=[];var a=s.openWindow();if(null!==r&&r>=0){var c={subscriber:s,window:a,context:null},u={windowTimeSpan:n,windowCreationInterval:r,subscriber:s,scheduler:o};s.add(o.schedule(lr,n,c)),s.add(o.schedule(ur,r,u))}else{var l={subscriber:s,window:a,windowTimeSpan:n};s.add(o.schedule(cr,n,l))}return s}return o.__extends(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new sr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(l.a);function cr(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function ur(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),s=this,a={action:s,subscription:null},c={subscriber:n,window:o,context:a};a.subscription=r.schedule(lr,e,c),s.add(a.subscription),s.schedule(t,i)}function lr(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function dr(t,e){return function(n){return n.lift(new hr(t,e))}}var hr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new pr(t,this.openings,this.closingSelector))},t}(),pr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=Object(E.a)(i,n,n)),i}return o.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var o=void 0;try{o=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var s=new Ie.b,a=new O.a,c={window:s,subscription:a};this.contexts.push(c);var u=Object(E.a)(this,o,c);u.closed?this.closeWindow(this.contexts.length-1):(u.context=c,a.add(u)),this.destination.next(s)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(x.a);function fr(t){return function(e){return e.lift(new mr(t))}}var mr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new gr(t,this.closingSelector))},t}(),gr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return o.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new Ie.b;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=Object(E.a)(this,n))},e}(x.a);function _r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new yr(r,n))}}var yr=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new br(t,this.observables,this.project))},t}(),br=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var a=n[s];i.add(Object(E.a)(i,a,void 0,s))}return i}return o.__extends(e,t),e.prototype.notifyNext=function(t,e,n){this.values[n]=e;var r=this.toRespond;if(r.length>0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(x.a),vr=n(253);function wr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(vr.b.apply(void 0,[e].concat(t)))}}function Cr(t){return function(e){return e.lift(new vr.a(t))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(3),i=n(116),o=n(263),s=n(20),a=n(169),c=n(85),u=n(138),l=function(t){function e(n,r,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.a;break;case 1:if(!n){s.destination=o.a;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new d(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new d(s,n,r,i)}return s}return r.__extends(e,t),e.prototype[a.a]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.a),d=function(t){function e(e,n,r,s){var a,c=t.call(this)||this;c._parentSubscriber=e;var u=c;return Object(i.a)(n)?a=n:n&&(a=n.next,r=n.error,s=n.complete,n!==o.a&&(u=Object.create(n),Object(i.a)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=r,c._complete=s,c}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;c.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=c.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(u.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(u.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};c.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),c.a.useDeprecatedSynchronousErrorHandling)throw t;Object(u.a)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return c.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(Object(u.a)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},function(t,e,n){"use strict";n.r(e),n.d(e,"APR",(function(){return Dt})),n.d(e,"AUG",(function(){return Rt})),n.d(e,"AnimationCurves",(function(){return y})),n.d(e,"AnimationDurations",(function(){return b})),n.d(e,"DEC",(function(){return Ft})),n.d(e,"DateAdapter",(function(){return R})),n.d(e,"ErrorStateMatcher",(function(){return W})),n.d(e,"FEB",(function(){return It})),n.d(e,"JAN",(function(){return xt})),n.d(e,"JUL",(function(){return At})),n.d(e,"JUN",(function(){return jt})),n.d(e,"MAR",(function(){return kt})),n.d(e,"MATERIAL_SANITY_CHECKS",(function(){return C})),n.d(e,"MAT_DATE_FORMATS",(function(){return M})),n.d(e,"MAT_DATE_LOCALE",(function(){return T})),n.d(e,"MAT_DATE_LOCALE_FACTORY",(function(){return j})),n.d(e,"MAT_DATE_LOCALE_PROVIDER",(function(){return A})),n.d(e,"MAT_LABEL_GLOBAL_OPTIONS",(function(){return Et})),n.d(e,"MAT_NATIVE_DATE_FORMATS",(function(){return z})),n.d(e,"MAT_OPTGROUP",(function(){return ft})),n.d(e,"MAT_OPTION_PARENT_COMPONENT",(function(){return bt})),n.d(e,"MAT_RIPPLE_GLOBAL_OPTIONS",(function(){return ot})),n.d(e,"MAY",(function(){return Tt})),n.d(e,"MatCommonModule",(function(){return S})),n.d(e,"MatLine",(function(){return Y})),n.d(e,"MatLineModule",(function(){return J})),n.d(e,"MatLineSetter",(function(){return Q})),n.d(e,"MatNativeDateModule",(function(){return G})),n.d(e,"MatOptgroup",(function(){return mt})),n.d(e,"MatOption",(function(){return wt})),n.d(e,"MatOptionModule",(function(){return Ot})),n.d(e,"MatOptionSelectionChange",(function(){return yt})),n.d(e,"MatPseudoCheckbox",(function(){return ct})),n.d(e,"MatPseudoCheckboxModule",(function(){return ut})),n.d(e,"MatRipple",(function(){return st})),n.d(e,"MatRippleModule",(function(){return at})),n.d(e,"NOV",(function(){return Pt})),n.d(e,"NativeDateAdapter",(function(){return U})),n.d(e,"NativeDateModule",(function(){return H})),n.d(e,"OCT",(function(){return Nt})),n.d(e,"RippleRef",(function(){return X})),n.d(e,"RippleRenderer",(function(){return it})),n.d(e,"SEP",(function(){return Mt})),n.d(e,"ShowOnDirtyErrorStateMatcher",(function(){return q})),n.d(e,"VERSION",(function(){return _})),n.d(e,"_MatOptgroupBase",(function(){return ht})),n.d(e,"_MatOptionBase",(function(){return vt})),n.d(e,"_countGroupLabelsBeforeOption",(function(){return Ct})),n.d(e,"_getOptionScrollPosition",(function(){return St})),n.d(e,"defaultRippleAnimationConfig",(function(){return tt})),n.d(e,"mixinColor",(function(){return E})),n.d(e,"mixinDisableRipple",(function(){return x})),n.d(e,"mixinDisabled",(function(){return O})),n.d(e,"mixinErrorState",(function(){return k})),n.d(e,"mixinInitialized",(function(){return D})),n.d(e,"mixinTabIndex",(function(){return I})),n.d(e,"setLines",(function(){return Z})),n.d(e,"\u02750",(function(){return $})),n.d(e,"\u0275angular_material_src_material_core_core_a",(function(){return w}));var r=n(0),i=n(29),o=n(23);const s=new r.Version("10.2.7");var a=n(1),c=n(14),u=n(13),l=n(10),d=n(9),h=n(141),p=n(50),f=n(32);const m=["*",[["mat-option"],["ng-container"]]];function g(t,e){if(1&t&&r["\u0275\u0275element"](0,"mat-pseudo-checkbox",3),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const _=new r.Version("10.2.7");class y{}y.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",y.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",y.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",y.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";class b{}b.COMPLEX="375ms",b.ENTERING="225ms",b.EXITING="195ms";const v=new r.Version("10.2.7");function w(){return!0}const C=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:w});class S{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(r.isDevMode)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&e.doctype}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&r.display,e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&(v.full,s.full)}}function O(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(c.c)(t)}}}function E(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function x(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(c.c)(t)}}}function I(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(c.f)(t):this.defaultTabIndex}}}function k(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new u.b}updateErrorState(){const t=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,i=n.isErrorState(r,e);i!==t&&(this.errorState=i,this.stateChanges.next())}}}function D(t){return class extends t{constructor(...t){super(...t),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new l.a((t=>{this._isInitialized?this._notifySubscriber(t):this._pendingSubscribers.push(t)}))}_markInitialized(){if(this._isInitialized&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(t){t.next(),t.complete()}}}S.\u0275mod=r["\u0275\u0275defineNgModule"]({type:S}),S.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||S)(r["\u0275\u0275inject"](i.f),r["\u0275\u0275inject"](C,8),r["\u0275\u0275inject"](a.DOCUMENT,8))},imports:[[o.a],o.a]}),S.ctorParameters=()=>[{type:i.f},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[C]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[a.DOCUMENT]}]}],("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](S,{imports:function(){return[o.a]},exports:function(){return[o.a]}});const T=new r.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:j});function j(){return Object(r.inject)(r.LOCALE_ID)}const A={provide:T,useExisting:r.LOCALE_ID};class R{constructor(){this._localeChanges=new u.b,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const M=new r.InjectionToken("mat-date-formats");let N;try{N="undefined"!=typeof Intl}catch(t){N=!1}const P={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},F=B(31,(t=>String(t+1))),L={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},V=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function B(t,e){const n=Array(t);for(let r=0;r<t;r++)n[r]=e(r);return n}class U extends R{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(N){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return B(12,(t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1)))))}return P[t]}getDateNames(){if(N){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return B(31,(e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1)))))}return F}getDayOfWeekNames(t){if(N){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return B(7,(t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1)))))}return L[t]}getYearName(t){if(N){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){if("undefined"==typeof ngDevMode||ngDevMode){if(e<0||e>11)throw Error(`Invalid month index "${e}". Month index has to be between 0 and 11.`);if(n<1)throw Error(`Invalid date "${n}". Date has to be greater than 0.`)}let r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e&&("undefined"==typeof ngDevMode||ngDevMode))throw Error(`Invalid date "${n}" for month with index "${e}".`);return r}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(N){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(V.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const r=new Date;return r.setFullYear(t,e,n),r.setHours(0,0,0,0),r}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}U.\u0275fac=function(t){return new(t||U)(r["\u0275\u0275inject"](T,8),r["\u0275\u0275inject"](d.a))},U.\u0275prov=r["\u0275\u0275defineInjectable"]({token:U,factory:U.\u0275fac}),U.ctorParameters=()=>[{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[T]}]},{type:d.a}];const z={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};class H{}H.\u0275mod=r["\u0275\u0275defineNgModule"]({type:H}),H.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||H)},providers:[{provide:R,useClass:U}],imports:[[d.b]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](H,{imports:function(){return[d.b]}});const $=z;class G{}G.\u0275mod=r["\u0275\u0275defineNgModule"]({type:G}),G.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||G)},providers:[{provide:M,useValue:$}],imports:[[H]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](G,{imports:[H]});class q{isErrorState(t,e){return!!(t&&t.invalid&&(t.dirty||e&&e.submitted))}}q.\u0275fac=function(t){return new(t||q)},q.\u0275prov=r["\u0275\u0275defineInjectable"]({token:q,factory:q.\u0275fac});class W{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}W.\u0275fac=function(t){return new(t||W)},W.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new W},token:W,providedIn:"root"});class Y{}function Z(t,e,n="mat"){t.changes.pipe(Object(h.a)(t)).subscribe((({length:t})=>{K(e,`${n}-2-line`,!1),K(e,`${n}-3-line`,!1),K(e,`${n}-multi-line`,!1),2===t||3===t?K(e,`${n}-${t}-line`,!0):t>3&&K(e,`${n}-multi-line`,!0)}))}function K(t,e,n){const r=t.nativeElement.classList;n?r.add(e):r.remove(e)}Y.\u0275fac=function(t){return new(t||Y)},Y.\u0275dir=r["\u0275\u0275defineDirective"]({type:Y,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});class Q{constructor(t,e){Z(t,e)}}class J{}J.\u0275mod=r["\u0275\u0275defineNgModule"]({type:J}),J.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||J)},imports:[[S],S]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](J,{declarations:[Y],imports:[S],exports:[Y,S]});class X{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const tt={enterDuration:450,exitDuration:400},et=Object(d.e)({passive:!0}),nt=["mousedown","touchstart"],rt=["mouseup","mouseleave","touchend","touchcancel"];class it{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(c.e)(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},tt),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=n.radius||function(t,e,n){const r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,r),s=t-r.left,a=e-r.top,c=i.enterDuration,u=document.createElement("div");var l;u.classList.add("mat-ripple-element"),u.style.left=s-o+"px",u.style.top=a-o+"px",u.style.height=2*o+"px",u.style.width=2*o+"px",null!=n.color&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u),l=u,window.getComputedStyle(l).getPropertyValue("opacity"),u.style.transform="scale(1)";const d=new X(this,u,n);return d.state=0,this._activeRipples.add(d),n.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((()=>{const t=d===this._mostRecentTransientRipple;d.state=1,n.persistent||t&&this._isPointerDown||d.fadeOut()}),c),d}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,r=Object.assign(Object.assign({},tt),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone((()=>{t.state=3,n.parentNode.removeChild(n)}),r.exitDuration)}fadeOutAll(){this._activeRipples.forEach((t=>t.fadeOut()))}setupTriggerEvents(t){const e=Object(c.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(nt))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(rt),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(i.h)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach((t=>{const e=1===t.state||t.config.terminateOnPointerUp&&0===t.state;!t.config.persistent&&e&&t.fadeOut()})))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular((()=>setTimeout(t,e)))}_registerEvents(t){this._ngZone.runOutsideAngular((()=>{t.forEach((t=>{this._triggerElement.addEventListener(t,this,et)}))}))}_removeTriggerEvents(){this._triggerElement&&(nt.forEach((t=>{this._triggerElement.removeEventListener(t,this,et)})),this._pointerUpEventsRegistered&&rt.forEach((t=>{this._triggerElement.removeEventListener(t,this,et)})))}}const ot=new r.InjectionToken("mat-ripple-global-options");class st{constructor(t,e,n,r,i){this._elementRef=t,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new it(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}st.\u0275fac=function(t){return new(t||st)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](d.a),r["\u0275\u0275directiveInject"](ot,8),r["\u0275\u0275directiveInject"](p.ANIMATION_MODULE_TYPE,8))},st.\u0275dir=r["\u0275\u0275defineDirective"]({type:st,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),st.ctorParameters=()=>[{type:r.ElementRef},{type:r.NgZone},{type:d.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[ot]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[p.ANIMATION_MODULE_TYPE]}]}],st.propDecorators={color:[{type:r.Input,args:["matRippleColor"]}],unbounded:[{type:r.Input,args:["matRippleUnbounded"]}],centered:[{type:r.Input,args:["matRippleCentered"]}],radius:[{type:r.Input,args:["matRippleRadius"]}],animation:[{type:r.Input,args:["matRippleAnimation"]}],disabled:[{type:r.Input,args:["matRippleDisabled"]}],trigger:[{type:r.Input,args:["matRippleTrigger"]}]};class at{}at.\u0275mod=r["\u0275\u0275defineNgModule"]({type:at}),at.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||at)},imports:[[S,d.b],S]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](at,{declarations:function(){return[st]},imports:function(){return[S,d.b]},exports:function(){return[st,S]}});class ct{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}ct.\u0275fac=function(t){return new(t||ct)(r["\u0275\u0275directiveInject"](p.ANIMATION_MODULE_TYPE,8))},ct.\u0275cmp=r["\u0275\u0275defineComponent"]({type:ct,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),ct.ctorParameters=()=>[{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[p.ANIMATION_MODULE_TYPE]}]}],ct.propDecorators={state:[{type:r.Input}],disabled:[{type:r.Input}]};class ut{}ut.\u0275mod=r["\u0275\u0275defineNgModule"]({type:ut}),ut.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||ut)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](ut,{declarations:[ct],exports:[ct]});const lt=O(class{});let dt=0;class ht extends lt{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+dt++}}ht.\u0275fac=function(t){return pt(t||ht)},ht.\u0275dir=r["\u0275\u0275defineDirective"]({type:ht,inputs:{label:"label"},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),ht.propDecorators={label:[{type:r.Input}]};const pt=r["\u0275\u0275getInheritedFactory"](ht),ft=new r.InjectionToken("MatOptgroup");class mt extends ht{}mt.\u0275fac=function(t){return gt(t||mt)},mt.\u0275cmp=r["\u0275\u0275defineComponent"]({type:mt,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(r["\u0275\u0275attribute"]("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),r["\u0275\u0275classProp"]("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:ft,useExisting:mt}]),r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:["*","mat-option, ng-container"],decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](m),r["\u0275\u0275elementStart"](0,"label",0),r["\u0275\u0275text"](1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](3,1)),2&t&&(r["\u0275\u0275property"]("id",e._labelId),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"]("",e.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0});const gt=r["\u0275\u0275getInheritedFactory"](mt);let _t=0;class yt{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const bt=new r.InjectionToken("MAT_OPTION_PARENT_COMPONENT");class vt{constructor(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+_t++,this.onSelectionChange=new r.EventEmitter,this._stateChanges=new u.b}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(c.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==f.d&&t.keyCode!==f.j||Object(f.o)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new yt(this,t))}}vt.\u0275fac=function(t){return new(t||vt)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](void 0),r["\u0275\u0275directiveInject"](ht))},vt.\u0275dir=r["\u0275\u0275defineDirective"]({type:vt,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),vt.ctorParameters=()=>[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:void 0},{type:ht}],vt.propDecorators={value:[{type:r.Input}],id:[{type:r.Input}],disabled:[{type:r.Input}],onSelectionChange:[{type:r.Output}]};class wt extends vt{constructor(t,e,n,r){super(t,e,n,r)}}function Ct(t,e,n){if(n.length){let r=e.toArray(),i=n.toArray(),o=0;for(let e=0;e<t+1;e++)r[e].group&&r[e].group===i[o]&&o++;return o}return 0}function St(t,e,n,r){return t<n?t:t+e>n+r?Math.max(0,t-r+e):n}wt.\u0275fac=function(t){return new(t||wt)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](bt,8),r["\u0275\u0275directiveInject"](ft,8))},wt.\u0275cmp=r["\u0275\u0275defineComponent"]({type:wt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(r["\u0275\u0275hostProperty"]("id",e.id),r["\u0275\u0275attribute"]("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),r["\u0275\u0275classProp"]("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:["*"],decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275template"](0,g,1,2,"mat-pseudo-checkbox",0),r["\u0275\u0275elementStart"](1,"span",1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](3,"div",2)),2&t&&(r["\u0275\u0275property"]("ngIf",e.multiple),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.NgIf,st,ct],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),wt.ctorParameters=()=>[{type:r.ElementRef},{type:r.ChangeDetectorRef},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[bt]}]},{type:mt,decorators:[{type:r.Optional},{type:r.Inject,args:[ft]}]}];class Ot{}Ot.\u0275mod=r["\u0275\u0275defineNgModule"]({type:Ot}),Ot.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||Ot)},imports:[[at,a.CommonModule,ut]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](Ot,{declarations:function(){return[wt,mt]},imports:function(){return[at,a.CommonModule,ut]},exports:function(){return[wt,mt]}});const Et=new r.InjectionToken("mat-label-global-options"),xt=0,It=1,kt=2,Dt=3,Tt=4,jt=5,At=6,Rt=7,Mt=8,Nt=9,Pt=10,Ft=11},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return p}));var r=n(0),i=n(1);let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(t){o=!1}class s{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(i.isPlatformBrowser)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!o)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}s.\u0275fac=function(t){return new(t||s)(r["\u0275\u0275inject"](r.PLATFORM_ID))},s.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new s(Object(r["\u0275\u0275inject"])(r.PLATFORM_ID))},token:s,providedIn:"root"}),s.ctorParameters=()=>[{type:Object,decorators:[{type:r.Inject,args:[r.PLATFORM_ID]}]}];class a{}a.\u0275mod=r["\u0275\u0275defineNgModule"]({type:a}),a.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||a)}});let c,u,l,d;function h(t){return function(){if(null==c&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>c=!0}))}finally{c=c||!1}return c}()?t:!!t.capture}function p(){if(null==l)if("object"==typeof document&&document||(l=!1),"scrollBehavior"in document.documentElement.style)l=!0;else{const t=Element.prototype.scrollTo;l=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}return l}function f(){if("object"!=typeof document||!document)return 0;if(null==u){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),u=0,0===t.scrollLeft&&(t.scrollLeft=1,u=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return u}function m(t){if(function(){if(null==d){const t="undefined"!=typeof document?document.head:null;d=!(!t||!t.createShadowRoot&&!t.attachShadow)}return d}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(259),i=n(352),o=n(105),s=n(167),a=n(85),c=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=Object(i.a)(t,e,n);if(r?o.add(r.call(o,this.source)):o.add(this.source||a.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),a.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),Object(r.a)(t)&&t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=u(e))((function(e,r){var i;i=n.subscribe((function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[o.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:Object(s.b)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=u(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function u(t){if(t||(t=a.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n(3),i=n(7),o=n(10),s=n(137),a=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return r.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(t)},e.prototype._error=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.a),c=(i.a,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.a));i.a;function u(t,e){if(!e.closed){if(t instanceof o.a)return t.subscribe(e);var n;try{n=Object(s.a)(t)(e)}catch(t){e.error(t)}return n}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return h}));var r=n(3),i=n(10),o=n(7),s=n(20),a=n(106),c=n(243),u=n(169),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.__extends(e,t),e}(o.a),d=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.__extends(e,t),e.prototype[u.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new a.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new c.a(this,t))},e.prototype.asObservable=function(){var t=new i.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.__extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):s.a.EMPTY},e}(d)},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return o}));var r=n(0);function i(t){return null!=t&&"false"!=`${t}`}function o(t,e=0){return s(t)?Number(t):e}function s(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function c(t){return null==t?"":"string"==typeof t?t:`${t}px`}function u(t){return t instanceof r.ElementRef?t.nativeElement:t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return o}));var r=n(47);const i=["debug","info","warn","error","log","assert","trace"],o={};function s(t){if(!("console"in r.a))return t();const e=r.a.console,n={},i=Object.keys(o);i.forEach((t=>{const r=o[t];n[t]=e[t],e[t]=r}));try{return t()}finally{i.forEach((t=>{e[t]=n[t]}))}}const a=function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{e[n]=(...e)=>{t&&s((()=>{r.a.console[n](`Sentry Logger [${n}]:`,...e)}))}})):i.forEach((t=>{e[t]=()=>{}})),e}()},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l}));var r=n(59),i=n(47),o=n(33),s=n(42);const a=i.a;let c=0;function u(){return c>0}function l(t,e={},n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if(Object(o.f)(t))return t}catch(e){return t}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=i.map((t=>l(t,e)));return t.apply(this,r)}catch(t){throw c++,setTimeout((()=>{c--})),Object(r.p)((n=>{n.addEventProcessor((t=>(e.mechanism&&(Object(s.b)(t,void 0,void 0),Object(s.a)(t,e.mechanism)),t.extra={...t.extra,arguments:i},t))),Object(r.c)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}catch(t){}Object(o.g)(i,t),Object(o.a)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(t){}return i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return f}));var r=n(42),i=n(109),o=n(15),s=n(47),a=n(191),c=n(195),u=n(118);const l=4,d=100;class h{constructor(t,e=new c.a,n=l){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=c.a.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:Object(r.f)(),i=new Error("Sentry syntheticException");return this._withClient(((r,o)=>{r.captureException(t,{originalException:t,syntheticException:i,...e,event_id:n},o)})),n}captureMessage(t,e,n){const i=this._lastEventId=n&&n.event_id?n.event_id:Object(r.f)(),o=new Error(t);return this._withClient(((r,s)=>{r.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:i},s)})),i}captureEvent(t,e){const n=e&&e.event_id?e.event_id:Object(r.f)();return t.type||(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(t,{...e,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:a=d}=r.getOptions&&r.getOptions()||{};if(a<=0)return;const c={timestamp:Object(i.b)(),...t},u=s?Object(o.b)((()=>s(c,e))):c;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=f(this);try{t(this)}finally{f(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!n){this.getClient()}return n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&Object(u.a)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i=a.a}=n&&n.getOptions()||{},{userAgent:o}=s.a.navigator||{},c=Object(u.b)({release:r,environment:i,user:e.getUser(),...o&&{userAgent:o},...t}),l=e.getSession&&e.getSession();return l&&"ok"===l.status&&Object(u.c)(l,{status:"exited"}),this.endSession(),e.setSession(c),c}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=p().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function p(){return s.a.__SENTRY__=s.a.__SENTRY__||{extensions:{},hub:void 0},s.a}function f(t){const e=p(),n=y(e);return b(e,t),n}function m(){const t=p();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return g(t)}function g(t=p()){return _(t)&&!y(t).isOlderThan(l)||b(t,new h),y(t)}function _(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return Object(s.c)("hub",(()=>new h),t)}function b(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(60),i=n(151),o=n(260);function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(r.a)(n)?(t.pop(),Object(o.a)(t,n)):Object(i.a)(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(45),i=n(189),o=n(116),s=n(170),a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,a=n._parentOrParents,u=n._ctorUnsubscribe,l=n._unsubscribe,d=n._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof t)a.remove(this);else if(null!==a)for(var h=0;h<a.length;++h){a[h].remove(this)}if(Object(o.a)(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(t){e=t instanceof s.a?c(t.errors):[t]}}if(Object(r.a)(d)){h=-1;for(var p=d.length;++h<p;){var f=d[h];if(Object(i.a)(f))try{f.unsubscribe()}catch(t){e=e||[],t instanceof s.a?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.a(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.a?e.errors:e)}),[])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},function(t,e,n){"use strict";n.r(e),n.d(e,"DEFAULT_LANGUAGE",(function(){return A})),n.d(e,"FakeMissingTranslationHandler",(function(){return y})),n.d(e,"MissingTranslationHandler",(function(){return _})),n.d(e,"TranslateCompiler",(function(){return x})),n.d(e,"TranslateDefaultParser",(function(){return O})),n.d(e,"TranslateDirective",(function(){return N})),n.d(e,"TranslateFakeCompiler",(function(){return I})),n.d(e,"TranslateFakeLoader",(function(){return m})),n.d(e,"TranslateLoader",(function(){return f})),n.d(e,"TranslateModule",(function(){return F})),n.d(e,"TranslateParser",(function(){return S})),n.d(e,"TranslatePipe",(function(){return P})),n.d(e,"TranslateService",(function(){return M})),n.d(e,"TranslateStore",(function(){return D})),n.d(e,"USE_DEFAULT_LANG",(function(){return j})),n.d(e,"USE_EXTEND",(function(){return R})),n.d(e,"USE_STORE",(function(){return T}));var r=n(0),i=n(19),o=n(131),s=n(369),a=n(139),c=n(128),u=n(74),l=n(301),d=n(21),h=n(155),p=n(77);class f{}class m extends f{getTranslation(t){return Object(i.a)({})}}m.\u0275fac=function(t){return g(t||m)},m.\u0275prov=r["\u0275\u0275defineInjectable"]({token:m,factory:m.\u0275fac});const g=r["\u0275\u0275getInheritedFactory"](m);class _{}class y{handle(t){return t.key}}function b(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;let n,r,i,o=typeof t;if(o==typeof e&&"object"==o){if(!Array.isArray(t)){if(Array.isArray(e))return!1;for(r in i=Object.create(null),t){if(!b(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&void 0!==e[r])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(r=0;r<n;r++)if(!b(t[r],e[r]))return!1;return!0}}return!1}function v(t){return null!=t}function w(t){return t&&"object"==typeof t&&!Array.isArray(t)}function C(t,e){let n=Object.assign({},t);return w(t)&&w(e)&&Object.keys(e).forEach((r=>{w(e[r])?r in t?n[r]=C(t[r],e[r]):Object.assign(n,{[r]:e[r]}):Object.assign(n,{[r]:e[r]})})),n}y.\u0275fac=function(t){return new(t||y)},y.\u0275prov=r["\u0275\u0275defineInjectable"]({token:y,factory:y.\u0275fac});class S{}class O extends S{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(t,e){let n;return n="string"==typeof t?this.interpolateString(t,e):"function"==typeof t?this.interpolateFunction(t,e):t,n}getValue(t,e){let n="string"==typeof e?e.split("."):[e];e="";do{e+=n.shift(),!v(t)||!v(t[e])||"object"!=typeof t[e]&&n.length?n.length?e+=".":t=void 0:(t=t[e],e="")}while(n.length);return t}interpolateFunction(t,e){return t(e)}interpolateString(t,e){return e?t.replace(this.templateMatcher,((t,n)=>{let r=this.getValue(e,n);return v(r)?r:t})):t}}O.\u0275fac=function(t){return E(t||O)},O.\u0275prov=r["\u0275\u0275defineInjectable"]({token:O,factory:O.\u0275fac});const E=r["\u0275\u0275getInheritedFactory"](O);class x{}class I extends x{compile(t,e){return t}compileTranslations(t,e){return t}}I.\u0275fac=function(t){return k(t||I)},I.\u0275prov=r["\u0275\u0275defineInjectable"]({token:I,factory:I.\u0275fac});const k=r["\u0275\u0275getInheritedFactory"](I);class D{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.EventEmitter,this.onLangChange=new r.EventEmitter,this.onDefaultLangChange=new r.EventEmitter}}const T=new r.InjectionToken("USE_STORE"),j=new r.InjectionToken("USE_DEFAULT_LANG"),A=new r.InjectionToken("DEFAULT_LANGUAGE"),R=new r.InjectionToken("USE_EXTEND");class M{constructor(t,e,n,i,o,s=!0,a=!1,c=!1,u){this.store=t,this.currentLoader=e,this.compiler=n,this.parser=i,this.missingTranslationHandler=o,this.useDefaultLang=s,this.isolate=a,this.extend=c,this.pending=!1,this._onTranslationChange=new r.EventEmitter,this._onLangChange=new r.EventEmitter,this._onDefaultLangChange=new r.EventEmitter,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(t){this.isolate?this._currentLang=t:this.store.currentLang=t}get langs(){return this.isolate?this._langs:this.store.langs}set langs(t){this.isolate?this._langs=t:this.store.langs=t}get translations(){return this.isolate?this._translations:this.store.translations}set translations(t){this.isolate?this._translations=t:this.store.translations=t}setDefaultLang(t){if(t===this.defaultLang)return;let e=this.retrieveTranslations(t);void 0!==e?(null==this.defaultLang&&(this.defaultLang=t),e.pipe(Object(u.a)(1)).subscribe((e=>{this.changeDefaultLang(t)}))):this.changeDefaultLang(t)}getDefaultLang(){return this.defaultLang}use(t){if(t===this.currentLang)return Object(i.a)(this.translations[t]);let e=this.retrieveTranslations(t);return void 0!==e?(this.currentLang||(this.currentLang=t),e.pipe(Object(u.a)(1)).subscribe((e=>{this.changeLang(t)})),e):(this.changeLang(t),Object(i.a)(this.translations[t]))}retrieveTranslations(t){let e;return(void 0===this.translations[t]||this.extend)&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}getTranslation(t){this.pending=!0;const e=this.currentLoader.getTranslation(t).pipe(Object(l.a)(1),Object(u.a)(1));return this.loadingTranslations=e.pipe(Object(d.a)((e=>this.compiler.compileTranslations(e,t))),Object(l.a)(1),Object(u.a)(1)),this.loadingTranslations.subscribe({next:e=>{this.translations[t]=this.extend&&this.translations[t]?Object.assign(Object.assign({},e),this.translations[t]):e,this.updateLangs(),this.pending=!1},error:t=>{this.pending=!1}}),e}setTranslation(t,e,n=!1){e=this.compiler.compileTranslations(e,t),(n||this.extend)&&this.translations[t]?this.translations[t]=C(this.translations[t],e):this.translations[t]=e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}getLangs(){return this.langs}addLangs(t){t.forEach((t=>{-1===this.langs.indexOf(t)&&this.langs.push(t)}))}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(t,e,n){let r;if(e instanceof Array){let r={},a=!1;for(let i of e)r[i]=this.getParsedResult(t,i,n),Object(o.a)(r[i])&&(a=!0);if(a){const t=e.map((t=>Object(o.a)(r[t])?r[t]:Object(i.a)(r[t])));return Object(s.a)(t).pipe(Object(d.a)((t=>{let n={};return t.forEach(((t,r)=>{n[e[r]]=t})),n})))}return r}if(t&&(r=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===r){let t={key:e,translateService:this};void 0!==n&&(t.interpolateParams=n),r=this.missingTranslationHandler.handle(t)}return void 0!==r?r:e}get(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(h.a)((n=>(n=this.getParsedResult(n,t,e),Object(o.a)(n)?n:Object(i.a)(n)))));{let n=this.getParsedResult(this.translations[this.currentLang],t,e);return Object(o.a)(n)?n:Object(i.a)(n)}}getStreamOnTranslationChange(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)((()=>this.get(t,e))),this.onTranslationChange.pipe(Object(p.a)((n=>{const r=this.getParsedResult(n.translations,t,e);return"function"==typeof r.subscribe?r:Object(i.a)(r)}))))}stream(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');return Object(a.a)(Object(c.a)((()=>this.get(t,e))),this.onLangChange.pipe(Object(p.a)((n=>{const r=this.getParsedResult(n.translations,t,e);return Object(o.a)(r)?r:Object(i.a)(r)}))))}instant(t,e){if(!v(t)||!t.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],t,e);if(Object(o.a)(n)){if(t instanceof Array){let e={};return t.forEach(((n,r)=>{e[t[r]]=t[r]})),e}return t}return n}set(t,e,n=this.currentLang){this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),null==this.defaultLang&&this.changeDefaultLang(t)}changeDefaultLang(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}reloadLang(t){return this.resetLang(t),this.getTranslation(t)}resetLang(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==t?(-1!==t.indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let t=window.navigator.languages?window.navigator.languages[0]:null;return t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,t}}M.\u0275fac=function(t){return new(t||M)(r["\u0275\u0275inject"](D),r["\u0275\u0275inject"](f),r["\u0275\u0275inject"](x),r["\u0275\u0275inject"](S),r["\u0275\u0275inject"](_),r["\u0275\u0275inject"](j),r["\u0275\u0275inject"](T),r["\u0275\u0275inject"](R),r["\u0275\u0275inject"](A))},M.\u0275prov=r["\u0275\u0275defineInjectable"]({token:M,factory:M.\u0275fac}),M.ctorParameters=()=>[{type:D},{type:f},{type:x},{type:S},{type:_},{type:Boolean,decorators:[{type:r.Inject,args:[j]}]},{type:Boolean,decorators:[{type:r.Inject,args:[T]}]},{type:Boolean,decorators:[{type:r.Inject,args:[R]}]},{type:String,decorators:[{type:r.Inject,args:[A]}]}];class N{constructor(t,e,n){this.translateService=t,this.element=e,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe((t=>{t.lang===this.translateService.currentLang&&this.checkNodes(!0,t.translations)}))),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe((t=>{this.checkNodes(!0,t.translations)}))),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe((t=>{this.checkNodes(!0)})))}set translate(t){t&&(this.key=t,this.checkNodes())}set translateParams(t){b(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(t=!1,e){let n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(let r=0;r<n.length;++r){let i=n[r];if(3===i.nodeType){let n;if(t&&(i.lastKey=null),v(i.lookupKey))n=i.lookupKey;else if(this.key)n=this.key;else{let t=this.getContent(i),e=t.trim();e.length&&(i.lookupKey=e,t!==i.currentValue?(n=e,i.originalContent=t||i.originalContent):i.originalContent?n=i.originalContent.trim():t!==i.currentValue&&(n=e,i.originalContent=t||i.originalContent))}this.updateValue(n,i,e)}}}updateValue(t,e,n){if(t){if(e.lastKey===t&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let r=n=>{n!==t&&(e.lastKey=t),e.originalContent||(e.originalContent=this.getContent(e)),e.currentValue=v(n)?n:e.originalContent||t,this.setContent(e,this.key?e.currentValue:e.originalContent.replace(t,e.currentValue)),this._ref.markForCheck()};if(v(n)){let e=this.translateService.getParsedResult(n,t,this.currentParams);Object(o.a)(e)?e.subscribe(r):r(e)}else this.translateService.get(t,this.currentParams).subscribe(r)}}getContent(t){return v(t.textContent)?t.textContent:t.data}setContent(t,e){v(t.textContent)?t.textContent=e:t.data=e}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}N.\u0275fac=function(t){return new(t||N)(r["\u0275\u0275directiveInject"](M),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},N.\u0275dir=r["\u0275\u0275defineDirective"]({type:N,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),N.ctorParameters=()=>[{type:M},{type:r.ElementRef},{type:r.ChangeDetectorRef}],N.propDecorators={translate:[{type:r.Input}],translateParams:[{type:r.Input}]};class P{constructor(t,e){this.translate=t,this._ref=e,this.value=""}updateValue(t,e,n){let r=e=>{this.value=void 0!==e?e:t,this.lastKey=t,this._ref.markForCheck()};if(n){let i=this.translate.getParsedResult(n,t,e);Object(o.a)(i.subscribe)?i.subscribe(r):r(i)}this.translate.get(t,e).subscribe(r)}transform(t,...e){if(!t||!t.length)return t;if(b(t,this.lastKey)&&b(e,this.lastParams))return this.value;let n;if(v(e[0])&&e.length)if("string"==typeof e[0]&&e[0].length){let t=e[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(t)}catch(t){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${e[0]}`)}}else"object"!=typeof e[0]||Array.isArray(e[0])||(n=e[0]);return this.lastKey=t,this.lastParams=e,this.updateValue(t,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe((e=>{this.lastKey&&e.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(t,n,e.translations))}))),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe((e=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n,e.translations))}))),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe((()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,n))}))),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}P.\u0275fac=function(t){return new(t||P)(r["\u0275\u0275directiveInject"](M),r["\u0275\u0275injectPipeChangeDetectorRef"]())},P.\u0275pipe=r["\u0275\u0275definePipe"]({name:"translate",type:P,pure:!1}),P.\u0275prov=r["\u0275\u0275defineInjectable"]({token:P,factory:P.\u0275fac}),P.ctorParameters=()=>[{type:M},{type:r.ChangeDetectorRef}];class F{static forRoot(t={}){return{ngModule:F,providers:[t.loader||{provide:f,useClass:m},t.compiler||{provide:x,useClass:I},t.parser||{provide:S,useClass:O},t.missingTranslationHandler||{provide:_,useClass:y},D,{provide:T,useValue:t.isolate},{provide:j,useValue:t.useDefaultLang},{provide:R,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},M]}}static forChild(t={}){return{ngModule:F,providers:[t.loader||{provide:f,useClass:m},t.compiler||{provide:x,useClass:I},t.parser||{provide:S,useClass:O},t.missingTranslationHandler||{provide:_,useClass:y},{provide:T,useValue:t.isolate},{provide:j,useValue:t.useDefaultLang},{provide:R,useValue:t.extend},{provide:A,useValue:t.defaultLanguage},M]}}}F.\u0275mod=r["\u0275\u0275defineNgModule"]({type:F}),F.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||F)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](F,{declarations:[P,N],exports:[P,N]})},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s}));var r=n(0),i=n(1);const o=new r.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.inject)(i.DOCUMENT)}});class s{constructor(t){if(this.value="ltr",this.change=new r.EventEmitter,t){const e=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null,r=e||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}ngOnDestroy(){this.change.complete()}}s.\u0275fac=function(t){return new(t||s)(r["\u0275\u0275inject"](o,8))},s.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new s(Object(r["\u0275\u0275inject"])(o,8))},token:s,providedIn:"root"}),s.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[o]}]}];class a{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new r.EventEmitter}get dir(){return this._dir}set dir(t){const e=this._dir,n=t?t.toLowerCase():t;this._rawDir=t,this._dir="ltr"===n||"rtl"===n?n:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=r["\u0275\u0275defineDirective"]({type:a,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:s,useExisting:a}])]}),a.propDecorators={change:[{type:r.Output,args:["dirChange"]}],dir:[{type:r.Input}]};class c{}c.\u0275mod=r["\u0275\u0275defineNgModule"]({type:c}),c.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||c)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](c,{declarations:[a],exports:[a]})},,function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return y})),n.d(e,"h",(function(){return _})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return l})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return u})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return m})),n.d(e,"o",(function(){return b}));const r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function l(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function d(t){return o(t,"Object")}function h(t){return"undefined"!=typeof Event&&y(t,Event)}function p(t){return"undefined"!=typeof Element&&y(t,Element)}function f(t){return o(t,"RegExp")}function m(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function _(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}function b(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return nt})),n.d(e,"b",(function(){return x})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return Z})),n.d(e,"e",(function(){return j})),n.d(e,"f",(function(){return et})),n.d(e,"g",(function(){return $})),n.d(e,"h",(function(){return q}));var r=n(1),i=n(0),o=n(9),s=n(13),a=n(20),c=n(19),u=n(32),l=n(76),d=n(303),h=n(46),p=n(21),f=n(74),m=n(14),g=n(107);function _(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}const y="cdk-describedby-message-container",b="cdk-describedby-message",v="cdk-describedby-host";let w=0;const C=new Map;let S=null;class O{constructor(t,e){this._platform=e,this._document=t}describe(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),C.set(e,{messageElement:e,referenceCount:0})):C.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}removeDescription(t,e){if(e&&this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){const t=C.get(e);t&&0===t.referenceCount&&this._deleteMessageElement(e)}S&&0===S.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const t=this._document.querySelectorAll(`[${v}]`);for(let e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(v);S&&this._deleteMessagesContainer(),C.clear()}_createMessageElement(t){const e=this._document.createElement("div");this._setMessageId(e),e.textContent=t,this._createMessagesContainer(),S.appendChild(e),C.set(t,{messageElement:e,referenceCount:0})}_setMessageId(t){t.id||(t.id=`${b}-${w++}`)}_deleteMessageElement(t){const e=C.get(t),n=e&&e.messageElement;S&&n&&S.removeChild(n),C.delete(t)}_createMessagesContainer(){if(!S){const t=!this._platform||!this._platform.EDGE&&!this._platform.TRIDENT,e=this._document.getElementById(y);e&&e.parentNode&&e.parentNode.removeChild(e),S=this._document.createElement("div"),S.id=y,S.classList.add("cdk-visually-hidden"),S.setAttribute("aria-hidden",t+""),this._document.body.appendChild(S)}}_deleteMessagesContainer(){S&&S.parentNode&&(S.parentNode.removeChild(S),S=null)}_removeCdkDescribedByReferenceIds(t){const e=_(t,"aria-describedby").filter((t=>0!=t.indexOf(b)));t.setAttribute("aria-describedby",e.join(" "))}_addMessageReference(t,e){const n=C.get(e);!function(t,e,n){const r=_(t,e);r.some((t=>t.trim()==n.trim()))||(r.push(n.trim()),t.setAttribute(e,r.join(" ")))}(t,"aria-describedby",n.messageElement.id),t.setAttribute(v,""),n.referenceCount++}_removeMessageReference(t,e){const n=C.get(e);n.referenceCount--,function(t,e,n){const r=_(t,e).filter((t=>t!=n.trim()));r.length?t.setAttribute(e,r.join(" ")):t.removeAttribute(e)}(t,"aria-describedby",n.messageElement.id),t.removeAttribute(v)}_isElementDescribedByMessage(t,e){const n=_(t,"aria-describedby"),r=C.get(e),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)}_canBeDescribed(t,e){if(!this._isElementNode(t))return!1;if(e&&"object"==typeof e)return!0;const n=null==e?"":`${e}`.trim(),r=t.getAttribute("aria-label");return!!n&&(!r||r.trim()!==n)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}O.\u0275fac=function(t){return new(t||O)(i["\u0275\u0275inject"](r.DOCUMENT),i["\u0275\u0275inject"](o.a))},O.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new O(Object(i["\u0275\u0275inject"])(r.DOCUMENT),Object(i["\u0275\u0275inject"])(o.a))},token:O,providedIn:"root"}),O.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:o.a}];class E{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.b,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.b,this.change=new s.b,t instanceof i.QueryList&&t.changes.subscribe((t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(("undefined"==typeof ngDevMode||ngDevMode)&&this._items.length&&this._items.some((t=>"function"!=typeof t.getLabel)))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)((t=>this._pressedLetters.push(t))),Object(d.a)(t),Object(h.a)((()=>this._pressedLetters.length>0)),Object(p.a)((()=>this._pressedLetters.join("")))).subscribe((t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const r=(this._activeItemIndex+n)%e.length,i=e[r];if(!this._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(r);break}}this._pressedLetters=[]})),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}setActiveItem(t){const e=this._activeItem;this.updateActiveItem(t),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every((e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1));switch(e){case u.k:return void this.tabOut.next();case u.b:if(this._vertical&&n){this.setNextItemActive();break}return;case u.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case u.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.f:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case u.c:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(u.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=u.a&&e<=u.m||e>=u.n&&e<=u.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),r=e[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const r=(this._activeItemIndex+t*n+e.length)%e.length,i=e[r];if(!this._skipPredicateFn(i))return void this.setActiveItem(r)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof i.QueryList?this._items.toArray():this._items}}class x extends E{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class I{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(t){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===D(e))return!1;if(!this.isVisible(e))return!1}let r=t.nodeName.toLowerCase(),i=D(t);return t.hasAttribute("contenteditable")?-1!==i:"iframe"!==r&&"object"!==r&&(!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===r?!!t.hasAttribute("controls")&&-1!==i:"video"===r?-1!==i&&(null!==i||(this._platform.FIREFOX||t.hasAttribute("controls"))):t.tabIndex>=0))}isFocusable(t,e){return function(t){if(function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t))return!1;return function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||k(t)}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}function k(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function D(t){if(!k(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}I.\u0275fac=function(t){return new(t||I)(i["\u0275\u0275inject"](o.a))},I.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new I(Object(i["\u0275\u0275inject"])(o.a))},token:I,providedIn:"root"}),I.ctorParameters=()=>[{type:o.a}];class T{constructor(t,e,n,r,i=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular((()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise((t=>{this._executeOnStable((()=>t(this.focusInitialElement())))}))}focusFirstTabbableElementWhenReady(){return new Promise((t=>{this._executeOnStable((()=>t(this.focusFirstTabbableElement())))}))}focusLastTabbableElementWhenReady(){return new Promise((t=>{this._executeOnStable((()=>t(this.focusLastTabbableElement())))}))}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)||e[n].hasAttribute(`cdk-focus-region-${t}`);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial"),("undefined"==typeof ngDevMode||ngDevMode)&&this._checker.isFocusable(t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let t=0;t<e.length;t++){let n=e[t].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[t]):null;if(n)return n}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let t=e.length-1;t>=0;t--){let n=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(n)return n}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(f.a)(1)).subscribe(t)}}class j{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new T(t,this._checker,this._ngZone,this._document,e)}}j.\u0275fac=function(t){return new(t||j)(i["\u0275\u0275inject"](I),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](r.DOCUMENT))},j.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new j(Object(i["\u0275\u0275inject"])(I),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.DOCUMENT))},token:j,providedIn:"root"}),j.ctorParameters=()=>[{type:I},{type:i.NgZone},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];class A{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=Object(m.c)(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=Object(m.c)(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}A.\u0275fac=function(t){return new(t||A)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](j),i["\u0275\u0275directiveInject"](r.DOCUMENT))},A.\u0275dir=i["\u0275\u0275defineDirective"]({type:A,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i["\u0275\u0275NgOnChangesFeature"]]}),A.ctorParameters=()=>[{type:i.ElementRef},{type:j},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}],A.propDecorators={enabled:[{type:i.Input,args:["cdkTrapFocus"]}],autoCapture:[{type:i.Input,args:["cdkTrapFocusAutoCapture"]}]};class R extends T{constructor(t,e,n,r,i,o,s){super(t,e,n,r,s.defer),this._focusTrapManager=i,this._inertStrategy=o,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}function M(t,e){if(!(t instanceof Node))return null;let n=t;for(;null!=n&&!(n instanceof Element);)n=n.parentNode;return n&&(N?n.closest(e):function(t,e){let n=t;for(;null!=n&&!(n instanceof Element&&P(n,e));)n=n.parentNode;return n||null}(n,e))}const N="undefined"!=typeof Element&&!!Element.prototype.closest;function P(t,e){return t.matches?t.matches(e):t.msMatchesSelector(e)}class F{constructor(){this._listener=null}preventFocus(t){this._listener&&t._document.removeEventListener("focus",this._listener,!0),this._listener=e=>this._trapFocus(t,e),t._ngZone.runOutsideAngular((()=>{t._document.addEventListener("focus",this._listener,!0)}))}allowFocus(t){this._listener&&(t._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(t,e){const n=e.target,r=t._element;r.contains(n)||null!==M(n,"div.cdk-overlay-pane")||setTimeout((()=>{t.enabled&&!r.contains(t._document.activeElement)&&t.focusFirstTabbableElement()}))}}class L{constructor(){this.defer=!1}}const V=new i.InjectionToken("FOCUS_TRAP_INERT_STRATEGY");class B{constructor(){this._focusTrapStack=[]}register(t){this._focusTrapStack=this._focusTrapStack.filter((e=>e!==t));let e=this._focusTrapStack;e.length&&e[e.length-1]._disable(),e.push(t),t._enable()}deregister(t){t._disable();const e=this._focusTrapStack,n=e.indexOf(t);-1!==n&&(e.splice(n,1),e.length&&e[e.length-1]._enable())}}B.\u0275fac=function(t){return new(t||B)},B.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new B},token:B,providedIn:"root"});class U{constructor(t,e,n,r,i){this._checker=t,this._ngZone=e,this._focusTrapManager=n,this._document=r,this._inertStrategy=i||new F}create(t,e=new L){let n;return"boolean"==typeof e?(n=new L,n.defer=e):n=e,new R(t,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,n)}}U.\u0275fac=function(t){return new(t||U)(i["\u0275\u0275inject"](I),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](B),i["\u0275\u0275inject"](r.DOCUMENT),i["\u0275\u0275inject"](V,8))},U.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new U(Object(i["\u0275\u0275inject"])(I),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(B),Object(i["\u0275\u0275inject"])(r.DOCUMENT),Object(i["\u0275\u0275inject"])(V,8))},token:U,providedIn:"root"}),U.ctorParameters=()=>[{type:I},{type:i.NgZone},{type:B},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[V]}]}];const z=new i.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}});const H=new i.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");class ${constructor(t,e,n,r){this._ngZone=e,this._defaultOptions=r,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let r,i;return 1===e.length&&"number"==typeof e[0]?i=e[0]:[r,i]=e,this.clear(),clearTimeout(this._previousTimeout),r||(r=n&&n.politeness?n.politeness:"polite"),null==i&&n&&(i=n.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular((()=>new Promise((e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout((()=>{this._liveElement.textContent=t,e(),"number"==typeof i&&(this._previousTimeout=setTimeout((()=>this.clear()),i))}),100)}))))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t]);return n.classList.add(t),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}$.\u0275fac=function(t){return new(t||$)(i["\u0275\u0275inject"](z,8),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](r.DOCUMENT),i["\u0275\u0275inject"](H,8))},$.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new $(Object(i["\u0275\u0275inject"])(z,8),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(r.DOCUMENT),Object(i["\u0275\u0275inject"])(H,8))},token:$,providedIn:"root"}),$.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[z]}]},{type:i.NgZone},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[H]}]}];class G{constructor(t,e,n,r){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=r,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((()=>this._contentObserver.observe(this._elementRef).subscribe((()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}function q(t){return 0===t.buttons}G.\u0275fac=function(t){return new(t||G)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"]($),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](i.NgZone))},G.\u0275dir=i["\u0275\u0275defineDirective"]({type:G,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),G.ctorParameters=()=>[{type:i.ElementRef},{type:$},{type:g.b},{type:i.NgZone}],G.propDecorators={politeness:[{type:i.Input,args:["cdkAriaLive"]}]};const W=new i.InjectionToken("cdk-focus-monitor-default-options"),Y=Object(o.e)({passive:!0,capture:!0});class Z{constructor(t,e,n,r){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=q(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=K(t),this._touchTimeoutId=setTimeout((()=>this._lastTouchTarget=null),650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout((()=>this._windowFocused=!1))},this._rootNodeFocusAndBlurListener=t=>{const e=K(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){const n=Object(m.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(c.a)(null);const r=Object(o.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return e&&(i.checkChildren=!0),i.subject;const a={checkChildren:e,subject:new s.b,rootNode:r};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const e=Object(m.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const r=Object(m.e)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach(((t,e)=>this.stopMonitoring(e)))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular((()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout((()=>this._origin=null),1))}))}_wasCausedByTouch(t){const e=K(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==K(t))return;const r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run((()=>t.next(e)))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular((()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Y),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Y)})),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Y),t.addEventListener("mousedown",this._documentMousedownListener,Y),t.addEventListener("touchstart",this._documentTouchstartListener,Y),e.addEventListener("focus",this._windowFocusListener)}))}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Y),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Y),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Y),t.removeEventListener("mousedown",this._documentMousedownListener,Y),t.removeEventListener("touchstart",this._documentTouchstartListener,Y),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}function K(t){return t.composedPath?t.composedPath()[0]:t.target}Z.\u0275fac=function(t){return new(t||Z)(i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](o.a),i["\u0275\u0275inject"](r.DOCUMENT,8),i["\u0275\u0275inject"](W,8))},Z.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new Z(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(o.a),Object(i["\u0275\u0275inject"])(r.DOCUMENT,8),Object(i["\u0275\u0275inject"])(W,8))},token:Z,providedIn:"root"}),Z.ctorParameters=()=>[{type:i.NgZone},{type:o.a},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[r.DOCUMENT]}]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[W]}]}];class Q{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new i.EventEmitter}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((t=>this.cdkFocusChange.emit(t)))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}Q.\u0275fac=function(t){return new(t||Q)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](Z))},Q.\u0275dir=i["\u0275\u0275defineDirective"]({type:Q,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Q.ctorParameters=()=>[{type:i.ElementRef},{type:Z}],Q.propDecorators={cdkFocusChange:[{type:i.Output}]};const J="cdk-high-contrast-black-on-white",X="cdk-high-contrast-white-on-black",tt="cdk-high-contrast-active";class et{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(tt),t.remove(J),t.remove(X);const e=this.getHighContrastMode();1===e?(t.add(tt),t.add(J)):2===e&&(t.add(tt),t.add(X))}}}et.\u0275fac=function(t){return new(t||et)(i["\u0275\u0275inject"](o.a),i["\u0275\u0275inject"](r.DOCUMENT))},et.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new et(Object(i["\u0275\u0275inject"])(o.a),Object(i["\u0275\u0275inject"])(r.DOCUMENT))},token:et,providedIn:"root"}),et.ctorParameters=()=>[{type:o.a},{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];class nt{constructor(t){t._applyBodyHighContrastModeCssClasses()}}nt.\u0275mod=i["\u0275\u0275defineNgModule"]({type:nt}),nt.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||nt)(i["\u0275\u0275inject"](et))},imports:[[o.b,g.c]]}),nt.ctorParameters=()=>[{type:et}],("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](nt,{declarations:function(){return[G,A,Q]},imports:function(){return[o.b,g.c]},exports:function(){return[G,A,Q]}})},function(t,e,n){"use strict";n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return T})),n.d(e,"d",(function(){return L})),n.d(e,"e",(function(){return A}));var r=n(14),i=n(0),o=n(13),s=n(19),a=n(10),c=n(197),u=n(300),l=n(196),d=n(20),h=n(131),p=n(262),f=n(302),m=n(46),g=n(92),_=n(141),y=n(435),b=n(77),v=n(301),w=n(9),C=n(1),S=n(23),O=n(44);const E=["contentWrapper"],x=new i.InjectionToken("VIRTUAL_SCROLL_STRATEGY");class I{constructor(t,e,n){this._scrolledIndexChange=new o.b,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(p.a)()),this._viewport=null,this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,e,n){if(n<e&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=t,this._minBufferPx=e,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,e){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const t=this._viewport.getRenderedRange(),e={start:t.start,end:t.end},n=this._viewport.getViewportSize(),r=this._viewport.getDataLength();let i=this._viewport.measureScrollOffset(),o=i/this._itemSize;if(e.end>r){const t=Math.ceil(n/this._itemSize),s=Math.max(0,Math.min(o,r-t));o!=s&&(o=s,i=s*this._itemSize,e.start=Math.floor(o)),e.end=Math.max(0,Math.min(r,e.start+t))}const s=i-e.start*this._itemSize;if(s<this._minBufferPx&&0!=e.start){const t=Math.ceil((this._maxBufferPx-s)/this._itemSize);e.start=Math.max(0,e.start-t),e.end=Math.min(r,Math.ceil(o+(n+this._minBufferPx)/this._itemSize))}else{const t=e.end*this._itemSize-(i+n);if(t<this._minBufferPx&&e.end!=r){const n=Math.ceil((this._maxBufferPx-t)/this._itemSize);n>0&&(e.end=Math.min(r,e.end+n),e.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(this._itemSize*e.start),this._scrolledIndexChange.next(Math.floor(o))}}function k(t){return t._scrollStrategy}class D{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new I(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Object(r.f)(t)}get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Object(r.f)(t)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Object(r.f)(t)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}D.\u0275fac=function(t){return new(t||D)},D.\u0275dir=i["\u0275\u0275defineDirective"]({type:D,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[i["\u0275\u0275ProvidersFeature"]([{provide:x,useFactory:k,deps:[Object(i.forwardRef)((()=>D))]}]),i["\u0275\u0275NgOnChangesFeature"]]}),D.propDecorators={itemSize:[{type:i.Input}],minBufferPx:[{type:i.Input}],maxBufferPx:[{type:i.Input}]};class T{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new o.b,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((()=>this._scrolled.next(t))))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.a((e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(f.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}})):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach(((t,e)=>this.deregister(e))),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(m.a)((t=>!t||n.indexOf(t)>-1)))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach(((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)})),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular((()=>{const t=this._getWindow();return Object(c.a)(t.document,"scroll").subscribe((()=>this._scrolled.next()))}))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}T.\u0275fac=function(t){return new(t||T)(i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](w.a),i["\u0275\u0275inject"](C.DOCUMENT,8))},T.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new T(Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(w.a),Object(i["\u0275\u0275inject"])(C.DOCUMENT,8))},token:T,providedIn:"root"}),T.ctorParameters=()=>[{type:i.NgZone},{type:w.a},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[C.DOCUMENT]}]}];class j{constructor(t,e,n,r){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=r,this._destroyed=new o.b,this._elementScrolled=new a.a((t=>this.ngZone.runOutsideAngular((()=>Object(c.a)(this.elementRef.nativeElement,"scroll").pipe(Object(g.a)(this._destroyed)).subscribe(t)))))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(w.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(w.d)()?t.left=t.right:1==Object(w.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(w.f)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n="right",r=this.elementRef.nativeElement;if("top"==t)return r.scrollTop;if("bottom"==t)return r.scrollHeight-r.clientHeight-r.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==t?t=i?n:e:"end"==t&&(t=i?e:n),i&&2==Object(w.d)()?t==e?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:i&&1==Object(w.d)()?t==e?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:t==e?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}j.\u0275fac=function(t){return new(t||j)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](T),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](S.b,8))},j.\u0275dir=i["\u0275\u0275defineDirective"]({type:j,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),j.ctorParameters=()=>[{type:i.ElementRef},{type:T},{type:i.NgZone},{type:S.b,decorators:[{type:i.Optional}]}];class A{constructor(t,e,n){this._platform=t,this._change=new o.b,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular((()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe((()=>this._updateViewportSize()))}))}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(f.a)(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}A.\u0275fac=function(t){return new(t||A)(i["\u0275\u0275inject"](w.a),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](C.DOCUMENT,8))},A.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new A(Object(i["\u0275\u0275inject"])(w.a),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(C.DOCUMENT,8))},token:A,providedIn:"root"}),A.ctorParameters=()=>[{type:w.a},{type:i.NgZone},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[C.DOCUMENT]}]}];const R="undefined"!=typeof requestAnimationFrame?u.b:l.b;class M extends j{constructor(t,e,n,r,i,s,c){if(super(t,s,n,i),this.elementRef=t,this._changeDetectorRef=e,this._scrollStrategy=r,this._detachedSubject=new o.b,this._renderedRangeSubject=new o.b,this._orientation="vertical",this.scrolledIndexChange=new a.a((t=>this._scrollStrategy.scrolledIndexChange.subscribe((e=>Promise.resolve().then((()=>this.ngZone.run((()=>t.next(e))))))))),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=d.a.EMPTY,!r&&("undefined"==typeof ngDevMode||ngDevMode))throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');c&&(this._viewportChanges=c.change().subscribe((()=>{this.checkViewportSize()})))}get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular((()=>Promise.resolve().then((()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(_.a)(null),Object(f.a)(0,R)).subscribe((()=>this._scrollStrategy.onContentScrolled())),this._markChangeDetectionNeeded()}))))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(t){if(this._forOf&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((()=>{this._forOf=t,this._forOf.dataStream.pipe(Object(g.a)(this._detachedSubject)).subscribe((t=>{const e=t.length;e!==this._dataLength&&(this._dataLength=e,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(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){var e,n;e=this._renderedRange,n=t,(e.start!=n.start||e.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded((()=>this._scrollStrategy.onContentRendered())))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,e="to-start"){const n=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,i=r?"X":"Y";let o=`translate${i}(${Number((r&&n?-1:1)*t)}px)`;this._renderedContentOffset=t,"to-end"===e&&(o+=` translate${i}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=o&&(this._renderedContentTransform=o,this._markChangeDetectionNeeded((()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()})))}scrollToOffset(t,e="auto"){const n={behavior:e};"horizontal"===this.orientation?n.start=t:n.top=t,this.scrollTo(n)}scrollToIndex(t,e="auto"){this._scrollStrategy.scrollToIndex(t,e)}measureScrollOffset(t){return t?super.measureScrollOffset(t):super.measureScrollOffset("horizontal"===this.orientation?"start":"top")}measureRenderedContentSize(){const t=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const t=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?t.clientWidth:t.clientHeight}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),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 t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const e of t)e()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function N(t,e,n){const r=n;if(!r.getBoundingClientRect)return 0;const i=r.getBoundingClientRect();return"horizontal"===t?"start"===e?i.left:i.right:"start"===e?i.top:i.bottom}M.\u0275fac=function(t){return new(t||M)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](x,8),i["\u0275\u0275directiveInject"](S.b,8),i["\u0275\u0275directiveInject"](T),i["\u0275\u0275directiveInject"](A))},M.\u0275cmp=i["\u0275\u0275defineComponent"]({type:M,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,e){var n;(1&t&&i["\u0275\u0275staticViewQuery"](E,!0),2&t)&&(i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(e._contentWrapper=n.first))},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,e){2&t&&i["\u0275\u0275classProp"]("cdk-virtual-scroll-orientation-horizontal","horizontal"===e.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==e.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[i["\u0275\u0275ProvidersFeature"]([{provide:j,useExisting:M}]),i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"div",0,1),i["\u0275\u0275projection"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"div",2)),2&t&&(i["\u0275\u0275advance"](3),i["\u0275\u0275styleProp"]("width",e._totalContentWidth)("height",e._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}),M.ctorParameters=()=>[{type:i.ElementRef},{type:i.ChangeDetectorRef},{type:i.NgZone},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[x]}]},{type:S.b,decorators:[{type:i.Optional}]},{type:T},{type:A}],M.propDecorators={orientation:[{type:i.Input}],scrolledIndexChange:[{type:i.Output}],_contentWrapper:[{type:i.ViewChild,args:["contentWrapper",{static:!0}]}]};class P{constructor(t,e,n,r,i,s){this._viewContainerRef=t,this._template=e,this._differs=n,this._viewRepeater=r,this._viewport=i,this.viewChange=new o.b,this._dataSourceChanges=new o.b,this.dataStream=this._dataSourceChanges.pipe(Object(_.a)(null),Object(y.a)(),Object(b.a)((([t,e])=>this._changeDataSource(t,e))),Object(v.a)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.b,this.dataStream.subscribe((t=>{this._data=t,this._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Object(g.a)(this._destroyed)).subscribe((t=>{this._renderedRange=t,s.run((()=>this.viewChange.next(this._renderedRange))),this._onRenderedDataChange()})),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(t){this._cdkVirtualForOf=t,Object(O.g)(t)?this._dataSourceChanges.next(t):this._dataSourceChanges.next(new O.a(Object(h.a)(t)?t:Array.from(t||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(t){this._needsUpdate=!0,this._cdkVirtualForTrackBy=t?(e,n)=>t(e+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(t){t&&(this._needsUpdate=!0,this._template=t)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(t){this._viewRepeater.viewCacheSize=Object(r.f)(t)}measureRangeSize(t,e){if(t.start>=t.end)return 0;if((t.start<this._renderedRange.start||t.end>this._renderedRange.end)&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Error: attempted to measure an item that isn't rendered.");const n=t.start-this._renderedRange.start,r=t.end-t.start;let i,o;for(let t=0;t<r;t++){const e=this._viewContainerRef.get(t+n);if(e&&e.rootNodes.length){i=o=e.rootNodes[0];break}}for(let t=r-1;t>-1;t--){const e=this._viewContainerRef.get(t+n);if(e&&e.rootNodes.length){o=e.rootNodes[e.rootNodes.length-1];break}}return i&&o?N(e,"end",o)-N(e,"start",i):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const t=this._differ.diff(this._renderedItems);t?this._applyChanges(t):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(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}_changeDataSource(t,e){return t&&t.disconnect(this),this._needsUpdate=!0,e?e.connect(this):Object(s.a)()}_updateContext(){const t=this._data.length;let e=this._viewContainerRef.length;for(;e--;){let n=this._viewContainerRef.get(e);n.context.index=this._renderedRange.start+e,n.context.count=t,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(t){this._viewRepeater.applyChanges(t,this._viewContainerRef,((t,e,n)=>this._getEmbeddedViewArgs(t,n)),(t=>t.item)),t.forEachIdentityChange((t=>{this._viewContainerRef.get(t.currentIndex).context.$implicit=t.item}));const e=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const t=this._viewContainerRef.get(n);t.context.index=this._renderedRange.start+n,t.context.count=e,this._updateComputedContextProperties(t.context)}}_updateComputedContextProperties(t){t.first=0===t.index,t.last=t.index===t.count-1,t.even=t.index%2==0,t.odd=!t.even}_getEmbeddedViewArgs(t,e){return{templateRef:this._template,context:{$implicit:t.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:e}}}P.\u0275fac=function(t){return new(t||P)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.IterableDiffers),i["\u0275\u0275directiveInject"](O.f),i["\u0275\u0275directiveInject"](M,4),i["\u0275\u0275directiveInject"](i.NgZone))},P.\u0275dir=i["\u0275\u0275defineDirective"]({type:P,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[i["\u0275\u0275ProvidersFeature"]([{provide:O.f,useClass:O.e}])]}),P.ctorParameters=()=>[{type:i.ViewContainerRef},{type:i.TemplateRef},{type:i.IterableDiffers},{type:O.e,decorators:[{type:i.Inject,args:[O.f]}]},{type:M,decorators:[{type:i.SkipSelf}]},{type:i.NgZone}],P.propDecorators={cdkVirtualForOf:[{type:i.Input}],cdkVirtualForTrackBy:[{type:i.Input}],cdkVirtualForTemplate:[{type:i.Input}],cdkVirtualForTemplateCacheSize:[{type:i.Input}]};class F{}F.\u0275mod=i["\u0275\u0275defineNgModule"]({type:F}),F.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||F)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](F,{declarations:[j],exports:[j]});class L{}L.\u0275mod=i["\u0275\u0275defineNgModule"]({type:L}),L.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||L)},imports:[[S.a,w.b,F],S.a,F]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](L,{declarations:function(){return[D,P,M]},imports:function(){return[S.a,w.b,F]},exports:function(){return[S.a,F,D,P,M]}})},function(t,e,n){"use strict";n.r(e),n.d(e,"BlockScrollStrategy",(function(){return _})),n.d(e,"CdkConnectedOverlay",(function(){return et})),n.d(e,"CdkOverlayOrigin",(function(){return tt})),n.d(e,"CloseScrollStrategy",(function(){return b})),n.d(e,"ConnectedOverlayPositionChange",(function(){return k})),n.d(e,"ConnectedPositionStrategy",(function(){return q})),n.d(e,"ConnectionPositionPair",(function(){return x})),n.d(e,"FlexibleConnectedPositionStrategy",(function(){return H})),n.d(e,"FullscreenOverlayContainer",(function(){return st})),n.d(e,"GlobalPositionStrategy",(function(){return Y})),n.d(e,"NoopScrollStrategy",(function(){return v})),n.d(e,"OVERLAY_PROVIDERS",(function(){return ot})),n.d(e,"Overlay",(function(){return Q})),n.d(e,"OverlayConfig",(function(){return E})),n.d(e,"OverlayContainer",(function(){return F})),n.d(e,"OverlayKeyboardDispatcher",(function(){return A})),n.d(e,"OverlayModule",(function(){return it})),n.d(e,"OverlayOutsideClickDispatcher",(function(){return N})),n.d(e,"OverlayPositionBuilder",(function(){return Z})),n.d(e,"OverlayRef",(function(){return B})),n.d(e,"RepositionScrollStrategy",(function(){return S})),n.d(e,"ScrollStrategyOptions",(function(){return O})),n.d(e,"ScrollingVisibility",(function(){return I})),n.d(e,"validateHorizontalPosition",(function(){return T})),n.d(e,"validateVerticalPosition",(function(){return D})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_a",(function(){return R})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_b",(function(){return M})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_c",(function(){return L})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_d",(function(){return V})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_e",(function(){return X})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_f",(function(){return nt})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_g",(function(){return rt})),n.d(e,"\u0275angular_material_src_cdk_overlay_overlay_h",(function(){return j}));var r=n(30),i=n(0),o=n(9),s=n(23),a=n(1);n.d(e,"CdkScrollable",(function(){return r.a})),n.d(e,"ScrollDispatcher",(function(){return r.c})),n.d(e,"ViewportRuler",(function(){return r.e}));var c=n(14),u=n(75),l=n(13),d=n(20),h=n(130),p=n(74),f=n(92),m=n(436),g=n(32);class _{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(c.d)(-this._previousScrollPosition.left),t.style.top=Object(c.d)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=this._document.body,n=t.style,r=e.style,i=n.scrollBehavior||"",o=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),n.scrollBehavior=r.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),n.scrollBehavior=i,r.scrollBehavior=o}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function y(){return Error("Scroll strategy has already been attached.")}class b{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run((()=>this._overlayRef.detach()))}}attach(t){if(this._overlayRef&&("undefined"==typeof ngDevMode||ngDevMode))throw y();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function w(t,e){return e.some((e=>{const n=t.bottom<e.top,r=t.top>e.bottom,i=t.right<e.left,o=t.left>e.right;return n||r||i||o}))}function C(t,e){return e.some((e=>{const n=t.top<e.top,r=t.bottom>e.bottom,i=t.left<e.left,o=t.right>e.right;return n||r||i||o}))}class S{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){if(this._overlayRef&&("undefined"==typeof ngDevMode||ngDevMode))throw y();this._overlayRef=t}enable(){if(!this._scrollSubscription){const t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe((()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();w(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run((()=>this._overlayRef.detach())))}}))}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class O{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new v,this.close=t=>new b(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new _(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=r}}O.\u0275fac=function(t){return new(t||O)(i["\u0275\u0275inject"](r.c),i["\u0275\u0275inject"](r.e),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](a.DOCUMENT))},O.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new O(Object(i["\u0275\u0275inject"])(r.c),Object(i["\u0275\u0275inject"])(r.e),Object(i["\u0275\u0275inject"])(i.NgZone),Object(i["\u0275\u0275inject"])(a.DOCUMENT))},token:O,providedIn:"root"}),O.ctorParameters=()=>[{type:r.c},{type:r.e},{type:i.NgZone},{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]}];class E{constructor(t){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class x{constructor(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class I{}class k{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function D(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function T(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}k.ctorParameters=()=>[{type:x},{type:I,decorators:[{type:i.Optional}]}];class j{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}j.\u0275fac=function(t){return new(t||j)(i["\u0275\u0275inject"](a.DOCUMENT))},j.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new j(Object(i["\u0275\u0275inject"])(a.DOCUMENT))},token:j,providedIn:"root"}),j.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]}];class A extends j{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}function R(t,e){return t||new A(e)}A.\u0275fac=function(t){return new(t||A)(i["\u0275\u0275inject"](a.DOCUMENT))},A.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new A(Object(i["\u0275\u0275inject"])(a.DOCUMENT))},token:A,providedIn:"root"}),A.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]}];const M={provide:A,deps:[[new i.Optional,new i.SkipSelf,A],a.DOCUMENT],useFactory:R};class N extends j{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){const i=n[r];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(e))break;i._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}N.\u0275fac=function(t){return new(t||N)(i["\u0275\u0275inject"](a.DOCUMENT),i["\u0275\u0275inject"](o.a))},N.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new N(Object(i["\u0275\u0275inject"])(a.DOCUMENT),Object(i["\u0275\u0275inject"])(o.a))},token:N,providedIn:"root"}),N.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]},{type:o.a}];const P=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);class F{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:"undefined"!=typeof window,e="cdk-overlay-container";if(t||P){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const n=this._document.createElement("div");n.classList.add(e),P?n.setAttribute("platform","test"):t||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}function L(t,e){return t||new F(e)}F.\u0275fac=function(t){return new(t||F)(i["\u0275\u0275inject"](a.DOCUMENT),i["\u0275\u0275inject"](o.a))},F.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new F(Object(i["\u0275\u0275inject"])(a.DOCUMENT),Object(i["\u0275\u0275inject"])(o.a))},token:F,providedIn:"root"}),F.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]},{type:o.a}];const V={provide:F,deps:[[new i.Optional,new i.SkipSelf,F],a.DOCUMENT],useFactory:L};class B{constructor(t,e,n,r,i,o,s,a,c){this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new l.b,this._attachments=new l.b,this._detachments=new l.b,this._locationChanges=d.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new l.b,this._outsidePointerEvents=new l.b,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe((()=>{this.hasAttached()&&this.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((()=>this.dispose()))),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(c.d)(this._config.width),t.height=Object(c.d)(this._config.height),t.minWidth=Object(c.d)(this._config.minWidth),t.minHeight=Object(c.d)(this._config.minHeight),t.maxWidth=Object(c.d)(this._config.maxWidth),t.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((()=>{requestAnimationFrame((()=>{this._backdropElement&&this._backdropElement.classList.add(t)}))})):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((()=>{e.addEventListener("transitionend",n)})),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular((()=>setTimeout(n,500)))}_toggleClasses(t,e,n){const r=t.classList;Object(c.b)(e).forEach((t=>{t&&(n?r.add(t):r.remove(t))}))}_detachContentWhenStable(){this._ngZone.runOutsideAngular((()=>{const t=this._ngZone.onStable.pipe(Object(f.a)(Object(h.a)(this._attachments,this._detachments))).subscribe((()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())}))}))}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const U="cdk-overlay-connected-position-bounding-box",z=/([A-Za-z%]+)$/;class H{constructor(t,e,n,r,i){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new l.b,this._resizeSubscription=d.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add(U),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((()=>{this._isInitialRender=!0,this.apply()}))}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=[];let i;for(let o of this._preferredPositions){let s=this._getOriginPoint(t,o),a=this._getOverlayPoint(s,e,o),c=this._getOverlayFit(a,e,n,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,s);this._canFitWithFlexibleDimensions(c,a,n)?r.push({position:o,origin:s,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(s,o)}):(!i||i.overlayFit.visibleArea<c.visibleArea)&&(i={overlayFit:c,overlayPoint:a,originPoint:s,position:o,overlayRect:e})}if(r.length){let t=null,e=-1;for(const n of r){const r=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);r>e&&(e=r,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(U),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,r;if("center"==e.originX)n=t.left+t.width/2;else{const r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return r="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:r}}_getOverlayPoint(t,e,n){let r,i;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+i}}_getOverlayFit(t,e,n,r){let{x:i,y:o}=t,s=this._getOffset(r,"x"),a=this._getOffset(r,"y");s&&(i+=s),a&&(o+=a);let c=0-i,u=i+e.width-n.width,l=0-o,d=o+e.height-n.height,h=this._subtractOverflows(e.width,c,u),p=this._subtractOverflows(e.height,l,d),f=h*p;return{visibleArea:f,isCompletelyWithinViewport:e.width*e.height===f,fitsInViewportVertically:p===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,i=n.right-e.x,o=G(this._overlayRef.getConfig().minHeight),s=G(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportVertically||null!=o&&o<=r,c=t.fitsInViewportHorizontally||null!=s&&s<=i;return a&&c}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=this._viewportRect,i=Math.max(t.x+e.width-r.width,0),o=Math.max(t.y+e.height-r.height,0),s=Math.max(r.top-n.top-t.y,0),a=Math.max(r.left-n.left-t.x,0);let c=0,u=0;return c=e.width<=r.width?a||-i:t.x<this._viewportMargin?r.left-n.left-t.x:0,u=e.height<=r.height?s||-o:t.y<this._viewportMargin?r.top-n.top-t.y:0,this._previousPushAmount={x:c,y:u},{x:t.x+c,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new k(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let t=0;t<e.length;t++)e[t].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,r=this._isRtl();let i,o,s;if("top"===e.overlayY)o=t.y,i=n.height-o+this._viewportMargin;else if("bottom"===e.overlayY)s=n.height-t.y+2*this._viewportMargin,i=n.height-s+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),r=this._lastBoundingBoxSize.height;i=2*e,o=t.y-e,i>r&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.y-r/2)}const a="start"===e.overlayX&&!r||"end"===e.overlayX&&r;let c,u,l;if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)l=n.width-t.x+this._viewportMargin,c=t.x-this._viewportMargin;else if(a)u=t.x,c=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),r=this._lastBoundingBoxSize.width;c=2*e,u=t.x-e,c>r&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-r/2)}return{top:o,left:u,bottom:s,right:l,width:c,height:i}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;r.height=Object(c.d)(n.height),r.top=Object(c.d)(n.top),r.bottom=Object(c.d)(n.bottom),r.width=Object(c.d)(n.width),r.left=Object(c.d)(n.left),r.right=Object(c.d)(n.right),"center"===e.overlayX?r.alignItems="center":r.alignItems="end"===e.overlayX?"flex-end":"flex-start","center"===e.overlayY?r.justifyContent="center":r.justifyContent="bottom"===e.overlayY?"flex-end":"flex-start",t&&(r.maxHeight=Object(c.d)(t)),i&&(r.maxWidth=Object(c.d)(i))}this._lastBoundingBoxSize=n,$(this._boundingBox.style,r)}_resetBoundingBoxStyles(){$(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){const r=this._viewportRuler.getViewportScrollPosition();$(n,this._getExactOverlayY(e,t,r)),$(n,this._getExactOverlayX(e,t,r))}else n.position="static";let s="",a=this._getOffset(e,"x"),u=this._getOffset(e,"y");a&&(s+=`translateX(${a}px) `),u&&(s+=`translateY(${u}px)`),n.transform=s.trim(),o.maxHeight&&(r?n.maxHeight=Object(c.d)(o.maxHeight):i&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=Object(c.d)(o.maxWidth):i&&(n.maxWidth="")),$(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;if(i.y-=o,"bottom"===t.overlayY){const t=this._document.documentElement.clientHeight;r.bottom=t-(i.y+this._overlayRect.height)+"px"}else r.top=Object(c.d)(i.y);return r}_getExactOverlayX(t,e,n){let r,i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),r=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===r){const t=this._document.documentElement.clientWidth;i.right=t-(o.x+this._overlayRect.width)+"px"}else i.left=Object(c.d)(o.x);return i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((t=>t.getElementRef().nativeElement.getBoundingClientRect()));return{isOriginClipped:C(t,n),isOriginOutsideView:w(t,n),isOverlayClipped:C(e,n),isOverlayOutsideView:w(e,n)}}_subtractOverflows(t,...e){return e.reduce(((t,e)=>t-Math.max(e,0)),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if("undefined"==typeof ngDevMode||ngDevMode){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((t=>{T("originX",t.originX),D("originY",t.originY),T("overlayX",t.overlayX),D("overlayY",t.overlayY)}))}}_addPanelClasses(t){this._pane&&Object(c.b)(t).forEach((t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))}))}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach((t=>{this._pane.classList.remove(t)})),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof i.ElementRef)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function $(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function G(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(z);return n&&"px"!==n?null:parseFloat(e)}return t||null}class q{constructor(t,e,n,r,i,o,s){this._preferredPositions=[],this._positionStrategy=new H(n,r,i,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,r){const i=new x(t,e,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const W="cdk-global-overlay-wrapper";class Y{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(W),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:i,maxWidth:o,maxHeight:s}=n,a=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==i&&"100vh"!==i||s&&"100%"!==s&&"100vh"!==s);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(W),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}class Z{constructor(t,e,n,r){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=r}global(){return new Y}connectedTo(t,e,n){return new q(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new H(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}Z.\u0275fac=function(t){return new(t||Z)(i["\u0275\u0275inject"](r.e),i["\u0275\u0275inject"](a.DOCUMENT),i["\u0275\u0275inject"](o.a),i["\u0275\u0275inject"](F))},Z.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new Z(Object(i["\u0275\u0275inject"])(r.e),Object(i["\u0275\u0275inject"])(a.DOCUMENT),Object(i["\u0275\u0275inject"])(o.a),Object(i["\u0275\u0275inject"])(F))},token:Z,providedIn:"root"}),Z.ctorParameters=()=>[{type:r.e},{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]},{type:o.a},{type:F}];let K=0;class Q{constructor(t,e,n,r,i,o,s,a,c,u,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=s,this._document=a,this._directionality=c,this._location=u,this._outsideClickDispatcher=l}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),r=this._createPortalOutlet(n),i=new E(t);return i.direction=i.direction||this._directionality.value,new B(r,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+K++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(i.ApplicationRef)),new u.d(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}Q.\u0275fac=function(t){return new(t||Q)(i["\u0275\u0275inject"](O),i["\u0275\u0275inject"](F),i["\u0275\u0275inject"](i.ComponentFactoryResolver),i["\u0275\u0275inject"](Z),i["\u0275\u0275inject"](A),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](a.DOCUMENT),i["\u0275\u0275inject"](s.b),i["\u0275\u0275inject"](a.Location),i["\u0275\u0275inject"](N))},Q.\u0275prov=i["\u0275\u0275defineInjectable"]({token:Q,factory:Q.\u0275fac}),Q.ctorParameters=()=>[{type:O},{type:F},{type:i.ComponentFactoryResolver},{type:Z},{type:A},{type:i.Injector},{type:i.NgZone},{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]},{type:s.b},{type:a.Location},{type:N}];const J=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],X=new i.InjectionToken("cdk-connected-overlay-scroll-strategy");class tt{constructor(t){this.elementRef=t}}tt.\u0275fac=function(t){return new(t||tt)(i["\u0275\u0275directiveInject"](i.ElementRef))},tt.\u0275dir=i["\u0275\u0275defineDirective"]({type:tt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),tt.ctorParameters=()=>[{type:i.ElementRef}];class et{constructor(t,e,n,r,o){this._overlay=t,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.a.EMPTY,this._attachSubscription=d.a.EMPTY,this._detachSubscription=d.a.EMPTY,this._positionSubscription=d.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new i.EventEmitter,this.positionChange=new i.EventEmitter,this.attach=new i.EventEmitter,this.detach=new i.EventEmitter,this.overlayKeydown=new i.EventEmitter,this.overlayOutsideClick=new i.EventEmitter,this._templatePortal=new u.f(e,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=Object(c.c)(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=Object(c.c)(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=Object(c.c)(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=Object(c.c)(t)}get push(){return this._push}set push(t){this._push=Object(c.c)(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=J);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe((()=>this.attach.emit())),this._detachSubscription=t.detachments().subscribe((()=>this.detach.emit())),t.keydownEvents().subscribe((t=>{this.overlayKeydown.next(t),t.keyCode!==g.e||Object(g.o)(t)||(t.preventDefault(),this._detachOverlay())})),this._overlayRef.outsidePointerEvents().subscribe((t=>{this.overlayOutsideClick.next(t)}))}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new E({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map((t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0})));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((t=>{this.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Object(m.a)((()=>this.positionChange.observers.length>0))).subscribe((t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}function nt(t){return()=>t.scrollStrategies.reposition()}et.\u0275fac=function(t){return new(t||et)(i["\u0275\u0275directiveInject"](Q),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](X),i["\u0275\u0275directiveInject"](s.b,8))},et.\u0275dir=i["\u0275\u0275defineDirective"]({type:et,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i["\u0275\u0275NgOnChangesFeature"]]}),et.ctorParameters=()=>[{type:Q},{type:i.TemplateRef},{type:i.ViewContainerRef},{type:void 0,decorators:[{type:i.Inject,args:[X]}]},{type:s.b,decorators:[{type:i.Optional}]}],et.propDecorators={origin:[{type:i.Input,args:["cdkConnectedOverlayOrigin"]}],positions:[{type:i.Input,args:["cdkConnectedOverlayPositions"]}],positionStrategy:[{type:i.Input,args:["cdkConnectedOverlayPositionStrategy"]}],offsetX:[{type:i.Input,args:["cdkConnectedOverlayOffsetX"]}],offsetY:[{type:i.Input,args:["cdkConnectedOverlayOffsetY"]}],width:[{type:i.Input,args:["cdkConnectedOverlayWidth"]}],height:[{type:i.Input,args:["cdkConnectedOverlayHeight"]}],minWidth:[{type:i.Input,args:["cdkConnectedOverlayMinWidth"]}],minHeight:[{type:i.Input,args:["cdkConnectedOverlayMinHeight"]}],backdropClass:[{type:i.Input,args:["cdkConnectedOverlayBackdropClass"]}],panelClass:[{type:i.Input,args:["cdkConnectedOverlayPanelClass"]}],viewportMargin:[{type:i.Input,args:["cdkConnectedOverlayViewportMargin"]}],scrollStrategy:[{type:i.Input,args:["cdkConnectedOverlayScrollStrategy"]}],open:[{type:i.Input,args:["cdkConnectedOverlayOpen"]}],transformOriginSelector:[{type:i.Input,args:["cdkConnectedOverlayTransformOriginOn"]}],hasBackdrop:[{type:i.Input,args:["cdkConnectedOverlayHasBackdrop"]}],lockPosition:[{type:i.Input,args:["cdkConnectedOverlayLockPosition"]}],flexibleDimensions:[{type:i.Input,args:["cdkConnectedOverlayFlexibleDimensions"]}],growAfterOpen:[{type:i.Input,args:["cdkConnectedOverlayGrowAfterOpen"]}],push:[{type:i.Input,args:["cdkConnectedOverlayPush"]}],backdropClick:[{type:i.Output}],positionChange:[{type:i.Output}],attach:[{type:i.Output}],detach:[{type:i.Output}],overlayKeydown:[{type:i.Output}],overlayOutsideClick:[{type:i.Output}]};const rt={provide:X,deps:[Q],useFactory:nt};class it{}it.\u0275mod=i["\u0275\u0275defineNgModule"]({type:it}),it.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||it)},providers:[Q,rt],imports:[[s.a,u.e,r.d],r.d]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](it,{declarations:function(){return[et,tt]},imports:function(){return[s.a,u.e,r.d]},exports:function(){return[et,tt,r.d]}});const ot=[Q,Z,M,V,rt];class st extends F{constructor(t,e){super(t,e)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener((()=>this._adjustParentForFullscreenChange()))}_adjustParentForFullscreenChange(){if(!this._containerElement)return;(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(t){const e=this._getEventName();e&&(this._fullScreenListener&&this._document.removeEventListener(e,this._fullScreenListener),this._document.addEventListener(e,t),this._fullScreenListener=t)}_getEventName(){if(!this._fullScreenEventName){const t=this._document;t.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":t.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":t.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":t.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const t=this._document;return t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||null}}st.\u0275fac=function(t){return new(t||st)(i["\u0275\u0275inject"](a.DOCUMENT),i["\u0275\u0275inject"](o.a))},st.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new st(Object(i["\u0275\u0275inject"])(a.DOCUMENT),Object(i["\u0275\u0275inject"])(o.a))},token:st,providedIn:"root"}),st.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[a.DOCUMENT]}]},{type:o.a}]},function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return s})),n.d(e,"k",(function(){return r})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return g})),n.d(e,"n",(function(){return p})),n.d(e,"o",(function(){return _}));const r=9,i=13,o=27,s=32,a=35,c=36,u=37,l=38,d=39,h=40,p=48,f=57,m=65,g=90;function _(t,...e){return e.length?e.some((e=>t[e])):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return m})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return d}));var r=n(304),i=n(25),o=n(15),s=n(91);function a(t,e,n){if(!(e in t))return;const r=t[e],i=n(r);"function"==typeof i&&u(i,r),t[e]=i}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.c.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function l(t){return t.__sentry_original__}function d(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function h(t){if(Object(i.d)(t))return{message:t.message,name:t.name,stack:t.stack,...f(t)};if(Object(i.f)(t)){const e={type:t.type,target:p(t.target),currentTarget:p(t.currentTarget),...f(t)};return"undefined"!=typeof CustomEvent&&Object(i.g)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function p(t){try{return Object(i.c)(t)?Object(r.c)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function f(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function m(t,e=40){const n=Object.keys(h(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(s.d)(n[0],e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:Object(s.d)(r,e)}return""}function g(t){return _(t,new Map)}function _(t,e){if(Object(i.i)(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.keys(t))void 0!==t[n]&&(r[n]=_(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(_(t,e))})),r}return t}},,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return o}));var r=n(33),i=(n(91),n(47));function o(){const t=i.a,e=t.crypto||t.msCrypto;let n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>e.getRandomValues(new Uint8Array(1))[0])}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function s(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=s(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=s(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function l(t){if(t&&t.__sentry_captured__)return!0;try{Object(r.a)(t,"__sentry_captured__",!0)}catch(t){}return!1}function d(t){return Array.isArray(t)?t:[t]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(10),i=n(137),o=n(364);function s(t,e){return e?Object(o.a)(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return c}));var r=n(131),i=n(19),o=n(13),s=n(0);class a{}function c(t){return t&&"function"==typeof t.connect}class u extends a{constructor(t){super(),this._data=t}connect(){return Object(r.a)(this._data)?this._data:Object(i.a)(this._data)}disconnect(){}}class l{applyChanges(t,e,n,r,i){t.forEachOperation(((t,r,o)=>{let s,a;if(null==t.previousIndex){const i=n(t,r,o);s=e.createEmbeddedView(i.templateRef,i.context,i.index),a=1}else null==o?(e.remove(r),a=3):(s=e.get(r),e.move(s,o),a=2);i&&i({context:null==s?void 0:s.context,operation:a,record:t})}))}detach(){}}class d{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,r,i){t.forEachOperation(((t,o,s)=>{let a,c;if(null==t.previousIndex){const i=()=>n(t,o,s);a=this._insertView(i,s,e,r(t)),c=a?1:0}else null==s?(this._detachAndCacheView(o,e),c=3):(a=this._moveView(o,s,e,r(t)),c=2);i&&i({context:null==a?void 0:a.context,operation:c,record:t})}))}detach(){for(const t of this._viewCache)t.destroy()}_insertView(t,e,n,r){let i=this._insertViewFromCache(e,n);if(i)return void(i.context.$implicit=r);const o=t();return n.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(t,e){const n=this._detachView(t,e);this._maybeCacheView(n,e)}_moveView(t,e,n,r){const i=n.get(t);return n.move(i,e),i.context.$implicit=r,i}_maybeCacheView(t,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{const n=e.indexOf(t);-1===n?t.destroy():e.remove(n)}}_insertViewFromCache(t,e){const n=this._viewCache.pop();return n&&e.insert(n,t),n||null}_detachView(t,e){return e.detach(t)}}class h{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new o.b,e&&e.length&&(t?e.forEach((t=>this._markSelected(t))):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach((t=>this._markSelected(t))),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach((t=>this._unmarkSelected(t))),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach((t=>this._unmarkSelected(t)))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}class p{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter((e=>t!==e))}}ngOnDestroy(){this._listeners=[]}}p.\u0275fac=function(t){return new(t||p)},p.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new p},token:p,providedIn:"root"});const f=new s.InjectionToken("_ViewRepeater")},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.a)},function(t,e,n){"use strict";(function(t){function r(t){return t&&t.Math==Math?t:void 0}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s}));const i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof t&&r(t)||function(){return this}()||{};function o(){return i}function s(t,e,n){const r=n||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}}).call(this,n(177))},,function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r=n(154),i=new(n(119).a)(r.a),o=i},function(t,e,n){"use strict";n.r(e),n.d(e,"ANIMATION_MODULE_TYPE",(function(){return w})),n.d(e,"BrowserAnimationsModule",(function(){return E})),n.d(e,"NoopAnimationsModule",(function(){return x})),n.d(e,"\u0275AnimationRenderer",(function(){return g})),n.d(e,"\u0275AnimationRendererFactory",(function(){return f})),n.d(e,"\u0275BrowserAnimationBuilder",(function(){return c})),n.d(e,"\u0275BrowserAnimationFactory",(function(){return u})),n.d(e,"\u0275InjectableAnimationEngine",(function(){return _})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_a",(function(){return y})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_b",(function(){return b})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_c",(function(){return v})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_d",(function(){return S})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_e",(function(){return O})),n.d(e,"\u0275angular_packages_platform_browser_animations_animations_f",(function(){return m}));var r=n(0),i=n(80),o=n(5),s=n(68),a=n(1);class c extends o.AnimationBuilder{constructor(t,e){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,n)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(o.sequence)(t):t;return d(this._renderer,null,e,"register",[n]),new u(e,this._renderer)}}c.\u0275fac=function(t){return new(t||c)(r["\u0275\u0275inject"](r.RendererFactory2),r["\u0275\u0275inject"](a.DOCUMENT))},c.\u0275prov=r["\u0275\u0275defineInjectable"]({token:c,factory:c.\u0275fac}),c.ctorParameters=()=>[{type:r.RendererFactory2},{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]}];class u extends o.AnimationFactory{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new l(this._id,t,e||{},this._renderer)}}class l{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return d(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function d(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const h="@",p="@.disabled";class f{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new m("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(r,i,t,e.name,e)};return e.data.animation.forEach(o),new g(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run((()=>e(n))):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}f.\u0275fac=function(t){return new(t||f)(r["\u0275\u0275inject"](r.RendererFactory2),r["\u0275\u0275inject"](s.b),r["\u0275\u0275inject"](r.NgZone))},f.\u0275prov=r["\u0275\u0275defineInjectable"]({token:f,factory:f.\u0275fac}),f.ctorParameters=()=>[{type:r.RendererFactory2},{type:s.b},{type:r.NgZone}];class m{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==h&&e==p?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class g extends m{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==h?"."==e.charAt(1)&&e==p?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==h){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),o="";return i.charAt(0)!=h&&([i,o]=function(t){const e=t.indexOf("."),n=t.substring(0,e),r=t.substr(e+1);return[n,r]}(i)),this.engine.listen(this.namespaceId,r,i,o,(t=>{const e=t._data||-1;this.factory.scheduleListenerCallback(e,n,t)}))}return this.delegate.listen(t,e,n)}}class _ extends s.b{constructor(t,e,n){super(t.body,e,n)}}function y(){return Object(s.h)()?new s.f:new s.d}function b(){return new s.g}function v(t,e,n){return new f(t,e,n)}_.\u0275fac=function(t){return new(t||_)(r["\u0275\u0275inject"](a.DOCUMENT),r["\u0275\u0275inject"](s.a),r["\u0275\u0275inject"](s.c))},_.\u0275prov=r["\u0275\u0275defineInjectable"]({token:_,factory:_.\u0275fac}),_.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[a.DOCUMENT]}]},{type:s.a},{type:s.c}];const w=new r.InjectionToken("AnimationModuleType"),C=[{provide:o.AnimationBuilder,useClass:c},{provide:s.c,useFactory:b},{provide:s.b,useClass:_},{provide:r.RendererFactory2,useFactory:v,deps:[i["\u0275DomRendererFactory2"],s.b,r.NgZone]}],S=[{provide:s.a,useFactory:y},{provide:w,useValue:"BrowserAnimations"},...C],O=[{provide:s.a,useClass:s.e},{provide:w,useValue:"NoopAnimations"},...C];class E{}E.\u0275mod=r["\u0275\u0275defineNgModule"]({type:E}),E.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||E)},providers:S,imports:[i.BrowserModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](E,{exports:function(){return[i.BrowserModule]}});class x{}x.\u0275mod=r["\u0275\u0275defineNgModule"]({type:x}),x.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||x)},providers:O,imports:[i.BrowserModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](x,{exports:function(){return[i.BrowserModule]}})},,,function(t,e,n){"use strict";n.r(e),n.d(e,"AbstractControl",(function(){return Ot})),n.d(e,"AbstractControlDirective",(function(){return f})),n.d(e,"AbstractFormGroupDirective",(function(){return jt})),n.d(e,"COMPOSITION_BUFFER_MODE",(function(){return h})),n.d(e,"CheckboxControlValueAccessor",(function(){return l})),n.d(e,"CheckboxRequiredValidator",(function(){return ee})),n.d(e,"ControlContainer",(function(){return m})),n.d(e,"DefaultValueAccessor",(function(){return p})),n.d(e,"EmailValidator",(function(){return ie})),n.d(e,"FormArray",(function(){return It})),n.d(e,"FormArrayName",(function(){return Yt})),n.d(e,"FormBuilder",(function(){return me})),n.d(e,"FormControl",(function(){return Et})),n.d(e,"FormControlDirective",(function(){return zt})),n.d(e,"FormControlName",(function(){return Qt})),n.d(e,"FormGroup",(function(){return xt})),n.d(e,"FormGroupDirective",(function(){return $t})),n.d(e,"FormGroupName",(function(){return qt})),n.d(e,"FormsModule",(function(){return _e})),n.d(e,"MaxLengthValidator",(function(){return ce})),n.d(e,"MinLengthValidator",(function(){return se})),n.d(e,"NG_ASYNC_VALIDATORS",(function(){return x})),n.d(e,"NG_VALIDATORS",(function(){return E})),n.d(e,"NG_VALUE_ACCESSOR",(function(){return c})),n.d(e,"NgControl",(function(){return y})),n.d(e,"NgControlStatus",(function(){return w})),n.d(e,"NgControlStatusGroup",(function(){return C})),n.d(e,"NgForm",(function(){return Tt})),n.d(e,"NgModel",(function(){return Lt})),n.d(e,"NgModelGroup",(function(){return Nt})),n.d(e,"NgSelectOption",(function(){return K})),n.d(e,"NumberValueAccessor",(function(){return N})),n.d(e,"PatternValidator",(function(){return le})),n.d(e,"RadioControlValueAccessor",(function(){return L})),n.d(e,"RangeValueAccessor",(function(){return B})),n.d(e,"ReactiveFormsModule",(function(){return ye})),n.d(e,"RequiredValidator",(function(){return te})),n.d(e,"SelectControlValueAccessor",(function(){return Z})),n.d(e,"SelectMultipleControlValueAccessor",(function(){return X})),n.d(e,"VERSION",(function(){return ge})),n.d(e,"Validators",(function(){return k})),n.d(e,"\u0275InternalFormsSharedModule",(function(){return fe})),n.d(e,"\u0275NgNoValidate",(function(){return Vt})),n.d(e,"\u0275NgSelectMultipleOption",(function(){return tt})),n.d(e,"\u0275angular_packages_forms_forms_a",(function(){return de})),n.d(e,"\u0275angular_packages_forms_forms_b",(function(){return he})),n.d(e,"\u0275angular_packages_forms_forms_ba",(function(){return Xt})),n.d(e,"\u0275angular_packages_forms_forms_bb",(function(){return re})),n.d(e,"\u0275angular_packages_forms_forms_bc",(function(){return oe})),n.d(e,"\u0275angular_packages_forms_forms_bd",(function(){return ae})),n.d(e,"\u0275angular_packages_forms_forms_be",(function(){return ue})),n.d(e,"\u0275angular_packages_forms_forms_c",(function(){return pe})),n.d(e,"\u0275angular_packages_forms_forms_d",(function(){return fe})),n.d(e,"\u0275angular_packages_forms_forms_e",(function(){return u})),n.d(e,"\u0275angular_packages_forms_forms_f",(function(){return d})),n.d(e,"\u0275angular_packages_forms_forms_g",(function(){return b})),n.d(e,"\u0275angular_packages_forms_forms_h",(function(){return v})),n.d(e,"\u0275angular_packages_forms_forms_i",(function(){return kt})),n.d(e,"\u0275angular_packages_forms_forms_j",(function(){return Pt})),n.d(e,"\u0275angular_packages_forms_forms_k",(function(){return Mt})),n.d(e,"\u0275angular_packages_forms_forms_l",(function(){return M})),n.d(e,"\u0275angular_packages_forms_forms_m",(function(){return P})),n.d(e,"\u0275angular_packages_forms_forms_n",(function(){return F})),n.d(e,"\u0275angular_packages_forms_forms_o",(function(){return V})),n.d(e,"\u0275angular_packages_forms_forms_p",(function(){return Bt})),n.d(e,"\u0275angular_packages_forms_forms_q",(function(){return Ut})),n.d(e,"\u0275angular_packages_forms_forms_r",(function(){return Kt})),n.d(e,"\u0275angular_packages_forms_forms_s",(function(){return Ht})),n.d(e,"\u0275angular_packages_forms_forms_t",(function(){return Gt})),n.d(e,"\u0275angular_packages_forms_forms_u",(function(){return Wt})),n.d(e,"\u0275angular_packages_forms_forms_v",(function(){return W})),n.d(e,"\u0275angular_packages_forms_forms_w",(function(){return Q})),n.d(e,"\u0275angular_packages_forms_forms_x",(function(){return tt})),n.d(e,"\u0275angular_packages_forms_forms_y",(function(){return Vt})),n.d(e,"\u0275angular_packages_forms_forms_z",(function(){return Jt}));var r=n(0),i=n(1),o=n(369),s=n(43),a=n(21);const c=new r.InjectionToken("NgValueAccessor"),u={provide:c,useExisting:Object(r.forwardRef)((()=>l)),multi:!0};class l{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}l.\u0275fac=function(t){return new(t||l)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},l.\u0275dir=r["\u0275\u0275defineDirective"]({type:l,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([u])]}),l.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}];const d={provide:c,useExisting:Object(r.forwardRef)((()=>p)),multi:!0};const h=new r.InjectionToken("CompositionEventMode");class p{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(i["\u0275getDOM"])()?Object(i["\u0275getDOM"])().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}p.\u0275fac=function(t){return new(t||p)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](h,8))},p.\u0275dir=r["\u0275\u0275defineDirective"]({type:p,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(t,e){1&t&&r["\u0275\u0275listener"]("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[r["\u0275\u0275ProvidersFeature"]([d])]}),p.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:Boolean,decorators:[{type:r.Optional},{type:r.Inject,args:[h]}]}];class f{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}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}f.\u0275fac=function(t){return new(t||f)},f.\u0275dir=r["\u0275\u0275defineDirective"]({type:f});class m extends f{get formDirective(){return null}get path(){return null}}m.\u0275fac=function(t){return g(t||m)},m.\u0275dir=r["\u0275\u0275defineDirective"]({type:m,features:[r["\u0275\u0275InheritDefinitionFeature"]]});const g=r["\u0275\u0275getInheritedFactory"](m);function _(){if("undefined"==typeof ngDevMode||ngDevMode)throw new Error("unimplemented")}class y extends f{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return _()}get asyncValidator(){return _()}}class b{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}const v={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"};class w extends b{constructor(t){super(t)}}w.\u0275fac=function(t){return new(t||w)(r["\u0275\u0275directiveInject"](y,2))},w.\u0275dir=r["\u0275\u0275defineDirective"]({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),w.ctorParameters=()=>[{type:y,decorators:[{type:r.Self}]}];class C extends b{constructor(t){super(t)}}function S(t){return null==t||0===t.length}function O(t){return null!=t&&"number"==typeof t.length}C.\u0275fac=function(t){return new(t||C)(r["\u0275\u0275directiveInject"](m,2))},C.\u0275dir=r["\u0275\u0275defineDirective"]({type:C,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),C.ctorParameters=()=>[{type:m,decorators:[{type:r.Self}]}];const E=new r.InjectionToken("NgValidators"),x=new r.InjectionToken("NgAsyncValidators"),I=/^(?=.{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 k{static min(t){return e=>{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return S(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return S(t.value)||I.test(t.value)?null:{email:!0}}static minLength(t){return e=>S(e.value)||!O(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>O(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return k.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(S(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(D);return 0==e.length?null:function(t){return j(A(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(D);return 0==e.length?null:function(t){const n=A(t,e).map(T);return Object(o.a)(n).pipe(Object(a.a)(j))}}}function D(t){return null!=t}function T(t){const e=Object(r["\u0275isPromise"])(t)?Object(s.a)(t):t;if(!Object(r["\u0275isObservable"])(e)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("Expected validator to return Promise or Observable.");return e}function j(t){let e={};return t.forEach((t=>{e=null!=t?Object.assign(Object.assign({},e),t):e})),0===Object.keys(e).length?null:e}function A(t,e){return e.map((e=>e(t)))}function R(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}const M={provide:c,useExisting:Object(r.forwardRef)((()=>N)),multi:!0};class N{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){const e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}N.\u0275fac=function(t){return new(t||N)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},N.\u0275dir=r["\u0275\u0275defineDirective"]({type:N,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([M])]}),N.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}];const P={provide:c,useExisting:Object(r.forwardRef)((()=>L)),multi:!0};class F{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)}}F.\u0275fac=function(t){return new(t||F)},F.\u0275prov=r["\u0275\u0275defineInjectable"]({token:F,factory:F.\u0275fac});class L{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(y),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_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: <input type="radio" formControlName="food" name="food">\n ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}}L.\u0275fac=function(t){return new(t||L)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](F),r["\u0275\u0275directiveInject"](r.Injector))},L.\u0275dir=r["\u0275\u0275defineDirective"]({type:L,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r["\u0275\u0275ProvidersFeature"]([P])]}),L.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:F},{type:r.Injector}],L.propDecorators={name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]};const V={provide:c,useExisting:Object(r.forwardRef)((()=>B)),multi:!0};class B{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}B.\u0275fac=function(t){return new(t||B)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},B.\u0275dir=r["\u0275\u0275defineDirective"]({type:B,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r["\u0275\u0275ProvidersFeature"]([V])]}),B.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}];const U='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',z='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',H='\n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',$='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',G='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ';class q{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 ${U}`)}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 ${$}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${U}`)}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 ${H}`)}static disabledAttrWarning(){}static ngModelWarning(t){}}const W={provide:c,useExisting:Object(r.forwardRef)((()=>Z)),multi:!0};function Y(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class Z{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){if("function"!=typeof t&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Y(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}Z.\u0275fac=function(t){return new(t||Z)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},Z.\u0275dir=r["\u0275\u0275defineDirective"]({type:Z,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([W])]}),Z.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],Z.propDecorators={compareWith:[{type:r.Input}]};class K{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Y(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}K.\u0275fac=function(t){return new(t||K)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](Z,9))},K.\u0275dir=r["\u0275\u0275defineDirective"]({type:K,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),K.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:Z,decorators:[{type:r.Optional},{type:r.Host}]}],K.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]};const Q={provide:c,useExisting:Object(r.forwardRef)((()=>X)),multi:!0};function J(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}class X{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){if("function"!=typeof t&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error(`compareWith must be a function, but received ${JSON.stringify(t)}`);this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map((t=>this._getOptionId(t)));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}X.\u0275fac=function(t){return new(t||X)(r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},X.\u0275dir=r["\u0275\u0275defineDirective"]({type:X,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r["\u0275\u0275ProvidersFeature"]([Q])]}),X.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}],X.propDecorators={compareWith:[{type:r.Input}]};class tt{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(J(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(J(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function et(t,e){return[...e.path,t]}function nt(t,e){("undefined"==typeof ngDevMode||ngDevMode)&&(t||st(e,"Cannot find control with"),e.valueAccessor||st(e,"No value accessor for form control with")),t.validator=k.compose([t.validator,e.validator]),t.asyncValidator=k.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange((n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&it(t,e)}))}(t,e),function(t,e){t.registerOnChange(((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}))}(t,e),function(t,e){e.valueAccessor.registerOnTouched((()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&it(t,e),"submit"!==t.updateOn&&t.markAsTouched()}))}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange((t=>{e.valueAccessor.setDisabledState(t)})),e._rawValidators.forEach((e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange((()=>t.updateValueAndValidity()))})),e._rawAsyncValidators.forEach((e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange((()=>t.updateValueAndValidity()))}))}function rt(t,e){const n=()=>{("undefined"==typeof ngDevMode||ngDevMode)&&function(t){st(t,"There is no FormControl instance attached to form control element with")}(e)};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),e._rawValidators.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}function it(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function ot(t,e){null!=t||"undefined"!=typeof ngDevMode&&!ngDevMode||st(e,"Cannot find control with"),t.validator=k.compose([t.validator,e.validator]),t.asyncValidator=k.composeAsync([t.asyncValidator,e.asyncValidator])}function st(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function at(t){return null!=t?k.compose(R(t)):null}function ct(t){return null!=t?k.composeAsync(R(t)):null}function ut(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}tt.\u0275fac=function(t){return new(t||tt)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](X,9))},tt.\u0275dir=r["\u0275\u0275defineDirective"]({type:tt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),tt.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:X,decorators:[{type:r.Optional},{type:r.Host}]}],tt.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]};const lt=[l,B,N,Z,X,L];function dt(t,e){t._syncPendingControls(),e.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function ht(t,e){if(!e)return null;let n,r,i;return Array.isArray(e)||"undefined"!=typeof ngDevMode&&!ngDevMode||st(t,"Value accessor was not provided as an array for form control with"),e.forEach((e=>{var o;e.constructor===p?n=e:(o=e,lt.some((t=>o.constructor===t))?(r&&("undefined"==typeof ngDevMode||ngDevMode)&&st(t,"More than one built-in value accessor matches form control with"),r=e):(i&&("undefined"==typeof ngDevMode||ngDevMode)&&st(t,"More than one custom value accessor matches form control with"),i=e))})),i||(r||(n||(("undefined"==typeof ngDevMode||ngDevMode)&&st(t,"No valid value accessor for form control with"),null)))}function pt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ft(t,e,n,i){Object(r.isDevMode)()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(("undefined"==typeof ngDevMode||ngDevMode)&&q.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const mt="VALID",gt="INVALID",_t="PENDING",yt="DISABLED";function bt(t){return(St(t)?t.validators:t)||null}function vt(t){return Array.isArray(t)?at(t):t||null}function wt(t,e){return(St(e)?e.asyncValidators:t)||null}function Ct(t){return Array.isArray(t)?ct(t):t||null}function St(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class Ot{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=vt(this._rawValidators),this._composedAsyncValidatorFn=Ct(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===mt}get invalid(){return this.status===gt}get pending(){return this.status==_t}get disabled(){return this.status===yt}get enabled(){return this.status!==yt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=vt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Ct(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild((t=>t.markAllAsTouched()))}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild((t=>{t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild((t=>{t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=_t,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=yt,this.errors=null,this._forEachChild((e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=mt,this._forEachChild((e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((t=>t(!1)))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==mt&&this.status!==_t||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild((e=>e._updateTreeValidity(t))),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yt:mt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=_t,this._hasOwnPendingAsyncValidator=!0;const e=T(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe((e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(n)),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach((t=>{r=r instanceof xt?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof It&&r.at(t)||null})),r}(this,t,".")}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?yt:this.errors?gt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_t)?_t:this._anyControlsHaveStatus(gt)?gt:mt}_anyControlsHaveStatus(t){return this._anyControls((e=>e.status===t))}_anyControlsDirty(){return this._anyControls((t=>t.dirty))}_anyControlsTouched(){return this._anyControls((t=>t.touched))}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){St(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&e&&!this._parent._anyControlsDirty()}}class Et extends Ot{constructor(t=null,e,n){super(bt(e),wt(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach((t=>t(this.value,!1!==e.emitViewToModelChange))),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class xt extends Ot{constructor(t,e,n){super(bt(e),wt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach((n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach((n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild(((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e instanceof Et?e.value:e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach((e=>t(this.controls[e],e)))}_setUpControls(){this._forEachChild((t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}))}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},((t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t)))}_reduceChildren(t,e){let n=t;return this._forEachChild(((t,r)=>{n=e(n,t,r)})),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild(((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)}))}}class It extends Ot{constructor(t,e,n){super(bt(e),wt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((()=>{})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach(((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach(((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild(((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map((t=>t instanceof Et?t.value:t.getRawValue()))}clear(){this.controls.length<1||(this._forEachChild((t=>t._registerOnCollectionChange((()=>{})))),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce(((t,e)=>!!e._syncPendingControls()||t),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach(((e,n)=>{t(e,n)}))}_updateValue(){this.value=this.controls.filter((t=>t.enabled||this.disabled)).map((t=>t.value))}_anyControls(t){return this.controls.some((e=>e.enabled&&t(e)))}_setUpControls(){this._forEachChild((t=>this._registerControl(t)))}_checkAllValuesPresent(t){this._forEachChild(((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)}))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const kt={provide:m,useExisting:Object(r.forwardRef)((()=>Tt))},Dt=Promise.resolve(null);class Tt extends m{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new xt({},at(t),ct(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Dt.then((()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),nt(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)}))}getControl(t){return this.form.get(t.path)}removeControl(t){Dt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),pt(this._directives,t)}))}addFormGroup(t){Dt.then((()=>{const e=this._findContainer(t.path),n=new xt({});ot(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})}))}removeFormGroup(t){Dt.then((()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)}))}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Dt.then((()=>{this.form.get(t.path).setValue(e)}))}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,dt(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}Tt.\u0275fac=function(t){return new(t||Tt)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10))},Tt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Tt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([kt]),r["\u0275\u0275InheritDefinitionFeature"]]}),Tt.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]}],Tt.propDecorators={options:[{type:r.Input,args:["ngFormOptions"]}]};class jt extends m{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return et(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return at(this._validators)}get asyncValidator(){return ct(this._asyncValidators)}_checkParentType(){}}jt.\u0275fac=function(t){return At(t||jt)},jt.\u0275dir=r["\u0275\u0275defineDirective"]({type:jt,features:[r["\u0275\u0275InheritDefinitionFeature"]]});const At=r["\u0275\u0275getInheritedFactory"](jt);class Rt{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 ${U}\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 ${G}`)}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 ${$}`)}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: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}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 ${$}`)}}const Mt={provide:m,useExisting:Object(r.forwardRef)((()=>Nt))};class Nt extends jt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof Nt||this._parent instanceof Tt||"undefined"!=typeof ngDevMode&&!ngDevMode||Rt.modelGroupParentException()}}Nt.\u0275fac=function(t){return new(t||Nt)(r["\u0275\u0275directiveInject"](m,5),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10))},Nt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Nt,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r["\u0275\u0275ProvidersFeature"]([Mt]),r["\u0275\u0275InheritDefinitionFeature"]]}),Nt.ctorParameters=()=>[{type:m,decorators:[{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]}],Nt.propDecorators={name:[{type:r.Input,args:["ngModelGroup"]}]};const Pt={provide:y,useExisting:Object(r.forwardRef)((()=>Lt))},Ft=Promise.resolve(null);class Lt extends y{constructor(t,e,n,i){super(),this.control=new Et,this._registered=!1,this.update=new r.EventEmitter,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=ht(this,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),ut(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?et(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return at(this._rawValidators)}get asyncValidator(){return ct(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){nt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof Nt)&&this._parent instanceof jt?Rt.formGroupNameException():this._parent instanceof Nt||this._parent instanceof Tt||Rt.modelParentException())}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||"undefined"!=typeof ngDevMode&&!ngDevMode||Rt.missingNameException()}_updateValue(t){Ft.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1})}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Ft.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()}))}}Lt.\u0275fac=function(t){return new(t||Lt)(r["\u0275\u0275directiveInject"](m,9),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10),r["\u0275\u0275directiveInject"](c,10))},Lt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Lt,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["\u0275\u0275ProvidersFeature"]([Pt]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),Lt.ctorParameters=()=>[{type:m,decorators:[{type:r.Optional},{type:r.Host}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]}],Lt.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"]}]};class Vt{}Vt.\u0275fac=function(t){return new(t||Vt)},Vt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Vt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const Bt=new r.InjectionToken("NgModelWithFormControlWarning"),Ut={provide:y,useExisting:Object(r.forwardRef)((()=>zt))};class zt extends y{constructor(t,e,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=ht(this,n)}set isDisabled(t){("undefined"==typeof ngDevMode||ngDevMode)&&q.disabledAttrWarning()}ngOnChanges(t){this._isControlChanged(t)&&(nt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ut(t,this.viewModel)&&(ft("formControl",zt,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return at(this._rawValidators)}get asyncValidator(){return ct(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}zt.\u0275fac=function(t){return new(t||zt)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10),r["\u0275\u0275directiveInject"](c,10),r["\u0275\u0275directiveInject"](Bt,8))},zt.\u0275dir=r["\u0275\u0275defineDirective"]({type:zt,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([Ut]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),zt._ngModelWarningSentOnce=!1,zt.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Bt]}]}],zt.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"]}]};const Ht={provide:m,useExisting:Object(r.forwardRef)((()=>$t))};class $t extends m{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return nt(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){pt(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);ot(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);ot(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,dt(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach((t=>{const e=this.form.get(t.path);t.control!==e&&(rt(t.control,t),e&&nt(e,t),t.control=e)})),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange((()=>this._updateDomValue())),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{})),this._oldForm=this.form}_updateValidators(){const t=at(this._validators);this.form.validator=k.compose([this.form.validator,t]);const e=ct(this._asyncValidators);this.form.asyncValidator=k.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||"undefined"!=typeof ngDevMode&&!ngDevMode||q.missingFormException()}}$t.\u0275fac=function(t){return new(t||$t)(r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10))},$t.\u0275dir=r["\u0275\u0275defineDirective"]({type:$t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r["\u0275\u0275ProvidersFeature"]([Ht]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),$t.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]}],$t.propDecorators={form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]};const Gt={provide:m,useExisting:Object(r.forwardRef)((()=>qt))};class qt extends jt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Zt(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&q.groupParentException()}}qt.\u0275fac=function(t){return new(t||qt)(r["\u0275\u0275directiveInject"](m,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10))},qt.\u0275dir=r["\u0275\u0275defineDirective"]({type:qt,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([Gt]),r["\u0275\u0275InheritDefinitionFeature"]]}),qt.ctorParameters=()=>[{type:m,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]}],qt.propDecorators={name:[{type:r.Input,args:["formGroupName"]}]};const Wt={provide:m,useExisting:Object(r.forwardRef)((()=>Yt))};class Yt extends m{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=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 et(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return at(this._validators)}get asyncValidator(){return ct(this._asyncValidators)}_checkParentType(){Zt(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&q.arrayParentException()}}function Zt(t){return!(t instanceof qt||t instanceof $t||t instanceof Yt)}Yt.\u0275fac=function(t){return new(t||Yt)(r["\u0275\u0275directiveInject"](m,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10))},Yt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Yt,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r["\u0275\u0275ProvidersFeature"]([Wt]),r["\u0275\u0275InheritDefinitionFeature"]]}),Yt.ctorParameters=()=>[{type:m,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]}],Yt.propDecorators={name:[{type:r.Input,args:["formArrayName"]}]};const Kt={provide:y,useExisting:Object(r.forwardRef)((()=>Qt))};class Qt extends y{constructor(t,e,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=ht(this,i)}set isDisabled(t){("undefined"==typeof ngDevMode||ngDevMode)&&q.disabledAttrWarning()}ngOnChanges(t){this._added||this._setUpControl(),ut(t,this.viewModel)&&(ft("formControlName",Qt,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return et(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return at(this._rawValidators)}get asyncValidator(){return ct(this._rawAsyncValidators)}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof qt)&&this._parent instanceof jt?q.ngModelGroupException():this._parent instanceof qt||this._parent instanceof $t||this._parent instanceof Yt||q.controlParentException())}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}Qt.\u0275fac=function(t){return new(t||Qt)(r["\u0275\u0275directiveInject"](m,13),r["\u0275\u0275directiveInject"](E,10),r["\u0275\u0275directiveInject"](x,10),r["\u0275\u0275directiveInject"](c,10),r["\u0275\u0275directiveInject"](Bt,8))},Qt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Qt,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r["\u0275\u0275ProvidersFeature"]([Kt]),r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),Qt._ngModelWarningSentOnce=!1,Qt.ctorParameters=()=>[{type:m,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[E]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[x]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[c]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Bt]}]}],Qt.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"]}]};const Jt={provide:E,useExisting:Object(r.forwardRef)((()=>te)),multi:!0},Xt={provide:E,useExisting:Object(r.forwardRef)((()=>ee)),multi:!0};class te{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?k.required(t):null}registerOnValidatorChange(t){this._onChange=t}}te.\u0275fac=function(t){return new(t||te)},te.\u0275dir=r["\u0275\u0275defineDirective"]({type:te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("required",e.required?"":null)},inputs:{required:"required"},features:[r["\u0275\u0275ProvidersFeature"]([Jt])]}),te.propDecorators={required:[{type:r.Input}]};class ee extends te{validate(t){return this.required?k.requiredTrue(t):null}}ee.\u0275fac=function(t){return ne(t||ee)},ee.\u0275dir=r["\u0275\u0275defineDirective"]({type:ee,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("required",e.required?"":null)},features:[r["\u0275\u0275ProvidersFeature"]([Xt]),r["\u0275\u0275InheritDefinitionFeature"]]});const ne=r["\u0275\u0275getInheritedFactory"](ee),re={provide:E,useExisting:Object(r.forwardRef)((()=>ie)),multi:!0};class ie{constructor(){this._enabled=!1}set email(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}validate(t){return this._enabled?k.email(t):null}registerOnValidatorChange(t){this._onChange=t}}ie.\u0275fac=function(t){return new(t||ie)},ie.\u0275dir=r["\u0275\u0275defineDirective"]({type:ie,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r["\u0275\u0275ProvidersFeature"]([re])]}),ie.propDecorators={email:[{type:r.Input}]};const oe={provide:E,useExisting:Object(r.forwardRef)((()=>se)),multi:!0};class se{constructor(){this._validator=k.nullValidator}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=k.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}se.\u0275fac=function(t){return new(t||se)},se.\u0275dir=r["\u0275\u0275defineDirective"]({type:se,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[r["\u0275\u0275ProvidersFeature"]([oe]),r["\u0275\u0275NgOnChangesFeature"]]}),se.propDecorators={minlength:[{type:r.Input}]};const ae={provide:E,useExisting:Object(r.forwardRef)((()=>ce)),multi:!0};class ce{constructor(){this._validator=k.nullValidator}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=k.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}ce.\u0275fac=function(t){return new(t||ce)},ce.\u0275dir=r["\u0275\u0275defineDirective"]({type:ce,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r["\u0275\u0275ProvidersFeature"]([ae]),r["\u0275\u0275NgOnChangesFeature"]]}),ce.propDecorators={maxlength:[{type:r.Input}]};const ue={provide:E,useExisting:Object(r.forwardRef)((()=>le)),multi:!0};class le{constructor(){this._validator=k.nullValidator}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=k.pattern(this.pattern)}}le.\u0275fac=function(t){return new(t||le)},le.\u0275dir=r["\u0275\u0275defineDirective"]({type:le,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[r["\u0275\u0275ProvidersFeature"]([ue]),r["\u0275\u0275NgOnChangesFeature"]]}),le.propDecorators={pattern:[{type:r.Input}]};const de=[Vt,K,tt,p,N,B,l,Z,X,L,w,C,te,se,ce,le,ee,ie],he=[Lt,Nt,Tt],pe=[zt,$t,Qt,qt,Yt];class fe{}fe.\u0275mod=r["\u0275\u0275defineNgModule"]({type:fe}),fe.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||fe)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](fe,{declarations:[Vt,K,tt,p,N,B,l,Z,X,L,w,C,te,se,ce,le,ee,ie],exports:[Vt,K,tt,p,N,B,l,Z,X,L,w,C,te,se,ce,le,ee,ie]});class me{group(t,e=null){const n=this._reduceControls(t);let r,i=null,o=null;return null!=e&&(!function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validator?e.validator:null,o=null!=e.asyncValidator?e.asyncValidator:null):(i=null!=e.validators?e.validators:null,o=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0)),new xt(n,{asyncValidators:o,updateOn:r,validators:i})}control(t,e,n){return new Et(t,e,n)}array(t,e,n){const r=t.map((t=>this._createControl(t)));return new It(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach((n=>{e[n]=this._createControl(t[n])})),e}_createControl(t){if(t instanceof Et||t instanceof xt||t instanceof It)return t;if(Array.isArray(t)){const e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)}}me.\u0275fac=function(t){return new(t||me)},me.\u0275prov=r["\u0275\u0275defineInjectable"]({token:me,factory:me.\u0275fac});const ge=new r.Version("10.2.5");class _e{}_e.\u0275mod=r["\u0275\u0275defineNgModule"]({type:_e}),_e.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||_e)},providers:[F],imports:[fe]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](_e,{declarations:[Lt,Nt,Tt],exports:[fe,Lt,Nt,Tt]});class ye{static withConfig(t){return{ngModule:ye,providers:[{provide:Bt,useValue:t.warnOnNgModelWithFormControl}]}}}ye.\u0275mod=r["\u0275\u0275defineNgModule"]({type:ye}),ye.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||ye)},providers:[me,F],imports:[fe]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](ye,{declarations:[zt,$t,Qt,qt,Yt],exports:[fe,zt,$t,Qt,qt,Yt]})},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(10),i=new r.a((function(t){return t.complete()}));function o(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return b})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return y})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return l})),n.d(e,"j",(function(){return h})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return f})),n.d(e,"m",(function(){return p})),n.d(e,"n",(function(){return m})),n.d(e,"o",(function(){return _})),n.d(e,"p",(function(){return g}));var r=n(15),i=(n(42),n(18));function o(t,e){return Object(i.b)().captureException(t,{captureContext:e})}function s(t,e){const n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return Object(i.b)().captureMessage(t,n,r)}function a(t,e){return Object(i.b)().captureEvent(t,e)}function c(t){Object(i.b)().configureScope(t)}function u(t){Object(i.b)().addBreadcrumb(t)}function l(t,e){Object(i.b)().setContext(t,e)}function d(t){Object(i.b)().setExtras(t)}function h(t,e){Object(i.b)().setExtra(t,e)}function p(t){Object(i.b)().setTags(t)}function f(t,e){Object(i.b)().setTag(t,e)}function m(t){Object(i.b)().setUser(t)}function g(t){Object(i.b)().withScope(t)}function _(t,e){return Object(i.b)().startTransaction({...t},e)}async function y(t){const e=Object(i.b)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function b(t){const e=Object(i.b)().getClient();return e?e.close(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function v(){return Object(i.b)().lastEventId()}},function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"a",(function(){return p})),n.d(e,"g",(function(){return g})),n.d(e,"d",(function(){return s}));var r=n(0),i=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),o={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function s(t,e){void 0===e&&(e=o);var n=(t||"").trim();if(0===n.length)return[];var r=n.split(/\s+/).map((function(t){return t.split(":")})).map((function(t){var n=e[t[0]]||t;return new i(n[0],n[1])})),s=r.filter((function(t){return t.isManual()}));if(s.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===s.length&&r.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return r}function a(t,e){var n=s(e.triggers),r=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],o=[],a=function(){o.forEach((function(t){return i.push(t())})),o.length=0};return n.forEach((function(n){var s=n.open===n.close,c=s?e.toggle:e.show;s||o.push((function(){return t.listen(r,n.close,e.hide)})),i.push(t.listen(r,n.open,(function(){return c(a)})))})),function(){i.forEach((function(t){return t()}))}}function c(t,e){return e.outsideClick?t.listen("document","click",(function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some((function(e){return e.contains(t.target)}))||e.hide()})):Function.prototype}function u(t,e){return e.outsideEsc?t.listen("document","keyup.esc",(function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some((function(e){return e.contains(t.target)}))||e.hide()})):Function.prototype}var l,d="undefined"!=typeof window&&window||{};d.document,d.location,d.gc,d.performance&&d.performance,d.Event,d.MouseEvent,d.KeyboardEvent,d.EventTarget,d.History,d.Location,d.EventListener;function h(){return void 0===d||(void 0===d.__theme?l?"bs3"===l:"bs3"===(l=function(){if("undefined"==typeof document)return null;var t=document.createElement("span");t.innerText="test bs version",document.body.appendChild(t),t.classList.add("d-none");var e=t.getBoundingClientRect();return document.body.removeChild(t),e&&0===e.top?"bs4":"bs3"}()):"bs4"!==d.__theme)}!function(){function t(){this.length=0,this.asArray=[]}t.prototype.get=function(t){if(!(0===this.length||t<0||t>=this.length)){for(var e=this.head,n=0;n<t;n++)e=e.next;return e.value}},t.prototype.add=function(t,e){if(void 0===e&&(e=this.length),e<0||e>this.length)throw new Error("Position is out of the list");var n={value:t,next:void 0,previous:void 0};if(0===this.length)this.head=n,this.tail=n,this.current=n;else if(0===e)n.next=this.head,this.head.previous=n,this.head=n;else if(e===this.length)this.tail.next=n,n.previous=this.tail,this.tail=n;else{var r=this.getNode(e-1),i=r.next;r.next=n,i.previous=n,n.previous=r,n.next=i}this.length++,this.createInternalArrayRepresentation()},t.prototype.remove=function(t){if(void 0===t&&(t=0),0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");if(0===t)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(t===this.length-1)this.tail=this.tail.previous,this.tail.next=void 0;else{var e=this.getNode(t);e.next.previous=e.previous,e.previous.next=e.next}this.length--,this.createInternalArrayRepresentation()},t.prototype.set=function(t,e){if(0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");this.getNode(t).value=e,this.createInternalArrayRepresentation()},t.prototype.toArray=function(){return this.asArray},t.prototype.findAll=function(t){for(var e=this.head,n=[],r=0;r<this.length;r++)t(e.value,r)&&n.push({index:r,value:e.value}),e=e.next;return n},t.prototype.push=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.forEach((function(e){t.add(e)})),this.length},t.prototype.pop=function(){if(0!==this.length){var t=this.tail;return this.remove(this.length-1),t.value}},t.prototype.unshift=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.reverse(),e.forEach((function(e){t.add(e,0)})),this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.value;return this.remove(),t}},t.prototype.forEach=function(t){for(var e=this.head,n=0;n<this.length;n++)t(e.value,n),e=e.next},t.prototype.indexOf=function(t){for(var e=this.head,n=0,r=0;r<this.length;r++){if(e.value===t){n=r;break}e=e.next}return n},t.prototype.some=function(t){for(var e=this.head,n=!1;e&&!n;){if(t(e.value)){n=!0;break}e=e.next}return n},t.prototype.every=function(t){for(var e=this.head,n=!0;e&&n;)t(e.value)||(n=!1),e=e.next;return n},t.prototype.toString=function(){return"[Linked List]"},t.prototype.find=function(t){for(var e,n=this.head,r=0;r<this.length;r++){if(t(n.value,r)){e=n.value;break}n=n.next}return e},t.prototype.findIndex=function(t){for(var e,n=this.head,r=0;r<this.length;r++){if(t(n.value,r)){e=r;break}n=n.next}return e},t.prototype.getNode=function(t){if(0===this.length||t<0||t>=this.length)throw new Error("Position is out of the list");for(var e=this.head,n=0;n<t;n++)e=e.next;return e},t.prototype.createInternalArrayRepresentation=function(){for(var t=[],e=this.head;e;)t.push(e.value),e=e.next;this.asArray=t}}();function p(t){var e="Change";return function(t,n){var r=" __"+n+"Value";Object.defineProperty(t,n,{get:function(){return this[r]},set:function(t){var i=this[r];this[r]=t,i!==t&&this[n+e]&&this[n+e].emit(t)}})}}!function(){function t(){}t.reflow=function(t){t.offsetHeight},t.getStyles=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=d),e.getComputedStyle(t)}}();var f={},m="undefined"==typeof console||!("warn"in console);function g(t){!Object(r.isDevMode)()||m||t in f||(f[t]=!0)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a}));var r,i=n(54),o=n(19),s=n(250);r||(r={});var a=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return l}));var r=n(3),i=n(21),o=n(43),s=n(12);function a(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(a((function(n,r){return Object(o.a)(t(n,r)).pipe(Object(i.a)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.concurrent))},t}(),u=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e)},e.prototype._innerSub=function(t){var e=new s.a(this),n=this.destination;n.add(e);var r=Object(s.c)(t,e);r!==e&&n.add(r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.b),l=a},,,function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_DIALOG_DATA",(function(){return k})),n.d(e,"MAT_DIALOG_DEFAULT_OPTIONS",(function(){return D})),n.d(e,"MAT_DIALOG_SCROLL_STRATEGY",(function(){return T})),n.d(e,"MAT_DIALOG_SCROLL_STRATEGY_FACTORY",(function(){return j})),n.d(e,"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER",(function(){return R})),n.d(e,"MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY",(function(){return A})),n.d(e,"MatDialog",(function(){return N})),n.d(e,"MatDialogActions",(function(){return B})),n.d(e,"MatDialogClose",(function(){return F})),n.d(e,"MatDialogConfig",(function(){return b})),n.d(e,"MatDialogContainer",(function(){return S})),n.d(e,"MatDialogContent",(function(){return V})),n.d(e,"MatDialogModule",(function(){return z})),n.d(e,"MatDialogRef",(function(){return x})),n.d(e,"MatDialogTitle",(function(){return L})),n.d(e,"_MatDialogBase",(function(){return M})),n.d(e,"_MatDialogContainerBase",(function(){return C})),n.d(e,"_closeDialogVia",(function(){return I})),n.d(e,"matDialogAnimations",(function(){return v})),n.d(e,"throwMatDialogContentAlreadyAttachedError",(function(){return w}));var r=n(31),i=n(75),o=n(0),s=n(8),a=n(23),c=n(1),u=n(13),l=n(128),d=n(19),h=n(46),p=n(74),f=n(141),m=n(29),g=n(5),_=n(32);function y(t,e){}class b{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const v={dialogContainer:Object(g.trigger)("dialogContainer",[Object(g.state)("void, exit",Object(g.style)({opacity:0,transform:"scale(0.7)"})),Object(g.state)("enter",Object(g.style)({transform:"none"})),Object(g.transition)("* => enter",Object(g.animate)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(g.style)({transform:"none",opacity:1}))),Object(g.transition)("* => void, * => exit",Object(g.animate)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(g.style)({opacity:0})))])};function w(){throw Error("Attempting to attach dialog content after content is already attached")}class C extends i.a{constructor(t,e,n,r,i,s){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=i,this._focusMonitor=s,this._animationStateChanged=new o.EventEmitter,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached()&&("undefined"==typeof ngDevMode||ngDevMode)&&w(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=r}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&("undefined"==typeof ngDevMode||ngDevMode)&&w(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&("undefined"==typeof ngDevMode||ngDevMode)&&w(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){if(!this._containsFocus()){(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}C.\u0275fac=function(t){return new(t||C)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](m.e),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](c.DOCUMENT,8),o["\u0275\u0275directiveInject"](b),o["\u0275\u0275directiveInject"](m.d))},C.\u0275dir=o["\u0275\u0275defineDirective"]({type:C,viewQuery:function(t,e){var n;(1&t&&o["\u0275\u0275staticViewQuery"](i.b,!0),2&t)&&(o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e._portalOutlet=n.first))},features:[o["\u0275\u0275InheritDefinitionFeature"]]}),C.ctorParameters=()=>[{type:o.ElementRef},{type:m.e},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[c.DOCUMENT]}]},{type:b},{type:m.d}],C.propDecorators={_portalOutlet:[{type:o.ViewChild,args:[i.b,{static:!0}]}]};class S extends C{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}S.\u0275fac=function(t){return O(t||S)},S.\u0275cmp=o["\u0275\u0275defineComponent"]({type:S,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&o["\u0275\u0275syntheticHostListener"]("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(o["\u0275\u0275hostProperty"]("id",e._id),o["\u0275\u0275attribute"]("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),o["\u0275\u0275syntheticHostProperty"]("@dialogContainer",e._state))},features:[o["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&o["\u0275\u0275template"](0,y,0,0,"ng-template",0)},directives:[i.b],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[v.dialogContainer]}});const O=o["\u0275\u0275getInheritedFactory"](S);let E=0;class x{constructor(t,e,n="mat-dialog-"+E++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new u.b,this._afterClosed=new u.b,this._beforeClosed=new u.b,this._state=0,e._id=n,e._animationStateChanged.pipe(Object(h.a)((t=>"opened"===t.state)),Object(p.a)(1)).subscribe((()=>{this._afterOpened.next(),this._afterOpened.complete()})),e._animationStateChanged.pipe(Object(h.a)((t=>"closed"===t.state)),Object(p.a)(1)).subscribe((()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()})),t.detachments().subscribe((()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()})),t.keydownEvents().pipe(Object(h.a)((t=>t.keyCode===_.e&&!this.disableClose&&!Object(_.o)(t)))).subscribe((t=>{t.preventDefault(),I(this,"keyboard")})),t.backdropClick().subscribe((()=>{this.disableClose?this._containerInstance._recaptureFocus():I(this,"mouse")}))}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(h.a)((t=>"closing"===t.state)),Object(p.a)(1)).subscribe((e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout((()=>this._finishDialogClose()),e.totalTime+100)})),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function I(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const k=new o.InjectionToken("MatDialogData"),D=new o.InjectionToken("mat-dialog-default-options"),T=new o.InjectionToken("mat-dialog-scroll-strategy");function j(t){return()=>t.scrollStrategies.block()}function A(t){return()=>t.scrollStrategies.block()}const R={provide:T,deps:[r.Overlay],useFactory:A};class M{constructor(t,e,n,r,i,o,s,a,c){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=i,this._dialogRefConstructor=s,this._dialogContainerType=a,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new u.b,this._afterOpenedAtThisLevel=new u.b,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(l.a)((()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Object(f.a)(void 0)))),this._scrollStrategy=o}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new b)).id&&this.getDialogById(e.id)&&("undefined"==typeof ngDevMode||ngDevMode))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),r=this._attachDialogContainer(n,e),i=this._attachDialogContent(t,r,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe((()=>this._removeOpenDialog(i))),this.afterOpened.next(i),r._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find((e=>e.id===t))}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new r.OverlayConfig({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=o.Injector.create({parent:n||this._injector,providers:[{provide:b,useValue:e}]}),s=new i.c(this._dialogContainerType,e.viewContainerRef,r,e.componentFactoryResolver);return t.attach(s).instance}_attachDialogContent(t,e,n,r){const s=new this._dialogRefConstructor(n,e,r.id);if(t instanceof o.TemplateRef)e.attachTemplatePortal(new i.f(t,null,{$implicit:r.data,dialogRef:s}));else{const n=this._createInjector(r,s,e),o=e.attachComponentPortal(new i.c(t,r.viewContainerRef,n));s.componentInstance=o.instance}return s.updateSize(r.width,r.height).updatePosition(r.position),s}_createInjector(t,e,n){const r=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||r&&r.get(a.b,null)||i.push({provide:a.b,useValue:{value:t.direction,change:Object(d.a)()}}),o.Injector.create({parent:r||this._injector,providers:i})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}M.\u0275fac=function(t){return new(t||M)(o["\u0275\u0275directiveInject"](r.Overlay),o["\u0275\u0275directiveInject"](o.Injector),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](r.OverlayContainer),o["\u0275\u0275directiveInject"](void 0),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.Type),o["\u0275\u0275directiveInject"](o.InjectionToken))},M.\u0275dir=o["\u0275\u0275defineDirective"]({type:M}),M.ctorParameters=()=>[{type:r.Overlay},{type:o.Injector},{type:void 0},{type:void 0},{type:r.OverlayContainer},{type:void 0},{type:o.Type},{type:o.Type},{type:o.InjectionToken}];class N extends M{constructor(t,e,n,r,i,o,s){super(t,e,r,o,s,i,x,S,k)}}N.\u0275fac=function(t){return new(t||N)(o["\u0275\u0275inject"](r.Overlay),o["\u0275\u0275inject"](o.Injector),o["\u0275\u0275inject"](c.Location,8),o["\u0275\u0275inject"](D,8),o["\u0275\u0275inject"](T),o["\u0275\u0275inject"](N,12),o["\u0275\u0275inject"](r.OverlayContainer))},N.\u0275prov=o["\u0275\u0275defineInjectable"]({token:N,factory:N.\u0275fac}),N.ctorParameters=()=>[{type:r.Overlay},{type:o.Injector},{type:c.Location,decorators:[{type:o.Optional}]},{type:b,decorators:[{type:o.Optional},{type:o.Inject,args:[D]}]},{type:void 0,decorators:[{type:o.Inject,args:[T]}]},{type:N,decorators:[{type:o.Optional},{type:o.SkipSelf}]},{type:r.OverlayContainer}];let P=0;class F{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=U(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){I(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}F.\u0275fac=function(t){return new(t||F)(o["\u0275\u0275directiveInject"](x,8),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](N))},F.\u0275dir=o["\u0275\u0275defineDirective"]({type:F,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&o["\u0275\u0275listener"]("click",(function(t){return e._onButtonClick(t)})),2&t&&o["\u0275\u0275attribute"]("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o["\u0275\u0275NgOnChangesFeature"]]}),F.ctorParameters=()=>[{type:x,decorators:[{type:o.Optional}]},{type:o.ElementRef},{type:N}],F.propDecorators={ariaLabel:[{type:o.Input,args:["aria-label"]}],type:[{type:o.Input}],dialogResult:[{type:o.Input,args:["mat-dialog-close"]}],_matDialogClose:[{type:o.Input,args:["matDialogClose"]}]};class L{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+P++}ngOnInit(){this._dialogRef||(this._dialogRef=U(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)}))}}L.\u0275fac=function(t){return new(t||L)(o["\u0275\u0275directiveInject"](x,8),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](N))},L.\u0275dir=o["\u0275\u0275defineDirective"]({type:L,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&o["\u0275\u0275hostProperty"]("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),L.ctorParameters=()=>[{type:x,decorators:[{type:o.Optional}]},{type:o.ElementRef},{type:N}],L.propDecorators={id:[{type:o.Input}]};class V{}V.\u0275fac=function(t){return new(t||V)},V.\u0275dir=o["\u0275\u0275defineDirective"]({type:V,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});class B{}function U(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((t=>t.id===n.id)):null}B.\u0275fac=function(t){return new(t||B)},B.\u0275dir=o["\u0275\u0275defineDirective"]({type:B,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]});class z{}z.\u0275mod=o["\u0275\u0275defineNgModule"]({type:z}),z.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||z)},providers:[N,R],imports:[[r.OverlayModule,i.e,s.MatCommonModule],s.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["\u0275\u0275setNgModuleScope"](z,{declarations:function(){return[S,F,L,B,V]},imports:function(){return[r.OverlayModule,i.e,s.MatCommonModule]},exports:function(){return[S,F,L,V,B,s.MatCommonModule]}})},,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return re})),n.d(e,"c",(function(){return St})),n.d(e,"d",(function(){return be})),n.d(e,"e",(function(){return O})),n.d(e,"f",(function(){return we})),n.d(e,"g",(function(){return Ot})),n.d(e,"h",(function(){return Ce}));var r=n(5),i=n(0);function o(){return void 0!==t&&"[object process]"==={}.toString.call(t)}function s(t){switch(t.length){case 0:return new r.NoopAnimationPlayer;case 1:return t[0];default:return new r["\u0275AnimationGroupPlayer"](t)}}function a(t,e,n,i,o={},s={}){const a=[],c=[];let u=-1,l=null;if(i.forEach((t=>{const n=t.offset,i=n==u,d=i&&l||{};Object.keys(t).forEach((n=>{let i=n,c=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),c){case r["\u0275PRE_STYLE"]:c=o[n];break;case r.AUTO_STYLE:c=s[n];break;default:c=e.normalizeStyleValue(n,i,c,a)}d[i]=c})),i||c.push(d),l=d,u=n})),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function c(t,e,n,r){switch(e){case"start":t.onStart((()=>r(n&&u(n,"start",t))));break;case"done":t.onDone((()=>r(n&&u(n,"done",t))));break;case"destroy":t.onDestroy((()=>r(n&&u(n,"destroy",t))))}}function u(t,e,n){const r=n.totalTime,i=!!n.disabled,o=l(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,i),s=t._data;return null!=s&&(o._data=s),o}function l(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function d(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function h(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1;let f=(t,e)=>!1;let m=(t,e,n)=>[];const g=o();(g||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),f=(()=>{if(g||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),m=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let _=null,y=!1;function b(t){_||(_=function(){if("undefined"!=typeof document)return document.body;return null}()||{},y=!!_.style&&"WebkitAppearance"in _.style);let e=!0;if(_.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&y)){e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in _.style}return e}const v=f,w=p,C=m;function S(t){const e={};return Object.keys(t).forEach((n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]})),e}class O{validateStyleProperty(t){return b(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,o,s=[],a){return new r.NoopAnimationPlayer(n,i)}}O.\u0275fac=function(t){return new(t||O)},O.\u0275prov=i["\u0275\u0275defineInjectable"]({token:O,factory:O.\u0275fac});class E{}E.NOOP=new O;const x=1e3,I="ng-enter",k="ng-leave",D="ng-trigger",T=".ng-trigger",j="ng-animating",A=".ng-animating";function R(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:M(parseFloat(e[1]),e[2])}function M(t,e){return"s"===e?t*x:t}function N(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,o=0,s="";if("string"==typeof t){const n=t.match(r);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=M(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(o=M(parseFloat(a),n[4]));const c=n[5];c&&(s=c)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:o,easing:s}}(t,e,n)}function P(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function F(t,e,n={}){if(e)for(let e in t)n[e]=t[e];else P(t,n);return n}function L(t,e,n){return n?e+":"+n+";":""}function V(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=L(0,r,t.style.getPropertyValue(r))}for(const n in t.style){if(!t.style.hasOwnProperty(n)||n.startsWith("_"))continue;e+=L(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n])}t.setAttribute("style",e)}function B(t,e,n){t.style&&(Object.keys(e).forEach((r=>{const i=Y(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]})),o()&&V(t))}function U(t,e){t.style&&(Object.keys(e).forEach((e=>{const n=Y(e);t.style[n]=""})),o()&&V(t))}function z(t){return Array.isArray(t)?1==t.length?t[0]:Object(r.sequence)(t):t}const H=new RegExp("{{\\s*(.+?)\\s*}}","g");function $(t){let e=[];if("string"==typeof t){let n;for(;n=H.exec(t);)e.push(n[1]);H.lastIndex=0}return e}function G(t,e,n){const r=t.toString(),i=r.replace(H,((t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()}));return i==r?t:i}function q(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const W=/-+([a-z0-9])/g;function Y(t){return t.replace(W,((...t)=>t[1].toUpperCase()))}function Z(t,e){return 0===t||0===e}function K(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let o=e[0],s=[];if(r.forEach((t=>{o.hasOwnProperty(t)||s.push(t),o[t]=n[t]})),s.length)for(var i=1;i<e.length;i++){let n=e[i];s.forEach((function(e){n[e]=J(t,e)}))}}return e}function Q(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function J(t,e){return window.getComputedStyle(t)[e]}const X="*";function tt(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach((t=>function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],o=r[2],s=r[3];e.push(rt(i,s));const a=i==X&&s==X;"<"!=o[0]||a||e.push(rt(s,i))}(t,n,e))):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function rt(t,e){const n=et.has(t)||nt.has(t),r=et.has(e)||nt.has(e);return(i,o)=>{let s=t==X||t==i,a=e==X||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?et.has(t):nt.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?et.has(e):nt.has(e)),s&&a}}const it=":self",ot=new RegExp(`s*${it}s*,?`,"g");function st(t,e,n){return new at(t).build(e,n)}class at{constructor(t){this._driver=t}build(t,e){const n=new ct(e);return this._resetContextStyleTimingState(n),Q(this,z(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,i.push(this.visitState(n,e))})),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,o.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:t.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach((t=>{if(ut(t)){const e=t;Object.keys(e).forEach((t=>{$(e[t]).forEach((t=>{o.hasOwnProperty(t)||i.add(t)}))}))}})),i.size){const n=q(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Q(this,z(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:lt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>Q(this,t,e))),options:lt(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map((t=>{e.currentTime=n;const i=Q(this,t,e);return r=Math.max(r,e.currentTime),i}));return e.currentTime=r,{type:3,steps:i,options:lt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t){return dt(N(t,e).duration,0,"")}const r=t;if(r.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=dt(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||N(r,e),dt(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let o=t.styles?t.styles:Object(r.style)({});if(5==o.type)i=this.visitKeyframes(o,e);else{let o=t.styles,s=!1;if(!o){s=!0;const t={};n.easing&&(t.easing=n.easing),o=Object(r.style)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach((t=>{"string"==typeof t?t==r.AUTO_STYLE?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)})):n.push(t.styles);let i=!1,o=null;return n.forEach((t=>{if(ut(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(let t in e){if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}})),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&Object.keys(t).forEach((n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=$(t);i.length&&i.forEach((t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)}))}(t[n],e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const c=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(ut(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}}));else if(ut(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=c&&(r++,u=n.offset=c),s=s||u<0||u>1,o=o||u<a,a=u,i.push(u),n}));s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&e.errors.push("Please ensure that all keyframe offsets are in order");const u=t.steps.length;let l=0;r>0&&r<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(l=1/(u-1));const d=u-1,h=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return c.forEach(((t,r)=>{const o=l>0?r==d?1:l*r:i[r],s=o*f;e.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(t,e),t.offset=o,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:Q(this,z(t.animation),e),options:lt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:lt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:lt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,o]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>t==it));e&&(t=t.replace(ot,""));return t=t.replace(/@\*/g,T).replace(/@\w+/g,(t=>T+"-"+t.substr(1))).replace(/:animating/g,A),[t,e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,d(e.collectedStyles,e.currentQuerySelector,{});const s=Q(this,z(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:lt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:N(t.timings,e.errors,!0);return{type:12,animation:Q(this,z(t.animation),e),timings:n,options:null}}}class ct{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ut(t){return!Array.isArray(t)&&"object"==typeof t}function lt(t){var e;return t?(t=P(t)).params&&(t.params=(e=t.params)?P(e):null):t={},t}function dt(t,e,n){return{duration:t,delay:e,easing:n}}function ht(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class pt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ft=new RegExp(":enter","g"),mt=new RegExp(":leave","g");function gt(t,e,n,r,i,o={},s={},a,c,u=[]){return(new _t).buildKeyframes(t,e,n,r,i,o,s,a,c,u)}class _t{buildKeyframes(t,e,n,r,i,o,s,a,c,u=[]){c=c||new pt;const l=new bt(t,e,c,r,i,u,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),Q(this,n,l);const d=l.timelines.filter((t=>t.containsAnimation()));if(d.length&&Object.keys(s).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([s],null,l.errors,a)}return d.length?d.map((t=>t.buildKeyframes())):[ht(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const i=null!=n.duration?R(n.duration):null,o=null!=n.delay?R(n.delay):null;return 0!==i&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)})),r}visitReference(t,e){e.updateOptions(t.options,!0),Q(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=yt);const t=R(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>Q(this,t,r))),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?R(t.options.delay):0;t.steps.forEach((o=>{const s=e.createSubContext(t.options);i&&s.delayNextStep(i),Q(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return N(e.params?G(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((t=>{const n=t.offset||0;o.forwardTime(n*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?R(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=yt);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach(((n,r)=>{e.currentQueryIndex=r;const s=e.createSubContext(t.options,n);i&&s.delayNextStep(i),n===e.element&&(a=s.currentTimeline),Q(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe();const c=s.currentTimeline.currentTime;o=Math.max(o,c)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const u=c.currentTime;Q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const yt={};class bt{constructor(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new vt(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=R(n.duration)),null!=n.delay&&(r.delay=R(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach((n=>{e&&t.hasOwnProperty(n)||(t[n]=G(i[n],t,this.errors))}))}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach((t=>{n[t]=e[t]}))}}return t}createSubContext(t=null,e,n){const r=e||this.element,i=new bt(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=yt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new wt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,o){let s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(ft,"."+this._enterClassName)).replace(mt,"."+this._leaveClassName);const e=1!=n;let r=this._driver.query(this.element,t,e);0!==n&&(r=n<0?r.slice(r.length+n,r.length):r.slice(0,n)),s.push(...r)}return i||0!=s.length||o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class vt{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new vt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.AUTO_STYLE,this._currentKeyframe[t]=r.AUTO_STYLE})),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const o=i&&i.params||{},s=function(t,e){const n={};let i;return t.forEach((t=>{"*"===t?(i=i||Object.keys(e),i.forEach((t=>{n[t]=r.AUTO_STYLE}))):F(t,!1,n)})),n}(t,this._globalTimelineStyles);Object.keys(s).forEach((t=>{const e=G(s[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.AUTO_STYLE),this._updateStyle(t,e)}))}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach((e=>{const n=t[e];this._currentKeyframe[e]=n})),Object.keys(this._localTimelineStyles).forEach((t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])})))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach((t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)}))}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach((e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach(((o,s)=>{const a=F(o,!0);Object.keys(a).forEach((n=>{const i=a[n];i==r["\u0275PRE_STYLE"]?t.add(n):i==r.AUTO_STYLE&&e.add(n)})),n||(a.offset=s/this.duration),i.push(a)}));const o=t.size?q(t.values()):[],s=e.size?q(e.values()):[];if(n){const t=i[0],e=P(t);t.offset=0,e.offset=1,i=[t,e]}return ht(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class wt extends vt{constructor(t,e,n,r,i,o,s=!1){super(t,e,o.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],o=n+e,s=e/o,a=F(t[0],!1);a.offset=0,i.push(a);const c=F(t[0],!1);c.offset=Ct(s),i.push(c);const u=t.length-1;for(let r=1;r<=u;r++){let s=F(t[r],!1);const a=e+s.offset*n;s.offset=Ct(a/o),i.push(s)}n=o,e=0,r="",t=i}return ht(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class St{}class Ot extends St{normalizePropertyName(t,e){return Y(t)}normalizeStyleValue(t,e,n,r){let i="";const o=n.toString().trim();if(Et[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return o+i}}const Et=function(t){const e={};return t.forEach((t=>e[t]=!0)),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function xt(t,e,n,r,i,o,s,a,c,u,l,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:d,errors:h}}const It={};class kt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some((t=>t(e,n,r,i)))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o}build(t,e,n,r,i,o,s,a,c,u){const l=[],h=this.ast.options&&this.ast.options.params||It,p=s&&s.params||It,f=this.buildStyles(n,p,l),m=a&&a.params||It,g=this.buildStyles(r,m,l),_=new Set,y=new Map,b=new Map,v="void"===r,w={params:Object.assign(Object.assign({},h),m)},C=u?[]:gt(t,e,this.ast.animation,i,o,f,g,w,c,l);let S=0;if(C.forEach((t=>{S=Math.max(t.duration+t.delay,S)})),l.length)return xt(e,this._triggerName,n,r,v,f,g,[],[],y,b,S,l);C.forEach((t=>{const n=t.element,r=d(y,n,{});t.preStyleProps.forEach((t=>r[t]=!0));const i=d(b,n,{});t.postStyleProps.forEach((t=>i[t]=!0)),n!==e&&_.add(n)}));const O=q(_.values());return xt(e,this._triggerName,n,r,v,f,g,C,O,y,b,S)}}class Dt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=P(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!=n&&(r[e]=n)})),this.styles.styles.forEach((t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach((t=>{let o=i[t];o.length>1&&(o=G(o,r,e)),n[t]=o}))}})),n}}class Tt{constructor(t,e){var n,r;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach((t=>{const e=t.options&&t.options.params||{};this.states[t.name]=new Dt(t.style,e)})),jt(this.states,"true","1"),jt(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new kt(t,e,this.states))})),this.fallbackTransition=(n=t,r=this.states,new kt(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find((i=>i.match(t,e,n,r)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function jt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new pt;class Rt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=st(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,i=a(this._driver,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let a;const c=new Map;if(o?(a=gt(this._driver,e,o,I,k,{},{},n,At,i),a.forEach((t=>{const e=d(c,t.element,{});t.postStyleProps.forEach((t=>e[t]=null))}))):(i.push("The requested animation doesn't exist or has already been destroyed"),a=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);c.forEach(((t,e)=>{Object.keys(t).forEach((n=>{t[n]=this._driver.computeStyle(e,n,r.AUTO_STYLE)}))}));const u=s(a.map((t=>{const e=c.get(t.element);return this._buildPlayer(t,{},e)})));return this._playersById[t]=u,u.onDestroy((()=>this.destroy(t))),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,r){const i=l(e,"","","");return c(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n){const n=r[0]||{};return void this.create(t,e,n)}const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",Nt="ng-animate-disabled",Pt=".ng-animate-disabled",Ft=[],Lt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed";class Ut{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value"),r=n?t.value:t;if(this.value=function(t){return null!=t?t:null}(r),n){const e=P(t);delete e.value,this.options=e}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach((n=>{null==t[n]&&(t[n]=e[n])}))}}}const zt="void",Ht=new Ut(zt);class $t{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Jt(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const o=d(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Jt(t,D),Jt(t,D+"-"+e),a[e]=Ht),()=>{this._engine.afterFlush((()=>{const t=o.indexOf(s);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]}))}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const i=this._getTrigger(e),o=new qt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Jt(t,D),Jt(t,D+"-"+e),this._engine.statesByElement.set(t,s={}));let a=s[e];const c=new Ut(n,this.id);!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),s[e]=c,a||(a=Ht);if(!(c.value===zt)&&a.value===c.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let r=0;r<n.length;r++){const i=n[r];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,c.params)){const e=[],n=i.matchStyles(a.value,a.params,e),r=i.matchStyles(c.value,c.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush((()=>{U(t,n),B(t,r)}))}return}const u=d(this._engine.playersByElement,t,[]);u.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let l=i.matchTransition(a.value,c.value,t,c.params),h=!1;if(!l){if(!r)return;l=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:l,fromState:a,toState:c,player:o,isFallbackTransition:h}),h||(Jt(t,Mt),o.onStart((()=>{Xt(t,Mt)}))),o.onDone((()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(o);t>=0&&n.splice(t,1)}})),this.players.push(o),u.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach(((e,n)=>{delete e[t]})),this._elementListeners.forEach(((e,n)=>{this._elementListeners.set(n,e.filter((e=>e.name!=t)))}))}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach((t=>t.destroy())),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,T,!0);n.forEach((t=>{if(t[Bt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach((n=>n.triggerLeaveAnimation(t,e,!1,!0))):this.clearElementCache(t)})),this._engine.afterFlushAnimationsDone((()=>n.forEach((t=>this.clearElementCache(t)))))}triggerLeaveAnimation(t,e,n,r){const i=this._engine.statesByElement.get(t);if(i){const o=[];if(Object.keys(i).forEach((e=>{if(this._triggers[e]){const n=this.trigger(t,e,zt,r);n&&o.push(n)}})),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&s(o).onDone((()=>this._engine.processLeaveNode(t))),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach((e=>{const r=e.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(t)[r]||Ht,s=new Ut(zt),a=new qt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:i,fromState:o,toState:s,player:a,isFallbackTransition:!0})}))}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;){if(n.statesByElement.get(e)){r=!0;break}}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t[Bt];r&&r!==Lt||(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Jt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach((e=>{if(e.name==n.triggerName){const r=l(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,c(n.player,e.phase,r,e.callback)}})),r.markedForDestroy?this._engine.afterFlush((()=>{r.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find((e=>e.element===t))||e,e}}class Gt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach((e=>{e.players.forEach((e=>{e.queued&&t.push(e)}))})),t}createNamespace(t,e){const n=new $t(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--){const n=this._namespaceList[i];if(this.driver.containsElement(n.hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush((()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((()=>n.destroy(e)))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r<t.length;r++){const i=n[t[r]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(Wt(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!Wt(e))return;const i=e[Bt];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,Nt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Xt(t,Nt))}removeNode(t,e,n,r){if(Wt(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e[Bt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return Wt(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,T,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,A,!0),e.forEach((t=>this.finishActiveQueriedAnimationOnElement(t))))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach((t=>{t.queued?t.markedForDestroy=!0:t.destroy()}))}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach((t=>t.finish()))}whenRenderingDone(){return new Promise((t=>{if(this.players.length)return s(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Bt];if(e&&e.setForRemoval){if(t[Bt]=Lt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Pt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Pt,!0).forEach((t=>{this.markElementAsDisabled(t,!1)}))}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach(((t,e)=>this._balanceNamespaceList(t,e))),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;t<this.collectedEnterElements.length;t++){Jt(this.collectedEnterElements[t],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let t=0;t<this.collectedLeaveElements.length;t++){const e=this.collectedLeaveElements[t];this.processLeaveNode(e)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((t=>t())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new pt,i=[],o=new Map,a=[],c=new Map,u=new Map,l=new Map,h=new Set;this.disabledNodes.forEach((t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t<e.length;t++)h.add(e[t])}));const p=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=Kt(f,this.collectedEnterElements),g=new Map;let _=0;m.forEach(((t,e)=>{const n=I+_++;g.set(e,n),t.forEach((t=>Jt(t,n)))}));const y=[],b=new Set,v=new Set;for(let t=0;t<this.collectedLeaveElements.length;t++){const e=this.collectedLeaveElements[t],n=e[Bt];n&&n.setForRemoval&&(y.push(e),b.add(e),n.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach((t=>b.add(t))):v.add(e))}const w=new Map,C=Kt(f,Array.from(b));C.forEach(((t,e)=>{const n=k+_++;w.set(e,n),t.forEach((t=>Jt(t,n)))})),t.push((()=>{m.forEach(((t,e)=>{const n=g.get(e);t.forEach((t=>Xt(t,n)))})),C.forEach(((t,e)=>{const n=w.get(e);t.forEach((t=>Xt(t,n)))})),y.forEach((t=>{this.processLeaveNode(t)}))}));const S=[],O=[];for(let t=this._namespaceList.length-1;t>=0;t--){this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,r=t.element;if(S.push(e),this.collectedEnterElements.length){const t=r[Bt];if(t&&t.setForMove)return void e.destroy()}const o=!p||!this.driver.containsElement(p,r),s=w.get(r),h=g.get(r),f=this._buildInstruction(t,n,h,s,o);if(f.errors&&f.errors.length)return void O.push(f);if(o)return e.onStart((()=>U(r,f.fromStyles))),e.onDestroy((()=>B(r,f.toStyles))),void i.push(e);if(t.isFallbackTransition)return e.onStart((()=>U(r,f.fromStyles))),e.onDestroy((()=>B(r,f.toStyles))),void i.push(e);f.timelines.forEach((t=>t.stretchStartingKeyframe=!0)),n.append(r,f.timelines);const m={instruction:f,player:e,element:r};a.push(m),f.queriedElements.forEach((t=>d(c,t,[]).push(e))),f.preStyleProps.forEach(((t,e)=>{const n=Object.keys(t);if(n.length){let t=u.get(e);t||u.set(e,t=new Set),n.forEach((e=>t.add(e)))}})),f.postStyleProps.forEach(((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach((t=>r.add(t)))}))}))}if(O.length){const t=[];O.forEach((e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach((e=>t.push(`- ${e}\n`)))})),S.forEach((t=>t.destroy())),this.reportError(t)}const E=new Map,x=new Map;a.forEach((t=>{const e=t.element;n.has(e)&&(x.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,E))})),i.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{d(E,e,[]).push(t),t.destroy()}))}));const D=y.filter((t=>ne(t,u,l))),T=new Map;Zt(T,this.driver,v,l,r.AUTO_STYLE).forEach((t=>{ne(t,u,l)&&D.push(t)}));const j=new Map;m.forEach(((t,e)=>{Zt(j,this.driver,new Set(t),u,r["\u0275PRE_STYLE"])})),D.forEach((t=>{const e=T.get(t),n=j.get(t);T.set(t,Object.assign(Object.assign({},e),n))}));const R=[],M=[],N={};a.forEach((t=>{const{element:e,player:r,instruction:a}=t;if(n.has(e)){if(h.has(e))return r.onDestroy((()=>B(e,a.toStyles))),r.disabled=!0,r.overrideTotalTime(a.totalTime),void i.push(r);let t=N;if(x.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=x.get(n);if(e){t=e;break}r.push(n)}r.forEach((e=>x.set(e,t)))}const n=this._buildAnimation(r.namespaceId,a,E,o,j,T);if(r.setRealPlayer(n),t===N)R.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=s(e)),i.push(r)}}else U(e,a.fromStyles),r.onDestroy((()=>B(e,a.toStyles))),M.push(r),h.has(e)&&i.push(r)})),M.forEach((t=>{const e=o.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}})),i.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t<y.length;t++){const e=y[t],n=e[Bt];if(Xt(e,k),n&&n.hasAnimation)continue;let r=[];if(c.size){let t=c.get(e);t&&t.length&&r.push(...t);let n=this.driver.query(e,A,!0);for(let t=0;t<n.length;t++){let e=c.get(n[t]);e&&e.length&&r.push(...e)}}const i=r.filter((t=>!t.destroyed));i.length?te(this,e,i):this.processLeaveNode(e)}return y.length=0,R.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),R}elementContainsData(t,e){let n=!1;const r=e[Bt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,i){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==zt;e.forEach((e=>{e.queued||(t||e.triggerName==r)&&o.push(e)}))}}return(n||r)&&(o=o.filter((t=>(!n||n==t.namespaceId)&&(!r||r==t.triggerName)))),o}_beforeAnimationBuild(t,e,n){const r=e.triggerName,i=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:r;for(const t of e.timelines){const r=t.element,a=r!==i,c=d(n,r,[]);this._getPreviousPlayers(r,a,o,s,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)}))}U(i,e.fromStyles)}_buildAnimation(t,e,n,i,o,c){const u=e.triggerName,l=e.element,h=[],p=new Set,f=new Set,m=e.timelines.map((e=>{const s=e.element;p.add(s);const d=s[Bt];if(d&&d.removedBeforeQueried)return new r.NoopAnimationPlayer(e.duration,e.delay);const m=s!==l,g=function(t){const e=[];return ee(t,e),e}((n.get(s)||Ft).map((t=>t.getRealPlayer()))).filter((t=>{const e=t;return!!e.element&&e.element===s})),_=o.get(s),y=c.get(s),b=a(this.driver,this._normalizer,0,e.keyframes,_,y),v=this._buildPlayer(e,b,g);if(e.subTimeline&&i&&f.add(s),m){const e=new qt(t,u,s);e.setRealPlayer(v),h.push(e)}return v}));h.forEach((t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t)))})),p.forEach((t=>Jt(t,j)));const g=s(m);return g.onDestroy((()=>{p.forEach((t=>Xt(t,j))),B(l,e.toStyles)})),f.forEach((t=>{d(i,t,[]).push(g)})),g}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.NoopAnimationPlayer(t.duration,t.delay)}}class qt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((e=>{this._queuedCallbacks[e].forEach((n=>c(t,e,void 0,n)))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart((()=>e.triggerCallback("start"))),t.onDone((()=>this.finish())),t.onDestroy((()=>this.destroy()))}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Wt(t){return t&&1===t.nodeType}function Yt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Zt(t,e,n,r,i){const o=[];n.forEach((t=>o.push(Yt(t))));const s=[];r.forEach(((n,r)=>{const o={};n.forEach((t=>{const n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[Bt]=Vt,s.push(r))})),t.set(r,o)}));let a=0;return n.forEach((t=>Yt(t,o[a++]))),s}function Kt(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const r=new Set(e),i=new Map;function o(t){if(!t)return 1;let e=i.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:r.has(s)?1:o(s),i.set(t,e),e}return e.forEach((t=>{const e=o(t);1!==e&&n.get(e).push(t)})),n}const Qt="$$classes";function Jt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Qt];n||(n=t[Qt]={}),n[e]=!0}}function Xt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Qt];n&&delete n[e]}}function te(t,e,n){s(n).onDone((()=>t.processLeaveNode(e)))}function ee(t,e){for(let n=0;n<t.length;n++){const i=t[n];i instanceof r["\u0275AnimationGroupPlayer"]?ee(i.players,e):e.push(i)}}function ne(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach((t=>i.add(t))):e.set(t,r),n.delete(t),!0}class re{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Gt(t,e,n),this._timelineEngine=new Rt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const o=t+"-"+r;let s=this._triggerCache[o];if(!s){const t=[],e=st(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);s=function(t,e){return new Tt(t,e)}(r,e),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=h(n),o=r;this._timelineEngine.command(t,e,i,o)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=h(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ie(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=se(e[0]),e.length>1&&(r=se(e[e.length-1]))):e&&(n=se(e)),n||r?new oe(t,n,r):null}class oe{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let r=oe.initialStylesByElement.get(t);r||oe.initialStylesByElement.set(t,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&&(oe.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}function se(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];ae(i)&&(e=e||{},e[i]=t[i])}return e}function ae(t){return"display"===t||"position"===t}oe.initialStylesByElement=new WeakMap;const ce="animation",ue="animationend";class le{constructor(t,e,n,r,i,o,s){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=ge(t,"").trim();let r=0;n.length&&(r=function(t,e){let n=0;for(let r=0;r<t.length;r++){t.charAt(r)===e&&n++}return n}(n,",")+1,e=`${n}, ${e}`);me(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),fe(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){de(this._element,this._name,"paused")}resume(){de(this._element,this._name,"running")}setPosition(t){const e=he(this._element,this._name);this._position=t*this._duration,me(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),fe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),r=pe(n,e);if(r>=0){n.splice(r,1);me(t,"",n.join(","))}}(this._element,this._name))}}function de(t,e,n){me(t,"PlayState",n,he(t,e))}function he(t,e){const n=ge(t,"");if(n.indexOf(",")>0){return pe(n.split(","),e)}return pe([n],e)}function pe(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function fe(t,e,n){n?t.removeEventListener(ue,e):t.addEventListener(ue,e)}function me(t,e,n,r){const i=ce+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function ge(t,e){return t.style[ce+e]}class _e{constructor(t,e,n,r,i,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach((t=>t())),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach((t=>t())),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){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 le(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(()=>this.finish()))}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach((n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:J(this.element,n))}))}this.currentSnapshot=t}}class ye extends r.NoopAnimationPlayer{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=S(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((t=>{this._startingStyles[t]=this.element.style[t]})),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((t=>this.element.style.setProperty(t,this._styles[t]))),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach((t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)})),this._startingStyles=null,super.destroy())}}class be{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return b(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map((t=>S(t)));let r=`@keyframes ${e} {\n`,i="";n.forEach((t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach((e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}})),r+=`${i}}\n`})),r+="}\n";const o=document.createElement("style");return o.textContent=r,o}animate(t,e,n,r,i,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter((t=>t instanceof _e)),c={};Z(n,r)&&a.forEach((t=>{let e=t.currentSnapshot;Object.keys(e).forEach((t=>c[t]=e[t]))}));const u=function(t){let e={};if(t){(Array.isArray(t)?t:[t]).forEach((t=>{Object.keys(t).forEach((n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))}))}return e}(e=K(t,e,c));if(0==n)return new ye(t,u);const l="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(d);const h=ie(t,e),p=new _e(t,e,l,n,r,i,u,h);return p.onDestroy((()=>{var t;(t=d).parentNode.removeChild(t)})),p}_notifyFaultyScrubber(){this._warningIssued||(this._warningIssued=!0)}}class ve{constructor(t,e,n,r){this.element=t,this.keyframes=e,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((t=>t())),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(()=>this._onFinish()))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((t=>t())),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:J(this.element,e))})),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class we{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Se().toString()),this._cssKeyframesDriver=new be}validateStyleProperty(t){return b(t)}matchesElement(t,e){return v(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const c={},u=o.filter((t=>t instanceof ve));Z(n,r)&&u.forEach((t=>{let e=t.currentSnapshot;Object.keys(e).forEach((t=>c[t]=e[t]))}));const l=ie(t,e=K(t,e=e.map((t=>F(t,!1))),c));return new ve(t,e,a,l)}}function Ce(){return"function"==typeof Se()}function Se(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}}).call(this,n(230))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return i.a})),n.d(r,"InboundFilters",(function(){return o.a}));var i=n(341),o=n(342)},function(t,e,n){"use strict";n.r(e),n.d(e,"HTTP_INTERCEPTORS",(function(){return k})),n.d(e,"HttpBackend",(function(){return h})),n.d(e,"HttpClient",(function(){return x})),n.d(e,"HttpClientJsonpModule",(function(){return W})),n.d(e,"HttpClientModule",(function(){return q})),n.d(e,"HttpClientXsrfModule",(function(){return G})),n.d(e,"HttpErrorResponse",(function(){return O})),n.d(e,"HttpEventType",(function(){return r})),n.d(e,"HttpHandler",(function(){return d})),n.d(e,"HttpHeaderResponse",(function(){return C})),n.d(e,"HttpHeaders",(function(){return p})),n.d(e,"HttpParams",(function(){return g})),n.d(e,"HttpRequest",(function(){return v})),n.d(e,"HttpResponse",(function(){return S})),n.d(e,"HttpResponseBase",(function(){return w})),n.d(e,"HttpUrlEncodingCodec",(function(){return f})),n.d(e,"HttpXhrBackend",(function(){return F})),n.d(e,"HttpXsrfTokenExtractor",(function(){return B})),n.d(e,"JsonpClientBackend",(function(){return A})),n.d(e,"JsonpInterceptor",(function(){return R})),n.d(e,"XhrFactory",(function(){return N})),n.d(e,"\u0275HttpInterceptingHandler",(function(){return H})),n.d(e,"\u0275angular_packages_common_http_http_a",(function(){return D})),n.d(e,"\u0275angular_packages_common_http_http_b",(function(){return j})),n.d(e,"\u0275angular_packages_common_http_http_c",(function(){return $})),n.d(e,"\u0275angular_packages_common_http_http_d",(function(){return P})),n.d(e,"\u0275angular_packages_common_http_http_e",(function(){return L})),n.d(e,"\u0275angular_packages_common_http_http_f",(function(){return V})),n.d(e,"\u0275angular_packages_common_http_http_g",(function(){return U})),n.d(e,"\u0275angular_packages_common_http_http_h",(function(){return z}));var r,i=n(0),o=n(19),s=n(10),a=n(155),c=n(46),u=n(21),l=n(1);class d{}class h{}class p{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach((t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}}))}:()=>{this.headers=new Map,Object.keys(t).forEach((e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))}))}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof p?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((t=>this.applyUpdate(t))),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach((e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))}))}clone(t){const e=new p;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof p?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter((t=>-1===i.indexOf(t))),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach((e=>t(this.normalizedNames.get(e),this.headers.get(e))))}}class f{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function m(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;t.length>0&&t.split("&").forEach((t=>{const r=t.indexOf("="),[i,o]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}));return n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map((t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map((t=>e+"="+this.encoder.encodeValue(t))).join("&")})).filter((t=>""!==t)).join("&")}clone(t){const e=new g({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((t=>this.map.set(t,this.cloneFrom.map.get(t)))),this.updates.forEach((t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}})),this.cloneFrom=this.updates=null)}}function _(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function y(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}class v{constructor(t,e,n,r){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new p),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?"),r=-1===n?"?":n<e.length-1?"&":"";this.urlWithParams=e+r+t}}else this.params=new g,this.urlWithParams=e}serializeBody(){return null===this.body?null:_(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce(((e,n)=>e.set(n,t.setHeaders[n])),a)),t.setParams&&(c=Object.keys(t.setParams).reduce(((e,n)=>e.set(n,t.setParams[n])),c)),new v(e,n,i,{params:c,headers:a,reportProgress:s,responseType:r,withCredentials:o})}}!function(t){t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User"}(r||(r={}));class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new p,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class C extends w{constructor(t={}){super(t),this.type=r.ResponseHeader}clone(t={}){return new C({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends w{constructor(t={}){super(t),this.type=r.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class O extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function E(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}class x{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof v)r=t;else{let i,o;i=n.headers instanceof p?n.headers:new p(n.headers),n.params&&(o=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:i,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(o.a)(r).pipe(Object(a.a)((t=>this.handler.handle(t))));if(t instanceof v||"events"===n.observe)return i;const s=i.pipe(Object(c.a)((t=>t instanceof S)));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(Object(u.a)((t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return s.pipe(Object(u.a)((t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return s.pipe(Object(u.a)((t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));default:return s.pipe(Object(u.a)((t=>t.body)))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,E(n,e))}post(t,e,n={}){return this.request("POST",t,E(n,e))}put(t,e,n={}){return this.request("PUT",t,E(n,e))}}x.\u0275fac=function(t){return new(t||x)(i["\u0275\u0275inject"](d))},x.\u0275prov=i["\u0275\u0275defineInjectable"]({token:x,factory:x.\u0275fac}),x.ctorParameters=()=>[{type:d}];class I{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const k=new i.InjectionToken("HTTP_INTERCEPTORS");class D{intercept(t,e){return e.handle(t)}}D.\u0275fac=function(t){return new(t||D)},D.\u0275prov=i["\u0275\u0275defineInjectable"]({token:D,factory:D.\u0275fac});let T=0;class j{}class A{constructor(t,e){this.callbackMap=t,this.document=e}nextCallback(){return"ng_jsonp_callback_"+T++}handle(t){if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new s.a((e=>{const n=this.nextCallback(),i=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),o=this.document.createElement("script");o.src=i;let s=null,a=!1,c=!1;this.callbackMap[n]=t=>{delete this.callbackMap[n],c||(s=t,a=!0)};const u=()=>{o.parentNode&&o.parentNode.removeChild(o),delete this.callbackMap[n]},l=t=>{c||(u(),a?(e.next(new S({body:s,status:200,statusText:"OK",url:i})),e.complete()):e.error(new O({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},d=t=>{c||(u(),e.error(new O({error:t,status:0,statusText:"JSONP Error",url:i})))};return o.addEventListener("load",l),o.addEventListener("error",d),this.document.body.appendChild(o),e.next({type:r.Sent}),()=>{c=!0,o.removeEventListener("load",l),o.removeEventListener("error",d),u()}}))}}A.\u0275fac=function(t){return new(t||A)(i["\u0275\u0275inject"](j),i["\u0275\u0275inject"](l.DOCUMENT))},A.\u0275prov=i["\u0275\u0275defineInjectable"]({token:A,factory:A.\u0275fac}),A.ctorParameters=()=>[{type:j},{type:void 0,decorators:[{type:i.Inject,args:[l.DOCUMENT]}]}];class R{constructor(t){this.jsonp=t}intercept(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)}}R.\u0275fac=function(t){return new(t||R)(i["\u0275\u0275inject"](A))},R.\u0275prov=i["\u0275\u0275defineInjectable"]({token:R,factory:R.\u0275fac}),R.ctorParameters=()=>[{type:A}];const M=/^\)\]\}',?\n/;class N{}class P{constructor(){}build(){return new XMLHttpRequest}}P.\u0275fac=function(t){return new(t||P)},P.\u0275prov=i["\u0275\u0275defineInjectable"]({token:P,factory:P.\u0275fac}),P.ctorParameters=()=>[];class F{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.a((e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach(((t,e)=>n.setRequestHeader(t,e.join(",")))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let o=null;const s=()=>{if(null!==o)return o;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new p(n.getAllResponseHeaders()),s=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return o=new C({headers:i,status:e,statusText:r,url:s}),o},a=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),c=null;204!==i&&(c=void 0===n.response?n.responseText:n.response),0===i&&(i=c?200:0);let u=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(M,"");try{c=""!==c?JSON.parse(c):null}catch(e){c=t,u&&(u=!1,c={error:e,text:c})}}u?(e.next(new S({body:c,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new O({error:c,headers:r,status:i,statusText:o,url:a||void 0}))},c=t=>{const{url:r}=s(),i=new O({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let u=!1;const l=i=>{u||(e.next(s()),u=!0);let o={type:r.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(o.total=i.total),"text"===t.responseType&&n.responseText&&(o.partialText=n.responseText),e.next(o)},d=t=>{let n={type:r.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",a),n.addEventListener("error",c),t.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),e.next({type:r.Sent}),()=>{n.removeEventListener("error",c),n.removeEventListener("load",a),t.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}}))}}F.\u0275fac=function(t){return new(t||F)(i["\u0275\u0275inject"](N))},F.\u0275prov=i["\u0275\u0275defineInjectable"]({token:F,factory:F.\u0275fac}),F.ctorParameters=()=>[{type:N}];const L=new i.InjectionToken("XSRF_COOKIE_NAME"),V=new i.InjectionToken("XSRF_HEADER_NAME");class B{}class U{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l["\u0275parseCookieValue"])(t,this.cookieName),this.lastCookieString=t),this.lastToken}}U.\u0275fac=function(t){return new(t||U)(i["\u0275\u0275inject"](l.DOCUMENT),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](L))},U.\u0275prov=i["\u0275\u0275defineInjectable"]({token:U,factory:U.\u0275fac}),U.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[l.DOCUMENT]}]},{type:String,decorators:[{type:i.Inject,args:[i.PLATFORM_ID]}]},{type:String,decorators:[{type:i.Inject,args:[L]}]}];class z{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}z.\u0275fac=function(t){return new(t||z)(i["\u0275\u0275inject"](B),i["\u0275\u0275inject"](V))},z.\u0275prov=i["\u0275\u0275defineInjectable"]({token:z,factory:z.\u0275fac}),z.ctorParameters=()=>[{type:B},{type:String,decorators:[{type:i.Inject,args:[V]}]}];class H{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(k,[]);this.chain=t.reduceRight(((t,e)=>new I(t,e)),this.backend)}return this.chain.handle(t)}}function $(){return"object"==typeof window?window:{}}H.\u0275fac=function(t){return new(t||H)(i["\u0275\u0275inject"](h),i["\u0275\u0275inject"](i.Injector))},H.\u0275prov=i["\u0275\u0275defineInjectable"]({token:H,factory:H.\u0275fac}),H.ctorParameters=()=>[{type:h},{type:i.Injector}];class G{static disable(){return{ngModule:G,providers:[{provide:z,useClass:D}]}}static withOptions(t={}){return{ngModule:G,providers:[t.cookieName?{provide:L,useValue:t.cookieName}:[],t.headerName?{provide:V,useValue:t.headerName}:[]]}}}G.\u0275mod=i["\u0275\u0275defineNgModule"]({type:G}),G.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||G)},providers:[z,{provide:k,useExisting:z,multi:!0},{provide:B,useClass:U},{provide:L,useValue:"XSRF-TOKEN"},{provide:V,useValue:"X-XSRF-TOKEN"}]});class q{}q.\u0275mod=i["\u0275\u0275defineNgModule"]({type:q}),q.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||q)},providers:[x,{provide:d,useClass:H},F,{provide:h,useExisting:F},P,{provide:N,useExisting:P}],imports:[[G.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](q,{imports:[G]});class W{}W.\u0275mod=i["\u0275\u0275defineNgModule"]({type:W}),W.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||W)},providers:[A,{provide:j,useFactory:$},{provide:k,useClass:R,multi:!0}]})},function(t,e,n){"use strict";n.r(e),n.d(e,"ActivatedRoute",(function(){return Ft})),n.d(e,"ActivatedRouteSnapshot",(function(){return Vt})),n.d(e,"ActivationEnd",(function(){return G})),n.d(e,"ActivationStart",(function(){return $})),n.d(e,"BaseRouteReuseStrategy",(function(){return Ye})),n.d(e,"ChildActivationEnd",(function(){return H})),n.d(e,"ChildActivationStart",(function(){return z})),n.d(e,"ChildrenOutletContexts",(function(){return on})),n.d(e,"DefaultUrlSerializer",(function(){return mt})),n.d(e,"GuardsCheckEnd",(function(){return F})),n.d(e,"GuardsCheckStart",(function(){return P})),n.d(e,"NavigationCancel",(function(){return R})),n.d(e,"NavigationEnd",(function(){return A})),n.d(e,"NavigationError",(function(){return M})),n.d(e,"NavigationStart",(function(){return j})),n.d(e,"NoPreloading",(function(){return vn})),n.d(e,"OutletContext",(function(){return rn})),n.d(e,"PRIMARY_OUTLET",(function(){return W})),n.d(e,"PreloadAllModules",(function(){return bn})),n.d(e,"PreloadingStrategy",(function(){return yn})),n.d(e,"ROUTER_CONFIGURATION",(function(){return Sn})),n.d(e,"ROUTER_INITIALIZER",(function(){return Fn})),n.d(e,"ROUTES",(function(){return en})),n.d(e,"ResolveEnd",(function(){return V})),n.d(e,"ResolveStart",(function(){return L})),n.d(e,"RouteConfigLoadEnd",(function(){return U})),n.d(e,"RouteConfigLoadStart",(function(){return B})),n.d(e,"RouteReuseStrategy",(function(){return We})),n.d(e,"Router",(function(){return dn})),n.d(e,"RouterEvent",(function(){return T})),n.d(e,"RouterLink",(function(){return hn})),n.d(e,"RouterLinkActive",(function(){return mn})),n.d(e,"RouterLinkWithHref",(function(){return pn})),n.d(e,"RouterModule",(function(){return In})),n.d(e,"RouterOutlet",(function(){return gn})),n.d(e,"RouterPreloader",(function(){return wn})),n.d(e,"RouterState",(function(){return Nt})),n.d(e,"RouterStateSnapshot",(function(){return Bt})),n.d(e,"RoutesRecognized",(function(){return N})),n.d(e,"Scroll",(function(){return q})),n.d(e,"UrlHandlingStrategy",(function(){return sn})),n.d(e,"UrlSegment",(function(){return dt})),n.d(e,"UrlSegmentGroup",(function(){return lt})),n.d(e,"UrlSerializer",(function(){return ft})),n.d(e,"UrlTree",(function(){return ut})),n.d(e,"VERSION",(function(){return Vn})),n.d(e,"convertToParamMap",(function(){return Z})),n.d(e,"provideRoutes",(function(){return jn})),n.d(e,"\u0275EmptyOutletComponent",(function(){return Ke})),n.d(e,"\u0275ROUTER_PROVIDERS",(function(){return En})),n.d(e,"\u0275angular_packages_router_router_a",(function(){return On})),n.d(e,"\u0275angular_packages_router_router_b",(function(){return xn})),n.d(e,"\u0275angular_packages_router_router_c",(function(){return kn})),n.d(e,"\u0275angular_packages_router_router_d",(function(){return Dn})),n.d(e,"\u0275angular_packages_router_router_e",(function(){return Tn})),n.d(e,"\u0275angular_packages_router_router_f",(function(){return An})),n.d(e,"\u0275angular_packages_router_router_g",(function(){return Rn})),n.d(e,"\u0275angular_packages_router_router_h",(function(){return Mn})),n.d(e,"\u0275angular_packages_router_router_i",(function(){return Nn})),n.d(e,"\u0275angular_packages_router_router_j",(function(){return Pn})),n.d(e,"\u0275angular_packages_router_router_k",(function(){return Ln})),n.d(e,"\u0275angular_packages_router_router_l",(function(){return Ke})),n.d(e,"\u0275angular_packages_router_router_m",(function(){return Tt})),n.d(e,"\u0275angular_packages_router_router_n",(function(){return Rt})),n.d(e,"\u0275angular_packages_router_router_o",(function(){return Cn})),n.d(e,"\u0275flatten",(function(){return et}));var r=n(1),i=n(0),o=n(19),s=n(43),a=n(102),c=n(168),u=n(10),l=n(115),d=n(128),h=n(54),p=n(13),f=n(21),m=n(261),g=n(434),_=n(77),y=n(74),b=n(141),v=n(194),w=n(46),C=n(198),S=n(155),O=n(174),E=n(63),x=n(76),I=n(172),k=n(370),D=n(171);class T{constructor(t,e){this.id=t,this.url=e}}class j extends T{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends T{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class R extends T{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class M extends T{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class N extends T{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class P extends T{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class F extends T{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class L extends T{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V extends T{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class U{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class z{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class H{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class G{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}const W="primary";class Y{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Z(t){return new Y(t)}const K="ngNavigationCancelingError";function Q(t){const e=Error("NavigationCancelingError: "+t);return e[K]=!0,e}function J(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let e=0;e<r.length;e++){const n=r[e],o=t[e];if(n.startsWith(":"))i[n.substring(1)]=o;else if(n!==o.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function X(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let i;for(let r=0;r<n.length;r++)if(i=n[r],!tt(t[i],e[i]))return!1;return!0}function tt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every(((t,e)=>r[e]===t))}return t===e}function et(t){return Array.prototype.concat.apply([],t)}function nt(t){return t.length>0?t[t.length-1]:null}function rt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function it(t){return Object(i["\u0275isObservable"])(t)?t:Object(i["\u0275isPromise"])(t)?Object(s.a)(Promise.resolve(t)):Object(o.a)(t)}function ot(t,e,n){return n?function(t,e){return X(t,e)}(t.queryParams,e.queryParams)&&st(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>tt(t[n],e[n])))}(t.queryParams,e.queryParams)&&at(t.root,e.root)}function st(t,e){if(!ht(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!st(t.children[n],e.children[n]))return!1}return!0}function at(t,e){return ct(t,e,e.segments)}function ct(t,e,n){if(t.segments.length>n.length){return!!ht(t.segments.slice(0,n.length),n)&&!e.hasChildren()}if(t.segments.length===n.length){if(!ht(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!at(t.children[n],e.children[n]))return!1}return!0}{const r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!ht(t.segments,r)&&(!!t.children[W]&&ct(t.children[W],e,i))}}class ut{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return gt.serialize(this)}}class lt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,rt(e,((t,e)=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _t(this)}}class dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Z(this.parameters)),this._parameterMap}toString(){return Ot(this)}}function ht(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}function pt(t,e){let n=[];return rt(t.children,((t,r)=>{r===W&&(n=n.concat(e(t,r)))})),rt(t.children,((t,r)=>{r!==W&&(n=n.concat(e(t,r)))})),n}class ft{}class mt{parse(t){const e=new Dt(t);return new ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${yt(t.root,!0)}`}${function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>`${vt(e)}=${vt(t)}`)).join("&"):`${vt(e)}=${vt(n)}`}));return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const gt=new mt;function _t(t){return t.segments.map((t=>Ot(t))).join("/")}function yt(t,e){if(!t.hasChildren())return _t(t);if(e){const e=t.children[W]?yt(t.children[W],!1):"",n=[];return rt(t.children,((t,e)=>{e!==W&&n.push(`${e}:${yt(t,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=pt(t,((e,n)=>n===W?[yt(t.children[W],!1)]:[`${n}:${yt(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[W]?`${_t(t)}/${e[0]}`:`${_t(t)}/(${e.join("//")})`}}function bt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vt(t){return bt(t).replace(/%3B/gi,";")}function wt(t){return bt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ct(t){return decodeURIComponent(t)}function St(t){return Ct(t.replace(/\+/g,"%20"))}function Ot(t){return`${wt(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${wt(t)}=${wt(e[t])}`)).join("")}`;var e}const Et=/^[^\/()?;=#]+/;function xt(t){const e=t.match(Et);return e?e[0]:""}const It=/^[^=?&#]+/;const kt=/^[^?&#]+/;class Dt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lt([],{}):new lt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[W]=new lt(t,e)),n}parseSegment(){const t=xt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new dt(Ct(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=xt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=xt(this.remaining);t&&(n=t,this.capture(n))}t[Ct(e)]=Ct(n)}parseQueryParam(t){const e=function(t){const e=t.match(It);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(kt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=St(e),i=St(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=xt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=W);const o=this.parseChildren();e[i]=1===Object.keys(o).length?o[W]:new lt([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Tt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=jt(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=jt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=At(t,this._root);if(e.length<2)return[];return e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return At(t,this._root).map((t=>t.value))}}function jt(t,e){if(t===e.value)return e;for(const n of e.children){const e=jt(t,n);if(e)return e}return null}function At(t,e){if(t===e.value)return[e];for(const n of e.children){const r=At(t,n);if(r.length)return r.unshift(e),r}return[]}class Rt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function Mt(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class Nt extends Tt{constructor(t,e){super(t),this.snapshot=e,Ut(this,t)}toString(){return this.snapshot.toString()}}function Pt(t,e){const n=function(t,e){const n={},r={},i={},o="",s=new Vt([],n,i,o,r,W,e,null,t.root,-1,{});return new Bt("",new Rt(s,[]))}(t,e),r=new a.a([new dt("",{})]),i=new a.a({}),o=new a.a({}),s=new a.a({}),c=new a.a(""),u=new Ft(r,i,s,c,o,W,e,n.root);return u.snapshot=n.root,new Nt(new Rt(u,[]),n)}class Ft{constructor(t,e,n,r,i,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}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(f.a)((t=>Z(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)((t=>Z(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Lt(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce(((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)})),{params:{},data:{},resolve:{}})}(n.slice(r))}class Vt{constructor(t,e,n,r,i,o,s,a,c,u,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=u,this._resolve=l}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((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bt extends Tt{constructor(t,e){super(e),this.url=t,Ut(this,e)}toString(){return zt(this._root)}}function Ut(t,e){e.value._routerState=t,e.children.forEach((e=>Ut(t,e)))}function zt(t){const e=t.children.length>0?` { ${t.children.map(zt).join(", ")} } `:"";return`${t.value}${e}`}function Ht(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,X(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),X(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!X(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),X(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function $t(t,e){const n=X(t.params,e.params)&&(r=t.url,i=e.url,ht(r,i)&&r.every(((t,e)=>X(t.parameters,i[e].parameters))));var r,i;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||$t(t.parent,e.parent))}function Gt(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map((e=>{for(const r of n.children)if(t.shouldReuseRoute(r.value.snapshot,e.value))return Gt(t,e,r);return Gt(t,e)}))}(t,e,n);return new Rt(r,i)}{const n=t.retrieve(e.value);if(n){const t=n.route;return qt(e,t),t}{const n=(r=e.value,new Ft(new a.a(r.url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r)),i=e.children.map((e=>Gt(t,e)));return new Rt(n,i)}}var r}function qt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)qt(t.children[n],e.children[n])}function Wt(t,e,n,r,i){if(0===n.length)return Kt(e.root,e.root,e,r,i);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Jt(!0,0,t);let e=0,n=!1;const r=t.reduce(((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return rt(r.outlets,((t,n)=>{e[n]="string"==typeof t?t.split("/"):t})),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach(((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))})),t):[...t,r]}),[]);return new Jt(n,e,r)}(n);if(o.toRoot())return Kt(e.root,new lt([],{}),e,r,i);const s=function(t,e,n){if(t.isAbsolute)return new Xt(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment,r=t===e.root;return new Xt(t,r,0)}const r=Yt(t.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new Xt(r,!1,i-o)}(n.snapshot._urlSegment,i,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?ee(s.segmentGroup,s.index,o.commands):te(s.segmentGroup,s.index,o.commands);return Kt(s.segmentGroup,a,e,r,i)}function Yt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Zt(t){return"object"==typeof t&&null!=t&&t.outlets}function Kt(t,e,n,r,i){let o={};return r&&rt(r,((t,e)=>{o[e]=Array.isArray(t)?t.map((t=>`${t}`)):`${t}`})),n.root===t?new ut(e,o,i):new ut(Qt(n.root,t,e),o,i)}function Qt(t,e,n){const r={};return rt(t.children,((t,i)=>{r[i]=t===e?n:Qt(t,e,n)})),new lt(t.segments,r)}class Jt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Yt(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(Zt);if(r&&r!==nt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function te(t,e,n){if(t||(t=new lt([],{})),0===t.segments.length&&t.hasChildren())return ee(t,e,n);const r=function(t,e,n){let r=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return o;const e=t.segments[i],s=n[r];if(Zt(s))break;const a=`${s}`,c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!oe(a,c,e))return o;r+=2}else{if(!oe(a,{},e))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new lt(t.segments.slice(0,r.pathIndex),{});return e.children[W]=new lt(t.segments.slice(r.pathIndex),t.children),ee(e,0,i)}return r.match&&0===i.length?new lt(t.segments,{}):r.match&&!t.hasChildren()?ne(t,e,n):r.match?ee(t,0,i):ne(t,e,n)}function ee(t,e,n){if(0===n.length)return new lt(t.segments,{});{const r=function(t){return Zt(t[0])?t[0].outlets:{[W]:t}}(n),i={};return rt(r,((n,r)=>{null!==n&&(i[r]=te(t.children[r],e,n))})),rt(t.children,((t,e)=>{void 0===r[e]&&(i[e]=t)})),new lt(t.segments,i)}}function ne(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){const o=n[i];if(Zt(o)){const t=re(o.outlets);return new lt(r,t)}if(0===i&&Yt(n[0])){const o=t.segments[e];r.push(new dt(o.path,n[0])),i++;continue}const s=Zt(o)?o.outlets[W]:`${o}`,a=i<n.length-1?n[i+1]:null;s&&a&&Yt(a)?(r.push(new dt(s,ie(a))),i+=2):(r.push(new dt(s,{})),i++)}return new lt(r,{})}function re(t){const e={};return rt(t,((t,n)=>{null!==t&&(e[n]=ne(new lt([],{}),0,t))})),e}function ie(t){const e={};return rt(t,((t,n)=>e[n]=`${t}`)),e}function oe(t,e,n){return t==n.path&&X(e,n.parameters)}class se{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Ht(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=Mt(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]})),rt(r,((t,e)=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=Mt(t),i=t.value.component?n.children:e;rt(r,((t,e)=>this.deactivateRouteAndItsChildren(t,i))),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=Mt(e);t.children.forEach((t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new G(t.value.snapshot))})),t.children.length&&this.forwardEvent(new H(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(Ht(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ae(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ae(t){Ht(t.value),t.children.forEach(ae)}class ce{constructor(t,e){this.routes=t,this.module=e}}function ue(t){return"function"==typeof t}function le(t){return t instanceof ut}const de=Symbol("INITIAL_VALUE");function he(){return Object(_.a)((t=>Object(c.b)(...t.map((t=>t.pipe(Object(y.a)(1),Object(b.a)(de))))).pipe(Object(v.a)(((t,e)=>{let n=!1;return e.reduce(((t,r,i)=>{if(t!==de)return t;if(r===de&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||le(r))return r}return t}),t)}),de),Object(w.a)((t=>t!==de)),Object(f.a)((t=>le(t)?t:!0===t)),Object(y.a)(1))))}class pe{constructor(t){this.segmentGroup=t||null}}class fe{constructor(t){this.urlTree=t}}function me(t){return new u.a((e=>e.error(new pe(t))))}function ge(t){return new u.a((e=>e.error(new fe(t))))}function _e(t){return new u.a((e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`))))}class ye{constructor(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(i.NgModuleRef)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,W).pipe(Object(f.a)((t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment)))).pipe(Object(C.a)((t=>{if(t instanceof fe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof pe)throw this.noMatchError(t);throw t})))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,W).pipe(Object(f.a)((e=>this.createUrlTree(e,t.queryParams,t.fragment)))).pipe(Object(C.a)((t=>{if(t instanceof pe)throw this.noMatchError(t);throw t})))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new lt([],{[W]:t}):t;return new ut(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)((t=>new lt([],t)))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(o.a)({});const n=[],r=[],i={};return rt(t,((t,o)=>{const s=e(o,t).pipe(Object(f.a)((t=>i[o]=t)));o===W?n.push(s):r.push(s)})),o.a.apply(null,n.concat(r)).pipe(Object(m.a)(),Object(g.a)(),Object(f.a)((()=>i)))}(n.children,((n,r)=>this.expandSegmentGroup(t,e,r,n)))}expandSegment(t,e,n,r,i,s){return Object(o.a)(...n).pipe(Object(S.a)((a=>this.expandSegmentAgainstRoute(t,e,n,a,r,i,s).pipe(Object(C.a)((t=>{if(t instanceof pe)return Object(o.a)(null);throw t}))))),Object(O.a)((t=>!!t)),Object(C.a)(((t,n)=>{if(t instanceof l.a||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Object(o.a)(new lt([],{}));throw new pe(e)}throw t})))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,o,s){return Ce(r)!==o?me(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):me(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ge(i):this.lineralizeSegments(n,i).pipe(Object(E.b)((n=>{const i=new lt(n,{});return this.expandSegment(t,i,e,n,r,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){const{matched:s,consumedSegments:a,lastChild:c,positionalParamSegments:u}=be(e,r,i);if(!s)return me(e);const l=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?ge(l):this.lineralizeSegments(r,l).pipe(Object(E.b)((r=>this.expandSegment(t,e,n,r.concat(i.slice(c)),o,!1))))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)((t=>(n._loadedConfig=t,new lt(r,{}))))):Object(o.a)(new lt(r,{}));const{matched:i,consumedSegments:s,lastChild:a}=be(e,n,r);if(!i)return me(e);const c=r.slice(a);return this.getChildConfig(t,n,r).pipe(Object(E.b)((t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:a}=function(t,e,n,r){if(n.length>0&&function(t,e,n){return n.some((n=>we(t,e,n)&&Ce(n)!==W))}(t,n,r)){return{segmentGroup:ve(new lt(e,function(t,e){const n={};n[W]=e;for(const e of t)""===e.path&&Ce(e)!==W&&(n[Ce(e)]=new lt([],{}));return n}(r,new lt(n,t.children)))),slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((n=>we(t,e,n)))}(t,n,r)){const e=new lt(t.segments,function(t,e,n,r){const i={};for(const o of n)we(t,e,o)&&!r[Ce(o)]&&(i[Ce(o)]=new lt([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children));return{segmentGroup:ve(e),slicedSegments:n}}return{segmentGroup:t,slicedSegments:n}}(e,s,c,r);if(0===a.length&&i.hasChildren()){return this.expandChildren(n,r,i).pipe(Object(f.a)((t=>new lt(s,t))))}if(0===r.length&&0===a.length)return Object(o.a)(new lt(s,{}));return this.expandSegment(n,i,r,a,W,!0).pipe(Object(f.a)((t=>new lt(s.concat(t.segments),t.children))))})))}getChildConfig(t,e,n){return e.children?Object(o.a)(new ce(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(E.b)((n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)((t=>(e._loadedConfig=t,t)))):function(t){return new u.a((e=>e.error(Q(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`))))}(e)))):Object(o.a)(new ce([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map((r=>{const i=t.get(r);let o;if(function(t){return t&&ue(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!ue(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return it(o)}));return Object(o.a)(i).pipe(he(),Object(x.a)((t=>{if(!le(t))return;const e=Q(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e})),Object(f.a)((t=>!0===t)))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[W])return _e(t.redirectTo);r=r.children[W]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new ut(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return rt(t,((t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t})),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let o={};return rt(e.children,((e,i)=>{o[i]=this.createSegmentGroup(t,e,n,r)})),new lt(i,o)}createSegments(t,e,n,r){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function be(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||J)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ve(t){if(1===t.numberOfChildren&&t.children[W]){const e=t.children[W];return new lt(t.segments.concat(e.segments),e.children)}return t}function we(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Ce(t){return t.outlet||W}function Se(t,e,n,r){return function(i){return i.pipe(Object(_.a)((i=>function(t,e,n,r,i){return new ye(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe(Object(f.a)((t=>Object.assign(Object.assign({},i),{urlAfterRedirects:t})))))))}}class Oe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ee{constructor(t,e){this.component=t,this.route=e}}function xe(t,e,n){const r=t._root;return ke(r,e?e._root:null,n,[r.value])}function Ie(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ke(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Mt(e);return t.children.forEach((t=>{!function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!ht(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ht(t.url,e.url)||!X(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$t(t,e)||!X(t.queryParams,e.queryParams);default:return!$t(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Oe(r)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ke(t,e,a?a.children:null,r,i):ke(t,e,n,r,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ee(a.outlet.component,s))}else s&&De(e,a,i),i.canActivateChecks.push(new Oe(r)),o.component?ke(t,null,a?a.children:null,r,i):ke(t,null,n,r,i)}(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]})),rt(o,((t,e)=>De(t,n.getContext(e),i))),i}function De(t,e,n){const r=Mt(t),i=t.value;rt(r,((t,r)=>{i.component?De(t,e?e.children.getContext(r):null,n):De(t,e,n)})),i.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Ee(e.outlet.component,i)):n.canDeactivateChecks.push(new Ee(null,i))}function Te(t,e){return function(n){return n.pipe(Object(E.b)((n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(s.a)(t).pipe(Object(E.b)((t=>function(t,e,n,r,i){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map((o=>{const s=Ie(o,e,i);let a;if(function(t){return t&&ue(t.canDeactivate)}(s))a=it(s.canDeactivate(t,e,n,r));else{if(!ue(s))throw new Error("Invalid CanDeactivate guard");a=it(s(t,e,n,r))}return a.pipe(Object(O.a)())}));return Object(o.a)(a).pipe(he())}(t.component,t.route,n,e,r))),Object(O.a)((t=>!0!==t),!0))}(c,r,i,t).pipe(Object(E.b)((n=>n&&"boolean"==typeof n?function(t,e,n,r){return Object(s.a)(e).pipe(Object(S.a)((e=>Object(s.a)([Ae(e.route.parent,r),je(e.route,r),Me(t,e.path,n),Re(t,e.route,n)]).pipe(Object(m.a)(),Object(O.a)((t=>!0!==t),!0)))),Object(O.a)((t=>!0!==t),!0))}(r,a,t,e):Object(o.a)(n))),Object(f.a)((t=>Object.assign(Object.assign({},n),{guardsResult:t}))))})))}}function je(t,e){return null!==t&&e&&e(new $(t)),Object(o.a)(!0)}function Ae(t,e){return null!==t&&e&&e(new z(t)),Object(o.a)(!0)}function Re(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map((r=>Object(d.a)((()=>{const i=Ie(r,e,n);let o;if(function(t){return t&&ue(t.canActivate)}(i))o=it(i.canActivate(e,t));else{if(!ue(i))throw new Error("Invalid CanActivate guard");o=it(i(e,t))}return o.pipe(Object(O.a)())}))));return Object(o.a)(i).pipe(he())}function Me(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map((t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t))).filter((t=>null!==t)).map((e=>Object(d.a)((()=>{const i=e.guards.map((i=>{const o=Ie(i,e.node,n);let s;if(function(t){return t&&ue(t.canActivateChild)}(o))s=it(o.canActivateChild(r,t));else{if(!ue(o))throw new Error("Invalid CanActivateChild guard");s=it(o(r,t))}return s.pipe(Object(O.a)())}));return Object(o.a)(i).pipe(he())}))));return Object(o.a)(i).pipe(he())}class Ne{}class Pe{constructor(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){try{const t=Ve(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,W),n=new Vt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Rt(n,e),i=new Bt(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(t){return new u.a((e=>e.error(t)))}}inheritParamsAndData(t){const e=t.value,n=Lt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach((t=>this.inheritParamsAndData(t)))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=pt(e,((e,n)=>this.processSegmentGroup(t,e,n)));return function(t){const e={};t.forEach((t=>{const n=e[t.value.outlet];if(n){const e=n.url.map((t=>t.toString())).join("/"),r=t.value.url.map((t=>t.toString())).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value}))}(n),n.sort(((t,e)=>t.value.outlet===W?-1:e.value.outlet===W?1:t.value.outlet.localeCompare(e.value.outlet))),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(t){if(!(t instanceof Ne))throw t}if(this.noLeftoversInUrl(e,n,r))return[];throw new Ne}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new Ne;if((t.outlet||W)!==r)throw new Ne;let i,o=[],s=[];if("**"===t.path){const o=n.length>0?nt(n).parameters:{};i=new Vt(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ze(t),r,t.component,t,Fe(e),Le(e)+n.length,He(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ne;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=e.matcher||J,i=r(n,t,e);if(!i)throw new Ne;const o={};rt(i.posParams,((t,e)=>{o[e]=t.path}));const s=i.consumed.length>0?Object.assign(Object.assign({},o),i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s}}(e,t,n);o=a.consumedSegments,s=n.slice(a.lastChild),i=new Vt(o,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ze(t),r,t.component,t,Fe(e),Le(e)+o.length,He(t))}const a=function(t){if(t.children)return t.children;if(t.loadChildren)return t._loadedConfig.routes;return[]}(t),{segmentGroup:c,slicedSegments:u}=Ve(e,o,s,a,this.relativeLinkResolution);if(0===u.length&&c.hasChildren()){const t=this.processChildren(a,c);return[new Rt(i,t)]}if(0===a.length&&0===u.length)return[new Rt(i,[])];const l=this.processSegment(a,c,u,W);return[new Rt(i,l)]}}function Fe(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Le(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Ve(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((n=>Be(t,e,n)&&Ue(n)!==W))}(t,n,r)){const i=new lt(e,function(t,e,n,r){const i={};i[W]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&Ue(r)!==W){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Ue(r)]=n}return i}(t,e,r,new lt(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((n=>Be(t,e,n)))}(t,n,r)){const o=new lt(t.segments,function(t,e,n,r,i,o){const s={};for(const a of r)if(Be(t,n,a)&&!i[Ue(a)]){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Ue(a)]=n}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const o=new lt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function Be(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Ue(t){return t.outlet||W}function ze(t){return t.data||{}}function He(t){return t.resolve||{}}function $e(t,e,n,r,i){return function(o){return o.pipe(Object(E.b)((o=>function(t,e,n,r,i="emptyOnly",o="legacy"){return new Pe(t,e,n,r,i,o).recognize()}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Object(f.a)((t=>Object.assign(Object.assign({},o),{targetSnapshot:t})))))))}}function Ge(t,e){return function(n){return n.pipe(Object(E.b)((n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return Object(o.a)(n);let a=0;return Object(s.a)(i).pipe(Object(S.a)((n=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Object(o.a)({});const a={};return Object(s.a)(i).pipe(Object(E.b)((i=>function(t,e,n,r){const i=Ie(t,e,r);return i.resolve?it(i.resolve(e,n)):it(i(e,n))}(t[i],e,n,r).pipe(Object(x.a)((t=>{a[i]=t}))))),Object(I.a)(1),Object(E.b)((()=>Object.keys(a).length===i.length?Object(o.a)(a):h.a)))}(t._resolve,t,e,r).pipe(Object(f.a)((e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Lt(t,n).resolve),null))))}(n.route,r,t,e))),Object(x.a)((()=>a++)),Object(I.a)(1),Object(E.b)((t=>a===i.length?Object(o.a)(n):h.a)))})))}}function qe(t){return function(e){return e.pipe(Object(_.a)((e=>{const n=t(e);return n?Object(s.a)(n).pipe(Object(f.a)((()=>e))):Object(s.a)([e])})))}}class We{}class Ye{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}class Ze extends Ye{}class Ke{}function Qe(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];Je(r,Xe(e,r))}}function Je(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==W)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch){const n="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. ${n}`)}if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&Qe(t.children,e)}function Xe(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function tn(t){const e=t.children&&t.children.map(tn),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==W&&(n.component=Ke),n}Ke.\u0275fac=function(t){return new(t||Ke)},Ke.\u0275cmp=i["\u0275\u0275defineComponent"]({type:Ke,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[gn]},encapsulation:2});const en=new i.InjectionToken("ROUTES");class nn{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){this.onLoadStartListener&&this.onLoadStartListener(e);return this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)((n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new ce(et(r.injector.get(en)).map(tn),r)})))}loadModuleFactory(t){return"string"==typeof t?Object(s.a)(this.loader.load(t)):it(t()).pipe(Object(E.b)((t=>t instanceof i.NgModuleFactory?Object(o.a)(t):Object(s.a)(this.compiler.compileModuleAsync(t)))))}}class rn{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(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new rn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class sn{}class an{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function cn(t){throw t}function un(t,e,n){return e.parse("/")}function ln(t,e){return Object(o.a)(null)}class dn{constructor(t,e,n,r,o,s,c,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new p.b,this.errorHandler=cn,this.malformedUriErrorHandler=un,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ln,afterPreactivation:ln},this.urlHandlingStrategy=new an,this.routeReuseStrategy=new Ze,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy";this.ngModule=o.get(i.NgModuleRef),this.console=o.get(i["\u0275Console"]);const l=o.get(i.NgZone);this.isNgZoneEnabled=l instanceof i.NgZone,this.resetConfig(u),this.currentUrlTree=new ut(new lt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new nn(s,c,(t=>this.triggerEvent(new B(t))),(t=>this.triggerEvent(new U(t)))),this.routerState=Pt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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(t){const e=this.events;return t.pipe(Object(w.a)((t=>0!==t.id)),Object(f.a)((t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)}))),Object(_.a)((t=>{let n=!1,r=!1;return Object(o.a)(t).pipe(Object(x.a)((t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(_.a)((t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(_.a)((t=>{const n=this.transitions.getValue();return e.next(new j(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?h.a:[t]})),Object(_.a)((t=>Promise.resolve(t))),Se(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Object(x.a)((t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})})),$e(this.rootComponentType,this.config,(t=>this.serializeUrl(t)),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(x.a)((t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)})),Object(x.a)((t=>{const n=new N(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)})));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:s,extras:a}=t,c=new j(n,this.serializeUrl(r),i,s);e.next(c);const u=Pt(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:u,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),h.a})),qe((t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})})),Object(x.a)((t=>{const e=new P(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})),Object(f.a)((t=>Object.assign(Object.assign({},t),{guards:xe(t.targetSnapshot,t.currentSnapshot,this.rootContexts)}))),Te(this.ngModule.injector,(t=>this.triggerEvent(t))),Object(x.a)((t=>{if(le(t.guardsResult)){const e=Q(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}})),Object(x.a)((t=>{const e=new F(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)})),Object(w.a)((t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0})),qe((t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(x.a)((t=>{const e=new L(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})),Object(_.a)((t=>{let n=!1;return Object(o.a)(t).pipe(Ge(this.paramsInheritanceStrategy,this.ngModule.injector),Object(x.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new R(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}))})),Object(x.a)((t=>{const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)})))})),qe((t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})})),Object(f.a)((t=>{const e=function(t,e,n){const r=Gt(t,e._root,n?n._root:void 0);return new Nt(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})})),Object(x.a)((t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)})),(i=this.rootContexts,s=this.routeReuseStrategy,a=t=>this.triggerEvent(t),Object(f.a)((t=>(new se(s,t.targetRouterState,t.currentRouterState,a).activate(i),t)))),Object(x.a)({next(){n=!0},complete(){n=!0}}),Object(k.a)((()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null})),Object(C.a)((n=>{if(r=!0,(i=n)&&i[K]){const r=le(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new R(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout((()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy};return this.scheduleNavigation(e,"imperative",null,r,{resolve:t.resolve,reject:t.reject,promise:t.promise})}),0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new M(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(e){t.reject(e)}}var i;return h.a})));var i,s,a})))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout((()=>{const{source:t,state:n,urlTree:r}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(r,t,n,i)}),0),this.lastLocationChangeInfo=e})))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId)||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Qe(t),this.config=t.map(tn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:o,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:c}=e;Object(i.isDevMode)()&&s&&console&&console.warn;const u=n||this.routerState.root,l=c?this.currentUrlTree.fragment:o;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=s?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),Wt(u,this.currentUrlTree,t,d,l)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.isDevMode)()&&this.isNgZoneEnabled&&!i.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=le(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(le(t))return ot(this.currentUrlTree,t,e);const n=this.parseUrl(t);return ot(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce(((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e}),{})}processNavigations(){this.navigations.subscribe((t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new A(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)}),(t=>{this.console.warn("Unhandled Navigation Error: ")}))}scheduleNavigation(t,e,n,r,i){const o=this.getTransition(),s="imperative"!==e&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===t.toString();if(s&&a)return Promise.resolve(!0);let c,u,l;i?(c=i.resolve,u=i.reject,l=i.promise):l=new Promise(((t,e)=>{c=t,u=e}));const d=++this.navigationId;return this.setTransition({id:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch((t=>Promise.reject(t)))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}dn.\u0275fac=function(t){return new(t||dn)(i["\u0275\u0275inject"](i.Type),i["\u0275\u0275inject"](ft),i["\u0275\u0275inject"](on),i["\u0275\u0275inject"](r.Location),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](i.NgModuleFactoryLoader),i["\u0275\u0275inject"](i.Compiler),i["\u0275\u0275inject"](void 0))},dn.\u0275prov=i["\u0275\u0275defineInjectable"]({token:dn,factory:dn.\u0275fac}),dn.ctorParameters=()=>[{type:i.Type},{type:ft},{type:on},{type:r.Location},{type:i.Injector},{type:i.NgModuleFactoryLoader},{type:i.Compiler},{type:void 0}];class hn{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],this.onChanges=new p.b,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.isDevMode)()&&console&&console.warn,this.preserve=t}onClick(){const t={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}hn.\u0275fac=function(t){return new(t||hn)(i["\u0275\u0275directiveInject"](dn),i["\u0275\u0275directiveInject"](Ft),i["\u0275\u0275injectAttribute"]("tabindex"),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},hn.\u0275dir=i["\u0275\u0275defineDirective"]({type:hn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),hn.ctorParameters=()=>[{type:dn},{type:Ft},{type:String,decorators:[{type:i.Attribute,args:["tabindex"]}]},{type:i.Renderer2},{type:i.ElementRef}],hn.propDecorators={queryParams:[{type:i.Input}],fragment:[{type:i.Input}],queryParamsHandling:[{type:i.Input}],preserveFragment:[{type:i.Input}],skipLocationChange:[{type:i.Input}],replaceUrl:[{type:i.Input}],state:[{type:i.Input}],routerLink:[{type:i.Input}],preserveQueryParams:[{type:i.Input}],onClick:[{type:i.HostListener,args:["click"]}]};class pn{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new p.b,this.subscription=t.events.subscribe((t=>{t instanceof A&&this.updateTargetUrlAndHref()}))}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.isDevMode)()&&console&&console.warn,this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,i){if(0!==t||e||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:fn(this.skipLocationChange),replaceUrl:fn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:fn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:fn(this.preserveFragment)})}}function fn(t){return""===t||!!t}pn.\u0275fac=function(t){return new(t||pn)(i["\u0275\u0275directiveInject"](dn),i["\u0275\u0275directiveInject"](Ft),i["\u0275\u0275directiveInject"](r.LocationStrategy))},pn.\u0275dir=i["\u0275\u0275defineDirective"]({type:pn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(i["\u0275\u0275hostProperty"]("href",e.href,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275attribute"]("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),pn.ctorParameters=()=>[{type:dn},{type:Ft},{type:r.LocationStrategy}],pn.propDecorators={target:[{type:i.HostBinding,args:["attr.target"]},{type:i.Input}],queryParams:[{type:i.Input}],fragment:[{type:i.Input}],queryParamsHandling:[{type:i.Input}],preserveFragment:[{type:i.Input}],skipLocationChange:[{type:i.Input}],replaceUrl:[{type:i.Input}],state:[{type:i.Input}],href:[{type:i.HostBinding}],routerLink:[{type:i.Input}],preserveQueryParams:[{type:i.Input}],onClick:[{type:i.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]};class mn{constructor(t,e,n,r,i,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof A&&this.update()}))}ngAfterContentInit(){Object(s.a)([this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)]).pipe(Object(D.a)()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=Object(s.a)(e).pipe(Object(D.a)()).subscribe((t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()}))}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter((t=>!!t))}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach((e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)})))}))}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}mn.\u0275fac=function(t){return new(t||mn)(i["\u0275\u0275directiveInject"](dn),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](hn,8),i["\u0275\u0275directiveInject"](pn,8))},mn.\u0275dir=i["\u0275\u0275defineDirective"]({type:mn,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;(1&t&&(i["\u0275\u0275contentQuery"](n,hn,!0),i["\u0275\u0275contentQuery"](n,pn,!0)),2&t)&&(i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(e.links=r),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i["\u0275\u0275NgOnChangesFeature"]]}),mn.ctorParameters=()=>[{type:dn},{type:i.ElementRef},{type:i.Renderer2},{type:i.ChangeDetectorRef},{type:hn,decorators:[{type:i.Optional}]},{type:pn,decorators:[{type:i.Optional}]}],mn.propDecorators={links:[{type:i.ContentChildren,args:[hn,{descendants:!0}]}],linksWithHrefs:[{type:i.ContentChildren,args:[pn,{descendants:!0}]}],routerLinkActiveOptions:[{type:i.Input}],routerLinkActive:[{type:i.Input}]};class gn{constructor(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.EventEmitter,this.deactivateEvents=new i.EventEmitter,this.name=r||W,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.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 t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=t._futureSnapshot.routeConfig.component,r=(e=e||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,o=new _n(t,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}gn.\u0275fac=function(t){return new(t||gn)(i["\u0275\u0275directiveInject"](on),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver),i["\u0275\u0275injectAttribute"]("name"),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},gn.\u0275dir=i["\u0275\u0275defineDirective"]({type:gn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),gn.ctorParameters=()=>[{type:on},{type:i.ViewContainerRef},{type:i.ComponentFactoryResolver},{type:String,decorators:[{type:i.Attribute,args:["name"]}]},{type:i.ChangeDetectorRef}],gn.propDecorators={activateEvents:[{type:i.Output,args:["activate"]}],deactivateEvents:[{type:i.Output,args:["deactivate"]}]};class _n{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ft?this.route:t===on?this.childContexts:this.parent.get(t,e)}}class yn{}class bn{preload(t,e){return e().pipe(Object(C.a)((()=>Object(o.a)(null))))}}class vn{preload(t,e){return Object(o.a)(null)}}class wn{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i;this.loader=new nn(e,n,(e=>t.triggerEvent(new B(e))),(e=>t.triggerEvent(new U(e))))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(w.a)((t=>t instanceof A)),Object(S.a)((()=>this.preload()))).subscribe((()=>{}))}preload(){const t=this.injector.get(i.NgModuleRef);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(s.a)(n).pipe(Object(D.a)(),Object(f.a)((t=>{})))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,(()=>this.loader.load(t.injector,e).pipe(Object(E.b)((t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))))}}wn.\u0275fac=function(t){return new(t||wn)(i["\u0275\u0275inject"](dn),i["\u0275\u0275inject"](i.NgModuleFactoryLoader),i["\u0275\u0275inject"](i.Compiler),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](yn))},wn.\u0275prov=i["\u0275\u0275defineInjectable"]({token:wn,factory:wn.\u0275fac}),wn.ctorParameters=()=>[{type:dn},{type:i.NgModuleFactoryLoader},{type:i.Compiler},{type:i.Injector},{type:yn}];class Cn{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe((t=>{t instanceof j?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof A&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))}))}consumeScrollEvents(){return this.router.events.subscribe((t=>{t instanceof q&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))}))}scheduleScrollEvent(t,e){this.router.triggerEvent(new q(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}Cn.\u0275fac=function(t){return new(t||Cn)(i["\u0275\u0275inject"](dn),i["\u0275\u0275inject"](r.ViewportScroller),i["\u0275\u0275inject"](void 0))},Cn.\u0275prov=i["\u0275\u0275defineInjectable"]({token:Cn,factory:Cn.\u0275fac}),Cn.ctorParameters=()=>[{type:dn},{type:r.ViewportScroller},{type:void 0}];const Sn=new i.InjectionToken("ROUTER_CONFIGURATION"),On=new i.InjectionToken("ROUTER_FORROOT_GUARD"),En=[r.Location,{provide:ft,useClass:mt},{provide:dn,useFactory:An,deps:[ft,on,r.Location,i.Injector,i.NgModuleFactoryLoader,i.Compiler,en,Sn,[sn,new i.Optional],[We,new i.Optional]]},on,{provide:Ft,useFactory:Rn,deps:[dn]},{provide:i.NgModuleFactoryLoader,useClass:i.SystemJsNgModuleLoader},wn,vn,bn,{provide:Sn,useValue:{enableTracing:!1}}];function xn(){return new i.NgProbeToken("Router",dn)}class In{constructor(t,e){}static forRoot(t,e){return{ngModule:In,providers:[En,jn(t),{provide:On,useFactory:Tn,deps:[[dn,new i.Optional,new i.SkipSelf]]},{provide:Sn,useValue:e||{}},{provide:r.LocationStrategy,useFactory:Dn,deps:[r.PlatformLocation,[new i.Inject(r.APP_BASE_HREF),new i.Optional],Sn]},{provide:Cn,useFactory:kn,deps:[dn,r.ViewportScroller,Sn]},{provide:yn,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:vn},{provide:i.NgProbeToken,multi:!0,useFactory:xn},Ln()]}}static forChild(t){return{ngModule:In,providers:[jn(t)]}}}function kn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Cn(t,e,n)}function Dn(t,e,n={}){return n.useHash?new r.HashLocationStrategy(t,e):new r.PathLocationStrategy(t,e)}function Tn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function jn(t){return[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:en,multi:!0,useValue:t}]}function An(t,e,n,i,o,s,a,c={},u,l){const d=new dn(null,t,e,n,i,o,s,et(a));if(u&&(d.urlHandlingStrategy=u),l&&(d.routeReuseStrategy=l),c.errorHandler&&(d.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(d.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const t=Object(r["\u0275getDOM"])();d.events.subscribe((e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()}))}return c.onSameUrlNavigation&&(d.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(d.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(d.relativeLinkResolution=c.relativeLinkResolution),d}function Rn(t){return t.routerState.root}In.\u0275mod=i["\u0275\u0275defineNgModule"]({type:In}),In.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||In)(i["\u0275\u0275inject"](On,8),i["\u0275\u0275inject"](dn,8))}}),In.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[On]}]},{type:dn,decorators:[{type:i.Optional}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](In,{declarations:[gn,hn,pn,mn,Ke],exports:[gn,hn,pn,mn,Ke]});class Mn{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new p.b}appInitializer(){return this.injector.get(r.LOCATION_INITIALIZED,Promise.resolve(null)).then((()=>{let t=null;const e=new Promise((e=>t=e)),n=this.injector.get(dn),r=this.injector.get(Sn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e}))}bootstrapListener(t){const e=this.injector.get(Sn),n=this.injector.get(wn),r=this.injector.get(Cn),o=this.injector.get(dn),s=this.injector.get(i.ApplicationRef);t===s.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}function Nn(t){return t.appInitializer.bind(t)}function Pn(t){return t.bootstrapListener.bind(t)}Mn.\u0275fac=function(t){return new(t||Mn)(i["\u0275\u0275inject"](i.Injector))},Mn.\u0275prov=i["\u0275\u0275defineInjectable"]({token:Mn,factory:Mn.\u0275fac}),Mn.ctorParameters=()=>[{type:i.Injector}];const Fn=new i.InjectionToken("Router Initializer");function Ln(){return[Mn,{provide:i.APP_INITIALIZER,multi:!0,useFactory:Nn,deps:[Mn]},{provide:Fn,useFactory:Pn,deps:[Mn]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Fn}]}const Vn=new i.Version("10.2.5")},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(3),i=n(7),o=n(114),s=n(54);function a(t){return function(e){return 0===t?Object(s.b)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return y})),n.d(e,"f",(function(){return c}));var r=n(0),i=n(1);function o(){throw Error("Host already has a portal attached")}class s{attach(t){return("undefined"==typeof ngDevMode||ngDevMode)&&(null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&o()),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t?(this._attachedHost=null,t.detach()):("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw Error("Attempting to detach a portal that is not attached to a host")}()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class a extends s{constructor(t,e,n,r){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r}}class c extends s{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class u extends s{constructor(t){super(),this.element=t instanceof r.ElementRef?t.nativeElement:t}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return("undefined"==typeof ngDevMode||ngDevMode)&&(t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&o(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}()),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof c?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof u?(this._attachedPortal=t,this.attachDomPortal(t)):void(("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}())}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class d extends l{constructor(t,e,n,r,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=t=>{if(!this._document&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("DOM portal content must be attached to a parent node.");const n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn((()=>{n.parentNode&&n.parentNode.replaceChild(e,n)}))},this._document=i}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((()=>n.destroy()))):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn((()=>{this._appRef.detachView(n.hostView),n.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach((t=>this.outletElement.appendChild(t))),n.detectChanges(),this.setDisposeFn((()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)})),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}class h extends c{constructor(t,e){super(t,e)}}h.\u0275fac=function(t){return new(t||h)(r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.ViewContainerRef))},h.\u0275dir=r["\u0275\u0275defineDirective"]({type:h,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),h.ctorParameters=()=>[{type:r.TemplateRef},{type:r.ViewContainerRef}];class p extends h{}p.\u0275fac=function(t){return f(t||p)},p.\u0275dir=r["\u0275\u0275defineDirective"]({type:p,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:h,useExisting:p}]),r["\u0275\u0275InheritDefinitionFeature"]]});const f=r["\u0275\u0275getInheritedFactory"](p);class m extends l{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new r.EventEmitter,this.attachDomPortal=t=>{if(!this._document&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("DOM portal content must be attached to a parent node.");const n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn((()=>{n.parentNode&&n.parentNode.replaceChild(e,n)}))},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn((()=>r.destroy())),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn((()=>this._viewContainerRef.clear())),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}m.\u0275fac=function(t){return new(t||m)(r["\u0275\u0275directiveInject"](r.ComponentFactoryResolver),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](i.DOCUMENT))},m.\u0275dir=r["\u0275\u0275defineDirective"]({type:m,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),m.ctorParameters=()=>[{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef},{type:void 0,decorators:[{type:r.Inject,args:[i.DOCUMENT]}]}],m.propDecorators={attached:[{type:r.Output}]};class g extends m{}g.\u0275fac=function(t){return _(t||g)},g.\u0275dir=r["\u0275\u0275defineDirective"]({type:g,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:m,useExisting:g}]),r["\u0275\u0275InheritDefinitionFeature"]]});const _=r["\u0275\u0275getInheritedFactory"](g);class y{}y.\u0275mod=r["\u0275\u0275defineNgModule"]({type:y}),y.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||y)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](y,{declarations:[h,m,p,g],exports:[h,m,p,g]})},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(3),i=n(7),o=n(101),s=n(116);function a(t,e,n){return function(r){return r.lift(new c(t,e,n))}}var c=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.nextOrObserver,this.error,this.complete))},t}(),u=function(t){function e(e,n,r,i){var a=t.call(this,e)||this;return a._tapNext=o.a,a._tapError=o.a,a._tapComplete=o.a,a._tapError=r||o.a,a._tapComplete=i||o.a,Object(s.a)(n)?(a._context=a,a._tapNext=n):n&&(a._context=n,a._tapNext=n.next||o.a,a._tapError=n.error||o.a,a._tapComplete=n.complete||o.a),a}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(3),i=n(21),o=n(43),s=n(12);function a(t,e){return"function"==typeof e?function(n){return n.pipe(a((function(n,r){return Object(o.a)(t(n,r)).pipe(Object(i.a)((function(t,i){return e(n,t,r,i)})))})))}:function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e)},e.prototype._innerSub=function(t){var e=this.innerSubscription;e&&e.unsubscribe();var n=new s.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(s.c)(t,n),this.innerSubscription!==n&&r.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=void 0},e.prototype.notifyComplete=function(){this.innerSubscription=void 0,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t){this.destination.next(t)},e}(s.b)},,function(t,e,n){"use strict";n.r(e),n.d(e,"LoadingBarModule",(function(){return h})),n.d(e,"LoadingBarComponent",(function(){return d})),n.d(e,"LoadingBarService",(function(){return l}));var r=n(0),i=n(13),o=n(303),s=n(1);function a(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"div",3),r["\u0275\u0275element"](1,"div",4),r["\u0275\u0275elementEnd"]()),2&t){var n=r["\u0275\u0275nextContext"](2);r["\u0275\u0275styleProp"]("color",n.color),r["\u0275\u0275advance"](1),r["\u0275\u0275styleProp"]("width",n.diameter)("height",n.diameter)}}function c(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"div",5),r["\u0275\u0275elementStart"](1,"div",6),r["\u0275\u0275element"](2,"div",7),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&t){var n=r["\u0275\u0275nextContext"]().ngIf,i=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("color",i.color),r["\u0275\u0275advance"](1),r["\u0275\u0275styleProp"]("background",i.color)("height",i.height)("width",n+"%"),r["\u0275\u0275advance"](1),r["\u0275\u0275styleProp"]("height",i.height)}}function u(t,e){if(1&t&&(r["\u0275\u0275elementContainerStart"](0),r["\u0275\u0275template"](1,a,2,6,"div",1),r["\u0275\u0275template"](2,c,3,10,"div",2),r["\u0275\u0275elementContainerEnd"]()),2&t){var n=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",n.includeSpinner),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",n.includeBar)}}var l=function(){function t(t){this.platformId=t,this.progress$=(new i.b).pipe(Object(o.a)(0)),this._pendingRequests=0,this._value=0}return t.prototype.start=function(t){void 0===t&&(t=2),++this._pendingRequests,0!==this._value&&1!==this._pendingRequests||this.set(1===this._pendingRequests&&this._value>0?this._value:t)},t.prototype.stop=function(){for(this.complete();this._pendingRequests>0;)this.complete()},t.prototype.complete=function(){var t=this;0===this._pendingRequests&&0===this._value||(this._pendingRequests>0&&--this._pendingRequests,(0===this._pendingRequests||0===this._pendingRequests&&this._value>0)&&(100!==this._value&&this.set(100),setTimeout((function(){return t.set(0)}),500)))},t.prototype.set=function(t){var e=this;Object(s.isPlatformBrowser)(this.platformId)?(0===t&&this._pendingRequests>0&&(t=2),this._value=t,this.progress$.next(t),0!==this._pendingRequests&&(clearTimeout(this._incTimeout),this._value>0&&this._value<100&&(this._incTimeout=setTimeout((function(){return e.increment()}),250)))):this._pendingRequests=0},t.prototype.increment=function(t){void 0===t&&(t=0),t>0&&this.set(this._value+t);var e=this._value;t=e>=0&&e<25?3*Math.random()+3:e>=25&&e<65?3*Math.random():e>=65&&e<90?2*Math.random():e>=90&&e<99?.5:0,this.set(this._value+t)},t.prototype.ngOnDestroy=function(){this.progress$.complete()},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.PLATFORM_ID))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();l.ctorParameters=function(){return[{type:Object,decorators:[{type:r.Inject,args:[r.PLATFORM_ID]}]}]};var d=function(){function t(t){this.loader=t,this.includeSpinner=!0,this.includeBar=!0,this.fixed=!0,this.value=null}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](l))},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["ngx-loading-bar"]],hostVars:2,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("loading-bar-fixed",e.fixed)},inputs:{includeSpinner:"includeSpinner",includeBar:"includeBar",fixed:"fixed",value:"value",color:"color",height:"height",diameter:"diameter"},decls:2,vars:3,consts:[[4,"ngIf"],["id","loading-bar-spinner",3,"color",4,"ngIf"],["id","loading-bar",3,"color",4,"ngIf"],["id","loading-bar-spinner"],[1,"spinner-icon"],["id","loading-bar"],[1,"bar"],[1,"peg"]],template:function(t,e){1&t&&(r["\u0275\u0275template"](0,u,3,2,"ng-container",0),r["\u0275\u0275pipe"](1,"async")),2&t&&r["\u0275\u0275property"]("ngIf",null!==e.value?e.value:r["\u0275\u0275pipeBind1"](1,1,e.loader.progress$))},directives:[s.NgIf],pipes:[s.AsyncPipe],styles:["[_nghost-%COMP%]{position:relative;display:block}.loading-bar-fixed[_nghost-%COMP%] > div[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{position:fixed}.loading-bar-fixed[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%]{position:fixed;top:10px;left:10px}.loading-bar-fixed[_nghost-%COMP%] > div[_ngcontent-%COMP%] .peg[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{pointer-events:none;-webkit-transition:350ms linear all;transition:350ms linear all;color:#29d}[_nghost-%COMP%] > div[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{-webkit-transition:width 350ms;transition:width 350ms;background:#29d;position:absolute;z-index:10002;top:0;left:0;width:100%;height:2px;border-bottom-right-radius:1px;border-top-right-radius:1px}[_nghost-%COMP%] > div[_ngcontent-%COMP%] .peg[_ngcontent-%COMP%]{display:none;position:absolute;width:70px;right:0;top:0;height:2px;opacity:.45;-webkit-box-shadow:1px 0 6px 1px;box-shadow:1px 0 6px 1px;color:inherit;border-radius:100%}[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%]{display:block;position:absolute;z-index:10002;top:5px;left:0}[_nghost-%COMP%] > div#loading-bar-spinner[_ngcontent-%COMP%] .spinner-icon[_ngcontent-%COMP%]{width:14px;height:14px;border:2px solid transparent;border-top-color:inherit;border-left-color:inherit;border-radius:50%;-webkit-animation:.4s linear infinite loading-bar-spinner;animation:.4s linear infinite loading-bar-spinner}@-webkit-keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-bar-spinner{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}"]}),t}();d.ctorParameters=function(){return[{type:l}]},d.propDecorators={includeSpinner:[{type:r.Input}],includeBar:[{type:r.Input}],fixed:[{type:r.Input}],color:[{type:r.Input}],height:[{type:r.Input}],diameter:[{type:r.Input}],value:[{type:r.Input}]};var h=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[l]}},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[s.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](t,{declarations:function(){return[d]},imports:function(){return[s.CommonModule]},exports:function(){return[d]}}),t}()},function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserModule",(function(){return gt})),n.d(e,"BrowserTransferStateModule",(function(){return jt})),n.d(e,"By",(function(){return At})),n.d(e,"DomSanitizer",(function(){return it})),n.d(e,"EVENT_MANAGER_PLUGINS",(function(){return C})),n.d(e,"EventManager",(function(){return S})),n.d(e,"HAMMER_GESTURE_CONFIG",(function(){return G})),n.d(e,"HAMMER_LOADER",(function(){return q})),n.d(e,"HammerGestureConfig",(function(){return W})),n.d(e,"HammerModule",(function(){return J})),n.d(e,"Meta",(function(){return yt})),n.d(e,"Title",(function(){return vt})),n.d(e,"TransferState",(function(){return Dt})),n.d(e,"VERSION",(function(){return Rt})),n.d(e,"disableDebugTools",(function(){return xt})),n.d(e,"enableDebugTools",(function(){return Et})),n.d(e,"makeStateKey",(function(){return kt})),n.d(e,"platformBrowser",(function(){return ft})),n.d(e,"\u0275BROWSER_SANITIZATION_PROVIDERS",(function(){return pt})),n.d(e,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return ht})),n.d(e,"\u0275BrowserDomAdapter",(function(){return s})),n.d(e,"\u0275BrowserGetTestability",(function(){return h})),n.d(e,"\u0275DomEventsPlugin",(function(){return H})),n.d(e,"\u0275DomRendererFactory2",(function(){return F})),n.d(e,"\u0275DomSanitizerImpl",(function(){return st})),n.d(e,"\u0275DomSharedStylesHost",(function(){return x})),n.d(e,"\u0275ELEMENT_PROBE_PROVIDERS",(function(){return w})),n.d(e,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return b})),n.d(e,"\u0275HAMMER_PROVIDERS__POST_R3__",(function(){return Z})),n.d(e,"\u0275HammerGesturesPlugin",(function(){return Y})),n.d(e,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return dt})),n.d(e,"\u0275KeyEventsPlugin",(function(){return rt})),n.d(e,"\u0275NAMESPACE_URIS",(function(){return I})),n.d(e,"\u0275SharedStylesHost",(function(){return E})),n.d(e,"\u0275TRANSITION_ID",(function(){return u})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_a",(function(){return ct})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_b",(function(){return ut})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_c",(function(){return mt})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_d",(function(){return _t})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_e",(function(){return bt})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_f",(function(){return Tt})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_g",(function(){return O})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_h",(function(){return K})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_i",(function(){return Q})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_j",(function(){return ot})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_k",(function(){return l})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_l",(function(){return d})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_m",(function(){return y})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_n",(function(){return v})),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_o",(function(){return o})),n.d(e,"\u0275escapeHtml",(function(){return It})),n.d(e,"\u0275flattenStyles",(function(){return N})),n.d(e,"\u0275initDomAdapter",(function(){return at})),n.d(e,"\u0275shimContentAttribute",(function(){return R})),n.d(e,"\u0275shimHostAttribute",(function(){return M}));var r=n(1),i=n(0);n.d(e,"\u0275getDOM",(function(){return r["\u0275getDOM"]}));class o extends r["\u0275DomAdapter"]{constructor(){super()}supportsDOMEvents(){return!0}}(()=>{if(i["\u0275global"].Node)i["\u0275global"].Node.prototype.contains})();class s extends o{static makeCurrent(){Object(r["\u0275setRootDomAdapter"])(new s)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=function(){if(!c&&(c=document.querySelector("base"),!c))return null;return c.getAttribute("href")}();return null==e?null:function(t){a||(a=document.createElement("a"));return a.setAttribute("href",t),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}(e)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(r["\u0275parseCookieValue"])(document.cookie,t)}}let a,c=null;const u=new i.InjectionToken("TRANSITION_ID");function l(t,e,n){return()=>{n.get(i.ApplicationInitStatus).donePromise.then((()=>{const n=Object(r["\u0275getDOM"])();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((e=>e.getAttribute("ng-transition")===t)).forEach((t=>n.remove(t)))}))}}const d=[{provide:i.APP_INITIALIZER,useFactory:l,deps:[u,r.DOCUMENT,i.Injector],multi:!0}];class h{static init(){Object(i.setTestabilityGetter)(new h)}addToWindow(t){i["\u0275global"].getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["\u0275global"].getAllAngularTestabilities=()=>t.getAllTestabilities(),i["\u0275global"].getAllAngularRootElements=()=>t.getAllRootElements();i["\u0275global"].frameworkStabilizers||(i["\u0275global"].frameworkStabilizers=[]),i["\u0275global"].frameworkStabilizers.push((t=>{const e=i["\u0275global"].getAllAngularTestabilities();let n=e.length,r=!1;const o=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(o)}))}))}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?Object(r["\u0275getDOM"])().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}function p(t,e){if("undefined"==typeof COMPILED||!COMPILED){(i["\u0275global"].ng=i["\u0275global"].ng||{})[t]=e}}const f={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone},m="probe",g="coreTokens";function _(t){return Object(i["\u0275getDebugNodeR2"])(t)}function y(t){return p(m,_),p(g,Object.assign(Object.assign({},f),(t||[]).reduce(((t,e)=>(t[e.name]=e.token,t)),{}))),()=>_}const b=[],v=[{provide:i.APP_INITIALIZER,useFactory:y,deps:[[i.NgProbeToken,new i.Optional]],multi:!0}],w=b,C=new i.InjectionToken("EventManagerPlugins");class S{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach((t=>t.manager=this)),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let e=0;e<n.length;e++){const r=n[e];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error(`No event manager plugin found for event ${t}`)}}S.\u0275fac=function(t){return new(t||S)(i["\u0275\u0275inject"](C),i["\u0275\u0275inject"](i.NgZone))},S.\u0275prov=i["\u0275\u0275defineInjectable"]({token:S,factory:S.\u0275fac}),S.ctorParameters=()=>[{type:Array,decorators:[{type:i.Inject,args:[C]}]},{type:i.NgZone}];class O{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const i=Object(r["\u0275getDOM"])().getGlobalEventTarget(this._doc,t);if(!i)throw new Error(`Unsupported event target ${i} for event ${e}`);return this.addEventListener(i,e,n)}}class E{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach((t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))})),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}E.\u0275fac=function(t){return new(t||E)},E.\u0275prov=i["\u0275\u0275defineInjectable"]({token:E,factory:E.\u0275fac});class x extends E{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach((t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))}))}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e=>this._addStylesToHost(t,e)))}ngOnDestroy(){this._styleNodes.forEach((t=>Object(r["\u0275getDOM"])().remove(t)))}}x.\u0275fac=function(t){return new(t||x)(i["\u0275\u0275inject"](r.DOCUMENT))},x.\u0275prov=i["\u0275\u0275defineInjectable"]({token:x,factory:x.\u0275fac}),x.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];const I={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/"},k=/%COMP%/g,D="undefined"==typeof ngDevMode||!!ngDevMode,T="%COMP%",j=`_nghost-${T}`,A=`_ngcontent-${T}`;function R(t){return A.replace(k,t)}function M(t){return j.replace(k,t)}function N(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?N(t,i,n):(i=i.replace(k,t),n.push(i))}return n}function P(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}class F{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new L(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new U(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new z(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=N(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}F.\u0275fac=function(t){return new(t||F)(i["\u0275\u0275inject"](S),i["\u0275\u0275inject"](x),i["\u0275\u0275inject"](i.APP_ID))},F.\u0275prov=i["\u0275\u0275defineInjectable"]({token:F,factory:F.\u0275fac}),F.ctorParameters=()=>[{type:S},{type:x},{type:String,decorators:[{type:i.Inject,args:[i.APP_ID]}]}];class L{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(I[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=I[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=I[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&i.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&i.RendererStyleFlags2.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){D&&B(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return D&&B(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,P(n)):this.eventManager.addEventListener(t,e,P(n))}}const V="@".charCodeAt(0);function B(t,e){if(t.charCodeAt(0)===V)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class U extends L{constructor(t,e,n,r){super(t),this.component=n;const i=N(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr=R(r+"-"+n.id),this.hostAttr=M(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class z extends L{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,r.encapsulation===i.ViewEncapsulation.ShadowDom?this.shadowRoot=n.attachShadow({mode:"open"}):this.shadowRoot=n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=N(r.id,r.styles,[]);for(let t=0;t<o.length;t++){const e=document.createElement("style");e.textContent=o[t],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}class H extends O{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}H.\u0275fac=function(t){return new(t||H)(i["\u0275\u0275inject"](r.DOCUMENT))},H.\u0275prov=i["\u0275\u0275defineInjectable"]({token:H,factory:H.\u0275fac}),H.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];const $={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},G=new i.InjectionToken("HammerGestureConfig"),q=new i.InjectionToken("HammerLoader");class W{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const t in this.overrides)e.get(t).set(this.overrides[t]);return e}}W.\u0275fac=function(t){return new(t||W)},W.\u0275prov=i["\u0275\u0275defineInjectable"]({token:W,factory:W.\u0275fac});class Y extends O{constructor(t,e,n,r){super(t),this._config=e,this.console=n,this.loader=r}supports(t){return!(!$.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))&&(!(!window.Hammer&&!this.loader)||(this.console.warn(`The "${t}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),!1))}addEventListener(t,e,n){const r=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){let r=!1,i=()=>{r=!0};return this.loader().then((()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});r||(i=this.addEventListener(t,e,n))})).catch((()=>{this.console.warn(`The "${e}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}})),()=>{i()}}return r.runOutsideAngular((()=>{const i=this._config.buildHammer(t),o=function(t){r.runGuarded((function(){n(t)}))};return i.on(e,o),()=>{i.off(e,o),"function"==typeof i.destroy&&i.destroy()}}))}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}Y.\u0275fac=function(t){return new(t||Y)(i["\u0275\u0275inject"](r.DOCUMENT),i["\u0275\u0275inject"](G),i["\u0275\u0275inject"](i["\u0275Console"]),i["\u0275\u0275inject"](q,8))},Y.\u0275prov=i["\u0275\u0275defineInjectable"]({token:Y,factory:Y.\u0275fac}),Y.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]},{type:W,decorators:[{type:i.Inject,args:[G]}]},{type:i["\u0275Console"]},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[q]}]}];const Z=[],K=[{provide:C,useClass:Y,multi:!0,deps:[r.DOCUMENT,G,i["\u0275Console"],[new i.Optional,q]]},{provide:G,useClass:W,deps:[]}],Q=Z;class J{}J.\u0275mod=i["\u0275\u0275defineNgModule"]({type:J}),J.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||J)},providers:K});const X=["alt","control","meta","shift"],tt={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},et={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},nt={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};class rt extends O{constructor(t){super(t)}supports(t){return null!=rt.parseEventName(t)}addEventListener(t,e,n){const i=rt.parseEventName(e),o=rt.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>Object(r["\u0275getDOM"])().onAndCancel(t,i.domEventName,o)))}static parseEventName(t){const e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;const r=rt._normalizeKey(e.pop());let i="";if(X.forEach((t=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")})),i+=r,0!=e.length||0===r.length)return null;const o={};return o.domEventName=n,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&et.hasOwnProperty(e)&&(e=et[e]))}return tt[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),X.forEach((r=>{if(r!=n){(0,nt[r])(t)&&(e+=r+".")}})),e+=n,e}static eventCallback(t,e,n){return r=>{rt.getEventFullKey(r)===t&&n.runGuarded((()=>e(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}rt.\u0275fac=function(t){return new(t||rt)(i["\u0275\u0275inject"](r.DOCUMENT))},rt.\u0275prov=i["\u0275\u0275defineInjectable"]({token:rt,factory:rt.\u0275fac}),rt.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];class it{}function ot(t){return new st(t.get(r.DOCUMENT))}it.\u0275fac=function(t){return new(t||it)},it.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return Object(i["\u0275\u0275inject"])(st)},token:it,providedIn:"root"});class st extends it{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.SecurityContext.NONE:return e;case i.SecurityContext.HTML:return Object(i["\u0275allowSanitizationBypassAndThrow"])(e,"HTML")?Object(i["\u0275unwrapSafeValue"])(e):Object(i["\u0275_sanitizeHtml"])(this._doc,String(e));case i.SecurityContext.STYLE:return Object(i["\u0275allowSanitizationBypassAndThrow"])(e,"Style")?Object(i["\u0275unwrapSafeValue"])(e):e;case i.SecurityContext.SCRIPT:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(e,"Script"))return Object(i["\u0275unwrapSafeValue"])(e);throw new Error("unsafe value used in a script context");case i.SecurityContext.URL:Object(i["\u0275getSanitizationBypassType"])(e);return Object(i["\u0275allowSanitizationBypassAndThrow"])(e,"URL")?Object(i["\u0275unwrapSafeValue"])(e):Object(i["\u0275_sanitizeUrl"])(String(e));case i.SecurityContext.RESOURCE_URL:if(Object(i["\u0275allowSanitizationBypassAndThrow"])(e,"ResourceURL"))return Object(i["\u0275unwrapSafeValue"])(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(i["\u0275bypassSanitizationTrustHtml"])(t)}bypassSecurityTrustStyle(t){return Object(i["\u0275bypassSanitizationTrustStyle"])(t)}bypassSecurityTrustScript(t){return Object(i["\u0275bypassSanitizationTrustScript"])(t)}bypassSecurityTrustUrl(t){return Object(i["\u0275bypassSanitizationTrustUrl"])(t)}bypassSecurityTrustResourceUrl(t){return Object(i["\u0275bypassSanitizationTrustResourceUrl"])(t)}}function at(){s.makeCurrent(),h.init()}function ct(){return new i.ErrorHandler}function ut(){return Object(i["\u0275setDocument"])(document),document}st.\u0275fac=function(t){return new(t||st)(i["\u0275\u0275inject"](r.DOCUMENT))},st.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return ot(Object(i["\u0275\u0275inject"])(i.INJECTOR))},token:st,providedIn:"root"}),st.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];const lt=r["\u0275PLATFORM_BROWSER_ID"],dt=[{provide:i.PLATFORM_ID,useValue:lt},{provide:i.PLATFORM_INITIALIZER,useValue:at,multi:!0},{provide:r.DOCUMENT,useFactory:ut,deps:[]}],ht=(i.Sanitizer,r.DOCUMENT,[]),pt=ht,ft=Object(i.createPlatformFactory)(i.platformCore,"browser",dt),mt=[pt,{provide:i["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:i.ErrorHandler,useFactory:ct,deps:[]},{provide:C,useClass:H,multi:!0,deps:[r.DOCUMENT,i.NgZone,i.PLATFORM_ID]},{provide:C,useClass:rt,multi:!0,deps:[r.DOCUMENT]},Q,{provide:F,useClass:F,deps:[S,x,i.APP_ID]},{provide:i.RendererFactory2,useExisting:F},{provide:E,useExisting:x},{provide:x,useClass:x,deps:[r.DOCUMENT]},{provide:i.Testability,useClass:i.Testability,deps:[i.NgZone]},{provide:S,useClass:S,deps:[C,i.NgZone]},w];class gt{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:gt,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:u,useExisting:i.APP_ID},d]}}}function _t(){return new yt(Object(i["\u0275\u0275inject"])(r.DOCUMENT))}gt.\u0275mod=i["\u0275\u0275defineNgModule"]({type:gt}),gt.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||gt)(i["\u0275\u0275inject"](gt,12))},providers:mt,imports:[r.CommonModule,i.ApplicationModule]}),gt.ctorParameters=()=>[{type:gt,decorators:[{type:i.Optional},{type:i.SkipSelf},{type:i.Inject,args:[gt]}]}],("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](gt,{exports:function(){return[r.CommonModule,i.ApplicationModule]}});class yt{constructor(t){this._doc=t,this._dom=Object(r["\u0275getDOM"])()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce(((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t)),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(t,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach((n=>e.setAttribute(n,t[n]))),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every((n=>e.getAttribute(n)===t[n]))}}function bt(){return new vt(Object(i["\u0275\u0275inject"])(r.DOCUMENT))}yt.\u0275fac=function(t){return new(t||yt)(i["\u0275\u0275inject"](r.DOCUMENT))},yt.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:_t,token:yt,providedIn:"root"}),yt.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];class vt{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}vt.\u0275fac=function(t){return new(t||vt)(i["\u0275\u0275inject"](r.DOCUMENT))},vt.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:bt,token:vt,providedIn:"root"}),vt.ctorParameters=()=>[{type:void 0,decorators:[{type:i.Inject,args:[r.DOCUMENT]}]}];const wt="undefined"!=typeof window&&window||{};class Ct{constructor(t,e){this.msPerTick=t,this.numTicks=e}}class St{constructor(t){this.appRef=t.injector.get(i.ApplicationRef)}timeChangeDetection(t){const e=t&&t.record,n="Change Detection",i=null!=wt.console.profile;e&&i&&wt.console.profile(n);const o=Object(r["\u0275getDOM"])().performanceNow();let s=0;for(;s<5||Object(r["\u0275getDOM"])().performanceNow()-o<500;)this.appRef.tick(),s++;const a=Object(r["\u0275getDOM"])().performanceNow();e&&i&&wt.console.profileEnd(n);const c=(a-o)/s;return wt.console.log(`ran ${s} change detection cycles`),wt.console.log(`${c.toFixed(2)} ms per check`),new Ct(c,s)}}const Ot="profiler";function Et(t){return p(Ot,new St(t)),t}function xt(){p(Ot,null)}function It(t){const e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,(t=>e[t]))}function kt(t){return t}class Dt{constructor(){this.store={},this.onSerializeCallbacks={}}static init(t){const e=new Dt;return e.store=t,e}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){}return JSON.stringify(this.store)}}function Tt(t,e){const n=t.getElementById(e+"-state");let r={};if(n&&n.textContent)try{r=JSON.parse(function(t){const e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,(t=>e[t]))}(n.textContent))}catch(t){}return Dt.init(r)}Dt.\u0275fac=function(t){return new(t||Dt)},Dt.\u0275prov=i["\u0275\u0275defineInjectable"]({token:Dt,factory:Dt.\u0275fac});class jt{}jt.\u0275mod=i["\u0275\u0275defineNgModule"]({type:jt}),jt.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||jt)},providers:[{provide:Dt,useFactory:Tt,deps:[r.DOCUMENT,i.APP_ID]}]});class At{static all(){return()=>!0}static css(t){return e=>null!=e.nativeElement&&function(t,e){if(Object(r["\u0275getDOM"])().isElementNode(t))return t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e);return!1}(e.nativeElement,t)}static directive(t){return e=>-1!==e.providerTokens.indexOf(t)}}const Rt=new i.Version("10.2.5")},,,function(t,e,n){"use strict";n.d(e,"g",(function(){return c})),n.d(e,"j",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"k",(function(){return d})),n.d(e,"i",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return y})),n.d(e,"e",(function(){return v}));var r=n(3),i=n(97),o=n(10),s=n(7),a=n(21);function c(t,e){return void 0===e&&(e=null),new m({method:"GET",url:t,headers:e})}function u(t,e,n){return new m({method:"POST",url:t,body:e,headers:n})}function l(t,e){return new m({method:"DELETE",url:t,headers:e})}function d(t,e,n){return new m({method:"PUT",url:t,body:e,headers:n})}function h(t,e,n){return new m({method:"PATCH",url:t,body:e,headers:n})}var p=Object(a.a)((function(t,e){return t.response}));function f(t,e){return p(new m({method:"GET",url:t,responseType:"json",headers:e}))}var m=function(t){function e(e){var n=t.call(this)||this,r={async:!0,createXHR:function(){return this.crossDomain?function(){if(i.a.XMLHttpRequest)return new i.a.XMLHttpRequest;if(i.a.XDomainRequest)return new i.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(i.a.XMLHttpRequest)return new i.a.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new i.a.ActiveXObject(t))break}catch(t){}return new i.a.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o]);return n.request=r,n}var n;return r.__extends(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=((n=function(t){return new e(t)}).get=c,n.post=u,n.delete=l,n.put=d,n.patch=h,n.getJSON=f,n),e}(o.a),g=function(t){function e(e,n){var r=t.call(this,e)||this;r.request=n,r.done=!1;var o=n.headers=n.headers||{};return n.crossDomain||r.getHeader(o,"X-Requested-With")||(o["X-Requested-With"]="XMLHttpRequest"),r.getHeader(o,"Content-Type")||i.a.FormData&&n.body instanceof i.a.FormData||void 0===n.body||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=r.serializeBody(n.body,r.getHeader(n.headers,"Content-Type")),r.send(),r}return r.__extends(e,t),e.prototype.next=function(t){this.done=!0;var e,n=this,r=n.xhr,i=n.request,o=n.destination;try{e=new _(t,r,i)}catch(t){return o.error(t)}o.next(e)},e.prototype.send=function(){var t=this.request,e=this.request,n=e.user,r=e.method,i=e.url,o=e.async,s=e.password,a=e.headers,c=e.body;try{var u=this.xhr=t.createXHR();this.setupEvents(u,t),n?u.open(r,i,o,n,s):u.open(r,i,o),o&&(u.timeout=t.timeout,u.responseType=t.responseType),"withCredentials"in u&&(u.withCredentials=!!t.withCredentials),this.setHeaders(u,a),c?u.send(c):u.send()}catch(t){this.error(t)}},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(i.a.FormData&&t instanceof i.a.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.getHeader=function(t,e){for(var n in t)if(n.toLowerCase()===e.toLowerCase())return t[n]},e.prototype.setupEvents=function(t,e){var n=e.progressSubscriber;function r(t){var e,n=r,i=n.subscriber,o=n.progressSubscriber,s=n.request;o&&o.error(t);try{e=new v(this,s)}catch(t){e=t}i.error(e)}if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=n,t.upload&&"withCredentials"in t){var o,s;if(n)o=function(t){o.progressSubscriber.next(t)},i.a.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=n;s=function(t){var e,n=s,r=n.progressSubscriber,i=n.subscriber,o=n.request;r&&r.error(t);try{e=new y("ajax error",this,o)}catch(t){e=t}i.error(e)},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=n}function a(t){}function c(t){var e=c,n=e.subscriber,r=e.progressSubscriber,i=e.request;if(4===this.readyState){var o=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;if(0===o&&(o=s?200:0),o<400)r&&r.complete(),n.next(t),n.complete();else{r&&r.error(t);var a=void 0;try{a=new y("ajax error "+o,this,i)}catch(t){a=t}n.error(a)}}}t.onreadystatechange=a,a.subscriber=this,a.progressSubscriber=n,a.request=e,t.onload=c,c.subscriber=this,c.progressSubscriber=n,c.request=e},e.prototype.unsubscribe=function(){var e=this.done,n=this.xhr;!e&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},e}(s.a),_=function(){return function(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=b(this.responseType,e)}}(),y=function(){function t(t,e,n){return Error.call(this),this.message=t,this.name="AjaxError",this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=b(this.responseType,e),this}return t.prototype=Object.create(Error.prototype),t}();function b(t,e){switch(t){case"json":return function(t){return"response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null")}(e);case"xml":return e.responseXML;default:return"response"in e?e.response:e.responseText}}var v=function(t,e){return y.call(this,"ajax timeout",t,e),this.name="AjaxTimeoutError",this}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(358),i=n(137),o=n(10);function s(t,e,n,s,a){if(void 0===a&&(a=new r.a(t,n,s)),!a.closed)return e instanceof o.a?e.subscribe(a):Object(i.a)(e)(a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t);r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},,,,,function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return i}));var r=n(25);function i(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){let n=t;const r=n.length;if(r<=150)return n;e>r&&(e=r);let i=Math.max(e-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n=`'{snip} ${n}`),o<r&&(n+=" {snip}"),n}function s(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const i=t[e];try{Object(r.o)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!Object(r.l)(t)&&(Object(r.k)(e)?e.test(t):!!Object(r.l)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(12);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new a(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.__extends(e,t),e.prototype.notifyNext=function(){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.b)},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n(7).a)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}));var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||void 0!==t&&t||i}).call(this,n(177))},,,function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return i}));var i=r()},function(t,e,n){"use strict";function r(){}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),i=n(13),o=n(106),s=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.b)},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d}));var r=n(14),i=n(0),o=n(10),s=n(13),a=n(303);class c{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}c.\u0275fac=function(t){return new(t||c)},c.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new c},token:c,providedIn:"root"});class u{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach(((t,e)=>this._cleanupObserver(e)))}observe(t){const e=Object(r.e)(t);return new o.a((t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}}))}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new s.b,n=this._mutationObserverFactory.create((t=>e.next(t)));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}u.\u0275fac=function(t){return new(t||u)(i["\u0275\u0275inject"](c))},u.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new u(Object(i["\u0275\u0275inject"])(c))},token:u,providedIn:"root"}),u.ctorParameters=()=>[{type:c}];class l{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(r.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(r.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)}))}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}l.\u0275fac=function(t){return new(t||l)(i["\u0275\u0275directiveInject"](u),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.NgZone))},l.\u0275dir=i["\u0275\u0275defineDirective"]({type:l,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),l.ctorParameters=()=>[{type:u},{type:i.ElementRef},{type:i.NgZone}],l.propDecorators={event:[{type:i.Output,args:["cdkObserveContent"]}],disabled:[{type:i.Input,args:["cdkObserveContentDisabled"]}],debounce:[{type:i.Input}]};class d{}d.\u0275mod=i["\u0275\u0275defineNgModule"]({type:d}),d.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||d)},providers:[c]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](d,{declarations:[l],exports:[l]})},function(t,e,n){"use strict";n.d(e,"a",(function(){return J})),n.d(e,"b",(function(){return X})),n.d(e,"c",(function(){return L})),n.d(e,"d",(function(){return tt}));var r=n(107),i=n(1),o=n(0),s=n(8),a=n(23),c=n(14),u=n(13),l=n(130),d=n(197),h=n(141),p=n(92),f=n(74),m=n(5),g=n(9),_=n(50);const y=["underline"],b=["connectionContainer"],v=["inputContainer"],w=["label"];function C(t,e){1&t&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275elementStart"](1,"div",14),o["\u0275\u0275element"](2,"div",15),o["\u0275\u0275element"](3,"div",16),o["\u0275\u0275element"](4,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](5,"div",18),o["\u0275\u0275element"](6,"div",15),o["\u0275\u0275element"](7,"div",16),o["\u0275\u0275element"](8,"div",17),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]())}function S(t,e){1&t&&(o["\u0275\u0275elementStart"](0,"div",19),o["\u0275\u0275projection"](1,1),o["\u0275\u0275elementEnd"]())}function O(t,e){if(1&t&&(o["\u0275\u0275elementContainerStart"](0),o["\u0275\u0275projection"](1,2),o["\u0275\u0275elementStart"](2,"span"),o["\u0275\u0275text"](3),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementContainerEnd"]()),2&t){const t=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](3),o["\u0275\u0275textInterpolate"](t._control.placeholder)}}function E(t,e){1&t&&o["\u0275\u0275projection"](0,3,["*ngSwitchCase","true"])}function x(t,e){1&t&&(o["\u0275\u0275elementStart"](0,"span",23),o["\u0275\u0275text"](1," *"),o["\u0275\u0275elementEnd"]())}function I(t,e){if(1&t){const t=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"label",20,21),o["\u0275\u0275listener"]("cdkObserveContent",(function(){o["\u0275\u0275restoreView"](t);return o["\u0275\u0275nextContext"]().updateOutlineGap()})),o["\u0275\u0275template"](2,O,4,1,"ng-container",12),o["\u0275\u0275template"](3,E,1,0,"ng-content",12),o["\u0275\u0275template"](4,x,2,0,"span",22),o["\u0275\u0275elementEnd"]()}if(2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275classProp"]("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),o["\u0275\u0275property"]("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),o["\u0275\u0275attribute"]("for",t._control.id)("aria-owns",t._control.id),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function k(t,e){1&t&&(o["\u0275\u0275elementStart"](0,"div",24),o["\u0275\u0275projection"](1,4),o["\u0275\u0275elementEnd"]())}function D(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"div",25,26),o["\u0275\u0275element"](2,"span",27),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](2),o["\u0275\u0275classProp"]("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function T(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"div"),o["\u0275\u0275projection"](1,5),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",t._subscriptAnimationState)}}function j(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"div",31),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"](2);o["\u0275\u0275property"]("id",t._hintLabelId),o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](t.hintLabel)}}function A(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"div",28),o["\u0275\u0275template"](1,j,2,2,"div",29),o["\u0275\u0275projection"](2,6),o["\u0275\u0275element"](3,"div",30),o["\u0275\u0275projection"](4,7),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transitionMessages",t._subscriptAnimationState),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",t.hintLabel)}}const R=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]];let M=0;const N=new o.InjectionToken("MatError");class P{constructor(){this.id="mat-error-"+M++}}P.\u0275fac=function(t){return new(t||P)},P.\u0275dir=o["\u0275\u0275defineDirective"]({type:P,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&o["\u0275\u0275attribute"]("id",e.id)},inputs:{id:"id"},features:[o["\u0275\u0275ProvidersFeature"]([{provide:N,useExisting:P}])]}),P.propDecorators={id:[{type:o.Input}]};const F={transitionMessages:Object(m.trigger)("transitionMessages",[Object(m.state)("enter",Object(m.style)({opacity:1,transform:"translateY(0%)"})),Object(m.transition)("void => enter",[Object(m.style)({opacity:0,transform:"translateY(-100%)"}),Object(m.animate)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};class L{}function V(t){return Error(`A hint was already declared for 'align="${t}"'.`)}L.\u0275fac=function(t){return new(t||L)},L.\u0275dir=o["\u0275\u0275defineDirective"]({type:L});let B=0;const U=new o.InjectionToken("MatHint");class z{constructor(){this.align="start",this.id="mat-hint-"+B++}}z.\u0275fac=function(t){return new(t||z)},z.\u0275dir=o["\u0275\u0275defineDirective"]({type:z,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(o["\u0275\u0275attribute"]("id",e.id)("align",null),o["\u0275\u0275classProp"]("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[o["\u0275\u0275ProvidersFeature"]([{provide:U,useExisting:z}])]}),z.propDecorators={align:[{type:o.Input}],id:[{type:o.Input}]};class H{}H.\u0275fac=function(t){return new(t||H)},H.\u0275dir=o["\u0275\u0275defineDirective"]({type:H,selectors:[["mat-label"]]});class ${}$.\u0275fac=function(t){return new(t||$)},$.\u0275dir=o["\u0275\u0275defineDirective"]({type:$,selectors:[["mat-placeholder"]]});const G=new o.InjectionToken("MatPrefix");class q{}q.\u0275fac=function(t){return new(t||q)},q.\u0275dir=o["\u0275\u0275defineDirective"]({type:q,selectors:[["","matPrefix",""]],features:[o["\u0275\u0275ProvidersFeature"]([{provide:G,useExisting:q}])]});const W=new o.InjectionToken("MatSuffix");class Y{}Y.\u0275fac=function(t){return new(t||Y)},Y.\u0275dir=o["\u0275\u0275defineDirective"]({type:Y,selectors:[["","matSuffix",""]],features:[o["\u0275\u0275ProvidersFeature"]([{provide:W,useExisting:Y}])]});let Z=0;const K=Object(s.mixinColor)(class{constructor(t){this._elementRef=t}},"primary"),Q=new o.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),J=new o.InjectionToken("MatFormField");class X extends K{constructor(t,e,n,r,i,o,s,a){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=r,this._defaults=i,this._platform=o,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new u.b,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Z++,this._labelId="mat-form-field-label-"+Z++,this._labelOptions=n||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==a,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(c.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${t.controlType}`),t.stateChanges.pipe(Object(h.a)(null)).subscribe((()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(p.a)(this._destroyed)).subscribe((()=>this._changeDetectorRef.markForCheck())),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.pipe(Object(p.a)(this._destroyed)).subscribe((()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()}))})),Object(l.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(h.a)(null)).subscribe((()=>{this._processHints(),this._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(h.a)(null)).subscribe((()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(p.a)(this._destroyed)).subscribe((()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular((()=>{requestAnimationFrame((()=>this.updateOutlineGap()))})):this.updateOutlineGap()}))}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(d.a)(this._label.nativeElement,"transitionend").pipe(Object(f.a)(1)).subscribe((()=>{this._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren&&("undefined"==typeof ngDevMode||ngDevMode)){let t,e;this._hintChildren.forEach((n=>{if("start"===n.align){if(t||this.hintLabel)throw V("start");t=n}else if("end"===n.align){if(e)throw V("end");e=n}}))}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find((t=>"start"===t.align)):null,n=this._hintChildren?this._hintChildren.find((t=>"end"===t.align)):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map((t=>t.id)));this._control.setDescribedByIds(t)}}_validateControlChild(){if(!this._control&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=r.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const o=this._getStartEnd(i),s=t.children,a=this._getStartEnd(s[0].getBoundingClientRect());let c=0;for(let t=0;t<s.length;t++)c+=s[t].offsetWidth;e=Math.abs(a-o)-5,n=c>0?.75*c+10:0}for(let t=0;t<i.length;t++)i[t].style.width=`${e}px`;for(let t=0;t<o.length;t++)o[t].style.width=`${n}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}X.\u0275fac=function(t){return new(t||X)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](s.MAT_LABEL_GLOBAL_OPTIONS,8),o["\u0275\u0275directiveInject"](a.b,8),o["\u0275\u0275directiveInject"](Q,8),o["\u0275\u0275directiveInject"](g.a),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](_.ANIMATION_MODULE_TYPE,8))},X.\u0275cmp=o["\u0275\u0275defineComponent"]({type:X,selectors:[["mat-form-field"]],contentQueries:function(t,e,n){var r;(1&t&&(o["\u0275\u0275contentQuery"](n,L,!0),o["\u0275\u0275staticContentQuery"](n,L,!0),o["\u0275\u0275contentQuery"](n,H,!0),o["\u0275\u0275staticContentQuery"](n,H,!0),o["\u0275\u0275contentQuery"](n,$,!0),o["\u0275\u0275contentQuery"](n,N,!0),o["\u0275\u0275contentQuery"](n,U,!0),o["\u0275\u0275contentQuery"](n,G,!0),o["\u0275\u0275contentQuery"](n,W,!0)),2&t)&&(o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._controlNonStatic=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._controlStatic=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._labelChildNonStatic=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._labelChildStatic=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._placeholderChild=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._errorChildren=r),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._hintChildren=r),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._prefixChildren=r),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e._suffixChildren=r))},viewQuery:function(t,e){var n;(1&t&&(o["\u0275\u0275viewQuery"](y,!0),o["\u0275\u0275staticViewQuery"](b,!0),o["\u0275\u0275viewQuery"](v,!0),o["\u0275\u0275viewQuery"](w,!0)),2&t)&&(o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e.underlineRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e._connectionContainerRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e._inputContainerRef=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&o["\u0275\u0275classProp"]("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:J,useExisting:X}]),o["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(o["\u0275\u0275projectionDef"](R),o["\u0275\u0275elementStart"](0,"div",0),o["\u0275\u0275elementStart"](1,"div",1,2),o["\u0275\u0275listener"]("click",(function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)})),o["\u0275\u0275template"](3,C,9,0,"ng-container",3),o["\u0275\u0275template"](4,S,2,0,"div",4),o["\u0275\u0275elementStart"](5,"div",5,6),o["\u0275\u0275projection"](7),o["\u0275\u0275elementStart"](8,"span",7),o["\u0275\u0275template"](9,I,5,16,"label",8),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](10,k,2,0,"div",9),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](11,D,3,4,"div",10),o["\u0275\u0275elementStart"](12,"div",11),o["\u0275\u0275template"](13,T,2,1,"div",12),o["\u0275\u0275template"](14,A,5,2,"div",13),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()),2&t&&(o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngIf","outline"==e.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",e._prefixChildren.length),o["\u0275\u0275advance"](5),o["\u0275\u0275property"]("ngIf",e._hasFloatingLabel()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf",e._suffixChildren.length),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngIf","outline"!=e.appearance),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitch",e._getDisplayedMessages()),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","error"),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase","hint"))},directives:[i.NgIf,i.NgSwitch,i.NgSwitchCase,r.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[F.transitionMessages]},changeDetection:0}),X.ctorParameters=()=>[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[s.MAT_LABEL_GLOBAL_OPTIONS]}]},{type:a.b,decorators:[{type:o.Optional}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[Q]}]},{type:g.a},{type:o.NgZone},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[_.ANIMATION_MODULE_TYPE]}]}],X.propDecorators={appearance:[{type:o.Input}],hideRequiredMarker:[{type:o.Input}],hintLabel:[{type:o.Input}],floatLabel:[{type:o.Input}],underlineRef:[{type:o.ViewChild,args:["underline"]}],_connectionContainerRef:[{type:o.ViewChild,args:["connectionContainer",{static:!0}]}],_inputContainerRef:[{type:o.ViewChild,args:["inputContainer"]}],_label:[{type:o.ViewChild,args:["label"]}],_controlNonStatic:[{type:o.ContentChild,args:[L]}],_controlStatic:[{type:o.ContentChild,args:[L,{static:!0}]}],_labelChildNonStatic:[{type:o.ContentChild,args:[H]}],_labelChildStatic:[{type:o.ContentChild,args:[H,{static:!0}]}],_placeholderChild:[{type:o.ContentChild,args:[$]}],_errorChildren:[{type:o.ContentChildren,args:[N,{descendants:!0}]}],_hintChildren:[{type:o.ContentChildren,args:[U,{descendants:!0}]}],_prefixChildren:[{type:o.ContentChildren,args:[G,{descendants:!0}]}],_suffixChildren:[{type:o.ContentChildren,args:[W,{descendants:!0}]}]};class tt{}tt.\u0275mod=o["\u0275\u0275defineNgModule"]({type:tt}),tt.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||tt)},imports:[[i.CommonModule,s.MatCommonModule,r.c],s.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["\u0275\u0275setNgModuleScope"](tt,{declarations:function(){return[P,X,z,H,$,q,Y]},imports:function(){return[i.CommonModule,s.MatCommonModule,r.c]},exports:function(){return[s.MatCommonModule,P,X,z,H,$,q,Y]}})},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l}));var r=n(373),i=n(47);const o=Object(i.b)(),s={nowSeconds:()=>Date.now()/1e3};const a=Object(r.b)()?function(){try{return Object(r.a)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=o;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?s:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=s.nowSeconds.bind(s),l=c.nowSeconds.bind(c);let d;const h=(()=>{const{performance:t}=o;if(!t||!t.now)return void(d="none");const e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,s=i<e,a=t.timing&&t.timing.navigationStart,c="number"==typeof a?Math.abs(a+n-r):e;return s||c<e?i<=c?(d="timeOrigin",t.timeOrigin):(d="navigationStart",a):(d="dateNow",r)})()}).call(this,n(547)(t))},,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}()},function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(356);function i(t,e){return function(n){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new o(i,e));var s=Object.create(n,r.b);return s.source=n,s.subjectFactory=i,s}}var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a}));var r=n(109),i=n(42),o=n(33);function s(t){const e=Object(r.c)(),n={sid:Object(i.f)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Object(o.c)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Object(r.c)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Object(i.f)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(215),o=function(t){function e(n,r){void 0===r&&(r=i.a.now);var o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.__extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i.a)},,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return T})),n.d(e,"b",(function(){return S})),n.d(e,"c",(function(){return x})),n.d(e,"d",(function(){return O})),n.d(e,"e",(function(){return I})),n.d(e,"f",(function(){return E})),n.d(e,"g",(function(){return k}));var r=n(71),i=n(216),o=n(437),s=n(18),a=n(193),c=n(132),u=n(440),l=n(15),d=n(176),h=n(365),p=n(17),f=n(237),m=n(236),g=n(241),_=n(242),y=n(239),b=n(238),v=n(149),w=n(366),C=n(363);const S=[new r.a.InboundFilters,new r.a.FunctionToString,new m.a,new g.a,new f.a,new _.a,new b.a,new y.a];function O(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=S),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),p.a.SENTRY_RELEASE&&p.a.SENTRY_RELEASE.id&&(t.release=p.a.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:Object(c.c)(t.stackParser||v.c),integrations:Object(i.b)(t),transport:t.transport||(Object(u.b)()?w.a:C.a)};Object(o.a)(h.a,e),t.autoSessionTracking&&function(){if(void 0===p.a.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=Object(s.b)();if(!t.captureSession)return;D(t),Object(d.b)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&D(Object(s.b)())}))}()}function E(t={},e=Object(s.b)()){if(!p.a.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=e.getStackTop(),i=t.dsn||n&&n.getDsn();if(!i)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.error("DSN not configured for showReportDialog call"));r&&(t.user={...r.getUser(),...t.user}),t.eventId||(t.eventId=e.lastEventId());const o=p.a.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=Object(a.b)(i,t),t.onLoad&&(o.onload=t.onLoad);const c=p.a.document.head||p.a.document.body;c?c.appendChild(o):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.error("Not injecting report dialog. No injection point found in HTML")}function x(){}function I(t){t()}function k(t){return Object(p.c)(t)()}function D(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function T(t){const e=Object(s.b)().getClient();e&&e.captureUserFeedback(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return u}));var r=n(18),i=n(25),o=n(142),s=n(42),a=n(175),c=n(33);function u(t,e){const n=d(t,e),r={type:e&&e.name,value:p(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function l(t,e){return{exception:{values:[u(t,e)]}}}function d(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(h.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}const h=/Minified React error #\d+;/i;function p(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function f(t,e,n,r){const i=g(t,e,n&&n.syntheticException||void 0,r);return Object(s.a)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Object(a.c)(i)}function m(t,e,n="info",r,i){const o=_(t,e,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),Object(a.c)(o)}function g(t,e,n,a,c){let u;if(Object(i.e)(e)&&e.error){return l(t,e.error)}if(Object(i.a)(e)||Object(i.b)(e)){const r=e;if("stack"in e)u=l(t,e);else{const e=r.name||(Object(i.a)(r)?"DOMError":"DOMException"),o=r.message?`${e}: ${r.message}`:e;u=_(t,o,n,a),Object(s.b)(u,o)}return"code"in r&&(u.tags={...u.tags,"DOMException.code":`${r.code}`}),u}if(Object(i.d)(e))return l(t,e);if(Object(i.i)(e)||Object(i.f)(e)){return u=function(t,e,n,s){const a=Object(r.b)().getClient(),c=a&&a.getOptions().normalizeDepth,u={exception:{values:[{type:Object(i.f)(e)?e.constructor.name:s?"UnhandledRejection":"Error",value:y(e,{isUnhandledRejection:s})}]},extra:{__serialized__:Object(o.b)(e,c)}};if(n){const e=d(t,n);e.length&&(u.exception.values[0].stacktrace={frames:e})}return u}(t,e,n,c),Object(s.a)(u,{synthetic:!0}),u}return u=_(t,e,n,a),Object(s.b)(u,`${e}`,void 0),Object(s.a)(u,{synthetic:!0}),u}function _(t,e,n,r){const i={message:e};if(r&&n){const r=d(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]})}return i}function y(t,{isUnhandledRejection:e}){const n=Object(c.d)(t),r=e?"promise rejection":"exception";if(Object(i.e)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if(Object(i.f)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(45);function i(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(10),i=n(43),o=n(54);function s(t){return new r.a((function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(e)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(0),i=n(61),o=n(173),s=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},a=function(){function t(t,e,n,i,o,s,a,c){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=i,this._componentFactoryResolver=o,this._ngZone=s,this._applicationRef=a,this._posService=c,this.onBeforeShow=new r.EventEmitter,this.onShown=new r.EventEmitter,this.onBeforeHide=new r.EventEmitter,this.onHidden=new r.EventEmitter,this._providers=[],this._isHiding=!1,this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!this._isHiding&&!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context,t.initialState);var e=r.Injector.create({providers:this._providers,parent:this._injector});this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof r.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"body"===this.container&&"undefined"!=typeof document&&document.querySelector(this.container).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){this.isShown?this.hide():this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,this._listenOpts.outsideEsc=t.outsideEsc,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():void e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()};return this._unregisterListenersFn=Object(i.c)(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:function(t){e.isShown?n():r(t)}}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout((function(){t._globalListener=Object(i.f)(t._renderer,{targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}})}))}if(this._listenOpts.outsideEsc){var n=this._componentRef.location.nativeElement;this._globalListener=Object(i.e)(this._renderer,{targets:[n,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:function(){return t._listenOpts.hide()}})}}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this._zoneSubscription=this._ngZone.onStable.subscribe((function(){t._componentRef&&t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})})))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e,n){if(!t)return new s([]);if(t instanceof r.TemplateRef){if(this._viewContainerRef){var i=this._viewContainerRef.createEmbeddedView(t,e);return i.markForCheck(),new s([i.rootNodes],i)}var o=t.createEmbeddedView({});return this._applicationRef.attachView(o),new s([o.rootNodes],o)}if("function"==typeof t){var a=this._componentFactoryResolver.resolveComponentFactory(t),c=r.Injector.create({providers:this._providers,parent:this._injector}),u=a.create(c);return Object.assign(u.instance,n),this._applicationRef.attachView(u.hostView),new s([[u.location.nativeElement]],u.hostView,u)}return new s([[this._renderer.createText(""+t)]])},t}(),c=function(){function t(t,e,n,r,i){this._componentFactoryResolver=t,this._ngZone=e,this._injector=n,this._posService=r,this._applicationRef=i}return t.prototype.createLoader=function(t,e,n){return new a(e,n,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService)},t.ctorParameters=function(){return[{type:r.ComponentFactoryResolver},{type:r.NgZone},{type:r.Injector},{type:o.a},{type:r.ApplicationRef}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.ComponentFactoryResolver),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](o.a),r["\u0275\u0275inject"](r.ApplicationRef))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(10),i=n(60),o=n(171),s=n(151);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,a=null,c=t[t.length-1];return Object(i.a)(c)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof c&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(s.a)(t,a))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(10);function i(t){return!!t&&(t instanceof r.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a}));const r=50,i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function s(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const s=[],a=t.split("\n");for(let t=n;t<a.length;t++){const n=a[t];if(n.length>1024)continue;const o=i.test(n)?n.replace(i,"$1"):n;if(!o.match(/\S*Error: /)){for(const t of e){const e=t(o);if(e){s.push(e);break}}if(s.length>=r)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop();e.reverse(),o.test(e[e.length-1].function||"")&&(e.pop(),o.test(e[e.length-1].function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(s)}}function a(t){return Array.isArray(t)?s(...t):t}const c="<anonymous>";function u(t){try{return t&&"function"==typeof t&&t.name||c}catch(t){return c}}},,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(245),i=n(247),o=n(248),s=n(353),a=n(244),c=n(246),u=n(189),l=n(100),d=n(105),h=function(t){if(t&&"function"==typeof t[d.a])return Object(s.a)(t);if(Object(a.a)(t))return Object(r.a)(t);if(Object(c.a)(t))return Object(i.a)(t);if(t&&"function"==typeof t[l.a])return Object(o.a)(t);var e=Object(u.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(t,e,n){"use strict";function r(t){setTimeout((function(){throw t}),0)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(19),i=n(261);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Object(i.a)()(r.a.apply(void 0,t))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u}));var r=n(47),i=n(175),o=n(15),s=n(25);function a(){return Object(r.c)("globalEventProcessors",(()=>[]))}function c(t){a().push(t)}function u(t,e,n,r=0){return new i.a(((i,a)=>{const c=t[r];if(null===e||"function"!=typeof c)i(e);else{const l=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===l&&o.c.log(`Event processor "${c.id}" dropped event`),Object(s.n)(l)?l.then((e=>u(t,e,n,r+1).then(i))).then(null,a):u(t,l,n,r+1).then(i).then(null,a)}}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(139),i=n(60);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(i.a)(n)?(t.pop(),function(e){return Object(r.a)(t,e,n)}):function(e){return Object(r.a)(t,e)}}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c}));var r=n(25),i=n(597),o=n(33),s=n(132);function a(t,e=100,n=1/0){try{return u("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function c(t,e=3,n=102400){const r=a(t,e);return i=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(i))>n?c(t,e-1,n):r;var i}function u(e,n,a=1/0,c=1/0,l=Object(i.a)()){const[d,h]=l;if(null==n||["number","boolean","string"].includes(typeof n)&&!Object(r.h)(n))return n;const p=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==t&&n===t)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if(Object(r.o)(n))return"[VueViewModel]";if(Object(r.m)(n))return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return`[Function: ${Object(s.b)(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;const i=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(n);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(t){return`**non-serializable** (${t})`}}(e,n);if(!p.startsWith("[object "))return p;if(n.__sentry_skip_normalization__)return n;const f="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:a;if(0===f)return p.replace("object ","");if(d(n))return"[Circular ~]";const m=n;if(m&&"function"==typeof m.toJSON)try{return u("",m.toJSON(),f-1,c,l)}catch(t){}const g=Array.isArray(n)?[]:{};let _=0;const y=Object(o.b)(n);for(const t in y){if(!Object.prototype.hasOwnProperty.call(y,t))continue;if(_>=c){g[t]="[MaxProperties ~]";break}const e=y[t];g[t]=u(t,e,f-1,c,l),_++}return h(n),g}}).call(this,n(177))},,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"TooltipContainerComponent",(function(){return h})),n.d(e,"TooltipDirective",(function(){return f})),n.d(e,"TooltipModule",(function(){return m})),n.d(e,"TooltipConfig",(function(){return d}));var r=n(0),i=n(61),o=n(3),s=n(129),a=n(298),c=n(1),u=n(173),l=["*"],d=function(){function t(){this.placement="top",this.triggers="hover focus",this.delay=0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),h=function(){function t(t){Object.assign(this,t)}return Object.defineProperty(t.prototype,"isBs3",{get:function(){return Object(i.b)()},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.classMap={in:!1,fade:!1},this.classMap[this.placement]=!0,this.classMap["tooltip-"+this.placement]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)},t.ctorParameters=function(){return[{type:d}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](d))},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:7,hostBindings:function(t,e){2&t&&(r["\u0275\u0275attribute"]("id",e.id),r["\u0275\u0275classMap"]("tooltip in tooltip-"+e.placement+" bs-tooltip-"+e.placement+" "+e.placement+" "+e.containerClass),r["\u0275\u0275classProp"]("show",!e.isBs3)("bs3",e.isBs3))},ngContentSelectors:l,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275element"](0,"div",0),r["\u0275\u0275elementStart"](1,"div",1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"]())},styles:[".tooltip[_nghost-%COMP%] {\n display: block;\n pointer-events: none;\n }\n .bs3.tooltip.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%] {\n margin-left: -2px;\n }\n .bs3.tooltip.bottom[_nghost-%COMP%] {\n margin-top: 0px;\n }\n .bs3.bs-tooltip-left[_nghost-%COMP%], .bs3.bs-tooltip-right[_nghost-%COMP%]{\n margin: 0px;\n }\n .bs3.bs-tooltip-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-tooltip-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%] {\n margin: .3rem 0;\n }"],changeDetection:0}),t}(),p=0,f=function(){function t(t,e,n,i,o){this._renderer=e,this._elementRef=n,this.tooltipId=p++,this.tooltipChange=new r.EventEmitter,this.containerClass="",this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.ariaDescribedby="tooltip-"+this.tooltipId,this.tooltipStateChanged=new r.EventEmitter,this._tooltip=i.createLoader(this._elementRef,t,this._renderer).provide({provide:d,useValue:o}),Object.assign(this,o),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._tooltip.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"htmlContent",{set:function(t){Object(i.g)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_placement",{set:function(t){Object(i.g)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isOpen",{get:function(){return Object(i.g)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen},set:function(t){Object(i.g)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_enable",{get:function(){return Object(i.g)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled},set:function(t){Object(i.g)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_appendToBody",{get:function(){return Object(i.g)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container},set:function(t){Object(i.g)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=t?"body":this.container},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_popupClass",{set:function(t){Object(i.g)("tooltipClass deprecated")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipContext",{set:function(t){Object(i.g)("tooltipContext deprecated")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipPopupDelay",{set:function(t){Object(i.g)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tooltipTrigger",{get:function(){return Object(i.g)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers},set:function(t){Object(i.g)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(t||"").toString()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._tooltip.listen({triggers:this.triggers,show:function(){return t.show()}}),this.tooltipChange.subscribe((function(e){e||t._tooltip.hide()}))},t.prototype.toggle=function(){if(this.isOpen)return this.hide();this.show()},t.prototype.show=function(){var t=this;if(!(this.isOpen||this.isDisabled||this._delayTimeoutId)&&this.tooltip){var e=function(){t._delayTimeoutId&&(t._delayTimeoutId=void 0),t._tooltip.attach(h).to(t.container).position({attachment:t.placement}).show({content:t.tooltip,placement:t.placement,containerClass:t.containerClass,id:t.ariaDescribedby})},n=function(){t._tooltipCancelShowFn&&t._tooltipCancelShowFn()};if(this.delay){var r=Object(a.a)(this.delay).subscribe((function(){e(),n()}));if(this.triggers){var o=Object(i.d)(this.triggers);this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,o[0].close,(function(){r.unsubscribe(),n()}))}}else e()}},t.prototype.hide=function(){var t=this;this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance.classMap.in=!1,setTimeout((function(){t._tooltip.hide()}),this.tooltipFadeDuration))},t.prototype.ngOnDestroy=function(){this._tooltip.dispose()},t.ctorParameters=function(){return[{type:r.ViewContainerRef},{type:r.Renderer2},{type:r.ElementRef},{type:s.a},{type:d}]},t.propDecorators={tooltip:[{type:r.Input}],tooltipChange:[{type:r.Output}],placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],containerClass:[{type:r.Input}],isOpen:[{type:r.Input}],isDisabled:[{type:r.Input}],delay:[{type:r.Input}],onShown:[{type:r.Output}],onHidden:[{type:r.Output}],htmlContent:[{type:r.Input,args:["tooltipHtml"]}],_placement:[{type:r.Input,args:["tooltipPlacement"]}],_isOpen:[{type:r.Input,args:["tooltipIsOpen"]}],_enable:[{type:r.Input,args:["tooltipEnable"]}],_appendToBody:[{type:r.Input,args:["tooltipAppendToBody"]}],tooltipAnimation:[{type:r.Input}],_popupClass:[{type:r.Input,args:["tooltipClass"]}],_tooltipContext:[{type:r.Input,args:["tooltipContext"]}],_tooltipPopupDelay:[{type:r.Input,args:["tooltipPopupDelay"]}],tooltipFadeDuration:[{type:r.Input}],_tooltipTrigger:[{type:r.Input,args:["tooltipTrigger"]}],ariaDescribedby:[{type:r.HostBinding,args:["attr.aria-describedby"]}],tooltipStateChanged:[{type:r.Output}]},Object(o.__decorate)([Object(i.a)(),Object(o.__metadata)("design:type",Object)],t.prototype,"tooltip",void 0),t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](s.a),r["\u0275\u0275directiveInject"](d))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","tooltip",""],["","tooltipHtml",""]],hostVars:1,hostBindings:function(t,e){2&t&&r["\u0275\u0275attribute"]("aria-describedby",e.ariaDescribedby)},inputs:{containerClass:"containerClass",tooltipAnimation:"tooltipAnimation",tooltipFadeDuration:"tooltipFadeDuration",isOpen:"isOpen",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"],tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",isDisabled:"isDisabled",delay:"delay"},outputs:{tooltipChange:"tooltipChange",tooltipStateChanged:"tooltipStateChanged",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-tooltip"]}),t}(),m=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[d,s.a,u.a]}},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[c.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](t,{declarations:function(){return[f,h]},imports:function(){return[c.CommonModule]},exports:function(){return[f]}}),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return y})),n.d(e,"c",(function(){return b})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return m})),n.d(e,"f",(function(){return _})),n.d(e,"g",(function(){return p}));var r=n(132);const i="?";function o(t,e,n,r){const i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const s=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=[30,t=>{const e=s.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=a.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=v(e[1]||i,e[2]);return o(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,d=[50,t=>{const e=u.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=l.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||i;return[n,t]=v(n,t),o(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],h=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,p=[40,t=>{const e=h.exec(t);return e?o(e[2],e[1]||i,+e[3],e[4]?+e[4]:void 0):void 0}],f=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,m=[10,t=>{const e=f.exec(t);return e?o(e[2],e[3]||i,+e[1]):void 0}],g=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,_=[20,t=>{const e=g.exec(t);return e?o(e[5],e[3]||e[4]||i,+e[1],+e[2]):void 0}],y=[c,d,p],b=Object(r.a)(...y),v=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:i,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t){return void 0===t&&(t=null),function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(10),i=n(245),o=n(260);function s(t,e){return e?Object(o.a)(t,e):new r.a(Object(i.a)(t))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(3),i=n(13),o=n(296),s=n(20),a=n(357),c=n(106),u=n(243),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new d(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new c.a;if(this.isStopped||this.hasError?e=s.a.EMPTY:(this.observers.push(t),e=new u.a(this,t)),i&&t.add(t=new a.a(t,i)),n)for(var l=0;l<o&&!t.closed;l++)t.next(r[l]);else for(l=0;l<o&&!t.closed;l++)t.next(r[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.b),d=function(){return function(t,e){this.time=t,this.value=e}}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),i=n(13),o=n(20),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.__extends(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.a.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n(20).a))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(63);function i(t,e){return Object(r.b)(t,e,1)}},,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"config",(function(){return r.a})),n.d(e,"InnerSubscriber",(function(){return i.a})),n.d(e,"OuterSubscriber",(function(){return o.a})),n.d(e,"Scheduler",(function(){return s.a})),n.d(e,"AnonymousSubject",(function(){return a.a})),n.d(e,"SubjectSubscription",(function(){return c.a})),n.d(e,"Subscriber",(function(){return u.a})),n.d(e,"fromPromise",(function(){return p})),n.d(e,"fromIterable",(function(){return g})),n.d(e,"ajax",(function(){return y.a})),n.d(e,"webSocket",(function(){return b.a})),n.d(e,"ajaxGet",(function(){return v.g})),n.d(e,"ajaxPost",(function(){return v.j})),n.d(e,"ajaxDelete",(function(){return v.f})),n.d(e,"ajaxPut",(function(){return v.k})),n.d(e,"ajaxPatch",(function(){return v.i})),n.d(e,"ajaxGetJSON",(function(){return v.h})),n.d(e,"AjaxObservable",(function(){return v.b})),n.d(e,"AjaxSubscriber",(function(){return v.d})),n.d(e,"AjaxResponse",(function(){return v.c})),n.d(e,"AjaxError",(function(){return v.a})),n.d(e,"AjaxTimeoutError",(function(){return v.e})),n.d(e,"WebSocketSubject",(function(){return w.a})),n.d(e,"CombineLatestOperator",(function(){return C.a})),n.d(e,"dispatch",(function(){return S.a})),n.d(e,"SubscribeOnObservable",(function(){return O.a})),n.d(e,"Timestamp",(function(){return E.a})),n.d(e,"TimeInterval",(function(){return x.a})),n.d(e,"GroupedObservable",(function(){return I.a})),n.d(e,"defaultThrottleConfig",(function(){return k.a})),n.d(e,"rxSubscriber",(function(){return D.a})),n.d(e,"iterator",(function(){return T.a})),n.d(e,"observable",(function(){return j.a})),n.d(e,"ArgumentOutOfRangeError",(function(){return A.a})),n.d(e,"EmptyError",(function(){return R.a})),n.d(e,"Immediate",(function(){return M.a})),n.d(e,"ObjectUnsubscribedError",(function(){return N.a})),n.d(e,"TimeoutError",(function(){return P.a})),n.d(e,"UnsubscriptionError",(function(){return F.a})),n.d(e,"applyMixins",(function(){return L.a})),n.d(e,"errorObject",(function(){return V})),n.d(e,"hostReportError",(function(){return B.a})),n.d(e,"identity",(function(){return U.a})),n.d(e,"isArray",(function(){return z.a})),n.d(e,"isArrayLike",(function(){return H.a})),n.d(e,"isDate",(function(){return $.a})),n.d(e,"isFunction",(function(){return G.a})),n.d(e,"isIterable",(function(){return q.a})),n.d(e,"isNumeric",(function(){return W.a})),n.d(e,"isObject",(function(){return Y.a})),n.d(e,"isObservable",(function(){return Z.a})),n.d(e,"isPromise",(function(){return K.a})),n.d(e,"isScheduler",(function(){return Q.a})),n.d(e,"noop",(function(){return J.a})),n.d(e,"not",(function(){return X.a})),n.d(e,"pipe",(function(){return tt.a})),n.d(e,"root",(function(){return et.a})),n.d(e,"subscribeTo",(function(){return nt.a})),n.d(e,"subscribeToArray",(function(){return rt.a})),n.d(e,"subscribeToIterable",(function(){return f.a})),n.d(e,"subscribeToObservable",(function(){return it.a})),n.d(e,"subscribeToPromise",(function(){return d.a})),n.d(e,"subscribeToResult",(function(){return ot.a})),n.d(e,"toSubscriber",(function(){return st.a})),n.d(e,"tryCatch",(function(){return ct}));var r=n(85),i=n(358),o=n(96),s=n(215),a=n(13),c=n(243),u=n(7),l=n(10),d=n(247),h=n(367);function p(t,e){return e?Object(h.a)(t,e):new l.a(Object(d.a)(t))}var f=n(248),m=n(368);function g(t,e){if(!t)throw new Error("Iterable cannot be null");return e?Object(m.a)(t,e):new l.a(Object(f.a)(t))}var _,y=n(344),b=n(345),v=n(83),w=n(240),C=n(168),S=n(335),O=n(361),E=n(340),x=n(339),I=n(232),k=n(235),D=n(169),T=n(100),j=n(105),A=n(114),R=n(115),M=n(297),N=n(106),P=n(234),F=n(170),L=n(258),V={e:{}},B=n(138),U=n(90),z=n(45),H=n(244),$=n(254),G=n(116),q=n(355),W=n(127),Y=n(189),Z=n(354),K=n(246),Q=n(60),J=n(101),X=n(252),tt=n(167),et=n(97),nt=n(137),rt=n(245),it=n(353),ot=n(84),st=n(352);function at(){V.e=void 0;try{return _.apply(this,arguments)}catch(t){return V.e=t,V}finally{_=void 0}}function ct(t){return _=t,at}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n(90);function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return 0===t.length?r.a:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return d}));var r=n(3),i=n(60),o=n(45),s=n(96),a=n(84),c=n(151),u={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=void 0,r=void 0;return Object(i.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(c.a)(t,r).lift(new d(n))}var d=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.__extends(e,t),e.prototype._next=function(t){this.values.push(u),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(a.a)(this,r,void 0,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n){var r=this.values,i=r[n],o=this.toRespond?i===u?--this.toRespond:this.toRespond:0;r[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(63),i=n(90);function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.b)(i.a,t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(3),i=n(7),o=n(114),s=n(54);function a(t){return function(e){return 0===t?Object(s.b)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new o.a}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return z}));var r=n(3),i=n(0),o=n(13),s=n(130),a=n(197),c=n(19),u=n(300);function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function h(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(String(n)+String(i)+String(r))?t:h(d(t))}var p="undefined"!=typeof window&&"undefined"!=typeof document,f=p&&!(!window.MSInputMethodContext||!document.documentMode),m=p&&/MSIE 10/.test(navigator.userAgent);function g(t){return 11===t?f:10===t?m:f||m}function _(t){if(!t)return document.documentElement;for(var e,n=g(10)?document.body:null,r=t.offsetParent||null;r===n&&t.nextElementSibling;)r=(e=t.nextElementSibling).offsetParent;var i=r&&r.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===l(r,"position")?_(r):r:e?e.ownerDocument.documentElement:document.documentElement}function y(t){return null!==t.parentNode?y(t.parentNode):t}function b(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var s,a,c=o.commonAncestorContainer;if(t!==c&&e!==c||r.contains(i))return"BODY"===(a=(s=c).nodeName)||"HTML"!==a&&_(s.firstElementChild)!==s?_(c):c;var u=y(t);return u.host?b(u.host,e):b(t,y(e).host)}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function w(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],g(10)?parseInt(n["offset"+t],10)+parseInt(r["margin"+("Height"===t?"Top":"Left")],10)+parseInt(r["margin"+("Height"===t?"Bottom":"Right")],10):0)}function C(t){var e=t.body,n=t.documentElement,r=g(10)&&getComputedStyle(n);return{height:w("Height",e,n,r),width:w("Width",e,n,r)}}function S(t,e){void 0===e&&(e="top");var n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[n]}return t[n]}function O(t){return Object(r.__assign)({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(g(10)){e=t.getBoundingClientRect();var n=S(t,"top"),r=S(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){return}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?C(t.ownerDocument):{},s=o.width||t.clientWidth||i.right-i.left,a=o.height||t.clientHeight||i.bottom-i.top,c=t.offsetWidth-s,u=t.offsetHeight-a;if(c||u){var d=l(t);c-=v(d,"x"),u-=v(d,"y"),i.width-=c,i.height-=u}return O(i)}function x(t,e,n){void 0===n&&(n=!1);var r=g(10),i="HTML"===e.nodeName,o=E(t),s=E(e),a=h(t),c=l(e),u=parseFloat(c.borderTopWidth),d=parseFloat(c.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var p=O({top:o.top-s.top-u,left:o.left-s.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var f=parseFloat(c.marginTop),m=parseFloat(c.marginLeft);p.top-=u-f,p.bottom-=u-f,p.left-=d-m,p.right-=d-m,p.marginTop=f,p.marginLeft=m}return(r&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(p=function(t,e,n){void 0===n&&(n=!1);var r=S(e,"top"),i=S(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function I(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===l(t,"position")||I(d(t)))}function k(t){if(!t||!t.parentElement||g())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function D(t,e,n,r,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o={top:0,left:0},s=i?k(t):b(t,e);if("viewport"===r)o=function(t,e){void 0===e&&(e=!1);var n=t.ownerDocument.documentElement,r=x(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:S(n),a=e?0:S(n,"left");return O({top:s-Number(r.top)+Number(r.marginTop),left:a-Number(r.left)+Number(r.marginLeft),width:i,height:o})}(s,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=h(d(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===r?t.ownerDocument.documentElement:r;var c=x(a,s,i);if("HTML"!==a.nodeName||I(s))o=c;else{var u=C(t.ownerDocument),l=u.height,p=u.width;o.top+=c.top-c.marginTop,o.bottom=Number(l)+Number(c.top),o.left+=c.left-c.marginLeft,o.right=Number(p)+Number(c.left)}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function T(t,e,n,i,o,s){if(void 0===s&&(s=0),-1===t.indexOf("auto"))return t;if(-1!==t.indexOf("auto")&&(-1!==t.indexOf("left")||-1!==t.indexOf("right")||-1!==t.indexOf("top")||-1!==t.indexOf("bottom")))return t.split(" ")[1]||"";var a=D(n,i,s,o),c={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(c).map((function(t){return Object(r.__assign)({key:t},c[t],{area:(e=c[t],e.width*e.height)});var e})).sort((function(t,e){return e.area-t.area})),l=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),d=l.length>0?l[0].key:u[0].key,h=t.split(" ")[1];return n.className=n.className.replace(/auto/g,d),d+(h?"-"+h:"")}function j(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function A(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:Number(t.offsetWidth)+r,height:Number(t.offsetHeight)+n}}function R(t,e,n){return void 0===n&&(n=null),x(e,n?k(t):b(t,e),n)}function M(t,e,n){var r=n.split(" ")[0],i=A(t),o={width:i.width,height:i.height},s=-1!==["right","left"].indexOf(r),a=s?"top":"left",c=s?"left":"top",u=s?"height":"width",l=s?"width":"height";return o[a]=e[a]+e[u]/2-i[u]/2,o[c]=r===c?e[c]-i[l]:e[j(c)],o}function N(t,e){var n=t.instance.target,r=function(t){return{width:t.offsets.target.width,height:t.offsets.target.height,left:Math.floor(t.offsets.target.left),top:Math.round(t.offsets.target.top),bottom:Math.round(t.offsets.target.bottom),right:Math.floor(t.offsets.target.right)}}(t);P(n,{"will-change":"transform",top:"0px",left:"0px",transform:"translate3d("+r.left+"px, "+r.top+"px, 0px)"},e),t.instance.arrow&&P(t.instance.arrow,t.offsets.arrow,e),t.placementAuto&&(e?(e.setAttribute(n,"class",n.className.replace(/bs-popover-auto/g,"bs-popover-"+t.placement)),e.setAttribute(n,"class",n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement)),e.setAttribute(n,"class",n.className.replace(/\sauto/g,"s"+t.placement)),n.className.match(/popover/g)&&e.addClass(n,"popover-auto"),n.className.match(/tooltip/g)&&e.addClass(n,"tooltip-auto")):(n.className=n.className.replace(/bs-popover-auto/g,"bs-popover-"+t.placement),n.className=n.className.replace(/bs-tooltip-auto/g,"bs-tooltip-"+t.placement),n.className=n.className.replace(/\sauto/g,"s"+t.placement),n.className.match(/popover/g)&&n.classList.add("popover-auto"),n.className.match(/tooltip/g)&&n.classList.add("tooltip-auto"))),e?e.setAttribute(n,"class",n.className.replace(/left|right|top|bottom/g,""+t.placement)):n.className=n.className.replace(/left|right|top|bottom/g,""+t.placement)}function P(t,e,n){Object.keys(e).forEach((function(r){var i,o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&(""!==(i=e[r])&&!isNaN(parseFloat(i))&&isFinite(i))&&(o="px"),n?n.setStyle(t,r,""+String(e[r])+o):t.style[r]=String(e[r])+o}))}function F(t){var e=t.offsets.target,n=t.instance.target.querySelector(".arrow");if(!n)return t;var r=-1!==["left","right"].indexOf(t.placement),i=r?"height":"width",o=r?"Top":"Left",s=o.toLowerCase(),a=r?"left":"top",c=r?"bottom":"right",u=A(n)[i];t.offsets.host[c]-u<e[s]&&(e[s]-=e[s]-(t.offsets.host[c]-u)),Number(t.offsets.host[s])+Number(u)>e[c]&&(e[s]+=Number(t.offsets.host[s])+Number(u)-Number(e[c])),e=O(e);var d,h=Number(t.offsets.host[s])+Number(t.offsets.host[i]/2-u/2),p=l(t.instance.target),f=parseFloat(p["margin"+o]),m=parseFloat(p["border"+o+"Width"]),g=h-e[s]-f-m;return g=Math.max(Math.min(e[i]-u,g),0),t.offsets.arrow=((d={})[s]=Math.round(g),d[a]="",d),t.instance.arrow=n,t}function L(t){t.offsets.target=O(t.offsets.target);var e=D(t.instance.target,t.instance.host,0,"viewport",!1),n=t.placement.split(" ")[0],i=t.placement.split(" ")[1]||"",o=i?j(n):T("auto",t.offsets.host,t.instance.target,t.instance.host,"viewport",0),s=[n,o];return s.forEach((function(o,a){if(n!==o||s.length===a+1)return t;var c="left"===(n=t.placement.split(" ")[0])&&Math.floor(t.offsets.target.right)>Math.floor(t.offsets.host.left)||"right"===n&&Math.floor(t.offsets.target.left)<Math.floor(t.offsets.host.right)||"top"===n&&Math.floor(t.offsets.target.bottom)>Math.floor(t.offsets.host.top)||"bottom"===n&&Math.floor(t.offsets.target.top)<Math.floor(t.offsets.host.bottom),u=Math.floor(t.offsets.target.left)<Math.floor(e.left),l=Math.floor(t.offsets.target.right)>Math.floor(e.right),d=Math.floor(t.offsets.target.top)<Math.floor(e.top),h=Math.floor(t.offsets.target.bottom)>Math.floor(e.bottom),p="left"===n&&u||"right"===n&&l||"top"===n&&d||"bottom"===n&&h,f=-1!==["top","bottom"].indexOf(n),m=f&&"left"===i&&u||f&&"right"===i&&l||!f&&"left"===i&&d||!f&&"right"===i&&h;(c||p||m)&&((c||p)&&(n=s[a+1]),m&&(i=function(t){return"right"===t?"left":"left"===t?"right":t}(i)),t.placement=n+(i?" "+i:""),t.offsets.target=Object(r.__assign)({},t.offsets.target,M(t.instance.target,t.offsets.host,t.placement)))})),t}function V(t){var e="transform",n=t.instance.target.style,i=n.top,o=n.left,s=n[e];n.top="",n.left="",n[e]="";var a=D(t.instance.target,t.instance.host,0,"scrollParent",!1);n.top=i,n.left=o,n[e]=s;var c,u={primary:function(e){var n,r=t.offsets.target[e];return t.offsets.target[e]<a[e]&&(r=Math.max(t.offsets.target[e],a[e])),(n={})[e]=r,n},secondary:function(e){var n,r="right"===e?"left":"top",i=t.offsets.target[r];return t.offsets.target[e]>a[e]&&(i=Math.min(t.offsets.target[r],a[e]-("right"===e?t.offsets.target.width:t.offsets.target.height))),(n={})[r]=i,n}};return["left","right","top","bottom"].forEach((function(e){c=-1!==["left","top"].indexOf(e)?"primary":"secondary",t.offsets.target=Object(r.__assign)({},t.offsets.target,u[c](e))})),t}function B(t){var e,n,i=t.placement,o=i.split(" ")[0],s=i.split(" ")[1];if(s){var a=t.offsets,c=a.host,u=a.target,l=-1!==["bottom","top"].indexOf(o),d=l?"left":"top",h=l?"width":"height",p={left:(e={},e[d]=c[d],e),right:(n={},n[d]=c[d]+c[h]-c[h],n)};t.offsets.target=Object(r.__assign)({},u,p[s])}return t}var U=new(function(){function t(){}return t.prototype.position=function(t,e,n){return void 0===n&&(n=!0),this.offset(t,e,!1)},t.prototype.offset=function(t,e,n){return void 0===n&&(n=!0),R(e,t)},t.prototype.positionElements=function(t,e,n,r){return[L,B,V,F].reduce((function(t,e){return e(t)}),function(t,e,n){var r=R(t,e);return{instance:{target:t,host:e,arrow:null},offsets:{target:M(t,r,n),host:r,arrow:null},positionFixed:!1,placement:T(n,r,t,e,"viewport",0),placementAuto:-1!==n.indexOf("auto")}}(e,t,n))},t}());var z=function(){function t(t){var e=this;this.update$$=new o.b,this.events$=Object(s.a)(Object(a.a)(window,"scroll"),Object(a.a)(window,"resize"),Object(c.a)(0,u.b),this.update$$),this.positionElements=new Map,this.events$.subscribe((function(){e.positionElements.forEach((function(e){var n,r,i,o,s;n=H(e.target),r=H(e.element),i=e.attachment,o=e.appendToBody,s=t.createRenderer(null,null),N(U.positionElements(n,r,i,o),s)}))}))}return t.prototype.position=function(t){this.addPositionElement(t),this.update$$.next()},t.prototype.addPositionElement=function(t){this.positionElements.set(H(t.element),t)},t.prototype.deletePositionElement=function(t){this.positionElements.delete(H(t))},t.ctorParameters=function(){return[{type:i.RendererFactory2}]},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.RendererFactory2))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();function H(t){return"string"==typeof t?document.querySelector(t):t instanceof i.ElementRef?t.nativeElement:t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(115),i=n(46),o=n(74),s=n(150),a=n(190),c=n(90);function u(t,e){var n=arguments.length>=2;return function(u){return u.pipe(t?Object(i.a)((function(e,n){return t(e,n,u)})):c.a,Object(o.a)(1),n?Object(s.a)(e):Object(a.a)((function(){return new r.a})))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return o}));var r,i=n(25);function o(t){return new a((e=>{e(t)}))}function s(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let r,i;return this.then((e=>{i=!1,r=e,t&&t()}),(e=>{i=!0,r=e,t&&t()})).then((()=>{i?n(r):e(r)}))}))}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===r.PENDING&&(Object(i.n)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return m}));var r=n(25),i=n(15),o=n(33),s=n(132),a=n(440),c=n(47);const u=Object(c.b)();const l=Object(c.b)(),d="__sentry_xhr_v2__",h={},p={};function f(t){if(!p[t])switch(p[t]=!0,t){case"console":!function(){if(!("console"in c.a))return;i.a.forEach((function(t){t in c.a.console&&Object(o.e)(c.a.console,t,(function(e){return i.d[t]=e,function(...e){g("console",{args:e,level:t});const n=i.d[t];n&&n.apply(c.a.console,e)}}))}))}();break;case"dom":!function(){if(!l.document)return;const t=g.bind(null,"dom"),e=S(t,!0);l.document.addEventListener("click",e,!1),l.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=l[e]&&l[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(o.e)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},s=o[n]=o[n]||{refCount:0};if(!s.handler){const r=S(t);s.handler=r,e.call(this,n,r,i)}s.refCount++}catch(t){}return e.call(this,n,r,i)}})),Object(o.e)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},o=i[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!l.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;Object(o.e)(t,"open",(function(t){return function(...e){const n=e[1],i=this[d]={method:Object(r.l)(e[0])?e[0].toUpperCase():e[0],url:e[1],request_headers:{}};Object(r.l)(n)&&"POST"===i.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const s=()=>{const t=this[d];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}g("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?Object(o.e)(this,"onreadystatechange",(function(t){return function(...e){return s(),t.apply(this,e)}})):this.addEventListener("readystatechange",s),Object(o.e)(this,"setRequestHeader",(function(t){return function(...e){const[n,r]=e,i=this[d];return i&&(i.request_headers[n.toLowerCase()]=r),t.apply(this,e)}})),t.apply(this,e)}})),Object(o.e)(t,"send",(function(t){return function(...e){const n=this[d];return n&&void 0!==e[0]&&(n.body=e[0]),g("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!Object(a.c)())return;Object(o.e)(c.a,"fetch",(function(t){return function(...e){const{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:y(e),method:_(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:y(e),method:_(e,"method")?String(e.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return g("fetch",{...i}),t.apply(c.a,e).then((t=>(g("fetch",{...i,endTimestamp:Date.now(),response:t}),t)),(t=>{throw g("fetch",{...i,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!function(){const t=u.chrome,e=t&&t.app&&t.app.runtime,n="history"in u&&!!u.history.pushState&&!!u.history.replaceState;return!e&&n}())return;const t=l.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=b,e=String(n);b=e,g("history",{from:t,to:e})}return t.apply(this,e)}}l.onpopstate=function(...e){const n=l.location.href,r=b;if(b=n,g("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},Object(o.e)(l.history,"pushState",e),Object(o.e)(l.history,"replaceState",e)}();break;case"error":O=l.onerror,l.onerror=function(t,e,n,r,i){return g("error",{column:r,error:i,line:n,msg:t,url:e}),!(!O||O.__SENTRY_LOADER__)&&O.apply(this,arguments)},l.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":E=l.onunhandledrejection,l.onunhandledrejection=function(t){return g("unhandledrejection",t),!(E&&!E.__SENTRY_LOADER__)||E.apply(this,arguments)},l.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("unknown instrumentation type:",t))}}function m(t,e){h[t]=h[t]||[],h[t].push(e),f(t)}function g(t,e){if(t&&h[t])for(const n of h[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${Object(s.b)(n)}\nError:`,e)}}function _(t,e){return!!t&&"object"==typeof t&&!!t[e]}function y(t){return"string"==typeof t?t:t?_(t,"url")?t.url:t.toString?t.toString():"":""}let b;const v=1e3;let w,C;function S(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;Object(o.a)(n,"_sentryCaptured",!0);const r="keypress"===n.type?"input":n.type;void 0!==C&&function(t,e){if(t.type!==e.type)return!1;try{if(t.target!==e.target)return!1}catch(t){}return!0}(C,n)||(t({event:n,name:r,global:e}),C=n),clearTimeout(w),w=l.setTimeout((()=>{C=void 0}),v)}}let O=null;let E=null},,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"ComponentPortal",(function(){return v})),n.d(e,"BasePortalHost",(function(){return w})),n.d(e,"Overlay",(function(){return E})),n.d(e,"OVERLAY_PROVIDERS",(function(){return x})),n.d(e,"OverlayContainer",(function(){return O})),n.d(e,"OverlayRef",(function(){return S})),n.d(e,"ToastContainerDirective",(function(){return I})),n.d(e,"ToastContainerModule",(function(){return k})),n.d(e,"Toast",(function(){return M})),n.d(e,"ToastrService",(function(){return R})),n.d(e,"ToastPackage",(function(){return D})),n.d(e,"DefaultGlobalConfig",(function(){return N})),n.d(e,"ToastrModule",(function(){return P})),n.d(e,"ToastRef",(function(){return T})),n.d(e,"ToastInjector",(function(){return j})),n.d(e,"TOAST_CONFIG",(function(){return A})),n.d(e,"ToastNoAnimation",(function(){return F})),n.d(e,"ToastNoAnimationModule",(function(){return L}));var r=n(3),i=n(0),o=n(13),s=n(80),a=n(5),c=n(1),u=["toast-component",""];function l(t,e){if(1&t){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",5),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().remove()})),i["\u0275\u0275elementStart"](1,"span",6),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function d(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.titleClass),i["\u0275\u0275attribute"]("aria-label",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.title," ")}}function h(t,e){if(1&t&&i["\u0275\u0275element"](0,"div",7),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.messageClass),i["\u0275\u0275property"]("innerHTML",n.message,i["\u0275\u0275sanitizeHtml"])}}function p(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.messageClass),i["\u0275\u0275attribute"]("aria-label",n.message),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.message," ")}}function f(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",9),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("width",n.width+"%")}}function m(t,e){if(1&t){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",5),i["\u0275\u0275listener"]("click",(function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().remove()})),i["\u0275\u0275elementStart"](1,"span",6),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function g(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.titleClass),i["\u0275\u0275attribute"]("aria-label",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.title," ")}}function _(t,e){if(1&t&&i["\u0275\u0275element"](0,"div",7),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.messageClass),i["\u0275\u0275property"]("innerHTML",n.message,i["\u0275\u0275sanitizeHtml"])}}function y(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](n.options.messageClass),i["\u0275\u0275attribute"]("aria-label",n.message),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.message," ")}}function b(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",9),i["\u0275\u0275elementEnd"]()),2&t){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("width",n.width+"%")}}var v=function(){function t(t,e){this.component=t,this.injector=e}return t.prototype.attach=function(t,e){return this._attachedHost=t,t.attach(this,e)},t.prototype.detach=function(){var t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),w=function(){function t(){}return t.prototype.attach=function(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)},t.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t}(),C=function(t){function e(e,n,r){var i=t.call(this)||this;return i._hostDomElement=e,i._componentFactoryResolver=n,i._appRef=r,i}return Object(r.__extends)(e,t),e.prototype.attachComponentPortal=function(t,e){var n,r=this,i=this._componentFactoryResolver.resolveComponentFactory(t.component);return n=i.create(t.injector),this._appRef.attachView(n.hostView),this.setDisposeFn((function(){r._appRef.detachView(n.hostView),n.destroy()})),e?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(w),S=function(){function t(t){this._portalHost=t}return t.prototype.attach=function(t,e){return void 0===e&&(e=!0),this._portalHost.attach(t,e)},t.prototype.detach=function(){return this._portalHost.detach()},t}(),O=function(){function t(){}return t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=document.createElement("div");t.classList.add("overlay-container"),document.body.appendChild(t),this._containerElement=t},t}(),E=function(){function t(t,e,n){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._paneElements={}}return t.prototype.create=function(t,e){return this._createOverlayRef(this.getPaneElement(t,e))},t.prototype.getPaneElement=function(t,e){return void 0===t&&(t=""),this._paneElements[t]||(this._paneElements[t]=this._createPaneElement(t,e)),this._paneElements[t]},t.prototype._createPaneElement=function(t,e){var n=document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n},t.prototype._createPortalHost=function(t){return new C(t,this._componentFactoryResolver,this._appRef)},t.prototype._createOverlayRef=function(t){return new S(this._createPortalHost(t))},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](O),i["\u0275\u0275inject"](i.ComponentFactoryResolver),i["\u0275\u0275inject"](i.ApplicationRef))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();E.ctorParameters=function(){return[{type:O},{type:i.ComponentFactoryResolver},{type:i.ApplicationRef}]};var x=[E,O],I=function(){function t(t){this.el=t}return t.prototype.getContainerElement=function(){return this.el.nativeElement},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),t}();I.ctorParameters=function(){return[{type:i.ElementRef}]};var k=function(){function t(){}return t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](t,{declarations:[I],exports:[I]}),t}(),D=function(){function t(t,e,n,r,i,s){var a=this;this.toastId=t,this.config=e,this.message=n,this.title=r,this.toastType=i,this.toastRef=s,this._onTap=new o.b,this._onAction=new o.b,this.toastRef.afterClosed().subscribe((function(){a._onAction.complete(),a._onTap.complete()}))}return t.prototype.triggerTap=function(){this._onTap.next(),this._onTap.complete()},t.prototype.onTap=function(){return this._onTap.asObservable()},t.prototype.triggerAction=function(t){this._onAction.next(t)},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),T=function(){function t(t){this._overlayRef=t,this._afterClosed=new o.b,this._activate=new o.b,this._manualClose=new o.b}return t.prototype.manualClose=function(){this._manualClose.next(),this._manualClose.complete()},t.prototype.manualClosed=function(){return this._manualClose.asObservable()},t.prototype.close=function(){this._overlayRef.detach(),this._afterClosed.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.isInactive=function(){return this._activate.isStopped},t.prototype.activate=function(){this._activate.next(),this._activate.complete()},t.prototype.afterActivate=function(){return this._activate.asObservable()},t}(),j=function(){function t(t,e){this._toastPackage=t,this._parentInjector=e}return t.prototype.get=function(t,e){return t===D&&this._toastPackage?this._toastPackage:this._parentInjector.get(t,e)},t}(),A=new i.InjectionToken("ToastConfig"),R=function(){function t(t,e,n,r,i){this.overlay=e,this._injector=n,this.sanitizer=r,this.ngZone=i,this.currentlyActive=0,this.toasts=[],this.index=0;var o=new t.defaults;this.toastrConfig=Object.assign({},o,t.config),this.toastrConfig.iconClasses=Object.assign({},o.iconClasses,t.config.iconClasses)}return t.prototype.show=function(t,e,n,r){return void 0===n&&(n={}),void 0===r&&(r=""),this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.success=function(t,e,n){void 0===n&&(n={});var r=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.error=function(t,e,n){void 0===n&&(n={});var r=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.info=function(t,e,n){void 0===n&&(n={});var r=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.warning=function(t,e,n){void 0===n&&(n={});var r=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(r,t,e,this.applyConfig(n))},t.prototype.clear=function(t){try{for(var e=Object(r.__values)(this.toasts),n=e.next();!n.done;n=e.next()){var i=n.value;if(void 0!==t){if(i.toastId===t)return void i.toastRef.manualClose()}else i.toastRef.manualClose()}}catch(t){o={error:t}}finally{try{n&&!n.done&&(s=e.return)&&s.call(e)}finally{if(o)throw o.error}}var o,s},t.prototype.remove=function(t){var e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){var n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0},t.prototype.isDuplicate=function(t){for(var e=0;e<this.toasts.length;e++)if(this.toasts[e].message===t)return!0;return!1},t.prototype.applyConfig=function(t){return void 0===t&&(t={}),Object.assign({},this.toastrConfig,t)},t.prototype._findToast=function(t){for(var e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null},t.prototype._preBuildNotification=function(t,e,n,r){var i=this;return r.onActivateTick?this.ngZone.run((function(){return i._buildNotification(t,e,n,r)})):this._buildNotification(t,e,n,r)},t.prototype._buildNotification=function(t,e,n,r){var o=this;if(!r.toastComponent)throw new Error("toastComponent required");if(e&&this.toastrConfig.preventDuplicates&&this.isDuplicate(e))return null;this.previousToastMessage=e;var s=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[this.toasts.length-1].toastId));var a=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;var c=e;e&&r.enableHtml&&(c=this.sanitizer.sanitize(i.SecurityContext.HTML,e));var u=new T(a),l=new D(this.index,r,c,n,t,u),d=new j(l,this._injector),h=new v(r.toastComponent,d),p=a.attach(h,this.toastrConfig.newestOnTop);u.componentInstance=p._component;var f={toastId:this.index,message:e||"",toastRef:u,onShown:u.afterActivate(),onHidden:u.afterClosed(),onTap:l.onTap(),onAction:l.onAction(),portal:p};return s||setTimeout((function(){f.toastRef.activate(),o.currentlyActive=o.currentlyActive+1})),this.toasts.push(f),f},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](A),i["\u0275\u0275inject"](E),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](s.DomSanitizer),i["\u0275\u0275inject"](i.NgZone))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();R.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.Inject,args:[A]}]},{type:E},{type:i.Injector},{type:s.DomSanitizer},{type:i.NgZone}]};var M=function(){function t(t,e,n){var r=this;this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe((function(){r.activateToast()})),this.sub1=e.toastRef.manualClosed().subscribe((function(){r.remove()}))}return t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state=Object.assign({},this.state,{value:"active"}),!this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout((function(){return t.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval((function(){return t.updateProgress()}),10))},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime(),e=this.hideTime-t;this.width=e/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.remove=function(){var t=this;"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign({},this.state,{value:"removed"}),this.outsideTimeout((function(){return t.toastrService.remove(t.toastPackage.toastId)}),+this.toastPackage.config.easeTime))},t.prototype.tapToast=function(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout((function(){return t.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval((function(){return t.updateProgress()}),10))},t.prototype.outsideTimeout=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.timeout=setTimeout((function(){return n.runInsideAngular(t)}),e)})):this.timeout=setTimeout((function(){return t()}),e)},t.prototype.outsideInterval=function(t,e){var n=this;this.ngZone?this.ngZone.runOutsideAngular((function(){return n.intervalId=setInterval((function(){return n.runInsideAngular(t)}),e)})):this.intervalId=setInterval((function(){return t()}),e)},t.prototype.runInsideAngular=function(t){this.ngZone?this.ngZone.run((function(){return t()})):t()},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](R),i["\u0275\u0275directiveInject"](D),i["\u0275\u0275directiveInject"](i.NgZone))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["","toast-component",""]],hostVars:3,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",(function(){return e.tapToast()}))("mouseenter",(function(){return e.stickAround()}))("mouseleave",(function(){return e.delayedHideToast()})),2&t&&(i["\u0275\u0275syntheticHostProperty"]("@flyInOut",e.state),i["\u0275\u0275classMap"](e.toastClasses))},attrs:u,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(i["\u0275\u0275template"](0,l,3,0,"button",0),i["\u0275\u0275template"](1,d,2,4,"div",1),i["\u0275\u0275template"](2,h,1,3,"div",2),i["\u0275\u0275template"](3,p,2,4,"div",3),i["\u0275\u0275template"](4,f,2,2,"div",4)),2&t&&(i["\u0275\u0275property"]("ngIf",e.options.closeButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&!e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.options.progressBar))},directives:[c.NgIf],encapsulation:2,data:{animation:[Object(a.trigger)("flyInOut",[Object(a.state)("inactive",Object(a.style)({display:"none",opacity:0})),Object(a.state)("active",Object(a.style)({})),Object(a.state)("removed",Object(a.style)({opacity:0})),Object(a.transition)("inactive => active",Object(a.animate)("{{ easeTime }}ms {{ easing }}")),Object(a.transition)("active => removed",Object(a.animate)("{{ easeTime }}ms {{ easing }}"))])]}}),t}();M.ctorParameters=function(){return[{type:R},{type:D},{type:i.NgZone}]},M.propDecorators={toastClasses:[{type:i.HostBinding,args:["class"]}],state:[{type:i.HostBinding,args:["@flyInOut"]}],tapToast:[{type:i.HostListener,args:["click"]}],stickAround:[{type:i.HostListener,args:["mouseenter"]}],delayedHideToast:[{type:i.HostListener,args:["mouseleave"]}]};var N=function(){this.maxOpened=0,this.autoDismiss=!1,this.newestOnTop=!0,this.preventDuplicates=!1,this.iconClasses={error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},this.toastComponent=M,this.closeButton=!1,this.timeOut=5e3,this.extendedTimeOut=1e3,this.enableHtml=!1,this.progressBar=!1,this.toastClass="toast",this.positionClass="toast-top-right",this.titleClass="toast-title",this.messageClass="toast-message",this.easing="ease-in",this.easeTime=300,this.tapToDismiss=!0,this.onActivateTick=!1,this.progressAnimation="decreasing"},P=function(){function t(t){if(t)throw new Error("ToastrModule is already loaded. It should only be imported in your application's main module.")}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:A,useValue:{config:e,defaults:N}},O,E,R]}},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)(i["\u0275\u0275inject"](t,12))},imports:[[c.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](t,{declarations:function(){return[M]},imports:function(){return[c.CommonModule]},exports:function(){return[M]}}),t}();P.ctorParameters=function(){return[{type:P,decorators:[{type:i.Optional},{type:i.SkipSelf}]}]};var F=function(){function t(t,e,n){var r=this;this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe((function(){r.activateToast()})),this.sub1=e.toastRef.manualClosed().subscribe((function(){r.remove()}))}return Object.defineProperty(t.prototype,"displayStyle",{get:function(){return"inactive"===this.state?"none":"inherit"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state="active",!this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout((function(){t.remove()}),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval((function(){return t.updateProgress()}),10))),this.options.onActivateTick&&this.appRef.tick()},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime(),e=this.hideTime-t;this.width=e/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.remove=function(){var t=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout((function(){return t.toastrService.remove(t.toastPackage.toastId)})))},t.prototype.tapToast=function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout((function(){return t.remove()}),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval((function(){return t.updateProgress()}),10)))},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](R),i["\u0275\u0275directiveInject"](D),i["\u0275\u0275directiveInject"](i.ApplicationRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",(function(){return e.tapToast()}))("mouseenter",(function(){return e.stickAround()}))("mouseleave",(function(){return e.delayedHideToast()})),2&t&&(i["\u0275\u0275classMap"](e.toastClasses),i["\u0275\u0275styleProp"]("display",e.displayStyle))},attrs:u,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(i["\u0275\u0275template"](0,m,3,0,"button",0),i["\u0275\u0275template"](1,g,2,4,"div",1),i["\u0275\u0275template"](2,_,1,3,"div",2),i["\u0275\u0275template"](3,y,2,4,"div",3),i["\u0275\u0275template"](4,b,2,2,"div",4)),2&t&&(i["\u0275\u0275property"]("ngIf",e.options.closeButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&!e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.options.progressBar))},directives:[c.NgIf],encapsulation:2}),t}();F.ctorParameters=function(){return[{type:R},{type:D},{type:i.ApplicationRef}]},F.propDecorators={toastClasses:[{type:i.HostBinding,args:["class"]}],displayStyle:[{type:i.HostBinding,args:["style.display"]}],tapToast:[{type:i.HostListener,args:["click"]}],stickAround:[{type:i.HostListener,args:["mouseenter"]}],delayedHideToast:[{type:i.HostListener,args:["mouseleave"]}]};var L=function(){function t(){}return t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[c.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](t,{declarations:function(){return[F]},imports:function(){return[c.CommonModule]},exports:function(){return[F]}}),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return u}));var r=n(25),i=n(372),o=n(15),s=n(33),a=n(18),c=n(217);function u(t,e,n=(()=>{})){const i=g(t),o=Object(a.b)(),s=o.getScope(),c=s.getSpan(),u=m(o,c,i);function l(){u&&u.finish(),o.getScope().setSpan(c)}let d;s.setSpan(u);try{d=e(u)}catch(t){throw u&&u.setStatus("internal_error"),n(t),l(),t}return Object(r.n)(d)?Promise.resolve(d).then((()=>{l()}),(t=>{u&&u.setStatus("internal_error"),n(t),l()})):l(),d}function l(t,e){const n=g(t),i=Object(a.b)(),o=i.getScope(),s=o.getSpan(),c=m(i,s,n);function u(){c&&c.finish(),i.getScope().setSpan(s)}let l;o.setSpan(c);try{l=e(c)}catch(t){throw c&&c.setStatus("internal_error"),u(),t}return Object(r.n)(l)?Promise.resolve(l).then((()=>{u()}),(()=>{c&&c.setStatus("internal_error"),u()})):u(),l}function d(t,e){const n=g(t),i=Object(a.b)(),o=i.getScope(),s=o.getSpan(),c=m(i,s,n);let u;o.setSpan(c);try{u=e(c,(function(){c&&c.finish(),i.getScope().setSpan(s)}))}catch(t){throw c&&c.setStatus("internal_error"),t}return Object(r.n)(u)&&Promise.resolve(u).then(void 0,(()=>{c&&c.setStatus("internal_error")})),u}function h(t){if(!Object(c.a)())return;const e={...t};void 0!==e.name&&void 0===e.description&&(e.description=e.name);const n=Object(a.b)(),r=p();return r?r.startChild(e):n.startTransaction(e)}function p(){return Object(a.b)().getScope().getSpan()}function f({sentryTrace:t,baggage:e},n){const r=Object(a.b)().getScope(),{traceparentData:c,dynamicSamplingContext:u,propagationContext:l}=Object(i.c)(t,e);r.setPropagationContext(l),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c&&o.c.log(`[Tracing] Continuing trace ${c.traceId}.`);return n({...c,metadata:Object(s.c)({dynamicSamplingContext:c&&!u?{}:u})})}function m(t,e,n){if(Object(c.a)())return e?e.startChild(n):t.startTransaction(n)}function g(t){const e={...t};return void 0!==e.name&&void 0===e.description&&(e.description=e.name),e}},,function(t,e,n){"use strict";n.r(e),n.d(e,"BsDropdownDirective",(function(){return p})),n.d(e,"BsDropdownMenuDirective",(function(){return f})),n.d(e,"BsDropdownToggleDirective",(function(){return m})),n.d(e,"BsDropdownContainerComponent",(function(){return h})),n.d(e,"BsDropdownState",(function(){return d})),n.d(e,"BsDropdownConfig",(function(){return l})),n.d(e,"BsDropdownModule",(function(){return g}));var r=n(0),i=n(61),o=n(3),s=n(46),a=n(129),c=n(173),u=["*"],l=function(){function t(){this.autoClose=!0,this.insideClick=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),d=function(){function t(){var t=this;this.direction="down",this.isOpenChange=new r.EventEmitter,this.isDisabledChange=new r.EventEmitter,this.toggleClick=new r.EventEmitter,this.dropdownMenu=new Promise((function(e){t.resolveDropdownMenu=e}))}return t.ctorParameters=function(){return[]},t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(),h=function(){function t(t,e,n,r){var o=this;this._state=t,this.cd=e,this._renderer=n,this._element=r,this.isOpen=!1,this._subscription=t.isOpenChange.subscribe((function(t){o.isOpen=t;var e=o._element.nativeElement.querySelector(".dropdown-menu");e&&!Object(i.b)()&&(o._renderer.addClass(e,"show"),e.classList.contains("dropdown-menu-right")&&(o._renderer.setStyle(e,"left","auto"),o._renderer.setStyle(e,"right","0")),"up"===o.direction&&(o._renderer.setStyle(e,"top","auto"),o._renderer.setStyle(e,"transform","translateY(-101%)"))),o.cd.markForCheck(),o.cd.detectChanges()}))}return Object.defineProperty(t.prototype,"direction",{get:function(){return this._state.direction},enumerable:!0,configurable:!0}),t.prototype._contains=function(t){return this._element.nativeElement.contains(t)},t.prototype.ngOnDestroy=function(){this._subscription.unsubscribe()},t.ctorParameters=function(){return[{type:d},{type:r.ChangeDetectorRef},{type:r.Renderer2},{type:r.ElementRef}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](d),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute"],ngContentSelectors:u,decls:2,vars:8,template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div"),r["\u0275\u0275projection"](1),r["\u0275\u0275elementEnd"]()),2&t&&r["\u0275\u0275classProp"]("dropup","up"===e.direction)("dropdown","down"===e.direction)("show",e.isOpen)("open",e.isOpen)},directives:function(){return[p]},encapsulation:2,changeDetection:0}),t}(),p=function(){function t(t,e,n,r,i,o){this._elementRef=t,this._renderer=e,this._viewContainerRef=n,this._cis=r,this._config=i,this._state=o,this._isInlineOpen=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:d,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}return Object.defineProperty(t.prototype,"autoClose",{get:function(){return this._state.autoClose},set:function(t){this._state.autoClose=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"insideClick",{get:function(){return this._state.insideClick},set:function(t){this._state.insideClick=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this._isDisabled},set:function(t){this._isDisabled=t,this._state.isDisabledChange.emit(t),t&&this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._showInline?this._isInlineOpen:this._dropdown.isShown},set:function(t){t?this.show():this.hide()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBs4",{get:function(){return!Object(i.b)()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_showInline",{get:function(){return!this.container},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:function(){return t.show()}}),this._subscriptions.push(this._state.toggleClick.subscribe((function(e){return t.toggle(e)}))),this._subscriptions.push(this._state.isDisabledChange.pipe(Object(s.a)((function(t){return t}))).subscribe((function(e){return t.hide()}))))},t.prototype.show=function(){var t=this;if(!this.isOpen&&!this.isDisabled)return this._showInline?(this._inlinedMenu||this._state.dropdownMenu.then((function(e){t._dropdown.attachInline(e.viewContainer,e.templateRef),t._inlinedMenu=t._dropdown._inlineViewRef,t.addBs4Polyfills()})).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),void this._state.isOpenChange.emit(!0)):void this._state.dropdownMenu.then((function(e){var n=t.dropup||void 0!==t.dropup&&t.dropup;t._state.direction=n?"up":"down";var r=t.placement||(n?"top left":"bottom left");t._dropdown.attach(h).to(t.container).position({attachment:r}).show({content:e.templateRef,placement:r}),t._state.isOpenChange.emit(!0)})).catch()},t.prototype.hide=function(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))},t.prototype.toggle=function(t){return this.isOpen||!t?this.hide():this.show()},t.prototype._contains=function(t){return this._elementRef.nativeElement.contains(t.target)||this._dropdown.instance&&this._dropdown.instance._contains(t.target)},t.prototype.ngOnDestroy=function(){try{for(var t=Object(o.__values)(this._subscriptions),e=t.next();!e.done;e=t.next()){e.value.unsubscribe()}}catch(t){n={error:t}}finally{try{e&&!e.done&&(r=t.return)&&r.call(t)}finally{if(n)throw n.error}}var n,r;this._dropdown.dispose()},t.prototype.addBs4Polyfills=function(){Object(i.b)()||(this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles())},t.prototype.addShowClass=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")},t.prototype.removeShowClass=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")},t.prototype.checkRightAlignment=function(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){var t=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",t?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",t?"0":"auto")}},t.prototype.addDropupStyles=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))},t.prototype.removeDropupStyles=function(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))},t.ctorParameters=function(){return[{type:r.ElementRef},{type:r.Renderer2},{type:r.ViewContainerRef},{type:a.a},{type:l},{type:d}]},t.propDecorators={placement:[{type:r.Input}],triggers:[{type:r.Input}],container:[{type:r.Input}],dropup:[{type:r.Input}],autoClose:[{type:r.Input}],insideClick:[{type:r.Input}],isDisabled:[{type:r.Input}],isOpen:[{type:r.Input}],isOpenChange:[{type:r.Output}],onShown:[{type:r.Output}],onHidden:[{type:r.Output}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](a.a),r["\u0275\u0275directiveInject"](l),r["\u0275\u0275directiveInject"](d))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(t,e){2&t&&r["\u0275\u0275classProp"]("dropup",e.dropup)("open",e.isOpen)("show",e.isOpen&&e.isBs4)},inputs:{autoClose:"autoClose",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen",placement:"placement",triggers:"triggers",container:"container",dropup:"dropup"},outputs:{onShown:"onShown",onHidden:"onHidden",isOpenChange:"isOpenChange"},exportAs:["bs-dropdown"],features:[r["\u0275\u0275ProvidersFeature"]([d])]}),t}(),f=function(){function t(t,e,n){t.resolveDropdownMenu({templateRef:n,viewContainer:e})}return t.ctorParameters=function(){return[{type:d},{type:r.ViewContainerRef},{type:r.TemplateRef}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](d),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]}),t}(),m=function(){function t(t,e,n){var r=this;this._state=t,this._element=e,this.dropdown=n,this.isDisabled=null,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe((function(t){return r.isOpen=t}))),this._subscriptions.push(this._state.isDisabledChange.subscribe((function(t){return r.isDisabled=t||null})))}return t.prototype.onClick=function(){this.isDisabled||this._state.toggleClick.emit(!0)},t.prototype.onDocumentClick=function(t){!this._state.autoClose||2===t.button||this._element.nativeElement.contains(t.target)||this._state.insideClick&&this.dropdown._contains(t)||this._state.toggleClick.emit(!1)},t.prototype.onEsc=function(){this._state.autoClose&&this._state.toggleClick.emit(!1)},t.prototype.ngOnDestroy=function(){try{for(var t=Object(o.__values)(this._subscriptions),e=t.next();!e.done;e=t.next()){e.value.unsubscribe()}}catch(t){n={error:t}}finally{try{e&&!e.done&&(r=t.return)&&r.call(t)}finally{if(n)throw n.error}}var n,r},t.ctorParameters=function(){return[{type:d},{type:r.ElementRef},{type:p}]},t.propDecorators={isDisabled:[{type:r.HostBinding,args:["attr.disabled"]}],isOpen:[{type:r.HostBinding,args:["attr.aria-expanded"]}],onClick:[{type:r.HostListener,args:["click",[]]}],onDocumentClick:[{type:r.HostListener,args:["document:click",["$event"]]}],onEsc:[{type:r.HostListener,args:["keyup.esc"]}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](d),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](p))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",(function(){return e.onClick()}))("click",(function(t){return e.onDocumentClick(t)}),!1,r["\u0275\u0275resolveDocument"])("keyup.esc",(function(){return e.onEsc()})),2&t&&r["\u0275\u0275attribute"]("aria-haspopup",!0)("disabled",e.isDisabled)("aria-expanded",e.isOpen)},exportAs:["bs-dropdown-toggle"]}),t}(),g=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[a.a,c.a,d,{provide:l,useValue:e||{autoClose:!0,insideClick:!1}}]}},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)}}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](t,{declarations:[f,m,h,p],exports:[f,m,p]}),t}()},function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),i=n(115),o=n(7);function s(t){return void 0===t&&(t=u),function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.errorFactory))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return r.__extends(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(o.a);function u(){return new i.a}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="production"},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l}));var r=n(42),i=n(109),o=n(15),s=n(372),a=n(33);class c{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class u{constructor(t={}){this.traceId=t.traceId||Object(r.f)(),this.spanId=t.spanId||Object(r.f)().substring(16),this.startTimestamp=t.startTimestamp||Object(i.c)(),this.tags=t.tags||{},this.data=t.data||{},this.instrumenter=t.instrumenter||"sentry",this.origin=t.origin||"manual",t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.name&&(this.description=t.name),t.status&&(this.status=t.status),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}get name(){return this.description||""}set name(t){this.setName(t)}startChild(t){const e=new u({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){const n=`[Tracing] Starting '${t&&t.op||"< unknown op >"}' span on transaction '${e.transaction.name||"< unknown name >"}' (${e.transaction.spanId}).`;e.transaction.metadata.spanMetadata[e.spanId]={logMessage:n},o.c.log(n)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t)),this.setData("http.response.status_code",t);const e=l(t);return"unknown_error"!==e&&this.setStatus(e),this}setName(t){this.description=t}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId];t&&o.c.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:Object(i.c)()}toTraceparent(){return Object(s.b)(this.traceId,this.spanId,this.sampled)}toContext(){return Object(a.c)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return Object(a.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Object(a.c)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId,origin:this.origin})}}function l(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c}));var r=n(33),i=n(264);const o="7";function s(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function a(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${s(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return Object(r.h)({sentry_key:t.publicKey,sentry_version:o,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}function c(t,e){const n=Object(i.c)(t);if(!n)return"";const r=`${s(n)}embed/error-page/`;let o=`dsn=${Object(i.b)(n)}`;for(const t in e)if("dsn"!==t)if("user"===t){const t=e.user;if(!t)continue;t.name&&(o+=`&name=${encodeURIComponent(t.name)}`),t.email&&(o+=`&email=${encodeURIComponent(t.email)}`)}else o+=`&${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`;return`${r}?${o}`}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(25),i=n(109),o=n(42),s=n(140),a=n(118);class c{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=u()}static clone(t){const e=new c;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata},e._propagationContext={...t._propagationContext}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&Object(a.c)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof c?e:this}return t instanceof c?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession),t._propagationContext&&(this._propagationContext=t._propagationContext)):Object(r.i)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=u(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:Object(i.b)(),...t},o=this._breadcrumbs;return o.push(r),this._breadcrumbs=o.length>n?o.slice(-n):o,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={},n){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}this._applyFingerprint(t);const r=this._getBreadcrumbs(),i=[...t.breadcrumbs||[],...r];return t.breadcrumbs=i.length>0?i:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata,propagationContext:this._propagationContext},Object(s.c)([...n||[],...Object(s.b)(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}_getBreadcrumbs(){return this._breadcrumbs}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Object(o.c)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function u(){return{traceId:Object(o.f)(),spanId:Object(o.f)().substring(16)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c}));var r=n(3),i=n(297),o=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.a.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.a.clearImmediate(n),e.scheduled=void 0)},e}(n(154).a),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(119).a),a=new s(o),c=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(10),i=n(45),o=n(116),s=n(21);function a(t,e,n,u){return Object(o.a)(n)&&(u=n,n=void 0),u?a(t,e,n).pipe(Object(s.a)((function(t){return Object(i.a)(t)?u.apply(void 0,t):u(t)}))):new r.a((function(r){c(t,e,(function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)}))}function c(t,e,n,r,i){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),o=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var a=t;t.on(e,n),o=function(){return a.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),o=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,d=t.length;l<d;l++)c(t[l],e,n,r,i)}r.add(o)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(12);function o(t){return function(e){var n=new s(t),r=e.lift(n);return n.caught=r}}var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.selector,this.caught))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.a(this);this.add(r);var o=Object(i.c)(n,r);o!==r&&this.add(o)}},e}(i.b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return g})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return d}));var r=n(264),i=n(142),o=n(33);function s(t,e=[]){return[t,e]}function a(t,e){const[n,r]=t;return[n,[...r,e]]}function c(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function u(t,e){return c(t,((t,n)=>e.includes(n)))}function l(t,e){return(e||new TextEncoder).encode(t)}function d(t,e){const[n,r]=t;let o=JSON.stringify(n);function s(t){"string"==typeof o?o="string"==typeof t?o+t:[l(o,e),t]:o.push("string"==typeof t?l(t,e):t)}for(const t of r){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(Object(i.a)(n))}s(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(o)}function h(t,e,n){let r="string"==typeof t?e.encode(t):t;function i(t){const e=r.subarray(0,t);return r=r.subarray(t+1),e}function o(){let t=r.indexOf(10);return t<0&&(t=r.length),JSON.parse(n.decode(i(t)))}const s=o(),a=[];for(;r.length;){const t=o(),e="number"==typeof t.length?t.length:void 0;a.push([t,e?i(e):o()])}return[s,a]}function p(t,e){const n="string"==typeof t.data?l(t.data,e):t.data;return[Object(o.c)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function m(t){return f[t]}function g(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,i){const s=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&i&&{dsn:Object(r.b)(i)},...s&&{trace:Object(o.c)({...s})}}}},,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return u}));var r=n(42),i=n(15),o=n(140),s=n(18);const a=[];function c(t){const e=t.defaultIntegrations||[],n=t.integrations;let i;e.forEach((t=>{t.isDefaultInstance=!0})),i=Array.isArray(n)?[...e,...n]:"function"==typeof n?Object(r.c)(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(i),s=function(t,e){for(let n=0;n<t.length;n++)if(!0===e(t[n]))return n;return-1}(o,(t=>"Debug"===t.name));if(-1!==s){const[t]=o.splice(s,1);o.push(t)}return o}function u(t,e){const n={};return e.forEach((e=>{e&&l(t,e,n)})),n}function l(t,e,n){if(n[e.name]=e,-1===a.indexOf(e.name)&&(e.setupOnce(o.a,s.b),a.push(e.name)),t.on&&"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if(t.addEventProcessor&&"function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`Integration installed: ${e.name}`)}function d(t){const e=Object(s.b)().getClient();e&&e.addIntegration?e.addIntegration(t):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn(`Cannot add integration "${t.name}" because no SDK Client is available.`)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(18);function i(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=Object(r.b)().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},function(t,e,n){"use strict";n.r(e),n.d(e,"MatAnchor",(function(){return p})),n.d(e,"MatButton",(function(){return h})),n.d(e,"MatButtonModule",(function(){return f}));var r=n(0),i=n(8),o=n(29),s=n(50);const a=["mat-button",""],c=["*"],u=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",l=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];const d=Object(i.mixinColor)(Object(i.mixinDisabled)(Object(i.mixinDisableRipple)(class{constructor(t){this._elementRef=t}})));class h extends d{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const t of l)this._hasHostAttributes(t)&&this._getHostElement().classList.add(t);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some((t=>this._getHostElement().hasAttribute(t)))}}h.\u0275fac=function(t){return new(t||h)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](o.d),r["\u0275\u0275directiveInject"](s.ANIMATION_MODULE_TYPE,8))},h.\u0275cmp=r["\u0275\u0275defineComponent"]({type:h,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;(1&t&&r["\u0275\u0275viewQuery"](i.MatRipple,!0),2&t)&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e.ripple=n.first))},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(r["\u0275\u0275attribute"]("disabled",e.disabled||null),r["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[r["\u0275\u0275InheritDefinitionFeature"]],attrs:a,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"span",0),r["\u0275\u0275projection"](1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](2,"span",1),r["\u0275\u0275element"](3,"span",2)),2&t&&(r["\u0275\u0275advance"](2),r["\u0275\u0275classProp"]("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r["\u0275\u0275property"]("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.MatRipple],styles:[u],encapsulation:2,changeDetection:0}),h.ctorParameters=()=>[{type:r.ElementRef},{type:o.d},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}],h.propDecorators={ripple:[{type:r.ViewChild,args:[i.MatRipple]}]};class p extends h{constructor(t,e,n){super(e,t,n)}_haltDisabledEvents(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}}p.\u0275fac=function(t){return new(t||p)(r["\u0275\u0275directiveInject"](o.d),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](s.ANIMATION_MODULE_TYPE,8))},p.\u0275cmp=r["\u0275\u0275defineComponent"]({type:p,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",(function(t){return e._haltDisabledEvents(t)})),2&t&&(r["\u0275\u0275attribute"]("tabindex",e.disabled?-1:e.tabIndex||0)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString()),r["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[r["\u0275\u0275InheritDefinitionFeature"]],attrs:a,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"span",0),r["\u0275\u0275projection"](1),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](2,"span",1),r["\u0275\u0275element"](3,"span",2)),2&t&&(r["\u0275\u0275advance"](2),r["\u0275\u0275classProp"]("mat-button-ripple-round",e.isRoundButton||e.isIconButton),r["\u0275\u0275property"]("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.MatRipple],styles:[u],encapsulation:2,changeDetection:0}),p.ctorParameters=()=>[{type:o.d},{type:r.ElementRef},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}],p.propDecorators={tabIndex:[{type:r.Input}]};class f{}f.\u0275mod=r["\u0275\u0275defineNgModule"]({type:f}),f.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||f)},imports:[[i.MatRippleModule,i.MatCommonModule],i.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](f,{declarations:function(){return[h,p]},imports:function(){return[i.MatRippleModule,i.MatCommonModule]},exports:function(){return[h,p,i.MatCommonModule]}})},function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_SELECT_CONFIG",(function(){return $})),n.d(e,"MAT_SELECT_SCROLL_STRATEGY",(function(){return z})),n.d(e,"MAT_SELECT_SCROLL_STRATEGY_PROVIDER",(function(){return G})),n.d(e,"MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY",(function(){return H})),n.d(e,"MAT_SELECT_TRIGGER",(function(){return Y})),n.d(e,"MatSelect",(function(){return K})),n.d(e,"MatSelectChange",(function(){return q})),n.d(e,"MatSelectModule",(function(){return Q})),n.d(e,"MatSelectTrigger",(function(){return Z})),n.d(e,"SELECT_ITEM_HEIGHT_EM",(function(){return V})),n.d(e,"SELECT_MULTIPLE_PANEL_PADDING_X",(function(){return B})),n.d(e,"SELECT_PANEL_INDENT_PADDING_X",(function(){return L})),n.d(e,"SELECT_PANEL_MAX_HEIGHT",(function(){return P})),n.d(e,"SELECT_PANEL_PADDING_X",(function(){return F})),n.d(e,"SELECT_PANEL_VIEWPORT_PADDING",(function(){return U})),n.d(e,"matSelectAnimations",(function(){return M}));var r=n(31),i=n(1),o=n(0),s=n(8),a=n(108),c=n(30),u=n(29),l=n(23),d=n(14),h=n(44),p=n(32),f=n(53),m=n(13),g=n(128),_=n(130),y=n(141),b=n(77),v=n(74),w=n(46),C=n(21),S=n(262),O=n(92),E=n(5);const x=["trigger"],I=["panel"];function k(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"span",8),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](t.placeholder||"\xa0")}}function D(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"span"),o["\u0275\u0275text"](1),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"](2);o["\u0275\u0275advance"](1),o["\u0275\u0275textInterpolate"](t.triggerValue||"\xa0")}}function T(t,e){1&t&&o["\u0275\u0275projection"](0,0,["*ngSwitchCase","true"])}function j(t,e){if(1&t&&(o["\u0275\u0275elementStart"](0,"span",9),o["\u0275\u0275template"](1,D,2,1,"span",10),o["\u0275\u0275template"](2,T,1,0,"ng-content",11),o["\u0275\u0275elementEnd"]()),2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("ngSwitch",!!t.customTrigger),o["\u0275\u0275advance"](2),o["\u0275\u0275property"]("ngSwitchCase",!0)}}function A(t,e){if(1&t){const t=o["\u0275\u0275getCurrentView"]();o["\u0275\u0275elementStart"](0,"div",12),o["\u0275\u0275elementStart"](1,"div",13,14),o["\u0275\u0275listener"]("@transformPanel.done",(function(e){o["\u0275\u0275restoreView"](t);return o["\u0275\u0275nextContext"]()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){o["\u0275\u0275restoreView"](t);return o["\u0275\u0275nextContext"]()._handleKeydown(e)})),o["\u0275\u0275projection"](3,1),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"]()}if(2&t){const t=o["\u0275\u0275nextContext"]();o["\u0275\u0275property"]("@transformPanelWrap",void 0),o["\u0275\u0275advance"](1),o["\u0275\u0275classMapInterpolate1"]("mat-select-panel ",t._getPanelTheme(),""),o["\u0275\u0275styleProp"]("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),o["\u0275\u0275property"]("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),o["\u0275\u0275attribute"]("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const R=[[["mat-select-trigger"]],"*"],M={transformPanelWrap:Object(E.trigger)("transformPanelWrap",[Object(E.transition)("* => void",Object(E.query)("@transformPanel",[Object(E.animateChild)()],{optional:!0}))]),transformPanel:Object(E.trigger)("transformPanel",[Object(E.state)("void",Object(E.style)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(E.state)("showing",Object(E.style)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(E.state)("showing-multiple",Object(E.style)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(E.transition)("void => *",Object(E.animate)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(E.transition)("* => void",Object(E.animate)("100ms 25ms linear",Object(E.style)({opacity:0})))])};let N=0;const P=256,F=16,L=2*F,V=3,B=1.5*F+16,U=8,z=new o.InjectionToken("mat-select-scroll-strategy");function H(t){return()=>t.scrollStrategies.reposition()}const $=new o.InjectionToken("MAT_SELECT_CONFIG"),G={provide:z,deps:[r.Overlay],useFactory:H};class q{constructor(t,e){this.source=t,this.value=e}}const W=Object(s.mixinDisableRipple)(Object(s.mixinTabIndex)(Object(s.mixinDisabled)(Object(s.mixinErrorState)(class{constructor(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}})))),Y=new o.InjectionToken("MatSelectTrigger");class Z{}Z.\u0275fac=function(t){return new(t||Z)},Z.\u0275dir=o["\u0275\u0275defineDirective"]({type:Z,selectors:[["mat-select-trigger"]],features:[o["\u0275\u0275ProvidersFeature"]([{provide:Y,useExisting:Z}])]});class K extends W{constructor(t,e,n,r,i,s,a,c,u,l,d,h,p,f){super(i,r,a,c,l),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=s,this._parentFormField=u,this.ngControl=l,this._liveAnnouncer=p,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+N++,this._triggerAriaLabelledBy=null,this._destroy=new m.b,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+N++,this._transformOrigin="top",this._panelDoneAnimatingStream=new m.b,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=Object(g.a)((()=>{const t=this.options;return t?t.changes.pipe(Object(y.a)(t),Object(b.a)((()=>Object(_.a)(...t.map((t=>t.onSelectionChange)))))):this._ngZone.onStable.pipe(Object(v.a)(1),Object(b.a)((()=>this.optionSelectionChanges)))})),this.openedChange=new o.EventEmitter,this._openedStream=this.openedChange.pipe(Object(w.a)((t=>t)),Object(C.a)((()=>{}))),this._closedStream=this.openedChange.pipe(Object(w.a)((t=>!t)),Object(C.a)((()=>{}))),this.selectionChange=new o.EventEmitter,this.valueChange=new o.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,f&&(null!=f.disableOptionCentering&&(this.disableOptionCentering=f.disableOptionCentering),null!=f.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=f.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=Object(d.c)(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){if(this._selectionModel&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(d.c)(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=Object(d.c)(t)}get compareWith(){return this._compareWith}set compareWith(t){if("function"!=typeof t&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Object(d.f)(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new h.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(S.a)(),Object(O.a)(this._destroy)).subscribe((()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(O.a)(this._destroy)).subscribe((()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())}))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Object(O.a)(this._destroy)).subscribe((t=>{t.added.forEach((t=>t.select())),t.removed.forEach((t=>t.deselect()))})),this.options.changes.pipe(Object(y.a)(null),Object(O.a)(this._destroy)).subscribe((()=>{this._resetOptions(),this._initializeSelection()}))}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.pipe(Object(v.a)(1)).subscribe((()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)})))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map((t=>t.viewValue));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===p.b||e===p.l||e===p.g||e===p.i,r=e===p.d||e===p.j,i=this._keyManager;if(!i.isTyping()&&r&&!Object(p.o)(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;i.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,r=n===p.b||n===p.l,i=e.isTyping();if(r&&t.altKey)t.preventDefault(),this.close();else if(i||n!==p.d&&n!==p.j||!e.activeItem||Object(p.o)(t))if(!i&&this._multiple&&n===p.a&&t.ctrlKey){t.preventDefault();const e=this.options.some((t=>!t.disabled&&!t.selected));this.options.forEach((t=>{t.disabled||(e?t.select():t.deselect())}))}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&r&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Object(v.a)(1)).subscribe((()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}))}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then((()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()}))}_setSelectionByValue(t){if(this.multiple&&t){if(!Array.isArray(t)&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((t=>this._selectValue(t))),this._sortValues()}else{this._selectionModel.clear();const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find((e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(t){return"undefined"==typeof ngDevMode||ngDevMode,!1}}));return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new u.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(O.a)(this._destroy)).subscribe((()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())})),this._keyManager.change.pipe(Object(O.a)(this._destroy)).subscribe((()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()}))}_resetOptions(){const t=Object(_.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(O.a)(t)).subscribe((t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())})),Object(_.a)(...this.options.map((t=>t._stateChanges))).pipe(Object(O.a)(t)).subscribe((()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}))}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort(((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n))),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map((t=>t.value)):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new q(this,e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const t=this._keyManager.activeItemIndex||0,e=Object(s._countGroupLabelsBeforeOption)(t,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(s._getOptionScrollPosition)((t+e)*n,n,this.panel.nativeElement.scrollTop,P)}focus(t){this._elementRef.nativeElement.focus(t)}_getOptionIndex(t){return this.options.reduce(((e,n,r)=>void 0!==e?e:t===n?r:void 0),void 0)}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,P),r=e*t-n;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(s._countGroupLabelsBeforeOption)(i,this.options,this.optionGroups);const o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)}_calculateOverlayScroll(t,e,n){const r=this._getItemHeight(),i=r*t-e+r/2;return Math.min(Math.max(0,i),n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),r=this.multiple?B+F:2*F;let i;if(this.multiple)i=B;else{let t=this._selectionModel.selected[0]||this.options.first;i=t&&t.group?L:F}n||(i*=-1);const o=0-(t.left+i-(n?r:0)),s=t.right+i-e.width+(n?0:r);o>0?i+=o+U:s>0&&(i-=s+U),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const r=this._getItemHeight(),i=(r-this._triggerRect.height)/2,o=Math.floor(P/r);let s;if(this._disableOptionCentering)return 0;if(0===this._scrollTop)s=t*r;else if(this._scrollTop===n){s=(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-P)%r)}else s=e-r/2;return Math.round(-1*s-i)}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-U,i=n.height-this._triggerRect.bottom-U,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*e,P)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return this._triggerFontSize*V}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}K.\u0275fac=function(t){return new(t||K)(o["\u0275\u0275directiveInject"](c.e),o["\u0275\u0275directiveInject"](o.ChangeDetectorRef),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](s.ErrorStateMatcher),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](l.b,8),o["\u0275\u0275directiveInject"](f.NgForm,8),o["\u0275\u0275directiveInject"](f.FormGroupDirective,8),o["\u0275\u0275directiveInject"](a.a,8),o["\u0275\u0275directiveInject"](f.NgControl,10),o["\u0275\u0275injectAttribute"]("tabindex"),o["\u0275\u0275directiveInject"](z),o["\u0275\u0275directiveInject"](u.g),o["\u0275\u0275directiveInject"]($,8))},K.\u0275cmp=o["\u0275\u0275defineComponent"]({type:K,selectors:[["mat-select"]],contentQueries:function(t,e,n){var r;(1&t&&(o["\u0275\u0275contentQuery"](n,Y,!0),o["\u0275\u0275contentQuery"](n,s.MatOption,!0),o["\u0275\u0275contentQuery"](n,s.MAT_OPTGROUP,!0)),2&t)&&(o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e.customTrigger=r.first),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e.options=r),o["\u0275\u0275queryRefresh"](r=o["\u0275\u0275loadQuery"]())&&(e.optionGroups=r))},viewQuery:function(t,e){var n;(1&t&&(o["\u0275\u0275viewQuery"](x,!0),o["\u0275\u0275viewQuery"](I,!0),o["\u0275\u0275viewQuery"](r.CdkConnectedOverlay,!0)),2&t)&&(o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e.trigger=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e.panel=n.first),o["\u0275\u0275queryRefresh"](n=o["\u0275\u0275loadQuery"]())&&(e.overlayDir=n.first))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&o["\u0275\u0275listener"]("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(o["\u0275\u0275attribute"]("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),o["\u0275\u0275classProp"]("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[o["\u0275\u0275ProvidersFeature"]([{provide:a.c,useExisting:K},{provide:s.MAT_OPTION_PARENT_COMPONENT,useExisting:K}]),o["\u0275\u0275InheritDefinitionFeature"],o["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:["mat-select-trigger","*"],decls:9,vars:10,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(o["\u0275\u0275projectionDef"](R),o["\u0275\u0275elementStart"](0,"div",0,1),o["\u0275\u0275listener"]("click",(function(){return e.toggle()})),o["\u0275\u0275elementStart"](3,"div",2),o["\u0275\u0275template"](4,k,2,1,"span",3),o["\u0275\u0275template"](5,j,3,2,"span",4),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementStart"](6,"div",5),o["\u0275\u0275element"](7,"div",6),o["\u0275\u0275elementEnd"](),o["\u0275\u0275elementEnd"](),o["\u0275\u0275template"](8,A,4,14,"ng-template",7),o["\u0275\u0275listener"]("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){const t=o["\u0275\u0275reference"](1);o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("ngSwitch",e.empty),o["\u0275\u0275attribute"]("id",e._valueId),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!0),o["\u0275\u0275advance"](1),o["\u0275\u0275property"]("ngSwitchCase",!1),o["\u0275\u0275advance"](3),o["\u0275\u0275property"]("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[r.CdkOverlayOrigin,i.NgSwitch,i.NgSwitchCase,r.CdkConnectedOverlay,i.NgSwitchDefault,i.NgClass],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[M.transformPanelWrap,M.transformPanel]},changeDetection:0}),K.ctorParameters=()=>[{type:c.e},{type:o.ChangeDetectorRef},{type:o.NgZone},{type:s.ErrorStateMatcher},{type:o.ElementRef},{type:l.b,decorators:[{type:o.Optional}]},{type:f.NgForm,decorators:[{type:o.Optional}]},{type:f.FormGroupDirective,decorators:[{type:o.Optional}]},{type:a.b,decorators:[{type:o.Optional},{type:o.Inject,args:[a.a]}]},{type:f.NgControl,decorators:[{type:o.Self},{type:o.Optional}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:o.Inject,args:[z]}]},{type:u.g},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[$]}]}],K.propDecorators={trigger:[{type:o.ViewChild,args:["trigger"]}],panel:[{type:o.ViewChild,args:["panel"]}],overlayDir:[{type:o.ViewChild,args:[r.CdkConnectedOverlay]}],options:[{type:o.ContentChildren,args:[s.MatOption,{descendants:!0}]}],optionGroups:[{type:o.ContentChildren,args:[s.MAT_OPTGROUP,{descendants:!0}]}],panelClass:[{type:o.Input}],customTrigger:[{type:o.ContentChild,args:[Y]}],placeholder:[{type:o.Input}],required:[{type:o.Input}],multiple:[{type:o.Input}],disableOptionCentering:[{type:o.Input}],compareWith:[{type:o.Input}],value:[{type:o.Input}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}],errorStateMatcher:[{type:o.Input}],typeaheadDebounceInterval:[{type:o.Input}],sortComparator:[{type:o.Input}],id:[{type:o.Input}],openedChange:[{type:o.Output}],_openedStream:[{type:o.Output,args:["opened"]}],_closedStream:[{type:o.Output,args:["closed"]}],selectionChange:[{type:o.Output}],valueChange:[{type:o.Output}]};class Q{}Q.\u0275mod=o["\u0275\u0275defineNgModule"]({type:Q}),Q.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||Q)},providers:[G],imports:[[i.CommonModule,r.OverlayModule,s.MatOptionModule,s.MatCommonModule],c.b,a.d,s.MatOptionModule,s.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["\u0275\u0275setNgModuleScope"](Q,{declarations:function(){return[K,Z]},imports:function(){return[i.CommonModule,r.OverlayModule,s.MatOptionModule,s.MatCommonModule]},exports:function(){return[c.b,a.d,K,Z,s.MatOptionModule,s.MatCommonModule]}})},function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_TOOLTIP_DEFAULT_OPTIONS",(function(){return U})),n.d(e,"MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY",(function(){return z})),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY",(function(){return L})),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY",(function(){return V})),n.d(e,"MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER",(function(){return B})),n.d(e,"MatTooltip",(function(){return H})),n.d(e,"MatTooltipModule",(function(){return G})),n.d(e,"SCROLL_THROTTLE_MS",(function(){return M})),n.d(e,"TOOLTIP_PANEL_CLASS",(function(){return N})),n.d(e,"TooltipComponent",(function(){return $})),n.d(e,"getMatTooltipInvalidPositionError",(function(){return F})),n.d(e,"matTooltipAnimations",(function(){return R}));var r=n(31),i=n(29),o=n(1),s=n(0),a=n(8),c=n(30),u=n(23),l=n(14),d=n(32),h=n(13),p=n(168),f=n(139),m=n(10),g=n(74),_=n(545),y=n(303),b=n(21),v=n(141),w=n(92),C=n(9);class S{}S.\u0275mod=s["\u0275\u0275defineNgModule"]({type:S}),S.\u0275inj=s["\u0275\u0275defineInjector"]({factory:function(t){return new(t||S)}});const O=new Set;let E;class x{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):I}matchMedia(t){return this._platform.WEBKIT&&function(t){if(O.has(t))return;try{E||(E=document.createElement("style"),E.setAttribute("type","text/css"),document.head.appendChild(E)),E.sheet&&(E.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),O.add(t))}catch(t){}}(t),this._matchMedia(t)}}function I(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}x.\u0275fac=function(t){return new(t||x)(s["\u0275\u0275inject"](C.a))},x.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new x(Object(s["\u0275\u0275inject"])(C.a))},token:x,providedIn:"root"}),x.ctorParameters=()=>[{type:C.a}];class k{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new h.b}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return D(Object(l.b)(t)).some((t=>this._registerQuery(t).mql.matches))}observe(t){const e=D(Object(l.b)(t)).map((t=>this._registerQuery(t).observable));let n=Object(p.b)(e);return n=Object(f.a)(n.pipe(Object(g.a)(1)),n.pipe(Object(_.a)(1),Object(y.a)(0))),n.pipe(Object(b.a)((t=>{const e={matches:!1,breakpoints:{}};return t.forEach((({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t})),e})))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new m.a((t=>{const n=e=>this._zone.run((()=>t.next(e)));return e.addListener(n),()=>{e.removeListener(n)}})).pipe(Object(v.a)(e),Object(b.a)((({matches:e})=>({query:t,matches:e}))),Object(w.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}function D(t){return t.map((t=>t.split(","))).reduce(((t,e)=>t.concat(e))).map((t=>t.trim()))}k.\u0275fac=function(t){return new(t||k)(s["\u0275\u0275inject"](x),s["\u0275\u0275inject"](s.NgZone))},k.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new k(Object(s["\u0275\u0275inject"])(x),Object(s["\u0275\u0275inject"])(s.NgZone))},token:k,providedIn:"root"}),k.ctorParameters=()=>[{type:x},{type:s.NgZone}];const T="(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)";var j=n(75),A=n(5);const R={tooltipState:Object(A.trigger)("state",[Object(A.state)("initial, void, hidden",Object(A.style)({opacity:0,transform:"scale(0)"})),Object(A.state)("visible",Object(A.style)({transform:"scale(1)"})),Object(A.transition)("* => visible",Object(A.animate)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(A.keyframes)([Object(A.style)({opacity:0,transform:"scale(0)",offset:0}),Object(A.style)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(A.style)({opacity:1,transform:"scale(1)",offset:1})]))),Object(A.transition)("* => hidden",Object(A.animate)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(A.style)({opacity:0})))])},M=20,N="mat-tooltip-panel",P=Object(C.e)({passive:!0});function F(t){return Error(`Tooltip position "${t}" is invalid.`)}const L=new s.InjectionToken("mat-tooltip-scroll-strategy");function V(t){return()=>t.scrollStrategies.reposition({scrollThrottle:M})}const B={provide:L,deps:[r.Overlay],useFactory:V},U=new s.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:z});function z(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}class H{constructor(t,e,n,r,i,o,s,a,c,u,l){this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._platform=o,this._ariaDescriber=s,this._focusMonitor=a,this._dir=u,this._defaultOptions=l,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new h.b,this._handleKeydown=t=>{this._isTooltipVisible()&&t.keyCode===d.e&&!Object(d.o)(t)&&(t.preventDefault(),t.stopPropagation(),this._ngZone.run((()=>this.hide(0))))},this._scrollStrategy=c,l&&(l.position&&(this.position=l.position),l.touchGestures&&(this.touchGestures=l.touchGestures)),i.runOutsideAngular((()=>{e.nativeElement.addEventListener("keydown",this._handleKeydown)}))}get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular((()=>{Promise.resolve().then((()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)}))})))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(w.a)(this._destroyed)).subscribe((t=>{t?"keyboard"===t&&this._ngZone.run((()=>this.show())):this._ngZone.run((()=>this.hide(0)))}))}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((([e,n])=>{t.removeEventListener(e,n,P)})),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const e=this._createOverlay();this._detach(),this._portal=this._portal||new j.c($,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(w.a)(this._destroyed)).subscribe((()=>this._detach())),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return e.positionChanges.pipe(Object(w.a)(this._destroyed)).subscribe((t=>{this._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run((()=>this.hide(0)))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:N,scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(w.a)(this._destroyed)).subscribe((()=>this._detach())),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={originX:"start",originY:"center"};else if("after"==e||"right"==e&&t||"left"==e&&!t)n={originX:"end",originY:"center"};else if("undefined"==typeof ngDevMode||ngDevMode)throw F(e);const{x:r,y:i}=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:r,originY:i}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,e=this.position;let n;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&t||"right"==e&&!t)n={overlayX:"end",overlayY:"center"};else if("after"==e||"right"==e&&t||"left"==e&&!t)n={overlayX:"start",overlayY:"center"};else if("undefined"==typeof ngDevMode||ngDevMode)throw F(e);const{x:r,y:i}=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:r,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(g.a)(1),Object(w.a)(this._destroyed)).subscribe((()=>{this._tooltipInstance&&this._overlayRef.updatePosition()})))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout((()=>this.show()),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",e],["touchcancel",e])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach((([t,e])=>{this._elementRef.nativeElement.addEventListener(t,e,P)}))}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const e=this._elementRef.nativeElement,n=e.style;("on"===t||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==t&&e.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}H.\u0275fac=function(t){return new(t||H)(s["\u0275\u0275directiveInject"](r.Overlay),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](c.c),s["\u0275\u0275directiveInject"](s.ViewContainerRef),s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](C.a),s["\u0275\u0275directiveInject"](i.c),s["\u0275\u0275directiveInject"](i.d),s["\u0275\u0275directiveInject"](L),s["\u0275\u0275directiveInject"](u.b,8),s["\u0275\u0275directiveInject"](U,8))},H.\u0275dir=s["\u0275\u0275defineDirective"]({type:H,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),H.ctorParameters=()=>[{type:r.Overlay},{type:s.ElementRef},{type:c.c},{type:s.ViewContainerRef},{type:s.NgZone},{type:C.a},{type:i.c},{type:i.d},{type:void 0,decorators:[{type:s.Inject,args:[L]}]},{type:u.b,decorators:[{type:s.Optional}]},{type:void 0,decorators:[{type:s.Optional},{type:s.Inject,args:[U]}]}],H.propDecorators={position:[{type:s.Input,args:["matTooltipPosition"]}],disabled:[{type:s.Input,args:["matTooltipDisabled"]}],showDelay:[{type:s.Input,args:["matTooltipShowDelay"]}],hideDelay:[{type:s.Input,args:["matTooltipHideDelay"]}],touchGestures:[{type:s.Input,args:["matTooltipTouchGestures"]}],message:[{type:s.Input,args:["matTooltip"]}],tooltipClass:[{type:s.Input,args:["matTooltipClass"]}]};class ${constructor(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.b,this._isHandset=this._breakpointObserver.observe(T)}show(t){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()}),t)}hide(t){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()}),t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}$.\u0275fac=function(t){return new(t||$)(s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](k))},$.\u0275cmp=s["\u0275\u0275defineComponent"]({type:$,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&s["\u0275\u0275listener"]("click",(function(){return e._handleBodyInteraction()}),!1,s["\u0275\u0275resolveBody"]),2&t&&s["\u0275\u0275styleProp"]("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){if(1&t&&(s["\u0275\u0275elementStart"](0,"div",0),s["\u0275\u0275listener"]("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),s["\u0275\u0275pipe"](1,"async"),s["\u0275\u0275text"](2),s["\u0275\u0275elementEnd"]()),2&t){var n;s["\u0275\u0275classProp"]("mat-tooltip-handset",null==(n=s["\u0275\u0275pipeBind1"](1,5,e._isHandset))?null:n.matches),s["\u0275\u0275property"]("ngClass",e.tooltipClass)("@state",e._visibility),s["\u0275\u0275advance"](2),s["\u0275\u0275textInterpolate"](e.message)}},directives:[o.NgClass],pipes:[o.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[R.tooltipState]},changeDetection:0}),$.ctorParameters=()=>[{type:s.ChangeDetectorRef},{type:k}];class G{}G.\u0275mod=s["\u0275\u0275defineNgModule"]({type:G}),G.\u0275inj=s["\u0275\u0275defineInjector"]({factory:function(t){return new(t||G)},providers:[B],imports:[[i.a,o.CommonModule,r.OverlayModule,a.MatCommonModule],a.MatCommonModule,c.b]}),("undefined"==typeof ngJitMode||ngJitMode)&&s["\u0275\u0275setNgModuleScope"](G,{declarations:function(){return[H,$]},imports:function(){return[i.a,o.CommonModule,r.OverlayModule,a.MatCommonModule]},exports:function(){return[H,$,a.MatCommonModule,c.b]}})},,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return h}));var r=n(3),i=n(7),o=n(20),s=n(10),a=n(13);function c(t,e,n,r){return function(i){return i.lift(new u(t,e,n,r))}}var u=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new a.b,n.set(e,i);var o=new h(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new h(e,i))}catch(t){return void this.error(t)}this.add(s.subscribe(new d(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.a),d=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.__extends(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.a),h=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.__extends(e,t),e.prototype._subscribe=function(t){var e=new o.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new p(n)),e.add(r.subscribe(t)),e},e}(s.a),p=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.__extends(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.a)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return s}));var r=n(3),i=n(12),o={leading:!0,trailing:!1};function s(t,e){return void 0===e&&(e=o),function(n){return n.lift(new a(t,!!e.leading,!!e.trailing))}}var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.__extends(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(i.c)(e,new i.a(this)))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()},e.prototype.notifyNext=function(){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(i.b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(33),i=n(132),o=n(17);const s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class a{static __initStatic(){this.id="TryCatch"}constructor(t){this.name=a.id,this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&Object(r.e)(o.a,"setTimeout",c),this._options.setInterval&&Object(r.e)(o.a,"setInterval",c),this._options.requestAnimationFrame&&Object(r.e)(o.a,"requestAnimationFrame",u),this._options.XMLHttpRequest&&"XMLHttpRequest"in o.a&&Object(r.e)(XMLHttpRequest.prototype,"send",l);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:s).forEach(d)}}}function c(t){return function(...e){const n=e[0];return e[0]=Object(o.c)(n,{mechanism:{data:{function:Object(i.b)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function u(t){return function(e){return t.apply(this,[Object(o.c)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(i.b)(t)},handled:!1,type:"instrument"}})])}}function l(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&Object(r.e)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:Object(i.b)(e)},handled:!1,type:"instrument"}},s=Object(r.f)(e);return s&&(n.mechanism.data.handler=Object(i.b)(s)),Object(o.c)(e,n)}))})),t.apply(this,e)}}function d(t){const e=o.a,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(r.e)(n,"addEventListener",(function(e){return function(n,r,s){try{"function"==typeof r.handleEvent&&(r.handleEvent=Object(o.c)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Object(i.b)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,Object(o.c)(r,{mechanism:{data:{function:"addEventListener",handler:Object(i.b)(r),target:t},handled:!1,type:"instrument"}}),s])}})),Object(r.e)(n,"removeEventListener",(function(t){return function(e,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(t){}return t.call(this,e,i,r)}})))}a.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(18),i=n(176),o=n(25),s=n(304),a=n(15),c=n(42),u=n(126),l=n(17);class d{static __initStatic(){this.id="GlobalHandlers"}constructor(t){this.name=d.id,this._options={onerror:!0,onunhandledrejection:!0,...t},this._installFunc={onerror:h,onunhandledrejection:p}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.c.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function h(){Object(i.b)("error",(t=>{const[e,n,r]=g();if(!e.getIntegration(d))return;const{msg:i,url:s,line:a,column:c,error:h}=t;if(Object(l.b)()||h&&h.__sentry_own_request__)return;const p=void 0===h&&Object(o.l)(i)?function(t,e,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let s=Object(o.e)(t)?t.message:t,a="Error";const c=s.match(i);c&&(a=c[1],s=c[2]);const u={exception:{values:[{type:a,value:s}]}};return f(u,e,n,r)}(i,s,a,c):f(Object(u.c)(n,h||i,void 0,r,!1),s,a,c);p.level="error",m(e,h,p,"onerror")}))}function p(){Object(i.b)("unhandledrejection",(t=>{const[e,n,r]=g();if(!e.getIntegration(d))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(t){}if(Object(l.b)()||i&&i.__sentry_own_request__)return!0;const s=Object(o.j)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:Object(u.c)(n,i,void 0,r,!0);s.level="error",m(e,i,s,"onunhandledrejection")}))}function f(t,e,n,r){const i=t.exception=t.exception||{},a=i.values=i.values||[],c=a[0]=a[0]||{},u=c.stacktrace=c.stacktrace||{},l=u.frames=u.frames||[],d=isNaN(parseInt(r,10))?void 0:r,h=isNaN(parseInt(n,10))?void 0:n,p=Object(o.l)(e)&&e.length>0?e:Object(s.b)();return 0===l.length&&l.push({colno:d,filename:p,function:"?",in_app:!0,lineno:h}),t}function m(t,e,n,r){Object(c.a)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function g(){const t=Object(r.b)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}d.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(15);class i{static __initStatic(){this.id="Dedupe"}constructor(){this.name=i.id}setupOnce(t,e){}processEvent(t){if(t.type)return t;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!s(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=a(e),r=a(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!s(t,e))return!1;if(!o(t,e))return!1;return!0}(t,e))return!0;return!1}(t,this._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return this._previousEvent=t}}function o(t,e){let n=c(t),r=c(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],i=n[t];if(e.filename!==i.filename||e.lineno!==i.lineno||e.colno!==i.colno||e.function!==i.function)return!1}return!0}function s(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function a(t){return t.exception&&t.exception.values&&t.exception.values[0]}function c(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}i.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(17);class i{static __initStatic(){this.id="HttpContext"}constructor(){this.name=i.id}setupOnce(){}preprocessEvent(t){if(!r.a.navigator&&!r.a.location&&!r.a.document)return;const e=t.request&&t.request.url||r.a.location&&r.a.location.href,{referrer:n}=r.a.document||{},{userAgent:i}=r.a.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},s={...t.request,...e&&{url:e},headers:o};t.request=s}}i.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(3),i=n(13),o=n(7),s=n(10),a=n(20),c=n(152),u={url:"",deserializer:function(t){return JSON.parse(t.data)},serializer:function(t){return JSON.stringify(t)}},l=function(t){function e(e,n){var o=t.call(this)||this;if(e instanceof s.a)o.destination=n,o.source=e;else{var a=o._config=r.__assign({},u);if(o._output=new i.b,"string"==typeof e)a.url=e;else for(var l in e)e.hasOwnProperty(l)&&(a[l]=e[l]);if(!a.WebSocketCtor&&WebSocket)a.WebSocketCtor=WebSocket;else if(!a.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new c.a}return o}return r.__extends(e,t),e.prototype.lift=function(t){var n=new e(this._config,this.destination);return n.operator=t,n.source=this,n},e.prototype._resetState=function(){this._socket=null,this.source||(this.destination=new c.a),this._output=new i.b},e.prototype.multiplex=function(t,e,n){var r=this;return new s.a((function(i){try{r.next(t())}catch(t){i.error(t)}var o=r.subscribe((function(t){try{n(t)&&i.next(t)}catch(t){i.error(t)}}),(function(t){return i.error(t)}),(function(){return i.complete()}));return function(){try{r.next(e())}catch(t){i.error(t)}o.unsubscribe()}}))},e.prototype._connectSocket=function(){var t=this,e=this._config,n=e.WebSocketCtor,r=e.protocol,i=e.url,s=e.binaryType,u=this._output,l=null;try{l=r?new n(i,r):new n(i),this._socket=l,s&&(this._socket.binaryType=s)}catch(t){return void u.error(t)}var d=new a.a((function(){t._socket=null,l&&1===l.readyState&&l.close()}));l.onopen=function(e){if(!t._socket)return l.close(),void t._resetState();var n=t._config.openObserver;n&&n.next(e);var r=t.destination;t.destination=o.a.create((function(e){if(1===l.readyState)try{var n=t._config.serializer;l.send(n(e))}catch(e){t.destination.error(e)}}),(function(e){var n=t._config.closingObserver;n&&n.next(void 0),e&&e.code?l.close(e.code,e.reason):u.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()}),(function(){var e=t._config.closingObserver;e&&e.next(void 0),l.close(),t._resetState()})),r&&r instanceof c.a&&d.add(r.subscribe(t.destination))},l.onerror=function(e){t._resetState(),u.error(e)},l.onclose=function(e){t._resetState();var n=t._config.closeObserver;n&&n.next(e),e.wasClean?u.complete():u.error(e)},l.onmessage=function(e){try{var n=t._config.deserializer;u.next(n(e))}catch(t){u.error(t)}}},e.prototype._subscribe=function(t){var e=this,n=this.source;return n?n.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add((function(){var t=e._socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())})),t)},e.prototype.unsubscribe=function(){var e=this._socket;e&&1===e.readyState&&e.close(),this._resetState(),t.prototype.unsubscribe.call(this)},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(18),i=n(176),o=n(42),s=n(15),a=n(304);const c=["fatal","error","warning","log","info","debug"];function u(t){return"warn"===t?"warning":c.includes(t)?t:"log"}var l=n(91),d=n(600),h=n(17);const p=1024;class f{static __initStatic(){this.id="Breadcrumbs"}constructor(t){this.name=f.id,this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){if(this.options.console&&Object(i.b)("console",g),this.options.dom&&Object(i.b)("dom",function(t){function e(e){let n,i="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>p&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=p),"string"==typeof i&&(i=[i]);try{const t=e.event;n=function(t){return!!t&&!!t.target}(t)?Object(a.c)(t.target,{keyAttrs:i,maxStringLength:o}):Object(a.c)(t,{keyAttrs:i,maxStringLength:o})}catch(t){n="<unknown>"}0!==n.length&&Object(r.b)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&Object(i.b)("xhr",_),this.options.fetch&&Object(i.b)("fetch",y),this.options.history&&Object(i.b)("history",b),this.options.sentry){const t=Object(r.b)().getClient();t&&t.on&&t.on("beforeSendEvent",m)}}}function m(t){Object(r.b)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:Object(o.e)(t)},{event:t})}function g(t){const e={category:"console",data:{arguments:t.args,logger:"console"},level:u(t.level),message:Object(l.a)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${Object(l.a)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}Object(r.b)().addBreadcrumb(e,{input:t.args,level:t.level})}function _(t){const{startTimestamp:e,endTimestamp:n}=t,o=t.xhr[i.a];if(!e||!n||!o)return;const{method:s,url:a,status_code:c,body:u}=o,l={method:s,url:a,status_code:c},d={xhr:t.xhr,input:u,startTimestamp:e,endTimestamp:n};Object(r.b)().addBreadcrumb({category:"xhr",data:l,type:"http"},d)}function y(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};Object(r.b)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},o)}else{const i={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};Object(r.b)().addBreadcrumb({category:"fetch",data:i,type:"http"},o)}}function b(t){let e=t.from,n=t.to;const i=Object(d.a)(h.a.location.href);let o=Object(d.a)(e);const s=Object(d.a)(n);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),i.protocol===o.protocol&&i.host===o.host&&(e=o.relative),Object(r.b)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}f.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(25),i=n(91);function o(t,e,n=250,o,a,c,u){if(!(c.exception&&c.exception.values&&u&&Object(r.g)(u.originalException,Error)))return;const l=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;var d,h;l&&(c.exception.values=(d=s(t,e,a,u.originalException,o,c.exception.values,l,0),h=n,d.map((t=>(t.value&&(t.value=Object(i.d)(t.value,h)),t)))))}function s(t,e,n,i,o,u,l,d){if(u.length>=n+1)return u;let h=[...u];if(Object(r.g)(i[o],Error)){a(l,d);const r=t(e,i[o]),u=h.length;c(r,o,u,d),h=s(t,e,n,i[o],o,[r,...h],r,u)}return Array.isArray(i.errors)&&i.errors.forEach(((i,u)=>{if(Object(r.g)(i,Error)){a(l,d);const r=t(e,i),p=h.length;c(r,`errors[${u}]`,p,d),h=s(t,e,n,i,o,[r,...h],r,p)}})),h}function a(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,is_exception_group:!0,exception_id:e}}function c(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}var u=n(126);class l{static __initStatic(){this.id="LinkedErrors"}constructor(t={}){this.name=l.id,this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){}preprocessEvent(t,e,n){const r=n.getOptions();o(u.d,r.stackParser,r.maxValueLength,this._key,this._limit,t,e)}}l.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(20).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(138),i=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,r.a),e}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(100),i=function(t){return function(e){for(var n=t[r.a]();;){var i=void 0;try{i=n.next()}catch(t){return e.error(t),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(){return function(t){return t.lift(new s(t))}}var s=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new a(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(10);function i(t,e){return e?new r.a((function(n){return e.schedule(o,0,{error:t,subscriber:n})})):new r.a((function(e){return e.error(t)}))}function o(t){var e=t.error;t.subscriber.error(e)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n(3),i=n(154),o=function(t){function e(e,n){void 0===e&&(e=s),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this,e,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return r.__extends(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n[0])&&e.delay<=r&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(n(119).a),s=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=r,i.active=!0,i.index=e.index=r,i}return r.__extends(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(i.a)},function(t,e,n){"use strict";function r(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l}));var r=n(3),i=n(151),o=n(45),s=n(7),a=n(100),c=n(12);function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),Object(i.a)(t,void 0).lift(new l(n))}var l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new d(t,this.resultSelector))},t}(),d=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.resultSelector=n,i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:void 0,i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.iterators;Object(o.a)(t)?e.push(new p(t)):"function"==typeof t[a.a]?e.push(new h(t[a.a]())):e.push(new f(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];if(r.stillUnsubscribed)this.destination.add(r.subscribe());else this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){if("function"==typeof(s=t[r]).hasValue&&!s.hasValue())return}var i=!1,o=[];for(r=0;r<e;r++){var s,a=(s=t[r]).next();if(s.hasCompleted()&&(i=!0),a.done)return void n.complete();o.push(a.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(s.a),h=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return Boolean(t&&t.done)},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[a.a]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),f=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.__extends(e,t),e.prototype[a.a]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return Object(c.c)(this.observable,new c.a(this))},e}(c.b)},function(t,e,n){"use strict";function r(t){return t instanceof Date&&!isNaN(+t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(33),i=n(15),o=n(18),s=n(256),a=n(192);class c extends a.a{constructor(t,e){super(t),delete this.description,this._measurements={},this._contexts={},this._hub=e||Object(o.b)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,e="custom"){this._name=t,this.metadata.source=e}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new a.b(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){const e=this._finishTransaction(t);if(e)return this._hub.captureEvent(e)}toContext(){const t=super.toContext();return Object(r.c)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||Object(o.b)(),e=t.getClient();if(!e)return{};const n=t.getScope(),r=Object(s.a)(this.traceId,e,n),i=this.metadata.sampleRate;void 0!==i&&(r.sample_rate=`${i}`);const a=this.metadata.source;return a&&"url"!==a&&(r.transaction=this.name),void 0!==this.sampled&&(r.sampled=String(this.sampled)),r}setHub(t){this._hub=t}_finishTransaction(t){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t);const e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(e&&e.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);const r=this.metadata,o={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),o}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(33),i=n(191);function o(t,e,n){const o=e.getOptions(),{publicKey:s}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},c=Object(r.c)({environment:o.environment||i.a,release:o.release,user_segment:a,public_key:s,trace_id:t});return e.emit&&e.emit("createDsc",c),c}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(18);function i(t){return(t||Object(r.b)()).getScope().getTransaction()}},function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n<r;n++)for(var i=e[n],o=Object.getOwnPropertyNames(i.prototype),s=0,a=o.length;s<a;s++){var c=o[s];t.prototype[c]=i.prototype[c]}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(7);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.a?i:null}return!0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(10),i=n(20);function o(t,e){return new r.a((function(n){var r=new i.a,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(171);function i(){return Object(r.a)(1)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.__extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(85),i=n(138),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return c}));var r=n(15);const i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(t,e=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function s(t){const e=i.exec(t);if(!e)return;const[n,r,o="",s,c="",u]=e.slice(1);let l="",d=u;const h=d.split("/");if(h.length>1&&(l=h.slice(0,-1).join("/"),d=h.pop()),d){const t=d.match(/^\d+/);t&&(d=t[0])}return a({host:s,pass:o,path:l,projectId:d,port:c,protocol:n,publicKey:r})}function a(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function c(t){const e="string"==typeof t?s(t):a(t);if(e&&function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return!0;const{port:e,projectId:n,protocol:i}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(r.c.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(i)?e&&isNaN(parseInt(e,10))&&(r.c.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(r.c.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),1):(r.c.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"FunctionToString",(function(){return o.a})),n.d(e,"Hub",(function(){return s.a})),n.d(e,"InboundFilters",(function(){return a.a})),n.d(e,"ModuleMetadata",(function(){return c.a})),n.d(e,"SDK_VERSION",(function(){return u.a})),n.d(e,"Scope",(function(){return l.a})),n.d(e,"addBreadcrumb",(function(){return d.a})),n.d(e,"addGlobalEventProcessor",(function(){return h.a})),n.d(e,"addIntegration",(function(){return p.a})),n.d(e,"addTracingExtensions",(function(){return f.a})),n.d(e,"captureEvent",(function(){return d.b})),n.d(e,"captureException",(function(){return d.c})),n.d(e,"captureMessage",(function(){return d.d})),n.d(e,"close",(function(){return d.e})),n.d(e,"configureScope",(function(){return d.f})),n.d(e,"continueTrace",(function(){return m.a})),n.d(e,"createTransport",(function(){return g.a})),n.d(e,"extractTraceparentData",(function(){return _.a})),n.d(e,"flush",(function(){return d.g})),n.d(e,"getActiveSpan",(function(){return m.b})),n.d(e,"getActiveTransaction",(function(){return y.a})),n.d(e,"getCurrentHub",(function(){return s.b})),n.d(e,"getHubFromCarrier",(function(){return s.c})),n.d(e,"lastEventId",(function(){return d.h})),n.d(e,"makeMain",(function(){return s.e})),n.d(e,"makeMultiplexedTransport",(function(){return b.a})),n.d(e,"setContext",(function(){return d.i})),n.d(e,"setExtra",(function(){return d.j})),n.d(e,"setExtras",(function(){return d.k})),n.d(e,"setMeasurement",(function(){return v.a})),n.d(e,"setTag",(function(){return d.l})),n.d(e,"setTags",(function(){return d.m})),n.d(e,"setUser",(function(){return d.n})),n.d(e,"spanStatusfromHttpCode",(function(){return w.c})),n.d(e,"startInactiveSpan",(function(){return m.c})),n.d(e,"startSpan",(function(){return m.d})),n.d(e,"startSpanManual",(function(){return m.e})),n.d(e,"startTransaction",(function(){return d.o})),n.d(e,"trace",(function(){return m.f})),n.d(e,"withScope",(function(){return d.p})),n.d(e,"WINDOW",(function(){return C.a})),n.d(e,"BrowserClient",(function(){return S.a})),n.d(e,"makeFetchTransport",(function(){return O.a})),n.d(e,"makeXHRTransport",(function(){return E.a})),n.d(e,"chromeStackLineParser",(function(){return x.a})),n.d(e,"defaultStackLineParsers",(function(){return x.b})),n.d(e,"defaultStackParser",(function(){return x.c})),n.d(e,"geckoStackLineParser",(function(){return x.d})),n.d(e,"opera10StackLineParser",(function(){return x.e})),n.d(e,"opera11StackLineParser",(function(){return x.f})),n.d(e,"winjsStackLineParser",(function(){return x.g})),n.d(e,"eventFromException",(function(){return I.a})),n.d(e,"eventFromMessage",(function(){return I.b})),n.d(e,"exceptionFromError",(function(){return I.d})),n.d(e,"createUserFeedbackEnvelope",(function(){return k.a})),n.d(e,"captureUserFeedback",(function(){return D.a})),n.d(e,"defaultIntegrations",(function(){return D.b})),n.d(e,"forceLoad",(function(){return D.c})),n.d(e,"init",(function(){return D.d})),n.d(e,"onLoad",(function(){return D.e})),n.d(e,"showReportDialog",(function(){return D.f})),n.d(e,"wrap",(function(){return D.g})),n.d(e,"Replay",(function(){return P.a})),n.d(e,"BrowserTracing",(function(){return Et})),n.d(e,"defaultRequestInstrumentationOptions",(function(){return bt})),n.d(e,"instrumentOutgoingRequests",(function(){return vt})),n.d(e,"makeBrowserOfflineTransport",(function(){return At})),n.d(e,"onProfilingStartRouteTransaction",(function(){return te})),n.d(e,"BrowserProfilingIntegration",(function(){return ne})),n.d(e,"GlobalHandlers",(function(){return T.a})),n.d(e,"TryCatch",(function(){return j.a})),n.d(e,"Breadcrumbs",(function(){return A.a})),n.d(e,"LinkedErrors",(function(){return R.a})),n.d(e,"HttpContext",(function(){return M.a})),n.d(e,"Dedupe",(function(){return N.a})),n.d(e,"Integrations",(function(){return ie}));var r={};n.r(r),n.d(r,"GlobalHandlers",(function(){return T.a})),n.d(r,"TryCatch",(function(){return j.a})),n.d(r,"Breadcrumbs",(function(){return A.a})),n.d(r,"LinkedErrors",(function(){return R.a})),n.d(r,"HttpContext",(function(){return M.a})),n.d(r,"Dedupe",(function(){return N.a}));var i=n(71),o=n(341),s=n(18),a=n(342),c=n(594),u=n(371),l=n(195),d=n(59),h=n(140),p=n(216),f=n(431),m=n(186),g=n(439),_=n(372),y=n(257),b=n(548),v=n(549),w=n(192),C=n(17),S=n(365),O=n(366),E=n(363),x=n(149),I=n(126),k=n(362),D=n(125),T=n(237),j=n(236),A=n(241),R=n(242),M=n(239),N=n(238),P=n(550),F=n(295),L=n(15),V=n(304),B=n(47);const U=B.a;var z=n(109);const H=(t,e,n)=>{let r,i;return o=>{e.value>=0&&(o||n)&&(i=e.value-(r||0),(i||void 0===r)&&(r=e.value,e.delta=i,t(e)))}},$=()=>U.__WEB_VITALS_POLYFILL__?U.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=U.performance.timing,e=U.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(const e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n})()):U.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],G=()=>{const t=$();return t&&t.activationStart||0},q=(t,e)=>{const n=$();let r="navigate";return n&&(r=U.document.prerendering||G()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},W=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver((t=>{e(t.getEntries())}));return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(t){}},Y=(t,e)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==U.document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Z=t=>{const e=q("CLS",0);let n,r=0,i=[];const o=t=>{t.forEach((t=>{if(!t.hadRecentInput){const o=i[0],s=i[i.length-1];r&&0!==i.length&&t.startTime-s.startTime<1e3&&t.startTime-o.startTime<5e3?(r+=t.value,i.push(t)):(r=t.value,i=[t]),r>e.value&&(e.value=r,e.entries=i,n&&n())}}))},s=W("layout-shift",o);if(s){n=H(t,e);const r=()=>{o(s.takeRecords()),n(!0)};return Y(r),r}};let K=-1;const Q=()=>(K<0&&(K="hidden"!==U.document.visibilityState||U.document.prerendering?1/0:0,Y((({timeStamp:t})=>{K=t}),!0)),{get firstHiddenTime(){return K}}),J=t=>{const e=Q(),n=q("FID");let r;const i=t=>{t.startTime<e.firstHiddenTime&&(n.value=t.processingStart-t.startTime,n.entries.push(t),r(!0))},o=t=>{t.forEach(i)},s=W("first-input",o);r=H(t,n),s&&Y((()=>{o(s.takeRecords()),s.disconnect()}),!0)},X={},tt=t=>{const e=Q(),n=q("LCP");let r;const i=t=>{const i=t[t.length-1];if(i){const t=Math.max(i.startTime-G(),0);t<e.firstHiddenTime&&(n.value=t,n.entries=[i],r())}},o=W("largest-contentful-paint",i);if(o){r=H(t,n);const e=()=>{X[n.id]||(i(o.takeRecords()),o.disconnect(),X[n.id]=!0,r(!0))};return["keydown","click"].forEach((t=>{addEventListener(t,e,{once:!0,capture:!0})})),Y(e,!0),e}};function et(t){return"number"==typeof t&&isFinite(t)}function nt(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}function rt(t){return t/1e3}function it(){return U&&U.addEventListener&&U.performance}let ot,st,at=0,ct={};function ut(){const t=it();if(t&&z.a){t.mark&&U.performance.mark("sentry-tracing-init"),J((t=>{const e=t.entries.pop();if(!e)return;const n=rt(z.a),r=rt(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding FID"),ct.fid={value:t.value,unit:"millisecond"},ct["mark.fid"]={value:n+r,unit:"second"}}));const e=Z((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding CLS"),ct.cls={value:t.value,unit:""},st=e)})),n=tt((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding LCP"),ct.lcp={value:t.value,unit:"millisecond"},ot=e)}));return()=>{e&&e(),n&&n()}}return()=>{}}function lt(t){const e=it();if(!e||!U.performance.getEntries||!z.a)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Tracing] Adding & adjusting spans using Performance API");const n=rt(z.a),r=e.getEntries();let i,o;if(r.slice(at).forEach((e=>{const r=rt(e.startTime),s=rt(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{dt(t,e,r,n)})),dt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),dt(t,e,"fetch",n,"cache","domainLookupStart"),dt(t,e,"domainLookup",n,"DNS"),function(t,e,n){nt(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+rt(e.requestStart),endTimestamp:n+rt(e.responseEnd)}),nt(t,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+rt(e.responseStart),endTimestamp:n+rt(e.responseEnd)})}(t,e,n)}(t,e,n),i=n+rt(e.responseStart),o=n+rt(e.requestStart);break;case"mark":case"paint":case"measure":{!function(t,e,n,r,i){const o=i+n,s=o+r;nt(t,{description:e.name,endTimestamp:s,op:e.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})}(t,e,r,s,n);const i=Q(),o=e.startTime<i.firstHiddenTime;"first-paint"===e.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding FP"),ct.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding FCP"),ct.fcp={value:e.startTime,unit:"millisecond"});break}case"resource":{const i=e.name.replace(U.location.origin,"");!function(t,e,n,r,i,o){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const s={};"transferSize"in e&&(s["http.response_transfer_size"]=e.transferSize);"encodedBodySize"in e&&(s["http.response_content_length"]=e.encodedBodySize);"decodedBodySize"in e&&(s["http.decoded_response_content_length"]=e.decodedBodySize);"renderBlockingStatus"in e&&(s["resource.render_blocking_status"]=e.renderBlockingStatus);const a=o+r,c=a+i;nt(t,{description:n,endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:a,data:s})}(t,e,i,r,s,n);break}}})),at=Math.max(r.length-1,0),function(t){const e=U.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),et(n.rtt)&&(ct["connection.rtt"]={value:n.rtt,unit:"millisecond"}));et(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`);et(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding TTFB"),ct.ttfb={value:1e3*(i-t.startTimestamp),unit:"millisecond"},"number"==typeof o&&o<=i&&(ct["ttfb.requestTime"]={value:1e3*(i-o),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!ct[e]||n>=t.startTimestamp)return;const r=ct[e].value,i=n+rt(r),o=Math.abs(1e3*(i-t.startTimestamp)),s=o-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Measurements] Normalized ${e} from ${r} to ${o} (${s})`),ct[e].value=o}));const e=ct["mark.fid"];e&&ct.fid&&(nt(t,{description:"first input delay",endTimestamp:e.value+rt(ct.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:e.value}),delete ct["mark.fid"]),"fcp"in ct||delete ct.cls,Object.keys(ct).forEach((e=>{t.setMeasurement(e,ct[e].value,ct[e].unit)})),function(t){ot&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding LCP Data"),ot.element&&t.setTag("lcp.element",Object(V.c)(ot.element)),ot.id&&t.setTag("lcp.id",ot.id),ot.url&&t.setTag("lcp.url",ot.url.trim().slice(0,200)),t.setTag("lcp.size",ot.size));st&&st.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Measurements] Adding CLS Data"),st.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,Object(V.c)(e.node)))))}(t)}ot=void 0,st=void 0,ct={}}function dt(t,e,n,r,i,o){const s=o?e[o]:e[`${n}End`],a=e[`${n}Start`];a&&s&&nt(t,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+rt(a),endTimestamp:r+rt(s)})}var ht=n(217),pt=n(256),ft=n(176),mt=n(91),gt=n(598),_t=n(25);const yt=["localhost",/^\/(?!\/)/],bt={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:yt,tracePropagationTargets:yt};function vt(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a}={traceFetch:bt.traceFetch,traceXHR:bt.traceXHR,...t},c="function"==typeof o?o:t=>!0,u=t=>function(t,e){return Object(mt.c)(t,e||yt)}(t,r||i),l={};e&&Object(ft.b)("fetch",(t=>{const e=function(t,e,n,r){if(!Object(ht.a)()||!t.fetchData)return;const i=e(t.fetchData.url);if(t.endTimestamp&&i){const e=t.fetchData.__span;if(!e)return;const n=r[e];if(n){if(t.response){n.setHttpStatus(t.response.status);const e=t.response&&t.response.headers&&t.response.headers.get("content-length"),r=parseInt(e);r>0&&n.setData("http.response_content_length",r)}else t.error&&n.setStatus("internal_error");n.finish(),delete r[e]}return}const o=Object(s.b)(),a=o.getScope(),c=o.getClient(),u=a.getSpan(),{method:l,url:d}=t.fetchData,h=i&&u?u.startChild({data:{url:d,type:"fetch","http.method":l},description:`${l} ${d}`,op:"http.client",origin:"auto.http.browser"}):void 0;h&&(t.fetchData.__span=h.spanId,r[h.spanId]=h);if(n(t.fetchData.url)&&c){const e=t.args[0];t.args[1]=t.args[1]||{};const n=t.args[1];n.headers=function(t,e,n,r,i){const o=i||n.getSpan(),s=o&&o.transaction,{traceId:a,sampled:c,dsc:u}=n.getPropagationContext(),l=o?o.toTraceparent():Object(_.b)(a,void 0,c),d=s?s.getDynamicSamplingContext():u||Object(pt.a)(a,e,n),h=Object(gt.c)(d),p="undefined"!=typeof Request&&Object(_t.g)(t,Request)?t.headers:r.headers;if(p){if("undefined"!=typeof Headers&&Object(_t.g)(p,Headers)){const t=new Headers(p);return t.append("sentry-trace",l),h&&t.append(gt.a,h),t}if(Array.isArray(p)){const t=[...p,["sentry-trace",l]];return h&&t.push([gt.a,h]),t}{const t="baggage"in p?p.baggage:void 0,e=[];return Array.isArray(t)?e.push(...t):t&&e.push(t),h&&e.push(h),{...p,"sentry-trace":l,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":l,baggage:h}}(e,c,a,n,h)}return h}(t,c,u,l);a&&e&&wt(e)})),n&&Object(ft.b)("xhr",(t=>{const e=function(t,e,n,r){const i=t.xhr,o=i&&i[ft.a];if(!Object(ht.a)()||i&&i.__sentry_own_request__||!i||!o)return;const a=e(o.url);if(t.endTimestamp&&a){const t=i.__sentry_xhr_span_id__;if(!t)return;const e=r[t];return void(e&&(e.setHttpStatus(o.status_code),e.finish(),delete r[t]))}const c=Object(s.b)(),u=c.getScope(),l=u.getSpan(),d=a&&l?l.startChild({data:{...o.data,type:"xhr","http.method":o.method,url:o.url},description:`${o.method} ${o.url}`,op:"http.client",origin:"auto.http.browser"}):void 0;d&&(i.__sentry_xhr_span_id__=d.spanId,r[i.__sentry_xhr_span_id__]=d);if(i.setRequestHeader&&n(o.url))if(d){const t=d&&d.transaction,e=t&&t.getDynamicSamplingContext(),n=Object(gt.c)(e);St(i,d.toTraceparent(),n)}else{const t=c.getClient(),{traceId:e,sampled:n,dsc:r}=u.getPropagationContext(),o=Object(_.b)(e,void 0,n),s=r||(t?Object(pt.a)(e,t,u):void 0);St(i,o,Object(gt.c)(s))}return d}(t,c,u,l);a&&e&&wt(e)}))}function wt(t){const e=t.data.url,n=new PerformanceObserver((r=>{r.getEntries().forEach((r=>{if(function(t){return"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)}(r)&&r.name.endsWith(e)){(function(t){const{name:e,version:n}=function(t){let e="unknown",n="unknown",r="";for(const i of t){if("/"===i){[e,n]=t.split("/");break}if(!isNaN(Number(i))){e="h"===r?"http":r,n=t.split(r)[1];break}r+=i}r===t&&(e=r);return{name:e,version:n}}(t.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",e]),!z.a)return r;return[...r,["http.request.redirect_start",Ct(t.redirectStart)],["http.request.fetch_start",Ct(t.fetchStart)],["http.request.domain_lookup_start",Ct(t.domainLookupStart)],["http.request.domain_lookup_end",Ct(t.domainLookupEnd)],["http.request.connect_start",Ct(t.connectStart)],["http.request.secure_connection_start",Ct(t.secureConnectionStart)],["http.request.connection_end",Ct(t.connectEnd)],["http.request.request_start",Ct(t.requestStart)],["http.request.response_start",Ct(t.responseStart)],["http.request.response_end",Ct(t.responseEnd)]]})(r).forEach((e=>t.setData(...e))),n.disconnect()}}))}));n.observe({entryTypes:["resource"]})}function Ct(t=0){return((z.a||performance.timeOrigin)+t)/1e3}function St(t,e,n){try{t.setRequestHeader("sentry-trace",e),n&&t.setRequestHeader(gt.a,n)}catch(t){}}const Ot={...F.b,markBackgroundTransactions:!0,routingInstrumentation:function(t,e=!0,n=!0){if(!U||!U.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=U.location.href;e&&(r=t({name:U.location.pathname,startTimestamp:z.a?z.a/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&Object(ft.b)("history",(({to:e,from:n})=>{void 0===n&&i&&-1!==i.indexOf(e)?i=void 0:n!==e&&(i=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=t({name:U.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...bt};class Et{constructor(t){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,Object(f.a)(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._hasSetTracePropagationTargets=!(!t||!t.tracePropagationTargets&&!t.tracingOrigins)),this.options={...Ot,...t},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=ut(),this.options.enableLongTask&&W("longtask",(t=>{for(const e of t){const t=Object(y.a)();if(!t)return;const n=rt(z.a+e.startTime),r=rt(e.duration);t.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}})),this.options._experiments.enableInteractions&&W("event",(t=>{for(const e of t){const t=Object(y.a)();if(!t)return;if("click"===e.name){const n=rt(z.a+e.startTime),r=rt(e.duration);t.startChild({description:Object(V.c)(e.target),op:`ui.interaction.${e.name}`,origin:"auto.ui.browser.metrics",startTimestamp:n,endTimestamp:n+r})}}}),{durationThreshold:0})}setupOnce(t,e){this._getCurrentHub=e;const n=e().getClient(),r=n&&n.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:c,traceXHR:u,shouldCreateSpanForRequest:l,enableHTTPTimings:d,_experiments:h}=this.options,p=r&&r.tracePropagationTargets,f=p||this.options.tracePropagationTargets;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._hasSetTracePropagationTargets&&p&&L.c.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),i((t=>{const n=this._createRouteTransaction(t);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,t,e),n}),s,o),a&&(U&&U.document?U.document.addEventListener("visibilitychange",(()=>{const t=Object(y.a)();if(U.document.hidden&&t){const e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn("[Tracing] Could not set up background tab detection due to lack of global document")),h.enableInteractions&&this._registerInteractionListener(),vt({traceFetch:c,traceXHR:u,tracePropagationTargets:f,shouldCreateSpanForRequest:l,enableHTTPTimings:d})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`));const e=this._getCurrentHub(),{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=this.options,s="pageload"===t.op,a=s?xt("sentry-trace"):"",c=s?xt("baggage"):"",{traceparentData:u,dynamicSamplingContext:l,propagationContext:d}=Object(_.c)(a,c),h={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!l?{}:l},trimEnd:!0},p="function"==typeof n?n(h):h,m=void 0===p?{...h,sampled:!1}:p;m.metadata=m.name!==h.name?{...m.metadata,source:"custom"}:m.metadata,this._latestRouteName=m.name,this._latestRouteSource=m.metadata&&m.metadata.source,!1===m.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Tracing] Will not send ${m.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Tracing] Starting ${m.op} transaction on scope`);const{location:g}=U,y=Object(f.b)(e,m,r,i,!0,{location:g},o),b=e.getScope();return s&&u?b.setPropagationContext(d):b.setPropagationContext({traceId:y.traceId,spanId:y.spanId,parentSpanId:y.parentSpanId,sampled:y.sampled}),y.registerBeforeFinishCallback((t=>{this._collectWebVitals(),lt(t)})),y}_registerInteractionListener(){let t;const e=()=>{const{idleTimeout:e,finalTimeout:n,heartbeatInterval:r}=this.options,i="ui.action.click",o=Object(y.a)();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Tracing] Did not create ${i} transaction because a pageload or navigation transaction is in progress.`));if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Tracing] Did not create ${i} transaction because _getCurrentHub is invalid.`));if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`));const s=this._getCurrentHub(),{location:a}=U,c={name:this._latestRouteName,op:i,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=Object(f.b)(s,c,e,n,!0,{location:a},r)};["click"].forEach((t=>{addEventListener(t,e,{once:!1,capture:!0})}))}}function xt(t){const e=Object(V.a)(`meta[name=${t}]`);return e?e.getAttribute("content"):void 0}var It=n(551),kt=n(199);function Dt(t){return new Promise(((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)}))}function Tt(t){return Dt(t.getAllKeys())}function jt(t){let e;function n(){return null==e&&(e=function(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const r=Dt(n);return t=>r.then((n=>t(n.transaction(e,"readwrite").objectStore(e))))}(t.dbName||"sentry-offline",t.storeName||"queue")),e}return{insert:async e=>{try{const r=await Object(kt.j)(e,t.textEncoder);await function(t,e,n){return t((t=>Tt(t).then((r=>{if(!(r.length>=n))return t.put(e,Math.max(...r,0)+1),Dt(t.transaction)}))))}(n(),r,t.maxQueueSize||30)}catch(t){}},pop:async()=>{try{const e=await function(t){return t((t=>Tt(t).then((e=>{if(0!==e.length)return Dt(t.get(e[0])).then((n=>(t.delete(e[0]),Dt(t.transaction).then((()=>n)))))}))))}(n());if(e)return Object(kt.i)(e,t.textEncoder||new TextEncoder,t.textDecoder||new TextDecoder)}catch(t){}}}}function At(t){return function(t){return e=>t({...e,createStore:jt})}(Object(It.a)(t))}var Rt=n(42),Mt=n(191);const Nt=1e6,Pt=String(0),Ft="main";let Lt="",Vt="",Bt="",Ut=C.a.navigator&&C.a.navigator.userAgent||"",zt="";const Ht=C.a.navigator&&C.a.navigator.language||C.a.navigator&&C.a.navigator.languages&&C.a.navigator.languages[0]||"";const $t=C.a.navigator&&C.a.navigator.userAgentData;var Gt;function qt(t){return function(t){return!("thread_metadata"in t)}(t)?function(t){let e,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[Pt]:{name:Ft}}};if(!t.samples.length)return r;const i=t.samples[0].timestamp,o="number"==typeof performance.timeOrigin?performance.timeOrigin:z.a||0,s=o-(z.a||o);for(let o=0;o<t.samples.length;o++){const a=t.samples[o];if(void 0===a.stackId){void 0===e&&(e=n,r.stacks[e]=[],n++),r.samples[o]={elapsed_since_start_ns:((a.timestamp+s-i)*Nt).toFixed(0),stack_id:e,thread_id:Pt};continue}let c=t.stacks[a.stackId];const u=[];for(;c;){u.push(c.frameId);const e=t.frames[c.frameId];void 0===r.frames[c.frameId]&&(r.frames[c.frameId]={function:e.name,abs_path:"number"==typeof e.resourceId?t.resources[e.resourceId]:void 0,lineno:e.line,colno:e.column}),c=void 0===c.parentId?void 0:t.stacks[c.parentId]}const l={elapsed_since_start_ns:((a.timestamp+s-i)*Nt).toFixed(0),stack_id:n,thread_id:Pt};r.stacks[n]=u,r.samples[o]=l,n++}return r}(t):t}function Wt(t,e,n){if("transaction"!==t.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==e)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);const r=function(t){const e=t&&t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id;return"string"==typeof e&&32!==e.length&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] Invalid traceId: ${e} on profiled event`),"string"!=typeof e?"":e}(t),i=qt(e),o="number"==typeof t.start_timestamp?1e3*t.start_timestamp:Date.now(),s="number"==typeof t.timestamp?1e3*t.timestamp:Date.now();return{event_id:n,timestamp:new Date(o).toISOString(),platform:"javascript",version:"1",release:t.release||"",environment:t.environment||Mt.a,runtime:{name:"javascript",version:C.a.navigator.userAgent},os:{name:Lt,version:Vt,build_number:Ut},device:{locale:Ht,model:zt,manufacturer:Ut,architecture:Bt,is_emulator:!1},debug_meta:{images:Zt(e.resources)},profile:i,transactions:[{name:t.transaction||"",id:t.event_id||Object(Rt.f)(),trace_id:r,active_thread_id:Pt,relative_start_ns:"0",relative_end_ns:(1e6*(s-o)).toFixed(0)}]}}"object"==typeof(Gt=$t)&&null!==Gt&&"getHighEntropyValues"in Gt&&$t.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((t=>{if(Lt=t.platform||"",Bt=t.architecture||"",zt=t.model||"",Vt=t.platformVersion||"",t.fullVersionList&&t.fullVersionList.length>0){const e=t.fullVersionList[t.fullVersionList.length-1];Ut=`${e.brand} ${e.version}`}})).catch((t=>{}));const Yt=new WeakMap;function Zt(t){const e=B.a._sentryDebugIds;if(!e)return[];const n=Object(s.b)();if(!n)return[];const r=n.getClient();if(!r)return[];const i=r.getOptions();if(!i)return[];const o=i.stackParser;if(!o)return[];let a;const c=Yt.get(o);c?a=c:(a=new Map,Yt.set(o,a));const u=Object.keys(e).reduce(((t,n)=>{let r;const i=a.get(n);i?r=i:(r=o(n),a.set(n,r));for(let i=r.length-1;i>=0;i--){const o=r[i],s=o&&o.filename;if(o&&s){t[s]=e[n];break}}return t}),{}),l=[];for(const e of t)e&&u[e]&&l.push({type:"sourcemap",code_file:e,debug_id:u[e]});return l}function Kt(t,e,n){return function(t){return t.samples.length<2?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!t.frames.length||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Discarding profile because it contains no frames"),!1)}(e)?Wt(n,e,t):null}const Qt=new Map;const Jt=3e4;let Xt=!1;function te(t){return t?ee(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Transaction is undefined, skipping profiling"),t)}function ee(t){const e=C.a.Profiler;if("function"!=typeof e)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."),t;if(Xt)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Profiling has been disabled for the duration of the current user session."),t;const n=Object(s.b)().getClient(),r=n&&n.getOptions();if(!r)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Profiling disabled, no options found."),t;const i=r.profilesSampleRate;if(!("number"!=typeof(o=i)&&"boolean"!=typeof o||"number"==typeof o&&isNaN(o)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),0):!0===o||!1===o||!(o<0||o>1)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${o}.`),0)))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.warn("[Profiling] Discarding profile because of invalid sample rate."),t;var o;if(!i)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),t;if(!(!0===i||Math.random()<i))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(i)})`),t;const a=Math.floor(Jt/10);let c;try{c=new e({sampleInterval:10,maxBufferSize:a})}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(L.c.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),L.c.log("[Profiling] Disabling profiling for current user session.")),Xt=!0}if(!c)return t;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] started profiling transaction: ${t.name||t.description}`);const u=Object(Rt.f)();async function l(){if(!t)return null;if(!c)return null;const e=t.startChild({description:"profiler.stop",op:"profiler",origin:"auto.profiler.browser"});return c.stop().then((n=>(e.finish(),d&&(C.a.clearTimeout(d),d=void 0),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] stopped profiling of transaction: ${t.name||t.description}`),n?(function(t,e){if(Qt.set(t,e),Qt.size>30){const t=Qt.keys().next().value;Qt.delete(t)}}(u,n),null):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] profiler returned null profile for: ${t.name||t.description}`,"this may indicate an overlapping transaction or a call to stopProfiling with a profile title that was never started"),null)))).catch((t=>(e.finish(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] error while stopping profiler:",t),null)))}let d=C.a.setTimeout((()=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] max profile duration elapsed, stopping profiling for:",t.name||t.description),l()}),Jt);const h=t.finish.bind(t);return t.finish=function(){return t?(l().then((()=>{t.setContext("profile",{profile_id:u}),h()}),(()=>{h()})),t):h()},t}class ne{static __initStatic(){this.id="BrowserProfilingIntegration"}constructor(){this.name=ne.id}setupOnce(t,e){this.getCurrentHub=e;const n=this.getCurrentHub().getClient();n&&"function"==typeof n.on?(n.on("startTransaction",(t=>{ee(t)})),n.on("beforeEnvelope",(t=>{if(!Qt.size)return;const e=function(t){const e=[];return Object(kt.g)(t,((t,n)=>{if("transaction"===n)for(let n=1;n<t.length;n++){const r=t[n];r&&r.contexts&&r.contexts.profile&&r.contexts.profile.profile_id&&e.push(t[n])}})),e}(t);if(!e.length)return;const n=[];for(const t of e){const e=t&&t.contexts,r=e&&e.profile&&e.profile.profile_id;if(!r){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log("[Profiling] cannot find profile for a transaction without a profile context");continue}e&&e.profile&&delete e.profile;const i=Qt.get(r);if(!i){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&L.c.log(`[Profiling] Could not retrieve profile for transaction: ${r}`);continue}Qt.delete(r);const o=Kt(r,i,t);o&&n.push(o)}!function(t,e){if(!e.length)return t;for(const n of e)t[1].push([{type:"profile"},n])}(t,n)}))):L.c.warn("[Profiling] Client does not support hooks, profiling will be disabled")}}ne.__initStatic();let re={};C.a.Sentry&&C.a.Sentry.Integrations&&(re=C.a.Sentry.Integrations);const ie={...re,...i.a,...r}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return a}));var r=n(109),i=n(15),o=n(192),s=n(255);const a={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},c=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class u extends o.b{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:Object(r.c)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class l extends s.a{constructor(t,e,n=a.idleTimeout,r=a.finalTimeout,o=a.heartbeatInterval,s=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=o,this._onScope=s,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=c[4],s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),e.configureScope((t=>t.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=c[3],this.finish())}),this._finalTimeout)}finish(t=Object(r.c)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const n=e.startTimestamp<t,r=(this._finalTimeout+this._idleTimeout)/1e3,o=e.endTimestamp-this.startTimestamp<r;if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=JSON.stringify(e,void 0,2);n?o||i.c.log("[Tracing] discarding Span since it finished after Transaction final timeout",t):i.c.log("[Tracing] discarding Span since it happened after Transaction was finished",t)}return n&&o})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] No active IdleTransaction");if(this._onScope){const t=this._idleHub.getScope();t.getTransaction()===this&&t.setSpan(void 0)}return super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new u(e,n,this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:e}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===e,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=c[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=c[1],this.finish(t))}),this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`[Tracing] popActivity ${t}`),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const t=Object(r.c)();this._idleTimeoutCanceledPermanently?(this._finishReason=c[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=c[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n(3),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n(154).a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e}(n(119).a),s=new o(i),a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=1,i=function(){return Promise.resolve()}(),o={};function s(t){return t in o&&(delete o[t],!0)}var a={setImmediate:function(t){var e=r++;return o[e]=!0,i.then((function(){return s(e)&&t()})),e},clearImmediate:function(t){s(t)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(10),i=n(49),o=n(127),s=n(60);function a(t,e,n){void 0===t&&(t=0);var a=-1;return Object(o.a)(e)?a=Number(e)<1?1:Number(e):Object(s.a)(e)&&(n=e),Object(s.a)(n)||(n=i.a),new r.a((function(e){var r=Object(o.a)(t)?t:+t-n.now();return n.schedule(c,r,{index:0,period:a,subscriber:e})}))}function c(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(42),i=n(109),o=n(175),s=n(91),a=n(47),c=n(142),u=n(191),l=n(140),d=n(195);function h(t,e,n,h,f){const{normalizeDepth:m=3,normalizeMaxBreadth:g=1e3}=t,_={...e,event_id:e.event_id||n.event_id||Object(r.f)(),timestamp:e.timestamp||Object(i.b)()},y=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:i,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.a);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==i&&(t.dist=i);t.message&&(t.message=Object(s.d)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(s.d)(a.value,o));const c=t.request;c&&c.url&&(c.url=Object(s.d)(c.url,o))}(_,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(_,y),void 0===e.type&&function(t,e){const n=a.a._sentryDebugIds;if(!n)return;let r;const i=p.get(e);i?r=i:(r=new Map,p.set(e,r));const o=Object.keys(n).reduce(((t,i)=>{let o;const s=r.get(i);s?o=s:(o=e(i),r.set(i,o));for(let e=o.length-1;e>=0;e--){const r=o[e];if(r.filename){t[r.filename]=n[i];break}}return t}),{});try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&(t.debug_id=o[t.filename])}))}))}catch(t){}}(_,t.stackParser);let b=h;n.captureContext&&(b=d.a.clone(b).update(n.captureContext));let v=Object(o.c)(_);const w=f&&f.getEventProcessors?f.getEventProcessors():[];if(b){if(b.getAttachments){const t=[...n.attachments||[],...b.getAttachments()];t.length&&(n.attachments=t)}v=b.applyToEvent(_,n,w)}else v=Object(l.c)([...w,...Object(l.b)()],_,n);return v.then((t=>(t&&function(t){const e={};try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)}))}))}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.keys(e).forEach((t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})}))}(t),"number"==typeof m&&m>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:Object(c.a)(t.data,e,n)}})))},...t.user&&{user:Object(c.a)(t.user,e,n)},...t.contexts&&{contexts:Object(c.a)(t.contexts,e,n)},...t.extra&&{extra:Object(c.a)(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Object(c.a)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=Object(c.a)(t.data,e,n)),t))));return r}(t,m,g):t)))}const p=new WeakMap},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a}));var r=n(3),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(n(154).a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n(119).a),s=new o(i),a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(152);function i(t,e,n){var i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,i=t.bufferSize,o=void 0===i?Number.POSITIVE_INFINITY:i,s=t.windowTime,a=void 0===s?Number.POSITIVE_INFINITY:s,c=t.refCount,u=t.scheduler,l=0,d=!1,h=!1;return function(t){var i;l++,!e||d?(d=!1,e=new r.a(o,a,u),i=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){d=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}}),h&&(n=void 0)):i=e.subscribe(this),this.add((function(){l--,i.unsubscribe(),i=void 0,n&&!h&&c&&0===l&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(i))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(49),i=n(360),o=n(298);function s(t,e){return void 0===e&&(e=r.a),Object(i.a)((function(){return Object(o.a)(t,e)}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),i=n(7),o=n(49);function s(t,e){return void 0===e&&(e=o.a),function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.__extends(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(i.a);function u(t){t.debouncedNext()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a}));var r=n(25),i=n(47);const o=Object(i.b)(),s=80;function a(t,e={}){try{let n=t;const r=5,i=[];let o=0,a=0;const u=" > ",l=u.length;let d;const h=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||s;for(;n&&o++<r&&(d=c(n,h),!("html"===d||o>1&&a+i.length*l+d.length>=p));)i.push(d),a+=d.length,n=n.parentNode;return i.reverse().join(u)}catch(t){return"<unknown>"}}function c(t,e){const n=t,i=[];let o,s,a,c,u;if(!n||!n.tagName)return"";i.push(n.tagName.toLowerCase());const l=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(l&&l.length)l.forEach((t=>{i.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&i.push(`#${n.id}`),o=n.className,o&&Object(r.l)(o))for(s=o.split(/\s+/),u=0;u<s.length;u++)i.push(`.${s[u]}`);const d=["aria-label","type","name","title","alt"];for(u=0;u<d.length;u++)a=d[u],c=n.getAttribute(a),c&&i.push(`[${a}="${c}"]`);return i.join("")}function u(){try{return o.document.location.href}catch(t){return""}}function l(t){return o.document&&o.document.querySelector?o.document.querySelector(t):null}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var r=n(10);function i(t,e,n){return void 0===t&&(t=0),new r.a((function(r){void 0===e&&(e=t,t=0);var i=0,s=t;if(n)return n.schedule(o,0,{index:i,count:e,start:t,subscriber:r});for(;;){if(i++>=e){r.complete();break}if(r.next(s++),r.closed)break}}))}function o(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(414),i=n(414);e.ClassTransformer=i.ClassTransformer,function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1080));var o=new r.ClassTransformer;e.classToPlain=function(t,e){return o.classToPlain(t,e)},e.classToPlainFromExist=function(t,e,n){return o.classToPlainFromExist(t,e,n)},e.plainToClass=function(t,e,n){return o.plainToClass(t,e,n)},e.plainToClassFromExist=function(t,e,n){return o.plainToClassFromExist(t,e,n)},e.classToClass=function(t,e){return o.classToClass(t,e)},e.classToClassFromExist=function(t,e,n){return o.classToClassFromExist(t,e,n)},e.serialize=function(t,e){return o.serialize(t,e)},e.deserialize=function(t,e,n){return o.deserialize(t,e,n)},e.deserializeArray=function(t,e,n){return o.deserializeArray(t,e,n)},function(t){t[t.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",t[t.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",t[t.CLASS_TO_CLASS=2]="CLASS_TO_CLASS"}(e.TransformationType||(e.TransformationType={}))},,function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c}));var r=n(49),i=n(194),o=n(128),s=n(21);function a(t){return void 0===t&&(t=r.a),function(e){return Object(o.a)((function(){return e.pipe(Object(i.a)((function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}}),{current:t.now(),value:void 0,last:void 0}),Object(s.a)((function(t){var e=t.current,n=t.last,r=t.value;return new c(r,e-n)})))}))}}var c=function(){return function(t,e){this.value=t,this.interval=e}}()},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));var r=n(49),i=n(21);function o(t){return void 0===t&&(t=r.a),Object(i.a)((function(e){return new s(e,t.now())}))}var s=function(){return function(t,e){this.value=t,this.timestamp=e}}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(33);let i;class o{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=o.id}setupOnce(){i=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Object(r.f)(this)||this;return i.apply(e,t)}}catch(t){}}}o.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(15),i=n(42),o=n(91);const s=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],a=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/];class c{static __initStatic(){this.id="InboundFilters"}constructor(t={}){this.name=c.id,this._options=t}setupOnce(t,e){}processEvent(t,e,n){const c=n.getOptions(),l=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:s],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:a],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(this._options,c);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${Object(i.e)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||0!==e.length||r.c.error(`Could not extract message for event ${Object(i.e)(t)}`);return e}(t).some((t=>Object(o.c)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${Object(i.e)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&Object(o.c)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${Object(i.e)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=u(t);return!!n&&Object(o.c)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${Object(i.e)(t)}.\nUrl: ${u(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=u(t);return!n||Object(o.c)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${Object(i.e)(t)}.\nUrl: ${u(t)}`),!0;return!1}(t,l)?null:t}}function u(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.error(`Cannot extract url for event ${Object(i.e)(t)}`),null}}c.__initStatic()},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(83),i=function(){return r.b.create}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(240);function i(t){return new r.a(t)}},,,,function(t,e,n){"use strict";e.__esModule=!0,e.inherits=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(t.prototype);for(var i in n)r[i]=n[i];return r.constructor=e,e.prototype=r,e}},,function(t,e,n){"use strict";n.r(e),n.d(e,"MatCell",(function(){return Et})),n.d(e,"MatCellDef",(function(){return pt})),n.d(e,"MatColumnDef",(function(){return bt})),n.d(e,"MatFooterCell",(function(){return St})),n.d(e,"MatFooterCellDef",(function(){return _t})),n.d(e,"MatFooterRow",(function(){return Nt})),n.d(e,"MatFooterRowDef",(function(){return Dt})),n.d(e,"MatHeaderCell",(function(){return wt})),n.d(e,"MatHeaderCellDef",(function(){return mt})),n.d(e,"MatHeaderRow",(function(){return Rt})),n.d(e,"MatHeaderRowDef",(function(){return It})),n.d(e,"MatNoDataRow",(function(){return Vt})),n.d(e,"MatRow",(function(){return Ft})),n.d(e,"MatRowDef",(function(){return jt})),n.d(e,"MatTable",(function(){return dt})),n.d(e,"MatTableDataSource",(function(){return $t})),n.d(e,"MatTableModule",(function(){return Ht})),n.d(e,"MatTextColumn",(function(){return Ut}));var r=n(0),i=n(23),o=n(14),s=n(44),a=n(9),c=n(1),u=n(13),l=n(43),d=n(102),h=n(131),p=n(19),f=n(92),m=n(74),g=n(30);const _=[[["caption"]],[["colgroup"],["col"]]];function y(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"th",3),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("text-align",t.justify),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",t.headerText," ")}}function b(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"td",4),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&t){const t=e.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("text-align",n.justify),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",n.dataAccessor(t,n.name)," ")}}function v(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=Object(o.c)(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const w=new r.InjectionToken("CDK_TABLE"),C=new r.InjectionToken("text-column-options");class S{constructor(t){this.template=t}}S.\u0275fac=function(t){return new(t||S)(r["\u0275\u0275directiveInject"](r.TemplateRef))},S.\u0275dir=r["\u0275\u0275defineDirective"]({type:S,selectors:[["","cdkCellDef",""]]}),S.ctorParameters=()=>[{type:r.TemplateRef}];class O{constructor(t){this.template=t}}O.\u0275fac=function(t){return new(t||O)(r["\u0275\u0275directiveInject"](r.TemplateRef))},O.\u0275dir=r["\u0275\u0275defineDirective"]({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O.ctorParameters=()=>[{type:r.TemplateRef}];class E{constructor(t){this.template=t}}E.\u0275fac=function(t){return new(t||E)(r["\u0275\u0275directiveInject"](r.TemplateRef))},E.\u0275dir=r["\u0275\u0275defineDirective"]({type:E,selectors:[["","cdkFooterCellDef",""]]}),E.ctorParameters=()=>[{type:r.TemplateRef}];const x=v(class{});class I extends x{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=Object(o.c)(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}I.\u0275fac=function(t){return new(t||I)(r["\u0275\u0275directiveInject"](w,8))},I.\u0275dir=r["\u0275\u0275defineDirective"]({type:I,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){var i;(1&t&&(r["\u0275\u0275contentQuery"](n,S,!0),r["\u0275\u0275contentQuery"](n,O,!0),r["\u0275\u0275contentQuery"](n,E,!0)),2&t)&&(r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e.cell=i.first),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e.headerCell=i.first),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[r["\u0275\u0275ProvidersFeature"]([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:I}]),r["\u0275\u0275InheritDefinitionFeature"]]}),I.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[w]},{type:r.Optional}]}],I.propDecorators={name:[{type:r.Input,args:["cdkColumnDef"]}],stickyEnd:[{type:r.Input,args:["stickyEnd"]}],cell:[{type:r.ContentChild,args:[S]}],headerCell:[{type:r.ContentChild,args:[O]}],footerCell:[{type:r.ContentChild,args:[E]}]};class k{constructor(t,e){const n=e.nativeElement.classList;for(const e of t._columnCssClassName)n.add(e)}}class D extends k{constructor(t,e){super(t,e)}}D.\u0275fac=function(t){return new(t||D)(r["\u0275\u0275directiveInject"](I),r["\u0275\u0275directiveInject"](r.ElementRef))},D.\u0275dir=r["\u0275\u0275defineDirective"]({type:D,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),D.ctorParameters=()=>[{type:I},{type:r.ElementRef}];class T extends k{constructor(t,e){super(t,e)}}T.\u0275fac=function(t){return new(t||T)(r["\u0275\u0275directiveInject"](I),r["\u0275\u0275directiveInject"](r.ElementRef))},T.\u0275dir=r["\u0275\u0275defineDirective"]({type:T,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),T.ctorParameters=()=>[{type:I},{type:r.ElementRef}];class j extends k{constructor(t,e){super(t,e)}}j.\u0275fac=function(t){return new(t||j)(r["\u0275\u0275directiveInject"](I),r["\u0275\u0275directiveInject"](r.ElementRef))},j.\u0275dir=r["\u0275\u0275defineDirective"]({type:j,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]}),j.ctorParameters=()=>[{type:I},{type:r.ElementRef}];class A{constructor(){this.tasks=[],this.endTasks=[]}}const R=new r.InjectionToken("_COALESCED_STYLE_SCHEDULER");class M{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new u.b}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new A,this._getScheduleObservable().pipe(Object(f.a)(this._destroyed)).subscribe((()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new A;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null})))}_getScheduleObservable(){return this._ngZone.isStable?Object(l.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(m.a)(1))}}M.\u0275fac=function(t){return new(t||M)(r["\u0275\u0275inject"](r.NgZone))},M.\u0275prov=r["\u0275\u0275defineInjectable"]({token:M,factory:M.\u0275fac}),M.ctorParameters=()=>[{type:r.NgZone}];class N{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof F?t.headerCell.template:this instanceof V?t.footerCell.template:t.cell.template}}N.\u0275fac=function(t){return new(t||N)(r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers))},N.\u0275dir=r["\u0275\u0275defineDirective"]({type:N,features:[r["\u0275\u0275NgOnChangesFeature"]]}),N.ctorParameters=()=>[{type:r.TemplateRef},{type:r.IterableDiffers}];const P=v(class extends N{});class F extends P{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}F.\u0275fac=function(t){return new(t||F)(r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](w,8))},F.\u0275dir=r["\u0275\u0275defineDirective"]({type:F,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),F.ctorParameters=()=>[{type:r.TemplateRef},{type:r.IterableDiffers},{type:void 0,decorators:[{type:r.Inject,args:[w]},{type:r.Optional}]}];const L=v(class extends N{});class V extends L{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}V.\u0275fac=function(t){return new(t||V)(r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](w,8))},V.\u0275dir=r["\u0275\u0275defineDirective"]({type:V,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),V.ctorParameters=()=>[{type:r.TemplateRef},{type:r.IterableDiffers},{type:void 0,decorators:[{type:r.Inject,args:[w]},{type:r.Optional}]}];class B extends N{constructor(t,e,n){super(t,e),this._table=n}}B.\u0275fac=function(t){return new(t||B)(r["\u0275\u0275directiveInject"](r.TemplateRef),r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](w,8))},B.\u0275dir=r["\u0275\u0275defineDirective"]({type:B,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[r["\u0275\u0275InheritDefinitionFeature"]]}),B.ctorParameters=()=>[{type:r.TemplateRef},{type:r.IterableDiffers},{type:void 0,decorators:[{type:r.Inject,args:[w]},{type:r.Optional}]}];class U{constructor(t){this._viewContainer=t,U.mostRecentCellOutlet=this}ngOnDestroy(){U.mostRecentCellOutlet===this&&(U.mostRecentCellOutlet=null)}}U.\u0275fac=function(t){return new(t||U)(r["\u0275\u0275directiveInject"](r.ViewContainerRef))},U.\u0275dir=r["\u0275\u0275defineDirective"]({type:U,selectors:[["","cdkCellOutlet",""]]}),U.mostRecentCellOutlet=null,U.ctorParameters=()=>[{type:r.ViewContainerRef}];class z{}z.\u0275fac=function(t){return new(t||z)},z.\u0275cmp=r["\u0275\u0275defineComponent"]({type:z,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});class H{}H.\u0275fac=function(t){return new(t||H)},H.\u0275cmp=r["\u0275\u0275defineComponent"]({type:H,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});class ${}$.\u0275fac=function(t){return new(t||$)},$.\u0275cmp=r["\u0275\u0275defineComponent"]({type:$,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});class G{constructor(t){this.templateRef=t}}G.\u0275fac=function(t){return new(t||G)(r["\u0275\u0275directiveInject"](r.TemplateRef))},G.\u0275dir=r["\u0275\u0275defineDirective"]({type:G,selectors:[["ng-template","cdkNoDataRow",""]]}),G.ctorParameters=()=>[{type:r.TemplateRef}];const q=["top","bottom","left","right"];class W{constructor(t,e,n,r,i=!0,o=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=r,this._isBrowser=i,this._needsPositionStickyOnElement=o}clearStickyPositioning(t,e){const n=[];for(const e of t)if(e.nodeType===e.ELEMENT_NODE){n.push(e);for(let t=0;t<e.children.length;t++)n.push(e.children[t])}this._scheduleStyleChanges((()=>{for(const t of n)this._removeStickyStyle(t,e)}))}updateStickyColumns(t,e,n){if(!t.length||!this._isBrowser||!e.some((t=>t))&&!n.some((t=>t)))return;const r=t[0],i=r.children.length,o=this._getCellWidths(r),s=this._getStickyStartColumnPositions(o,e),a=this._getStickyEndColumnPositions(o,n);this._scheduleStyleChanges((()=>{const r="rtl"===this.direction,o=r?"right":"left",c=r?"left":"right";for(const r of t)for(let t=0;t<i;t++){const i=r.children[t];e[t]&&this._addStickyStyle(i,o,s[t]),n[t]&&this._addStickyStyle(i,c,a[t])}}))}stickRows(t,e,n){if(!this._isBrowser)return;const r="bottom"===n?t.slice().reverse():t,i="bottom"===n?e.slice().reverse():e,o=[],s=[];for(let t=0,e=0;t<r.length;t++){if(o[t]=e,!i[t])continue;const n=r[t];s[t]=this._isNativeHtmlTable?Array.from(n.children):[n],t!==r.length-1&&(e+=n.getBoundingClientRect().height)}this._scheduleStyleChanges((()=>{for(let t=0;t<r.length;t++){if(!i[t])continue;const e=o[t];for(const r of s[t])this._addStickyStyle(r,n,e)}}))}updateStickyFooterContainer(t,e){if(!this._isNativeHtmlTable)return;const n=t.querySelector("tfoot");this._scheduleStyleChanges((()=>{e.some((t=>!t))?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}))}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";q.some((n=>-1===e.indexOf(n)&&t.style[n]))?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=`${n}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const r of q)t.style[r]&&(n+=e[r]);return n?`${n}`:""}_getCellWidths(t){const e=[],n=t.children;for(let t=0;t<n.length;t++){let r=n[t];e.push(r.getBoundingClientRect().width)}return e}_getStickyStartColumnPositions(t,e){const n=[];let r=0;for(let i=0;i<t.length;i++)e[i]&&(n[i]=r,r+=t[i]);return n}_getStickyEndColumnPositions(t,e){const n=[];let r=0;for(let i=t.length;i>0;i--)e[i]&&(n[i]=r,r+=t[i]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}function Y(t){return Error(`Could not find column with id "${t}".`)}class Z{constructor(t,e){this.viewContainer=t,this.elementRef=e}}Z.\u0275fac=function(t){return new(t||Z)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ElementRef))},Z.\u0275dir=r["\u0275\u0275defineDirective"]({type:Z,selectors:[["","rowOutlet",""]]}),Z.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.ElementRef}];class K{constructor(t,e){this.viewContainer=t,this.elementRef=e}}K.\u0275fac=function(t){return new(t||K)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ElementRef))},K.\u0275dir=r["\u0275\u0275defineDirective"]({type:K,selectors:[["","headerRowOutlet",""]]}),K.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.ElementRef}];class Q{constructor(t,e){this.viewContainer=t,this.elementRef=e}}Q.\u0275fac=function(t){return new(t||Q)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ElementRef))},Q.\u0275dir=r["\u0275\u0275defineDirective"]({type:Q,selectors:[["","footerRowOutlet",""]]}),Q.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.ElementRef}];class J{constructor(t,e){this.viewContainer=t,this.elementRef=e}}J.\u0275fac=function(t){return new(t||J)(r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ElementRef))},J.\u0275dir=r["\u0275\u0275defineDirective"]({type:J,selectors:[["","noDataRowOutlet",""]]}),J.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.ElementRef}];r.EmbeddedViewRef;class X{constructor(t,e,n,r,i,o,s,a,c){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=i,this._platform=s,this._viewRepeater=a,this._coalescedStyleScheduler=c,this._onDestroy=new u.b,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this.viewChange=new d.a({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){"undefined"==typeof ngDevMode||ngDevMode,this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=Object(o.c)(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e))}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():t&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(s.g)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,((t,e,n)=>this._getEmbeddedViewArgs(t.item,n)),(t=>t.item.data),(t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)})):t.forEachOperation(((t,n,r)=>{if(null==t.previousIndex){const e=t.item,n=e.rowDef,i={$implicit:e.data};this._renderRow(this._rowOutlet,n,r,i)}else if(null==r)e.remove(n);else{const t=e.get(n);e.move(t,r)}})),this._updateRowIndexContext(),t.forEachIdentityChange((t=>{e.get(t.currentIndex).context.$implicit=t.item.data})),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map((t=>t.sticky));this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach((t=>t.resetStickyChanged()))}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map((t=>t.sticky));this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((t=>t.resetStickyChanged()))}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),t.forEach(((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])})),this._rowDefs.forEach((t=>{const n=[];for(let r=0;r<e.length;r++)this._renderRows[r].rowDef===t&&n.push(e[r]);this._addStickyColumnStyles(n,t)})),n.forEach(((t,e)=>{this._addStickyColumnStyles([t],this._footerRowDefs[e])})),Array.from(this._columnDefsByName.values()).forEach((t=>t.resetStickyChanged()))}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let r=this._data[n];const i=this._getRenderRowsForData(r,n,e.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(let e=0;e<i.length;e++){let n=i[e];const r=this._cachedRenderRowsMap.get(n.data);r.has(n.rowDef)?r.get(n.rowDef).push(n):r.set(n.rowDef,[n]),t.push(n)}}return t}_getRenderRowsForData(t,e,n){return this._getRowDefs(t,e).map((r=>{const i=n&&n.has(r)?n.get(r):[];if(i.length){const t=i.shift();return t.dataIndex=e,t}return{data:t,rowDef:r,dataIndex:e}}))}_cacheColumnDefs(){this._columnDefsByName.clear();tt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach((t=>{if(this._columnDefsByName.has(t.name)&&("undefined"==typeof ngDevMode||ngDevMode))throw e=t.name,Error(`Duplicate column definition name provided: "${e}".`);var e;this._columnDefsByName.set(t.name,t)}))}_cacheRowDefs(){this._headerRowDefs=tt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=tt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=tt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter((t=>!t.when));if(!this.multiTemplateDataRows&&t.length>1&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const r=this._footerRowDefs.reduce(t,!1);return r&&this._forceRenderFooterRows(),e||n||r}_switchDataSource(t){this._data=[],Object(s.g)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;if(Object(s.g)(this.dataSource)?t=this.dataSource.connect(this):Object(h.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(p.a)(this.dataSource)),void 0===t&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(f.a)(this._onDestroy)).subscribe((t=>{this._data=t||[],this.renderRows()}))}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(((t,e)=>this._renderRow(this._headerRowOutlet,t,e))),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(((t,e)=>this._renderRow(this._footerRowOutlet,t,e))),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map((t=>{const e=this._columnDefsByName.get(t);if(!e&&("undefined"==typeof ngDevMode||ngDevMode))throw Y(t);return e})),r=n.map((t=>t.sticky)),i=n.map((t=>t.stickyEnd));this._stickyStyler.updateStickyColumns(t,r,i)}_getRenderedRows(t){const e=[];for(let n=0;n<t.viewContainer.length;n++){const r=t.viewContainer.get(n);e.push(r.rootNodes[0])}return e}_getRowDefs(t,e){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter((n=>!n.when||n.when(e,t)));else{let r=this._rowDefs.find((n=>n.when&&n.when(e,t)))||this._defaultRowDef;r&&n.push(r)}if(!n.length&&("undefined"==typeof ngDevMode||ngDevMode))throw function(t){return Error(`Could not find a matching row definition for theprovided row data: ${JSON.stringify(t)}`)}(t);return n}_getEmbeddedViewArgs(t,e){const n=t.rowDef,r={$implicit:t.data};return{templateRef:n.template,context:r,index:e}}_renderRow(t,e,n,r={}){const i=t.viewContainer.createEmbeddedView(e.template,r,n);return this._renderCellTemplateForItem(e,r),i}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))U.mostRecentCellOutlet&&U.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e<n;e++){const r=t.get(e).context;r.count=n,r.first=0===e,r.last=e===n-1,r.even=e%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[e].dataIndex,r.renderIndex=e):r.index=this._renderRows[e].dataIndex}}_getCellTemplates(t){return t&&t.columns?Array.from(t.columns,(e=>{const n=this._columnDefsByName.get(e);if(!n&&("undefined"==typeof ngDevMode||ngDevMode))throw Y(e);return t.extractCellTemplate(n)})):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){const t=this._dir?this._dir.value:"ltr";this._stickyStyler=new W(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(p.a)()).pipe(Object(f.a)(this._onDestroy)).subscribe((t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()}))}_getOwnDefs(t){return t.filter((t=>!t._table||t._table===this))}_updateNoDataRow(){if(this._noDataRow){const t=0===this._rowOutlet.viewContainer.length;if(t!==this._isShowingNoDataRow){const e=this._noDataRowOutlet.viewContainer;t?e.createEmbeddedView(this._noDataRow.templateRef):e.clear(),this._isShowingNoDataRow=t}}}}function tt(t,e){return t.concat(Array.from(e))}X.\u0275fac=function(t){return new(t||X)(r["\u0275\u0275directiveInject"](r.IterableDiffers),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275injectAttribute"]("role"),r["\u0275\u0275directiveInject"](i.b,8),r["\u0275\u0275directiveInject"](c.DOCUMENT),r["\u0275\u0275directiveInject"](a.a),r["\u0275\u0275directiveInject"](s.f,8),r["\u0275\u0275directiveInject"](R,8))},X.\u0275cmp=r["\u0275\u0275defineComponent"]({type:X,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){var i;(1&t&&(r["\u0275\u0275contentQuery"](n,G,!0),r["\u0275\u0275contentQuery"](n,I,!0),r["\u0275\u0275contentQuery"](n,B,!0),r["\u0275\u0275contentQuery"](n,F,!0),r["\u0275\u0275contentQuery"](n,V,!0)),2&t)&&(r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e._noDataRow=i.first),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e._contentColumnDefs=i),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e._contentRowDefs=i),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e._contentHeaderRowDefs=i),r["\u0275\u0275queryRefresh"](i=r["\u0275\u0275loadQuery"]())&&(e._contentFooterRowDefs=i))},viewQuery:function(t,e){var n;(1&t&&(r["\u0275\u0275staticViewQuery"](Z,!0),r["\u0275\u0275staticViewQuery"](K,!0),r["\u0275\u0275staticViewQuery"](Q,!0),r["\u0275\u0275staticViewQuery"](J,!0)),2&t)&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e._rowOutlet=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e._headerRowOutlet=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e._footerRowOutlet=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e._noDataRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:w,useExisting:X},{provide:s.f,useClass:s.d},{provide:R,useClass:M}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](_),r["\u0275\u0275projection"](0),r["\u0275\u0275projection"](1,1),r["\u0275\u0275elementContainer"](2,0),r["\u0275\u0275elementContainer"](3,1),r["\u0275\u0275elementContainer"](4,2),r["\u0275\u0275elementContainer"](5,3))},directives:[K,Z,J,Q],encapsulation:2}),X.ctorParameters=()=>[{type:r.IterableDiffers},{type:r.ChangeDetectorRef},{type:r.ElementRef},{type:String,decorators:[{type:r.Attribute,args:["role"]}]},{type:i.b,decorators:[{type:r.Optional}]},{type:void 0,decorators:[{type:r.Inject,args:[c.DOCUMENT]}]},{type:a.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[s.f]}]},{type:M,decorators:[{type:r.Optional},{type:r.Inject,args:[R]}]}],X.propDecorators={trackBy:[{type:r.Input}],dataSource:[{type:r.Input}],multiTemplateDataRows:[{type:r.Input}],_rowOutlet:[{type:r.ViewChild,args:[Z,{static:!0}]}],_headerRowOutlet:[{type:r.ViewChild,args:[K,{static:!0}]}],_footerRowOutlet:[{type:r.ViewChild,args:[Q,{static:!0}]}],_noDataRowOutlet:[{type:r.ViewChild,args:[J,{static:!0}]}],_contentColumnDefs:[{type:r.ContentChildren,args:[I,{descendants:!0}]}],_contentRowDefs:[{type:r.ContentChildren,args:[B,{descendants:!0}]}],_contentHeaderRowDefs:[{type:r.ContentChildren,args:[F,{descendants:!0}]}],_contentFooterRowDefs:[{type:r.ContentChildren,args:[V,{descendants:!0}]}],_noDataRow:[{type:r.ContentChild,args:[G]}]};class et{constructor(t,e){this._table=t,this._options=e,this.justify="start",this._options=e||{}}get name(){return this._name}set name(t){this._name=t,this._syncColumnDefName()}ngOnInit(){if(this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((t,e)=>t[e])),this._table)this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef);else if("undefined"==typeof ngDevMode||ngDevMode)throw Error("Text column could not find a parent table for registration.")}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const t=this.name;if(!t&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("Table text column must have a name.");return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(t):t[0].toUpperCase()+t.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}et.\u0275fac=function(t){return new(t||et)(r["\u0275\u0275directiveInject"](X,8),r["\u0275\u0275directiveInject"](C,8))},et.\u0275cmp=r["\u0275\u0275defineComponent"]({type:et,selectors:[["cdk-text-column"]],viewQuery:function(t,e){var n;(1&t&&(r["\u0275\u0275staticViewQuery"](I,!0),r["\u0275\u0275staticViewQuery"](S,!0),r["\u0275\u0275staticViewQuery"](O,!0)),2&t)&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e.columnDef=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e.cell=n.first),r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e.headerCell=n.first))},inputs:{justify:"justify",name:"name",headerText:"headerText",dataAccessor:"dataAccessor"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,e){1&t&&(r["\u0275\u0275elementContainerStart"](0,0),r["\u0275\u0275template"](1,y,2,3,"th",1),r["\u0275\u0275template"](2,b,2,3,"td",2),r["\u0275\u0275elementContainerEnd"]())},directives:[I,O,S,D,j],encapsulation:2}),et.ctorParameters=()=>[{type:X,decorators:[{type:r.Optional}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[C]}]}],et.propDecorators={name:[{type:r.Input}],headerText:[{type:r.Input}],dataAccessor:[{type:r.Input}],justify:[{type:r.Input}],columnDef:[{type:r.ViewChild,args:[I,{static:!0}]}],cell:[{type:r.ViewChild,args:[S,{static:!0}]}],headerCell:[{type:r.ViewChild,args:[O,{static:!0}]}]};class nt{}nt.\u0275mod=r["\u0275\u0275defineNgModule"]({type:nt}),nt.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||nt)},imports:[[g.d]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](nt,{declarations:function(){return[X,B,S,U,O,E,I,j,$,D,T,z,F,H,V,Z,K,Q,et,G,J]},imports:function(){return[g.d]},exports:function(){return[X,B,S,U,O,E,I,j,$,D,T,z,F,H,V,Z,K,Q,et,G,J]}});var rt=n(8),it=n(20),ot=n(130),st=n(168),at=n(21);const ct=[[["caption"]],[["colgroup"],["col"]]];function ut(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"th",3),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("text-align",t.justify),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",t.headerText," ")}}function lt(t,e){if(1&t&&(r["\u0275\u0275elementStart"](0,"td",4),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&t){const t=e.$implicit,n=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("text-align",n.justify),r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate1"](" ",n.dataAccessor(t,n.name)," ")}}class dt extends X{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}dt.\u0275fac=function(t){return ht(t||dt)},dt.\u0275cmp=r["\u0275\u0275defineComponent"]({type:dt,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:s.f,useClass:s.d},{provide:X,useExisting:dt},{provide:w,useExisting:dt},{provide:R,useClass:M}]),r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](ct),r["\u0275\u0275projection"](0),r["\u0275\u0275projection"](1,1),r["\u0275\u0275elementContainer"](2,0),r["\u0275\u0275elementContainer"](3,1),r["\u0275\u0275elementContainer"](4,2),r["\u0275\u0275elementContainer"](5,3))},directives:[K,Z,J,Q],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}\n'],encapsulation:2});const ht=r["\u0275\u0275getInheritedFactory"](dt);class pt extends S{}pt.\u0275fac=function(t){return ft(t||pt)},pt.\u0275dir=r["\u0275\u0275defineDirective"]({type:pt,selectors:[["","matCellDef",""]],features:[r["\u0275\u0275ProvidersFeature"]([{provide:S,useExisting:pt}]),r["\u0275\u0275InheritDefinitionFeature"]]});const ft=r["\u0275\u0275getInheritedFactory"](pt);class mt extends O{}mt.\u0275fac=function(t){return gt(t||mt)},mt.\u0275dir=r["\u0275\u0275defineDirective"]({type:mt,selectors:[["","matHeaderCellDef",""]],features:[r["\u0275\u0275ProvidersFeature"]([{provide:O,useExisting:mt}]),r["\u0275\u0275InheritDefinitionFeature"]]});const gt=r["\u0275\u0275getInheritedFactory"](mt);class _t extends E{}_t.\u0275fac=function(t){return yt(t||_t)},_t.\u0275dir=r["\u0275\u0275defineDirective"]({type:_t,selectors:[["","matFooterCellDef",""]],features:[r["\u0275\u0275ProvidersFeature"]([{provide:E,useExisting:_t}]),r["\u0275\u0275InheritDefinitionFeature"]]});const yt=r["\u0275\u0275getInheritedFactory"](_t);class bt extends I{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}bt.\u0275fac=function(t){return vt(t||bt)},bt.\u0275dir=r["\u0275\u0275defineDirective"]({type:bt,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[r["\u0275\u0275ProvidersFeature"]([{provide:I,useExisting:bt},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:bt}]),r["\u0275\u0275InheritDefinitionFeature"]]}),bt.propDecorators={name:[{type:r.Input,args:["matColumnDef"]}]};const vt=r["\u0275\u0275getInheritedFactory"](bt);class wt extends D{}wt.\u0275fac=function(t){return Ct(t||wt)},wt.\u0275dir=r["\u0275\u0275defineDirective"]({type:wt,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]});const Ct=r["\u0275\u0275getInheritedFactory"](wt);class St extends T{}St.\u0275fac=function(t){return Ot(t||St)},St.\u0275dir=r["\u0275\u0275defineDirective"]({type:St,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]});const Ot=r["\u0275\u0275getInheritedFactory"](St);class Et extends j{}Et.\u0275fac=function(t){return xt(t||Et)},Et.\u0275dir=r["\u0275\u0275defineDirective"]({type:Et,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[r["\u0275\u0275InheritDefinitionFeature"]]});const xt=r["\u0275\u0275getInheritedFactory"](Et);class It extends F{}It.\u0275fac=function(t){return kt(t||It)},It.\u0275dir=r["\u0275\u0275defineDirective"]({type:It,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[r["\u0275\u0275ProvidersFeature"]([{provide:F,useExisting:It}]),r["\u0275\u0275InheritDefinitionFeature"]]});const kt=r["\u0275\u0275getInheritedFactory"](It);class Dt extends V{}Dt.\u0275fac=function(t){return Tt(t||Dt)},Dt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Dt,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[r["\u0275\u0275ProvidersFeature"]([{provide:V,useExisting:Dt}]),r["\u0275\u0275InheritDefinitionFeature"]]});const Tt=r["\u0275\u0275getInheritedFactory"](Dt);class jt extends B{}jt.\u0275fac=function(t){return At(t||jt)},jt.\u0275dir=r["\u0275\u0275defineDirective"]({type:jt,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[r["\u0275\u0275ProvidersFeature"]([{provide:B,useExisting:jt}]),r["\u0275\u0275InheritDefinitionFeature"]]});const At=r["\u0275\u0275getInheritedFactory"](jt);class Rt extends z{}Rt.\u0275fac=function(t){return Mt(t||Rt)},Rt.\u0275cmp=r["\u0275\u0275defineComponent"]({type:Rt,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:z,useExisting:Rt}]),r["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});const Mt=r["\u0275\u0275getInheritedFactory"](Rt);class Nt extends H{}Nt.\u0275fac=function(t){return Pt(t||Nt)},Nt.\u0275cmp=r["\u0275\u0275defineComponent"]({type:Nt,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:H,useExisting:Nt}]),r["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});const Pt=r["\u0275\u0275getInheritedFactory"](Nt);class Ft extends ${}Ft.\u0275fac=function(t){return Lt(t||Ft)},Ft.\u0275cmp=r["\u0275\u0275defineComponent"]({type:Ft,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[r["\u0275\u0275ProvidersFeature"]([{provide:$,useExisting:Ft}]),r["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&r["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2});const Lt=r["\u0275\u0275getInheritedFactory"](Ft);class Vt extends G{}Vt.\u0275fac=function(t){return Bt(t||Vt)},Vt.\u0275dir=r["\u0275\u0275defineDirective"]({type:Vt,selectors:[["ng-template","matNoDataRow",""]],features:[r["\u0275\u0275ProvidersFeature"]([{provide:G,useExisting:Vt}]),r["\u0275\u0275InheritDefinitionFeature"]]});const Bt=r["\u0275\u0275getInheritedFactory"](Vt);class Ut extends et{}Ut.\u0275fac=function(t){return zt(t||Ut)},Ut.\u0275cmp=r["\u0275\u0275defineComponent"]({type:Ut,selectors:[["mat-text-column"]],features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(t,e){1&t&&(r["\u0275\u0275elementContainerStart"](0,0),r["\u0275\u0275template"](1,ut,2,3,"th",1),r["\u0275\u0275template"](2,lt,2,3,"td",2),r["\u0275\u0275elementContainerEnd"]())},directives:[bt,mt,pt,wt,Et],encapsulation:2});const zt=r["\u0275\u0275getInheritedFactory"](Ut);class Ht{}Ht.\u0275mod=r["\u0275\u0275defineNgModule"]({type:Ht}),Ht.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||Ht)},imports:[[nt,rt.MatCommonModule],rt.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](Ht,{declarations:function(){return[dt,mt,It,bt,pt,jt,_t,Dt,wt,Et,St,Rt,Ft,Nt,Vt,Ut]},imports:function(){return[nt,rt.MatCommonModule]},exports:function(){return[rt.MatCommonModule,dt,mt,It,bt,pt,jt,_t,Dt,wt,Et,St,Rt,Ft,Nt,Vt,Ut]}});class $t extends s.b{constructor(t=[]){super(),this._renderData=new d.a([]),this._filter=new d.a(""),this._internalPageChanges=new u.b,this._renderChangesSubscription=it.a.EMPTY,this.sortingDataAccessor=(t,e)=>{const n=t[e];if(Object(o.a)(n)){const t=Number(n);return t<9007199254740991?t:n}return n},this.sortData=(t,e)=>{const n=e.active,r=e.direction;return n&&""!=r?t.sort(((t,e)=>{let i=this.sortingDataAccessor(t,n),o=this.sortingDataAccessor(e,n);const s=typeof i,a=typeof o;s!==a&&("number"===s&&(i+=""),"number"===a&&(o+=""));let c=0;return null!=i&&null!=o?i>o?c=1:i<o&&(c=-1):null!=i?c=1:null!=o&&(c=-1),c*("asc"==r?1:-1)})):t},this.filterPredicate=(t,e)=>{const n=Object.keys(t).reduce(((e,n)=>e+t[n]+"\u25ec"),"").toLowerCase(),r=e.trim().toLowerCase();return-1!=n.indexOf(r)},this._data=new d.a(t),this._updateChangeSubscription()}get data(){return this._data.value}set data(t){this._data.next(t)}get filter(){return this._filter.value}set filter(t){this._filter.next(t)}get sort(){return this._sort}set sort(t){this._sort=t,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(t){this._paginator=t,this._updateChangeSubscription()}_updateChangeSubscription(){const t=this._sort?Object(ot.a)(this._sort.sortChange,this._sort.initialized):Object(p.a)(null),e=this._paginator?Object(ot.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(p.a)(null),n=this._data,r=Object(st.b)([n,this._filter]).pipe(Object(at.a)((([t])=>this._filterData(t)))),i=Object(st.b)([r,t]).pipe(Object(at.a)((([t])=>this._orderData(t)))),o=Object(st.b)([i,e]).pipe(Object(at.a)((([t])=>this._pageData(t))));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=o.subscribe((t=>this._renderData.next(t)))}_filterData(t){return this.filteredData=this.filter?t.filter((t=>this.filterPredicate(t,this.filter))):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(t){return this.sort?this.sortData(t.slice(),this.sort):t}_pageData(t){if(!this.paginator)return t;const e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice(e,e+this.paginator.pageSize)}_updatePaginator(t){Promise.resolve().then((()=>{const e=this.paginator;if(e&&(e.length=t,e.pageIndex>0)){const t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next())}}))}connect(){return this._renderData}disconnect(){}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(7),i=n(169),o=n(263);function s(t,e,n){if(t){if(t instanceof r.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new r.a(t,e,n):new r.a(o.a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(105),i=function(t){return function(e){var n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(105);function i(t){return t&&"function"==typeof t[r.a]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(100);function i(t){return t&&"function"==typeof t[r.a]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l}));var r=n(3),i=n(13),o=n(10),s=n(7),a=n(20),c=n(249),u=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t},e.prototype.refCount=function(){return Object(c.a)()(this)},e}(o.a),l=function(){var t=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.c);s.a},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var r=n(3),i=n(7),o=n(62);function s(t,e){return void 0===e&&(e=0),function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler,this.delay))},t}(),c=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.__extends(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new u(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.a.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.a.createComplete()),this.unsubscribe()},e}(i.a),u=function(){return function(t,e){this.notification=t,this.destination=e}}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n(7).a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(3),i=n(45),o=n(151),s=n(96),a=n(84);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!Object(i.a)(t[0]))return t[0];t=t[0]}return Object(o.a)(t,void 0).lift(new u)}var u=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.__extends(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=Object(a.a)(this,r,void 0,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==n){var i=this.subscriptions[r];i.unsubscribe(),this.remove(i)}this.subscriptions=null}this.destination.next(e)},e}(s.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(12);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.durationSelector))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=Object(i.c)(e,new i.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),n&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))},e.prototype.notifyNext=function(){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.b)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(3),i=n(10),o=n(196),s=n(127),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=o.a);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!Object(s.a)(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=o.a),i}return r.__extends(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=o.a),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(264),i=n(199);function o(t,{metadata:e,tunnel:n,dsn:o}){const s={event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!o&&{dsn:Object(r.b)(o)}},a=function(t){return[{type:"user_report"},t]}(t);return Object(i.c)(s,[a])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(439),i=n(175);const o=4;function s(t){return Object(r.a)(t,(function(e){return new i.a(((n,r)=>{const i=new XMLHttpRequest;i.onerror=r,i.onreadystatechange=()=>{i.readyState===o&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&i.setRequestHeader(e,t.headers[e]);i.send(e.body)}))}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(10),i=n(20),o=n(105);var s=n(367),a=n(260),c=n(368),u=n(354),l=n(246),d=n(244),h=n(355);function p(t,e){if(null!=t){if(Object(u.a)(t))return function(t,e){return new r.a((function(n){var r=new i.a;return r.add(e.schedule((function(){var i=t[o.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(Object(l.a)(t))return Object(s.a)(t,e);if(Object(d.a)(t))return Object(a.a)(t,e);if(Object(h.a)(t)||"string"==typeof t)return Object(c.a)(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(595),i=n(371),o=n(596),s=n(15),a=n(199),c=n(109);var u=n(264),l=n(126),d=n(17),h=n(362);class p extends r.a{constructor(t){const e=d.a.SENTRY_SDK_SOURCE||Object(o.a)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:i.a}],version:i.a},super(t),t.sendClientReports&&d.a.document&&d.a.document.addEventListener("visibilitychange",(()=>{"hidden"===d.a.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return Object(l.a)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return Object(l.b)(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn("SDK not enabled, will not capture user feedback."));const e=Object(h.a)(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.log("Sending outcomes:",t);const e=function(t,e,n){const r=[{type:"client_report"},{timestamp:n||Object(c.b)(),discarded_events:t}];return Object(a.c)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&Object(u.b)(this._dsn));this._sendEnvelope(e)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(439),i=n(175),o=n(440),s=n(15),a=n(17);let c;function u(t,e=function(){if(c)return c;if(Object(o.a)(a.a.fetch))return c=a.a.fetch.bind(a.a);const t=a.a.document;let e=a.a.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return c=e.bind(a.a)}()){let n=0,u=0;return Object(r.a)(t,(function(r){const o=r.body.length;n+=o,u++;const s={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&u<15,...t.fetchOptions};try{return e(t.url,s).then((t=>(n-=o,u--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return c=void 0,n-=o,u--,Object(i.b)(t)}}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(10),i=n(20);function o(t,e){return new r.a((function(n){var r=new i.a;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(10),i=n(20),o=n(100);function s(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,s=new i.a;return s.add((function(){r&&"function"==typeof r.return&&r.return()})),s.add(e.schedule((function(){r=t[o.a](),s.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),s}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(10),i=n(45),o=n(21),s=n(189),a=n(43);function c(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if(Object(i.a)(n))return u(n,null);if(Object(s.a)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return u(r.map((function(t){return n[t]})),r)}}if("function"==typeof t[t.length-1]){var a=t.pop();return u(t=1===t.length&&Object(i.a)(t[0])?t[0]:t,null).pipe(Object(o.a)((function(t){return a.apply(void 0,t)})))}return u(t,null)}function u(t,e){return new r.a((function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,c=function(c){var u=Object(a.a)(t[c]),l=!1;n.add(u.subscribe({next:function(t){l||(l=!0,s++),i[c]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&l||(s===r&&n.next(e?e.reduce((function(t,e,n){return t[e]=i[n],t}),{}):i),n.complete())}}))},u=0;u<r;u++)c(u);else n.complete()}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),i=n(7),o=n(20);function s(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.callback))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new o.a(n)),r}return r.__extends(e,t),e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r="7.74.1"},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a}));var r=n(598),i=n(42);const o=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function s(t){if(!t)return;const e=t.match(o);if(!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}function a(t,e){const n=s(t),o=Object(r.b)(e),{traceId:a,parentSpanId:c,parentSampled:u}=n||{},l={traceId:a||Object(i.f)(),spanId:Object(i.f)().substring(16),sampled:u};return c&&(l.parentSpanId=c),o&&(l.dsc=o),{traceparentData:n,dynamicSamplingContext:o,propagationContext:l}}function c(t=Object(i.f)(),e=Object(i.f)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}},function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return o}));var i=n(596);function o(){return!Object(i.b)()&&"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function s(t,e){return t.require(e)}}).call(this,n(230),n(547)(t))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(538),i=function(){function t(){}return t.prototype.classToPlain=function(t,e){return new r.TransformOperationExecutor(r.TransformationType.CLASS_TO_PLAIN,e||{}).transform(void 0,t,void 0,void 0,void 0,void 0)},t.prototype.classToPlainFromExist=function(t,e,n){return new r.TransformOperationExecutor(r.TransformationType.CLASS_TO_PLAIN,n||{}).transform(e,t,void 0,void 0,void 0,void 0)},t.prototype.plainToClass=function(t,e,n){return new r.TransformOperationExecutor(r.TransformationType.PLAIN_TO_CLASS,n||{}).transform(void 0,e,t,void 0,void 0,void 0)},t.prototype.plainToClassFromExist=function(t,e,n){return new r.TransformOperationExecutor(r.TransformationType.PLAIN_TO_CLASS,n||{}).transform(t,e,void 0,void 0,void 0,void 0)},t.prototype.classToClass=function(t,e){return new r.TransformOperationExecutor(r.TransformationType.CLASS_TO_CLASS,e||{}).transform(void 0,t,void 0,void 0,void 0,void 0)},t.prototype.classToClassFromExist=function(t,e,n){return new r.TransformOperationExecutor(r.TransformationType.CLASS_TO_CLASS,n||{}).transform(e,t,void 0,void 0,void 0,void 0)},t.prototype.serialize=function(t,e){return JSON.stringify(this.classToPlain(t,e))},t.prototype.deserialize=function(t,e,n){var r=JSON.parse(e);return this.plainToClass(t,r,n)},t.prototype.deserializeArray=function(t,e,n){var r=JSON.parse(e);return this.plainToClass(t,r,n)},t}();e.ClassTransformer=i},,function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_PAGINATOR_DEFAULT_OPTIONS",(function(){return C})),n.d(e,"MAT_PAGINATOR_INTL_PROVIDER",(function(){return v})),n.d(e,"MAT_PAGINATOR_INTL_PROVIDER_FACTORY",(function(){return b})),n.d(e,"MatPaginator",(function(){return O})),n.d(e,"MatPaginatorIntl",(function(){return y})),n.d(e,"MatPaginatorModule",(function(){return E})),n.d(e,"PageEvent",(function(){return w}));var r=n(1),i=n(0),o=n(218),s=n(219),a=n(220),c=n(14),u=n(13),l=n(8),d=n(108);function h(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"mat-option",19),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=e.$implicit;i["\u0275\u0275property"]("value",t),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t," ")}}function p(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",16),i["\u0275\u0275elementStart"](1,"mat-select",17),i["\u0275\u0275listener"]("selectionChange",(function(e){i["\u0275\u0275restoreView"](t);return i["\u0275\u0275nextContext"](2)._changePageSize(e.value)})),i["\u0275\u0275template"](2,h,2,2,"mat-option",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("appearance",t._formFieldAppearance)("color",t.color),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("value",t.pageSize)("disabled",t.disabled)("aria-label",t._intl.itemsPerPageLabel),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t._displayedPageSizeOptions)}}function f(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.pageSize)}}function m(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,p,3,6,"mat-form-field",14),i["\u0275\u0275template"](4,f,2,1,"div",15),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",t._intl.itemsPerPageLabel," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t._displayedPageSizeOptions.length>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t._displayedPageSizeOptions.length<=1)}}function g(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",21),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](t);return i["\u0275\u0275nextContext"]().firstPage()})),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](1,"svg",7),i["\u0275\u0275element"](2,"path",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),i["\u0275\u0275attribute"]("aria-label",t._intl.firstPageLabel)}}function _(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275namespaceHTML"](),i["\u0275\u0275elementStart"](0,"button",23),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](t);return i["\u0275\u0275nextContext"]().lastPage()})),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](1,"svg",7),i["\u0275\u0275element"](2,"path",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),i["\u0275\u0275attribute"]("aria-label",t._intl.lastPageLabel)}}class y{constructor(){this.changes=new u.b,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(t,e,n)=>{if(0==n||0==e)return`0 of ${n}`;const r=t*e;return`${r+1} \u2013 ${r<(n=Math.max(n,0))?Math.min(r+e,n):r+e} of ${n}`}}}function b(t){return t||new y}y.\u0275fac=function(t){return new(t||y)},y.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new y},token:y,providedIn:"root"});const v={provide:y,deps:[[new i.Optional,new i.SkipSelf,y]],useFactory:b};class w{}const C=new i.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS");const S=Object(l.mixinDisabled)(Object(l.mixinInitialized)(class{}));class O extends S{constructor(t,e,n){if(super(),this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new i.EventEmitter,this._intlChanges=t.changes.subscribe((()=>this._changeDetectorRef.markForCheck())),n){const{pageSize:t,pageSizeOptions:e,hidePageSize:r,showFirstLastButtons:i,formFieldAppearance:o}=n;null!=t&&(this._pageSize=t),null!=e&&(this._pageSizeOptions=e),null!=r&&(this._hidePageSize=r),null!=i&&(this._showFirstLastButtons=i),null!=o&&(this._formFieldAppearance=o)}}get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(Object(c.f)(t),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(t){this._length=Object(c.f)(t),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(Object(c.f)(t),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map((t=>Object(c.f)(t))),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(t){this._hidePageSize=Object(c.c)(t)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(t){this._showFirstLastButtons=Object(c.c)(t)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex++,this._emitPageEvent(t)}previousPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex--,this._emitPageEvent(t)}firstPage(){if(!this.hasPreviousPage())return;const t=this.pageIndex;this.pageIndex=0,this._emitPageEvent(t)}lastPage(){if(!this.hasNextPage())return;const t=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(t)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const t=this.getNumberOfPages()-1;return this.pageIndex<t&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){const e=this.pageIndex*this.pageSize,n=this.pageIndex;this.pageIndex=Math.floor(e/t)||0,this.pageSize=t,this._emitPageEvent(n)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(((t,e)=>t-e)),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}O.\u0275fac=function(t){return new(t||O)(i["\u0275\u0275directiveInject"](y),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](C,8))},O.\u0275cmp=i["\u0275\u0275defineComponent"]({type:O,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[i["\u0275\u0275InheritDefinitionFeature"]],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,m,5,3,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,g,3,5,"button",5),i["\u0275\u0275elementStart"](7,"button",6),i["\u0275\u0275listener"]("click",(function(){return e.previousPage()})),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](8,"svg",7),i["\u0275\u0275element"](9,"path",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275namespaceHTML"](),i["\u0275\u0275elementStart"](10,"button",9),i["\u0275\u0275listener"]("click",(function(){return e.nextPage()})),i["\u0275\u0275namespaceSVG"](),i["\u0275\u0275elementStart"](11,"svg",7),i["\u0275\u0275element"](12,"path",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,_,3,5,"button",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&t&&(i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!e.hidePageSize),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.showFirstLastButtons),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),i["\u0275\u0275attribute"]("aria-label",e._intl.previousPageLabel),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),i["\u0275\u0275attribute"]("aria-label",e._intl.nextPageLabel),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.showFirstLastButtons))},directives:[r.NgIf,o.MatButton,a.MatTooltip,d.b,s.MatSelect,r.NgForOf,l.MatOption],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),O.ctorParameters=()=>[{type:y},{type:i.ChangeDetectorRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[C]}]}],O.propDecorators={color:[{type:i.Input}],pageIndex:[{type:i.Input}],length:[{type:i.Input}],pageSize:[{type:i.Input}],pageSizeOptions:[{type:i.Input}],hidePageSize:[{type:i.Input}],showFirstLastButtons:[{type:i.Input}],page:[{type:i.Output}]};class E{}E.\u0275mod=i["\u0275\u0275defineNgModule"]({type:E}),E.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||E)},providers:[v],imports:[[r.CommonModule,o.MatButtonModule,s.MatSelectModule,a.MatTooltipModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i["\u0275\u0275setNgModuleScope"](E,{declarations:function(){return[O]},imports:function(){return[r.CommonModule,o.MatButtonModule,s.MatSelectModule,a.MatTooltipModule]},exports:function(){return[O]}})},,function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_SORT_HEADER_INTL_PROVIDER",(function(){return v})),n.d(e,"MAT_SORT_HEADER_INTL_PROVIDER_FACTORY",(function(){return b})),n.d(e,"MatSort",(function(){return f})),n.d(e,"MatSortHeader",(function(){return C})),n.d(e,"MatSortHeaderIntl",(function(){return y})),n.d(e,"MatSortModule",(function(){return S})),n.d(e,"matSortAnimations",(function(){return _}));var r=n(0),i=n(14),o=n(8),s=n(29),a=n(32),c=n(13),u=n(130),l=n(5),d=n(1);function h(t,e){if(1&t){const t=r["\u0275\u0275getCurrentView"]();r["\u0275\u0275elementStart"](0,"div",3),r["\u0275\u0275listener"]("@arrowPosition.start",(function(){r["\u0275\u0275restoreView"](t);return r["\u0275\u0275nextContext"]()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){r["\u0275\u0275restoreView"](t);return r["\u0275\u0275nextContext"]()._disableViewStateAnimation=!1})),r["\u0275\u0275element"](1,"div",4),r["\u0275\u0275elementStart"](2,"div",5),r["\u0275\u0275element"](3,"div",6),r["\u0275\u0275element"](4,"div",7),r["\u0275\u0275element"](5,"div",8),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()}if(2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275property"]("@arrowOpacity",t._getArrowViewState())("@arrowPosition",t._getArrowViewState())("@allowChildren",t._getArrowDirectionState()),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("@indicator",t._getArrowDirectionState()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("@leftPointer",t._getArrowDirectionState()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("@rightPointer",t._getArrowDirectionState())}}const p=Object(o.mixinInitialized)(Object(o.mixinDisabled)(class{}));class f extends p{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new c.b,this.start="asc",this._direction="",this.sortChange=new r.EventEmitter}get direction(){return this._direction}set direction(t){if(t&&"asc"!==t&&"desc"!==t&&("undefined"==typeof ngDevMode||ngDevMode))throw function(t){return Error(`${t} is not a valid sort direction ('asc' or 'desc').`)}(t);this._direction=t}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(i.c)(t)}register(t){if("undefined"==typeof ngDevMode||ngDevMode){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw e=t.id,Error(`Cannot have two MatSortables with the same id (${e}).`)}var e;this.sortables.set(t.id,t)}deregister(t){this.sortables.delete(t.id)}sort(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(t){if(!t)return"";const e=null!=t.disableClear?t.disableClear:this.disableClear;let n=function(t,e){let n=["asc","desc"];"desc"==t&&n.reverse();e||n.push("");return n}(t.start||this.start,e),r=n.indexOf(this.direction)+1;return r>=n.length&&(r=0),n[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}f.\u0275fac=function(t){return m(t||f)},f.\u0275dir=r["\u0275\u0275defineDirective"]({type:f,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[r["\u0275\u0275InheritDefinitionFeature"],r["\u0275\u0275NgOnChangesFeature"]]}),f.propDecorators={active:[{type:r.Input,args:["matSortActive"]}],start:[{type:r.Input,args:["matSortStart"]}],direction:[{type:r.Input,args:["matSortDirection"]}],disableClear:[{type:r.Input,args:["matSortDisableClear"]}],sortChange:[{type:r.Output,args:["matSortChange"]}]};const m=r["\u0275\u0275getInheritedFactory"](f);const g=o.AnimationDurations.ENTERING+" "+o.AnimationCurves.STANDARD_CURVE,_={indicator:Object(l.trigger)("indicator",[Object(l.state)("active-asc, asc",Object(l.style)({transform:"translateY(0px)"})),Object(l.state)("active-desc, desc",Object(l.style)({transform:"translateY(10px)"})),Object(l.transition)("active-asc <=> active-desc",Object(l.animate)(g))]),leftPointer:Object(l.trigger)("leftPointer",[Object(l.state)("active-asc, asc",Object(l.style)({transform:"rotate(-45deg)"})),Object(l.state)("active-desc, desc",Object(l.style)({transform:"rotate(45deg)"})),Object(l.transition)("active-asc <=> active-desc",Object(l.animate)(g))]),rightPointer:Object(l.trigger)("rightPointer",[Object(l.state)("active-asc, asc",Object(l.style)({transform:"rotate(45deg)"})),Object(l.state)("active-desc, desc",Object(l.style)({transform:"rotate(-45deg)"})),Object(l.transition)("active-asc <=> active-desc",Object(l.animate)(g))]),arrowOpacity:Object(l.trigger)("arrowOpacity",[Object(l.state)("desc-to-active, asc-to-active, active",Object(l.style)({opacity:1})),Object(l.state)("desc-to-hint, asc-to-hint, hint",Object(l.style)({opacity:.54})),Object(l.state)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(l.style)({opacity:0})),Object(l.transition)("* => asc, * => desc, * => active, * => hint, * => void",Object(l.animate)("0ms")),Object(l.transition)("* <=> *",Object(l.animate)(g))]),arrowPosition:Object(l.trigger)("arrowPosition",[Object(l.transition)("* => desc-to-hint, * => desc-to-active",Object(l.animate)(g,Object(l.keyframes)([Object(l.style)({transform:"translateY(-25%)"}),Object(l.style)({transform:"translateY(0)"})]))),Object(l.transition)("* => hint-to-desc, * => active-to-desc",Object(l.animate)(g,Object(l.keyframes)([Object(l.style)({transform:"translateY(0)"}),Object(l.style)({transform:"translateY(25%)"})]))),Object(l.transition)("* => asc-to-hint, * => asc-to-active",Object(l.animate)(g,Object(l.keyframes)([Object(l.style)({transform:"translateY(25%)"}),Object(l.style)({transform:"translateY(0)"})]))),Object(l.transition)("* => hint-to-asc, * => active-to-asc",Object(l.animate)(g,Object(l.keyframes)([Object(l.style)({transform:"translateY(0)"}),Object(l.style)({transform:"translateY(-25%)"})]))),Object(l.state)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(l.style)({transform:"translateY(0)"})),Object(l.state)("hint-to-desc, active-to-desc, desc",Object(l.style)({transform:"translateY(-25%)"})),Object(l.state)("hint-to-asc, active-to-asc, asc",Object(l.style)({transform:"translateY(25%)"}))]),allowChildren:Object(l.trigger)("allowChildren",[Object(l.transition)("* <=> *",[Object(l.query)("@*",Object(l.animateChild)(),{optional:!0})])])};class y{constructor(){this.changes=new c.b,this.sortButtonLabel=t=>`Change sorting for ${t}`}}function b(t){return t||new y}y.\u0275fac=function(t){return new(t||y)},y.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new y},token:y,providedIn:"root"});const v={provide:y,deps:[[new r.Optional,new r.SkipSelf,y]],useFactory:b};const w=Object(o.mixinDisabled)(class{});class C extends w{constructor(t,e,n,r,i,o){if(super(),this._intl=t,this._sort=n,this._columnDef=r,this._focusMonitor=i,this._elementRef=o,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",!n&&("undefined"==typeof ngDevMode||ngDevMode))throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");this._rerenderSubscription=Object(u.a)(n.sortChange,n._stateChanges,t.changes).subscribe((()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),e.markForCheck()}))}get disableClear(){return this._disableClear}set disableClear(t){this._disableClear=Object(i.c)(t)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe((t=>this._setIndicatorHintVisible(!!t)))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(t){this._isDisabled()||t.keyCode!==a.j&&t.keyCode!==a.d||(t.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const t=this._viewState.fromState;return(t?`${t}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}C.\u0275fac=function(t){return new(t||C)(r["\u0275\u0275directiveInject"](y),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](f,8),r["\u0275\u0275directiveInject"]("MAT_SORT_HEADER_COLUMN_DEF",8),r["\u0275\u0275directiveInject"](s.d),r["\u0275\u0275directiveInject"](r.ElementRef))},C.\u0275cmp=r["\u0275\u0275defineComponent"]({type:C,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",(function(){return e._handleClick()}))("keydown",(function(t){return e._handleKeydown(t)}))("mouseenter",(function(){return e._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return e._setIndicatorHintVisible(!1)})),2&t&&(r["\u0275\u0275attribute"]("aria-sort",e._getAriaSortAttribute()),r["\u0275\u0275classProp"]("mat-sort-header-disabled",e._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[r["\u0275\u0275InheritDefinitionFeature"]],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(t,e){1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"div",0),r["\u0275\u0275elementStart"](1,"div",1),r["\u0275\u0275projection"](2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275template"](3,h,6,6,"div",2),r["\u0275\u0275elementEnd"]()),2&t&&(r["\u0275\u0275classProp"]("mat-sort-header-sorted",e._isSorted())("mat-sort-header-position-before","before"==e.arrowPosition),r["\u0275\u0275attribute"]("tabindex",e._isDisabled()?null:0),r["\u0275\u0275advance"](3),r["\u0275\u0275property"]("ngIf",e._renderArrow()))},directives:[d.NgIf],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[_.indicator,_.leftPointer,_.rightPointer,_.arrowOpacity,_.arrowPosition,_.allowChildren]},changeDetection:0}),C.ctorParameters=()=>[{type:y},{type:r.ChangeDetectorRef},{type:f,decorators:[{type:r.Optional}]},{type:void 0,decorators:[{type:r.Inject,args:["MAT_SORT_HEADER_COLUMN_DEF"]},{type:r.Optional}]},{type:s.d},{type:r.ElementRef}],C.propDecorators={id:[{type:r.Input,args:["mat-sort-header"]}],arrowPosition:[{type:r.Input}],start:[{type:r.Input}],disableClear:[{type:r.Input}]};class S{}S.\u0275mod=r["\u0275\u0275defineNgModule"]({type:S}),S.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||S)},providers:[v],imports:[[d.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](S,{declarations:function(){return[f,C]},imports:function(){return[d.CommonModule]},exports:function(){return[f,C]}})},,,,,,,function(t,e,n){"use strict";e.__esModule=!0,e.AMPERSAND=e.CLOSEPAREN=e.CLOSEANGLEBRACKET=e.CLOSEBRACKET=e.CLOSEBRACE=e.OPENPAREN=e.OPENANGLEBRACKET=e.OPENBRACKET=e.OPENBRACE=e.WS=e.TLD=e.SYM=e.UNDERSCORE=e.SLASH=e.MAILTO=e.PROTOCOL=e.QUERY=e.POUND=e.PLUS=e.NUM=e.NL=e.LOCALHOST=e.PUNCTUATION=e.DOT=e.COLON=e.AT=e.DOMAIN=e.Base=void 0;var r=n(572),i=n(349),o=(0,r.createTokenClass)();function s(t){var e=t?{v:t}:{};return(0,i.inherits)(o,(0,r.createTokenClass)(),e)}o.prototype={toString:function(){return this.v+""}};var a=s(),c=s("@"),u=s(":"),l=s("."),d=s(),h=s(),p=s("\n"),f=s(),m=s("+"),g=s("#"),_=s(),y=s("mailto:"),b=s("?"),v=s("/"),w=s("_"),C=s(),S=s(),O=s(),E=s("{"),x=s("["),I=s("<"),k=s("("),D=s("}"),T=s("]"),j=s(">"),A=s(")"),R=s("&");e.Base=o,e.DOMAIN=a,e.AT=c,e.COLON=u,e.DOT=l,e.PUNCTUATION=d,e.LOCALHOST=h,e.NL=p,e.NUM=f,e.PLUS=m,e.POUND=g,e.QUERY=b,e.PROTOCOL=_,e.MAILTO=y,e.SLASH=v,e.UNDERSCORE=w,e.SYM=C,e.TLD=S,e.WS=O,e.OPENBRACE=E,e.OPENBRACKET=x,e.OPENANGLEBRACKET=I,e.OPENPAREN=k,e.CLOSEBRACE=D,e.CLOSEBRACKET=T,e.CLOSEANGLEBRACKET=j,e.CLOSEPAREN=A,e.AMPERSAND=R},,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return g}));var r=n(15),i=n(18),o=n(176),s=n(257);let a=!1;function c(){const t=Object(s.a)();if(t){const e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}c.tag="sentry_tracingErrorCallback";var u=n(295),l=n(25),d=n(217);function h(t,e,n){if(!Object(d.a)(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let i;return"function"==typeof e.tracesSampler?(i=e.tracesSampler(n),t.setMetadata({sampleRate:Number(i)})):void 0!==n.parentSampled?i=n.parentSampled:void 0!==e.tracesSampleRate?(i=e.tracesSampleRate,t.setMetadata({sampleRate:Number(i)})):(i=1,t.setMetadata({sampleRate:i})),function(t){if(Object(l.h)(t)||"number"!=typeof t&&"boolean"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1;if(t<0||t>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1;return!0}(i)?i?(t.sampled=Math.random()<i,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(i)})`),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.log("[Tracing] Discarding transaction because "+("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}var p=n(255);function f(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function m(t,e){const n=this.getClient(),i=n&&n.getOptions()||{},o=i.instrumenter||"sentry",s=t.instrumenter||"sentry";o!==s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.error(`A transaction was started with instrumenter=\`${s}\`, but the SDK is configured with the \`${o}\` instrumenter.\nThe transaction will not be sampled. Please use the ${o} instrumentation to start transactions.`),t.sampled=!1);let a=new p.a(t,this);return a=h(a,i,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(i._experiments&&i._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function g(t,e,n,r,i,o,s){const a=t.getClient(),c=a&&a.getOptions()||{};let l=new u.a(e,t,n,r,s,i);return l=h(l,c,{parentSampled:e.parentSampled,transactionContext:e,...o}),l.sampled&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),a&&a.emit&&a.emit("startTransaction",l),l}function _(){const t=Object(i.d)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=m),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=f),a||(a=!0,Object(o.b)("error",c),Object(o.b)("unhandledrejection",c)))}},function(t,e,n){"use strict";n.r(e),n.d(e,"ClipboardService",(function(){return a})),n.d(e,"ClipboardDirective",(function(){return c})),n.d(e,"ClipboardModule",(function(){return l})),n.d(e,"ClipboardIfSupportedDirective",(function(){return u}));var r=n(0),i=new r.InjectionToken("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:function(){return window}}:void 0),o=n(13),s=n(1),a=function(){function t(t,e){this.document=t,this.window=e,this.copySubject=new o.b,this.copyResponse$=this.copySubject.asObservable(),this.config={}}return t.prototype.configure=function(t){this.config=t},t.prototype.copy=function(t){if(!this.isSupported||!t)return this.pushCopyResponse({isSuccess:!1,content:t});var e=this.copyFromContent(t);return e?this.pushCopyResponse({content:t,isSuccess:e}):this.pushCopyResponse({isSuccess:!1,content:t})},Object.defineProperty(t.prototype,"isSupported",{get:function(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window},enumerable:!0,configurable:!0}),t.prototype.isTargetValid=function(t){if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){if(t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")},t.prototype.copyFromInputElement=function(t,e){void 0===e&&(e=!0);try{this.selectTarget(t);var n=this.copyText();return this.clearSelection(e?t:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(t){return!1}},t.prototype.isCopySuccessInIE11=function(){var t=this.window.clipboardData;return!(t&&t.getData&&!t.getData("Text"))},t.prototype.copyFromContent=function(t,e){if(void 0===e&&(e=this.document.body),this.tempTextArea&&!e.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{e.appendChild(this.tempTextArea)}catch(t){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=t;var n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement),n},t.prototype.destroy=function(t){void 0===t&&(t=this.document.body),this.tempTextArea&&(t.removeChild(this.tempTextArea),this.tempTextArea=void 0)},t.prototype.selectTarget=function(t){return t.select(),t.setSelectionRange(0,t.value.length),t.value.length},t.prototype.copyText=function(){return this.document.execCommand("copy")},t.prototype.clearSelection=function(t,e){t&&t.focus(),e.getSelection().removeAllRanges()},t.prototype.createTempTextArea=function(t,e){var n,r="rtl"===t.documentElement.getAttribute("dir");(n=t.createElement("textarea")).style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[r?"right":"left"]="-9999px";var i=e.pageYOffset||t.documentElement.scrollTop;return n.style.top=i+"px",n.setAttribute("readonly",""),n},t.prototype.pushCopyResponse=function(t){this.copySubject.next(t)},t.prototype.pushCopyReponse=function(t){this.pushCopyResponse(t)},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[s.DOCUMENT]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[i]}]}]},t.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(s.DOCUMENT),Object(r.inject)(i,8))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](s.DOCUMENT),r["\u0275\u0275inject"](i,8))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t}(),c=function(){function t(t){this.clipboardSrv=t,this.cbOnSuccess=new r.EventEmitter,this.cbOnError=new r.EventEmitter}return t.prototype.ngOnInit=function(){},t.prototype.ngOnDestroy=function(){this.clipboardSrv.destroy(this.container)},t.prototype.onClick=function(t){this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,t):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,t):this.handleResult(!1,void 0,t)},t.prototype.handleResult=function(t,e,n){var r={isSuccess:t,event:n};t?(r=Object.assign(r,{content:e,successMessage:this.cbSuccessMsg}),this.cbOnSuccess.emit(r)):this.cbOnError.emit(r),this.clipboardSrv.pushCopyResponse(r)},t.ctorParameters=function(){return[{type:a}]},t.propDecorators={targetElm:[{type:r.Input,args:["ngxClipboard"]}],container:[{type:r.Input}],cbContent:[{type:r.Input}],cbSuccessMsg:[{type:r.Input}],cbOnSuccess:[{type:r.Output}],cbOnError:[{type:r.Output}],onClick:[{type:r.HostListener,args:["click",["$event.target"]]}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](a))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngxClipboard",""]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",(function(t){return e.onClick(t.target)}))},inputs:{targetElm:["ngxClipboard","targetElm"],container:"container",cbContent:"cbContent",cbSuccessMsg:"cbSuccessMsg"},outputs:{cbOnSuccess:"cbOnSuccess",cbOnError:"cbOnError"}}),t}(),u=function(){function t(t,e,n){this._clipboardService=t,this._viewContainerRef=e,this._templateRef=n}return t.prototype.ngOnInit=function(){this._clipboardService.isSupported&&this._viewContainerRef.createEmbeddedView(this._templateRef)},t.ctorParameters=function(){return[{type:a},{type:r.ViewContainerRef},{type:r.TemplateRef}]},t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](a),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.TemplateRef))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngxClipboardIfSupported",""]]}),t}(),l=function(){function t(){}return t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[s.CommonModule]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](t,{declarations:function(){return[c,u]},imports:function(){return[s.CommonModule]},exports:function(){return[c,u]}}),t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(117),i=n(249),o=n(13);function s(){return new o.b}function a(){return function(t){return Object(i.a)()(Object(r.a)(s)(t))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(115),i=n(46),o=n(172),s=n(190),a=n(150),c=n(90);function u(t,e){var n=arguments.length>=2;return function(u){return u.pipe(t?Object(i.a)((function(e,n){return t(e,n,u)})):c.a,Object(o.a)(1),n?Object(a.a)(e):Object(s.a)((function(){return new r.a})))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(){return function(t){return t.lift(new s)}}var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.__extends(e,t),e.prototype._next=function(t){var e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.inclusive))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(15),i=n(18);function o(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.enable();const n=Object(i.b)();n.getScope().update(e.initialScope);const o=new t(e);n.bindClient(o)}},function(t,e,n){"use strict";function r(t,e){const n=e.getClient(),r=n&&n.getDsn(),o=n&&n.getOptions().tunnel;return function(t,e){return!!e&&t.includes(e.host)}(t,r)||function(t,e){if(!e)return!1;return i(t)===i(e)}(t,o)}function i(t){return"/"===t[t.length-1]?t.slice(0,-1):t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(599),i=n(175);function o(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(o){if(!(void 0===t||e.length<t))return Object(i.b)(new r.a("Not adding Promise because buffer limit was reached."));const s=o();return-1===e.indexOf(s)&&e.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(t){return new i.a(((n,r)=>{let o=e.length;if(!o)return n(!0);const s=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{Object(i.c)(t).then((()=>{--o||(clearTimeout(s),n(!0))}),r)}))}))}}}var s=n(199),a=n(1389),c=n(15);const u=30;function l(t,e,n=o(t.bufferSize||u)){let l={};function h(o){const u=[];if(Object(s.g)(o,((e,n)=>{const r=Object(s.f)(n);if(Object(a.a)(l,r)){const i=d(e,n);t.recordDroppedEvent("ratelimit_backoff",r,i)}else u.push(e)})),0===u.length)return Object(i.c)();const h=Object(s.c)(o[0],u),p=e=>{Object(s.g)(h,((n,r)=>{const i=d(n,r);t.recordDroppedEvent(e,Object(s.f)(r),i)}))};return n.add((()=>e({body:Object(s.j)(h,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.c.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),l=Object(a.c)(l,t),t)),(t=>{throw p("network_error"),t})))).then((t=>t),(t=>{if(t instanceof r.a)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.c.error("Skipped sending event because buffer is full."),p("queue_overflow"),Object(i.c)();throw t}))}return h.__sentry__baseTransport__=!0,{send:h,flush:t=>n.drain(t)}}function d(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return c}));var r=n(15),i=n(47);const o=Object(i.b)();function s(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function c(){if(!s())return!1;if(a(o.fetch))return!0;let t=!1;const e=o.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=a(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},function(t,e,n){t.exports={ResizeSensor:n(590),ElementQueries:n(1379)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(539);!function(t){t[t.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",t[t.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",t[t.CLASS_TO_CLASS=2]="CLASS_TO_CLASS"}(r=e.TransformationType||(e.TransformationType={}));var o=function(){function t(t,e){this.transformationType=t,this.options=e,this.transformedTypesMap=new Map}return t.prototype.transform=function(t,e,n,o,s,a){var c=this;if(void 0===a&&(a=0),e instanceof Array||e instanceof Set){var u=o&&this.transformationType===r.PLAIN_TO_CLASS?new o:[];return e.forEach((function(e,i){var o=t?t[i]:void 0;if(c.options.enableCircularCheck&&c.isCircular(e,a))c.transformationType===r.CLASS_TO_CLASS&&(u instanceof Set?u.add(e):u.push(e));else{var s=c.transform(o,e,n,void 0,e instanceof Map,a+1);u instanceof Set?u.add(s):u.push(s)}})),u}if(n!==String||s){if(n!==Number||s){if(n!==Boolean||s){if((n===Date||e instanceof Date)&&!s)return e instanceof Date?new Date(e.valueOf()):null==e?e:new Date(e);if("object"==typeof e&&null!==e){n||e.constructor===Object||(n=e.constructor),!n&&t&&(n=t.constructor),this.options.enableCircularCheck&&this.transformedTypesMap.set(e,{level:a,object:e});var l=this.getKeys(n,e),d=t||{};t||this.transformationType!==r.PLAIN_TO_CLASS&&this.transformationType!==r.CLASS_TO_CLASS||(d=s?new Map:n?new n:{});for(var h=function(o){var c=o,u=o,l=o;if(!p.options.ignoreDecorators&&n)if(p.transformationType===r.PLAIN_TO_CLASS)(h=i.defaultMetadataStorage.findExposeMetadataByCustomName(n,o))&&(l=h.propertyName,u=h.propertyName);else if(p.transformationType===r.CLASS_TO_PLAIN||p.transformationType===r.CLASS_TO_CLASS){var h;(h=i.defaultMetadataStorage.findExposeMetadata(n,o))&&h.options&&h.options.name&&(u=h.options.name)}var f=void 0;f=e instanceof Map?e.get(c):e[c]instanceof Function?e[c]():e[c];var m=void 0,g=f instanceof Map;if(n&&s)m=n;else if(n){var _=i.defaultMetadataStorage.findTypeMetadata(n,l);if(_){var y={newObject:d,object:e,property:l};m=_.typeFunction(y),g=g||_.reflectedType===Map}else p.options.targetMaps&&p.options.targetMaps.filter((function(t){return t.target===n&&!!t.properties[l]})).forEach((function(t){return m=t.properties[l]}))}var b=e[c]instanceof Array?p.getReflectedType(n,l):void 0,v=t?t[c]:void 0;if(d.constructor.prototype){var w=Object.getOwnPropertyDescriptor(d.constructor.prototype,u);if((p.transformationType===r.PLAIN_TO_CLASS||p.transformationType===r.CLASS_TO_CLASS)&&(d[u]instanceof Function||w&&!w.set))return"continue"}if(p.options.enableCircularCheck&&p.isCircular(f,a)){if(p.transformationType===r.CLASS_TO_CLASS){S=f;S=p.applyCustomTransformations(S,n,o,e,p.transformationType),d instanceof Map?d.set(u,S):d[u]=S}}else{var C=p.transformationType===r.PLAIN_TO_CLASS?u:o,S=p.transform(v,f,m,b,g,a+1);S=p.applyCustomTransformations(S,n,C,e,p.transformationType),d instanceof Map?d.set(u,S):d[u]=S}},p=this,f=0,m=l;f<m.length;f++){h(m[f])}return d}return e}return Boolean(e)}return Number(e)}return String(e)},t.prototype.applyCustomTransformations=function(t,e,n,r,o){var s=this,a=i.defaultMetadataStorage.findTransformMetadatas(e,n,this.transformationType);return void 0!==this.options.version&&(a=a.filter((function(t){return!t.options||s.checkVersion(t.options.since,t.options.until)}))),(a=this.options.groups&&this.options.groups.length?a.filter((function(t){return!t.options||s.checkGroups(t.options.groups)})):a.filter((function(t){return!t.options||!t.options.groups||!t.options.groups.length}))).forEach((function(e){t=e.transformFn(t,r,o)})),t},t.prototype.isCircular=function(t,e){var n=this.transformedTypesMap.get(t);return void 0!==n&&n.level<e},t.prototype.getReflectedType=function(t,e){if(t){var n=i.defaultMetadataStorage.findTypeMetadata(t,e);return n?n.reflectedType:void 0}},t.prototype.getKeys=function(t,e){var n=this,o=i.defaultMetadataStorage.getStrategy(t);"none"===o&&(o=this.options.strategy||"exposeAll");var s=[];if("exposeAll"===o&&(s=e instanceof Map?Array.from(e.keys()):Object.keys(e)),!this.options.ignoreDecorators&&t){var a=i.defaultMetadataStorage.getExposedProperties(t,this.transformationType);this.transformationType===r.PLAIN_TO_CLASS&&(a=a.map((function(e){var n=i.defaultMetadataStorage.findExposeMetadata(t,e);return n&&n.options&&n.options.name?n.options.name:e}))),s=s.concat(a);var c=i.defaultMetadataStorage.getExcludedProperties(t,this.transformationType);c.length>0&&(s=s.filter((function(t){return-1===c.indexOf(t)}))),void 0!==this.options.version&&(s=s.filter((function(e){var r=i.defaultMetadataStorage.findExposeMetadata(t,e);return!r||!r.options||n.checkVersion(r.options.since,r.options.until)}))),s=this.options.groups&&this.options.groups.length?s.filter((function(e){var r=i.defaultMetadataStorage.findExposeMetadata(t,e);return!r||!r.options||n.checkGroups(r.options.groups)})):s.filter((function(e){var n=i.defaultMetadataStorage.findExposeMetadata(t,e);return!(n&&n.options&&n.options.groups&&n.options.groups.length)}))}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(s=s.filter((function(t){return n.options.excludePrefixes.every((function(e){return t.substr(0,e.length)!==e}))}))),s=s.filter((function(t,e,n){return n.indexOf(t)===e}))},t.prototype.checkVersion=function(t,e){var n=!0;return n&&t&&(n=this.options.version>=t),n&&e&&(n=this.options.version<e),n},t.prototype.checkGroups=function(t){return!t||this.options.groups.some((function(e){return-1!==t.indexOf(e)}))},t}();e.TransformOperationExecutor=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1079);e.defaultMetadataStorage=new r.MetadataStorage},,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1090);r.Observable.prototype.do=i._do,r.Observable.prototype._do=i._do},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3),i=n(7);function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.a)},function(t,e,n){"use strict";n.r(e),n.d(e,"SentryErrorHandler",(function(){return E})),n.d(e,"TraceClassDecorator",(function(){return L})),n.d(e,"TraceDirective",(function(){return P})),n.d(e,"TraceMethodDecorator",(function(){return V})),n.d(e,"TraceModule",(function(){return F})),n.d(e,"TraceService",(function(){return N})),n.d(e,"createErrorHandler",(function(){return x})),n.d(e,"getActiveTransaction",(function(){return M})),n.d(e,"init",(function(){return w})),n.d(e,"instrumentAngularRouting",(function(){return R})),n.d(e,"routingInstrumentation",(function(){return A}));var r=n(59),i=n(18),o=n(125),s=n(371),a=n(17),c=n(0),u=n(73),l=n(294);n.d(e,"FunctionToString",(function(){return l.FunctionToString})),n.d(e,"Hub",(function(){return l.Hub})),n.d(e,"InboundFilters",(function(){return l.InboundFilters})),n.d(e,"ModuleMetadata",(function(){return l.ModuleMetadata})),n.d(e,"SDK_VERSION",(function(){return l.SDK_VERSION})),n.d(e,"Scope",(function(){return l.Scope})),n.d(e,"addBreadcrumb",(function(){return l.addBreadcrumb})),n.d(e,"addGlobalEventProcessor",(function(){return l.addGlobalEventProcessor})),n.d(e,"addIntegration",(function(){return l.addIntegration})),n.d(e,"addTracingExtensions",(function(){return l.addTracingExtensions})),n.d(e,"captureEvent",(function(){return l.captureEvent})),n.d(e,"captureException",(function(){return l.captureException})),n.d(e,"captureMessage",(function(){return l.captureMessage})),n.d(e,"close",(function(){return l.close})),n.d(e,"configureScope",(function(){return l.configureScope})),n.d(e,"continueTrace",(function(){return l.continueTrace})),n.d(e,"createTransport",(function(){return l.createTransport})),n.d(e,"extractTraceparentData",(function(){return l.extractTraceparentData})),n.d(e,"flush",(function(){return l.flush})),n.d(e,"getActiveSpan",(function(){return l.getActiveSpan})),n.d(e,"getCurrentHub",(function(){return l.getCurrentHub})),n.d(e,"getHubFromCarrier",(function(){return l.getHubFromCarrier})),n.d(e,"lastEventId",(function(){return l.lastEventId})),n.d(e,"makeMain",(function(){return l.makeMain})),n.d(e,"makeMultiplexedTransport",(function(){return l.makeMultiplexedTransport})),n.d(e,"setContext",(function(){return l.setContext})),n.d(e,"setExtra",(function(){return l.setExtra})),n.d(e,"setExtras",(function(){return l.setExtras})),n.d(e,"setMeasurement",(function(){return l.setMeasurement})),n.d(e,"setTag",(function(){return l.setTag})),n.d(e,"setTags",(function(){return l.setTags})),n.d(e,"setUser",(function(){return l.setUser})),n.d(e,"spanStatusfromHttpCode",(function(){return l.spanStatusfromHttpCode})),n.d(e,"startInactiveSpan",(function(){return l.startInactiveSpan})),n.d(e,"startSpan",(function(){return l.startSpan})),n.d(e,"startSpanManual",(function(){return l.startSpanManual})),n.d(e,"startTransaction",(function(){return l.startTransaction})),n.d(e,"trace",(function(){return l.trace})),n.d(e,"withScope",(function(){return l.withScope})),n.d(e,"WINDOW",(function(){return l.WINDOW})),n.d(e,"BrowserClient",(function(){return l.BrowserClient})),n.d(e,"makeFetchTransport",(function(){return l.makeFetchTransport})),n.d(e,"makeXHRTransport",(function(){return l.makeXHRTransport})),n.d(e,"chromeStackLineParser",(function(){return l.chromeStackLineParser})),n.d(e,"defaultStackLineParsers",(function(){return l.defaultStackLineParsers})),n.d(e,"defaultStackParser",(function(){return l.defaultStackParser})),n.d(e,"geckoStackLineParser",(function(){return l.geckoStackLineParser})),n.d(e,"opera10StackLineParser",(function(){return l.opera10StackLineParser})),n.d(e,"opera11StackLineParser",(function(){return l.opera11StackLineParser})),n.d(e,"winjsStackLineParser",(function(){return l.winjsStackLineParser})),n.d(e,"eventFromException",(function(){return l.eventFromException})),n.d(e,"eventFromMessage",(function(){return l.eventFromMessage})),n.d(e,"exceptionFromError",(function(){return l.exceptionFromError})),n.d(e,"createUserFeedbackEnvelope",(function(){return l.createUserFeedbackEnvelope})),n.d(e,"captureUserFeedback",(function(){return l.captureUserFeedback})),n.d(e,"defaultIntegrations",(function(){return l.defaultIntegrations})),n.d(e,"forceLoad",(function(){return l.forceLoad})),n.d(e,"onLoad",(function(){return l.onLoad})),n.d(e,"showReportDialog",(function(){return l.showReportDialog})),n.d(e,"wrap",(function(){return l.wrap})),n.d(e,"Replay",(function(){return l.Replay})),n.d(e,"BrowserTracing",(function(){return l.BrowserTracing})),n.d(e,"defaultRequestInstrumentationOptions",(function(){return l.defaultRequestInstrumentationOptions})),n.d(e,"instrumentOutgoingRequests",(function(){return l.instrumentOutgoingRequests})),n.d(e,"makeBrowserOfflineTransport",(function(){return l.makeBrowserOfflineTransport})),n.d(e,"onProfilingStartRouteTransaction",(function(){return l.onProfilingStartRouteTransaction})),n.d(e,"BrowserProfilingIntegration",(function(){return l.BrowserProfilingIntegration})),n.d(e,"GlobalHandlers",(function(){return l.GlobalHandlers})),n.d(e,"TryCatch",(function(){return l.TryCatch})),n.d(e,"Breadcrumbs",(function(){return l.Breadcrumbs})),n.d(e,"LinkedErrors",(function(){return l.LinkedErrors})),n.d(e,"HttpContext",(function(){return l.HttpContext})),n.d(e,"Dedupe",(function(){return l.Dedupe})),n.d(e,"Integrations",(function(){return l.Integrations}));var d=n(15),h=n(25),p=n(42),f=n(600),m=n(109),g=n(72),_=n(20),y=n(46),b=n(76);const v="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function w(t){const e=Object.assign({_metadata:{},defaultIntegrations:o.b.filter((t=>"TryCatch"!==t.name))},t);e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.angular",packages:[{name:"npm:@sentry/angular",version:s.a}],version:s.a},function(){const t=10,e=c.VERSION&&c.VERSION.major?parseInt(c.VERSION.major,10):void 0;e&&(e<t&&v&&d.c.warn(`The Sentry SDK does not officially support Angular ${e}.`,`This version of the Sentry SDK supports Angular ${t} and above.`,"Please consider upgrading your Angular version or downgrading the Sentry SDK."),Object(r.i)("angular",{version:e}))}(),Object(o.d)(e)}const C="undefined"!=typeof Zone&&!!Zone.current;function S(t){return C?Zone.root.run(t):t()}function O(t){if(t instanceof Error)return!0;if(null===t||"object"!=typeof t)return!1;const e=t;return Object(h.l)(e.name)&&Object(h.l)(e.message)&&(void 0===e.stack||Object(h.l)(e.stack))}class E{constructor(t){this._registeredAfterSendEventHandler=!1,this._options=Object.assign({logErrors:!0},t)}handleError(t){const e=this._extractError(t)||"Handled unknown error",n=S((()=>r.c(e,(t=>(t.addEventProcessor((t=>(Object(p.a)(t,{type:"angular",handled:!1}),t))),t)))));if(this._options.logErrors,this._options.showDialog){const t=i.b().getClient();t&&t.on&&!this._registeredAfterSendEventHandler?(t.on("afterSendEvent",(t=>{t.type||o.f(Object.assign(Object.assign({},this._options.dialogOptions),{eventId:t.event_id}))})),this._registeredAfterSendEventHandler=!0):t&&t.on||o.f(Object.assign(Object.assign({},this._options.dialogOptions),{eventId:n}))}}_extractError(t){if(this._options.extractor){const e=this._defaultExtractor.bind(this);return this._options.extractor(t,e)}return this._defaultExtractor(t)}_defaultExtractor(t){const e=function(t){return t&&t.ngOriginalError?t.ngOriginalError:t}(t);return e instanceof g.HttpErrorResponse?function(t){return O(t.error)?t.error:t.error instanceof ErrorEvent&&t.error.message?t.error.message:"string"==typeof t.error?`Server returned code ${t.status} with body "${t.error}"`:t.message}(e):"string"==typeof e||O(e)?e:null}}function x(t){return new E(t)}E.\u0275fac=function(t){return new(t||E)(c["\u0275\u0275inject"]("errorHandlerOptions"))},E.\u0275prov=c["\u0275\u0275defineInjectable"]({factory:function(){return new E(c["\u0275\u0275inject"]("errorHandlerOptions"))},token:E,providedIn:"root"}),E.ctorParameters=()=>[{type:void 0,decorators:[{type:c.Inject,args:["errorHandlerOptions"]}]}];const I="ui.angular.init",k="ui.angular";let D,T,j;function A(t,e=!0,n=!0){D=!0,T=t,j=n,e&&a.a&&a.a.location&&t({name:a.a.location.pathname,op:"pageload",origin:"auto.pageload.angular",metadata:{source:"url"}})}const R=A;function M(){const t=Object(i.b)();if(t){return t.getScope().getTransaction()}}class N{constructor(t){this._router=t,this.navStart$=this._router.events.pipe(Object(y.a)((t=>t instanceof u.NavigationStart)),Object(b.a)((t=>{if(!D)return void(v&&d.c.error("Angular integration has tracing enabled, but Tracing integration is not configured"));const e=Object(f.b)(t.url);let n=M();!n&&j&&(n=T({name:e,op:"navigation",origin:"auto.navigation.angular",metadata:{source:"url"}})),n&&(this._routingSpan&&this._routingSpan.finish(),this._routingSpan=n.startChild({description:`${t.url}`,op:"ui.angular.routing",origin:"auto.ui.angular",tags:Object.assign({"routing.instrumentation":"@sentry/angular",url:e},t.navigationTrigger&&{navigationTrigger:t.navigationTrigger})}))}))),this.resEnd$=this._router.events.pipe(Object(y.a)((t=>t instanceof u.ResolveEnd)),Object(b.a)((t=>{const e=function(t){const e=[];let n=t&&t.firstChild;for(;n;){const t=n&&n.routeConfig&&n.routeConfig.path;if(null==t)break;e.push(t),n=n.firstChild}const r=e.filter((t=>t)).join("/");return r?`/${r}/`:"/"}(t.state.root),n=M();n&&"url"===n.metadata.source&&n.setName(e,"route")}))),this.navEnd$=this._router.events.pipe(Object(y.a)((t=>t instanceof u.NavigationEnd||t instanceof u.NavigationCancel||t instanceof u.NavigationError)),Object(b.a)((()=>{this._routingSpan&&(S((()=>{this._routingSpan.finish()})),this._routingSpan=null)}))),this._routingSpan=null,this._subscription=new _.a,this._subscription.add(this.navStart$.subscribe()),this._subscription.add(this.resEnd$.subscribe()),this._subscription.add(this.navEnd$.subscribe())}ngOnDestroy(){this._subscription.unsubscribe()}}N.\u0275fac=function(t){return new(t||N)(c["\u0275\u0275inject"](u.Router))},N.\u0275prov=c["\u0275\u0275defineInjectable"]({factory:function(){return new N(c["\u0275\u0275inject"](u.Router))},token:N,providedIn:"root"}),N.ctorParameters=()=>[{type:u.Router}];class P{ngOnInit(){this.componentName||(this.componentName="unknown");const t=M();t&&(this._tracingSpan=t.startChild({description:`<${this.componentName}>`,op:I,origin:"auto.ui.angular.trace_directive"}))}ngAfterViewInit(){this._tracingSpan&&this._tracingSpan.finish()}}P.\u0275fac=function(t){return new(t||P)},P.\u0275dir=c["\u0275\u0275defineDirective"]({type:P,selectors:[["","trace",""]],inputs:{componentName:["trace","componentName"]}}),P.propDecorators={componentName:[{type:c.Input,args:["trace"]}]};class F{}function L(){let t;return e=>{const n=e.prototype.ngOnInit;e.prototype.ngOnInit=function(...r){const i=M();if(i&&(t=i.startChild({description:`<${e.name}>`,op:I,origin:"auto.ui.angular.trace_class_decorator"})),n)return n.apply(this,r)};const r=e.prototype.ngAfterViewInit;e.prototype.ngAfterViewInit=function(...e){if(t&&t.finish(),r)return r.apply(this,e)}}}function V(){return(t,e,n)=>{const r=n.value;return n.value=function(...n){const i=Object(m.c)(),o=M();if(o&&o.startChild({description:`<${t.constructor.name}>`,endTimestamp:i,op:`${k}.${String(e)}`,origin:"auto.ui.angular.trace_method_decorator",startTimestamp:i}),r)return r.apply(this,n)},n}}F.\u0275mod=c["\u0275\u0275defineNgModule"]({type:F}),F.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(t){return new(t||F)}}),("undefined"==typeof ngJitMode||ngJitMode)&&c["\u0275\u0275setNgModuleScope"](F,{declarations:[P],exports:[P]})},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(199),i=n(264),o=n(193);function s(t,e){let n;return Object(r.g)(t,((t,r)=>(e.includes(r)&&(n=Array.isArray(t)?t[1]:void 0),!!n))),n}function a(t,e){return n=>{const r=t(n),a={};function c(e,r){const c=r?`${e}:${r}`:e;if(!a[c]){const u=Object(i.a)(e);if(!u)return;const l=Object(o.a)(u);a[c]=r?function(t,e){return n=>{const r=t(n);return{send:async t=>{const n=s(t,["event","transaction","profile","replay_event"]);return n&&(n.release=e),r.send(t)},flush:t=>r.flush(t)}}}(t,r)({...n,url:l}):t({...n,url:l})}return a[c]}return{send:async function(t){const n=e({envelope:t,getEvent:function(e){const n=e&&e.length?e:["event"];return s(t,n)}}).map((t=>"string"==typeof t?c(t,void 0):c(t.dsn,t.release))).filter((t=>!!t));return 0===n.length&&n.push(r),(await Promise.all(n.map((e=>e.send(t)))))[0]},flush:async function(t){const e=[...Object.keys(a).map((t=>a[t])),r];return(await Promise.all(e.map((e=>e.flush(t))))).every((t=>t))}}}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(257);function i(t,e,n){const i=Object(r.a)();i&&i.setMeasurement(t,e,n)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return jr}));var r=n(18),i=n(438),o=n(140),s=n(299),a=n(59),c=n(47),u=n(142),l=n(33),d=n(304),h=n(15),p=n(42),f=n(176),m=n(91),g=n(109),_=n(199),y=n(373);const b=c.a,v="sentryReplaySession",w="replay_event",C="Unable to send Replay",S=15e4,O=5e3,E=2e7,x=36e5;var I;function k(t){const e=null==t?void 0:t.host;return Boolean((null==e?void 0:e.shadowRoot)===t)}function D(t){return"[object ShadowRoot]"===Object.prototype.toString.call(t)}function T(t){try{const n=t.rules||t.cssRules;return n?((e=Array.from(n,j).join("")).includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),e):null}catch(t){return null}var e}function j(t){let e;if(function(t){return"styleSheet"in t}(t))try{e=T(t.styleSheet)||function(t){const{cssText:e}=t;if(e.split('"').length<3)return e;const n=["@import",`url(${JSON.stringify(t.href)})`];return""===t.layerName?n.push("layer"):t.layerName&&n.push(`layer(${t.layerName})`),t.supportsText&&n.push(`supports(${t.supportsText})`),t.media.length&&n.push(t.media.mediaText),n.join(" ")+";"}(t)}catch(t){}else if(function(t){return"selectorText"in t}(t)&&t.selectorText.includes(":"))return function(t){const e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(e,"$1\\$2")}(t.cssText);return e||t.cssText}!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(I||(I={}));class A{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(t){var e;if(!t)return-1;const n=null===(e=this.getMeta(t))||void 0===e?void 0:e.id;return null!=n?n:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const e=this.getId(t);this.idNodeMap.delete(e),t.childNodes&&t.childNodes.forEach((t=>this.removeNodeFromMap(t)))}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,e){const n=e.id;this.idNodeMap.set(n,t),this.nodeMetaMap.set(t,e)}replace(t,e){const n=this.getNode(t);if(n){const t=this.nodeMetaMap.get(n);t&&this.nodeMetaMap.set(e,t)}this.idNodeMap.set(t,e)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function R({maskInputOptions:t,tagName:e,type:n}){return"OPTION"===e&&(e="SELECT"),Boolean(t[e.toLowerCase()]||n&&t[n]||"password"===n||"INPUT"===e&&!n&&t.text)}function M({isMasked:t,element:e,value:n,maskInputFn:r}){let i=n||"";return t?(r&&(i=r(i,e)),"*".repeat(i.length)):i}function N(t){return t.toLowerCase()}function P(t){return t.toUpperCase()}const F="__rrweb_original__";function L(t){const e=t.type;return t.hasAttribute("data-rr-is-password")?"password":e?N(e):null}function V(t,e,n){return"INPUT"!==e||"radio"!==n&&"checkbox"!==n?t.value:t.getAttribute("value")||""}let B=1;const U=new RegExp("[^a-z0-9-_:]"),z=-2;function H(){return B++}let $,G;const q=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,W=/^(?:[a-z+]+:)?\/\//i,Y=/^www\..*/i,Z=/^(data:)([^,]*),(.*)/i;function K(t,e){return(t||"").replace(q,((t,n,r,i,o,s)=>{const a=r||o||s,c=n||i||"";if(!a)return t;if(W.test(a)||Y.test(a))return`url(${c}${a}${c})`;if(Z.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(t){let e="";return e=t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0],e=e.split("?")[0],e}(e)+a}${c})`;const u=e.split("/"),l=a.split("/");u.pop();for(const t of l)"."!==t&&(".."===t?u.pop():u.push(t));return`url(${c}${u.join("/")}${c})`}))}const Q=/^[^ \t\n\r\u000c]+/,J=/^[, \t\n\r\u000c]+/;function X(t,e){if(!e||""===e.trim())return e;const n=t.createElement("a");return n.href=e,n.href}function tt(t){return Boolean("svg"===t.tagName||t.ownerSVGElement)}function et(){const t=document.createElement("a");return t.href="",t.href}function nt(t,e,n,r,i,o){return r?"src"===n||"href"===n&&("use"!==e||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?X(t,r):"background"!==n||"table"!==e&&"td"!==e&&"th"!==e?"srcset"===n?function(t,e){if(""===e.trim())return e;let n=0;function r(t){let r;const i=t.exec(e.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(J),!(n>=e.length);){let o=r(Q);if(","===o.slice(-1))o=X(t,o.substring(0,o.length-1)),i.push(o);else{let r="";o=X(t,o);let s=!1;for(;;){const t=e.charAt(n);if(""===t){i.push((o+r).trim());break}if(s)")"===t&&(s=!1);else{if(","===t){n+=1,i.push((o+r).trim());break}"("===t&&(s=!0)}r+=t,n+=1}}}return i.join(", ")}(t,r):"style"===n?K(r,et()):"object"===e&&"data"===n?X(t,r):"function"==typeof o?o(n,r,i):r:X(t,r):r}function rt(t,e,n){return("video"===t||"audio"===t)&&"autoplay"===e}function it(t,e,n=1/0,r=0){return t?t.nodeType!==t.ELEMENT_NODE||r>n?-1:e(t)?r:it(t.parentNode,e,n,r+1):-1}function ot(t,e){return n=>{const r=n;if(null===r)return!1;if(t)if("string"==typeof t){if(r.matches(`.${t}`))return!0}else if(function(t,e){for(let n=t.classList.length;n--;){const r=t.classList[n];if(e.test(r))return!0}return!1}(r,t))return!0;return!(!e||!r.matches(e))}}function st(t,e,n,r,i,o){try{const s=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(null===s)return!1;let a=-1,c=-1;if(o){if(c=it(s,ot(r,i)),c<0)return!0;a=it(s,ot(e,n),c>=0?c:1/0)}else{if(a=it(s,ot(e,n)),a<0)return!1;c=it(s,ot(r,i),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0)&&!!o}catch(t){}return!!o}function at(t,e){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:p,maskInputOptions:f={},maskTextFn:m,maskInputFn:g,dataURLOptions:_={},inlineImages:y,recordCanvas:b,keepIframeSrcFn:v,newlyAddedElement:w=!1}=e,C=function(t,e){if(!e.hasNode(t))return;const n=e.getId(t);return 1===n?void 0:n}(n,r);switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:I.Document,childNodes:[],compatMode:t.compatMode}:{type:I.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:I.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:C};case t.ELEMENT_NODE:return function(t,e){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:l={},inlineImages:d,recordCanvas:h,keepIframeSrcFn:p,newlyAddedElement:f=!1,rootId:m,maskAllText:g,maskTextClass:_,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:v}=e,w=function(t,e,n,r){try{if(r&&t.matches(r))return!1;if("string"==typeof e){if(t.classList.contains(e))return!0}else for(let n=t.classList.length;n--;){const r=t.classList[n];if(e.test(r))return!0}if(n)return t.matches(n)}catch(t){}return!1}(t,r,i,o),C=function(t){if(t instanceof HTMLFormElement)return"form";const e=N(t.tagName);return U.test(e)?"div":e}(t);let S={};const O=t.attributes.length;for(let e=0;e<O;e++){const r=t.attributes[e];rt(C,r.name,r.value)||(S[r.name]=nt(n,C,N(r.name),r.value,t,c))}if("link"===C&&s){const e=Array.from(n.styleSheets).find((e=>e.href===t.href));let r=null;e&&(r=T(e)),r&&(delete S.rel,delete S.href,S._cssText=K(r,e.href))}if("style"===C&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){const e=T(t.sheet);e&&(S._cssText=K(e,et()))}if("input"===C||"textarea"===C||"select"===C||"option"===C){const e=t,n=L(e),r=V(e,P(C),n),i=e.checked;if("submit"!==n&&"button"!==n&&r){const t=st(e,_,b,y,v,R({type:n,tagName:P(C),maskInputOptions:a}));S.value=M({isMasked:t,element:e,value:r,maskInputFn:u})}i&&(S.checked=i)}"option"===C&&(t.selected&&!a.select?S.selected=!0:delete S.selected);if("canvas"===C&&h)if("2d"===t.__context)(function(t){const e=t.getContext("2d");if(!e)return!0;for(let n=0;n<t.width;n+=50)for(let r=0;r<t.height;r+=50){const i=e.getImageData,o=F in i?i[F]:i;if(new Uint32Array(o.call(e,n,r,Math.min(50,t.width-n),Math.min(50,t.height-r)).data.buffer).some((t=>0!==t)))return!1}return!0})(t)||(S.rr_dataURL=t.toDataURL(l.type,l.quality));else if(!("__context"in t)){const e=t.toDataURL(l.type,l.quality),n=document.createElement("canvas");n.width=t.width,n.height=t.height;e!==n.toDataURL(l.type,l.quality)&&(S.rr_dataURL=e)}if("img"===C&&d){$||($=n.createElement("canvas"),G=$.getContext("2d"));const e=t,r=e.crossOrigin;e.crossOrigin="anonymous";const i=()=>{e.removeEventListener("load",i);try{$.width=e.naturalWidth,$.height=e.naturalHeight,G.drawImage(e,0,0),S.rr_dataURL=$.toDataURL(l.type,l.quality)}catch(t){}r?S.crossOrigin=r:e.removeAttribute("crossorigin")};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}"audio"!==C&&"video"!==C||(S.rr_mediaState=t.paused?"paused":"played",S.rr_mediaCurrentTime=t.currentTime);f||(t.scrollLeft&&(S.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(S.rr_scrollTop=t.scrollTop));if(w){const{width:e,height:n}=t.getBoundingClientRect();S={class:S.class,rr_width:`${e}px`,rr_height:`${n}px`}}"iframe"!==C||p(S.src)||(t.contentDocument||(S.rr_src=S.src),delete S.src);let E;try{customElements.get(C)&&(E=!0)}catch(t){}return{type:I.Element,tagName:C,attributes:S,childNodes:[],isSVG:tt(t)||void 0,needBlock:w,rootId:m,isCustom:E}}(t,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:f,maskInputFn:g,dataURLOptions:_,inlineImages:y,recordCanvas:b,keepIframeSrcFn:v,newlyAddedElement:w,rootId:C,maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:h});case t.TEXT_NODE:return function(t,e){var n;const{maskAllText:r,maskTextClass:i,unmaskTextClass:o,maskTextSelector:s,unmaskTextSelector:a,maskTextFn:c,maskInputOptions:u,maskInputFn:l,rootId:d}=e,h=t.parentNode&&t.parentNode.tagName;let p=t.textContent;const f="STYLE"===h||void 0,m="SCRIPT"===h||void 0,g="TEXTAREA"===h||void 0;if(f&&p){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(p=T(t.parentNode.sheet))}catch(t){}p=K(p,et())}m&&(p="SCRIPT_PLACEHOLDER");const _=st(t,i,s,o,a,r);f||m||g||!p||!_||(p=c?c(p):p.replace(/[\S]/g,"*"));g&&p&&(u.textarea||_)&&(p=l?l(p,t.parentNode):p.replace(/[\S]/g,"*"));if("OPTION"===h&&p){p=M({isMasked:st(t,i,s,o,a,R({type:null,tagName:h,maskInputOptions:u})),element:t,value:p,maskInputFn:l})}return{type:I.Text,textContent:p||"",isStyle:f,rootId:d}}(t,{maskAllText:a,maskTextClass:u,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:h,maskTextFn:m,maskInputOptions:f,maskInputFn:g,rootId:C});case t.CDATA_SECTION_NODE:return{type:I.CDATA,textContent:"",rootId:C};case t.COMMENT_NODE:return{type:I.Comment,textContent:t.textContent||"",rootId:C};default:return!1}}function ct(t){return null==t?"":t.toLowerCase()}function ut(t,e){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:h=!1,inlineStylesheet:p=!0,maskInputOptions:f={},maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:y,dataURLOptions:b={},inlineImages:v=!1,recordCanvas:w=!1,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:O=5e3,onStylesheetLoad:E,stylesheetLoadTimeout:x=5e3,keepIframeSrcFn:T=(()=>!1),newlyAddedElement:j=!1}=e;let{preserveWhiteSpace:A=!0}=e;const R=at(t,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,dataURLOptions:b,inlineImages:v,recordCanvas:w,keepIframeSrcFn:T,newlyAddedElement:j});if(!R)return null;let M;M=r.hasNode(t)?r.getId(t):!function(t,e){if(e.comment&&t.type===I.Comment)return!0;if(t.type===I.Element){if(e.script&&("script"===t.tagName||"link"===t.tagName&&("preload"===t.attributes.rel||"modulepreload"===t.attributes.rel)&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"==typeof t.attributes.href&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(ct(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ct(t.attributes.name)||"icon"===ct(t.attributes.rel)||"apple-touch-icon"===ct(t.attributes.rel)||"shortcut icon"===ct(t.attributes.rel))))return!0;if("meta"===t.tagName){if(e.headMetaDescKeywords&&ct(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(ct(t.attributes.property).match(/^(og|twitter|fb):/)||ct(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===ct(t.attributes.name)))return!0;if(e.headMetaRobots&&("robots"===ct(t.attributes.name)||"googlebot"===ct(t.attributes.name)||"bingbot"===ct(t.attributes.name)))return!0;if(e.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;if(e.headMetaAuthorship&&("author"===ct(t.attributes.name)||"generator"===ct(t.attributes.name)||"framework"===ct(t.attributes.name)||"publisher"===ct(t.attributes.name)||"progid"===ct(t.attributes.name)||ct(t.attributes.property).match(/^article:/)||ct(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&("google-site-verification"===ct(t.attributes.name)||"yandex-verification"===ct(t.attributes.name)||"csrf-token"===ct(t.attributes.name)||"p:domain_verify"===ct(t.attributes.name)||"verify-v1"===ct(t.attributes.name)||"verification"===ct(t.attributes.name)||"shopify-checkout-api-token"===ct(t.attributes.name)))return!0}}return!1}(R,y)&&(A||R.type!==I.Text||R.isStyle||R.textContent.replace(/^\s+|\s+$/gm,"").length)?H():z;const N=Object.assign(R,{id:M});if(r.add(t,N),M===z)return null;C&&C(t);let P=!h;if(N.type===I.Element){P=P&&!N.needBlock,delete N.needBlock;const e=t.shadowRoot;e&&D(e)&&(N.isShadowHost=!0)}if((N.type===I.Document||N.type===I.Element)&&P){y.headWhitespace&&N.type===I.Element&&"head"===N.tagName&&(A=!1);const e={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:h,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:y,dataURLOptions:b,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T};for(const n of Array.from(t.childNodes)){const t=ut(n,e);t&&N.childNodes.push(t)}if(function(t){return t.nodeType===t.ELEMENT_NODE}(t)&&t.shadowRoot)for(const n of Array.from(t.shadowRoot.childNodes)){const r=ut(n,e);r&&(D(t.shadowRoot)&&(r.isShadow=!0),N.childNodes.push(r))}}return t.parentNode&&k(t.parentNode)&&D(t.parentNode)&&(N.isShadow=!0),N.type===I.Element&&"iframe"===N.tagName&&function(t,e,n){const r=t.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(t){return}if("complete"!==i){const r=setTimeout((()=>{o||(e(),o=!0)}),n);return void t.addEventListener("load",(()=>{clearTimeout(r),o=!0,e()}))}const s="about:blank";if(r.location.href!==s||t.src===s||""===t.src)return setTimeout(e,0),t.addEventListener("load",e);t.addEventListener("load",e)}(t,(()=>{const e=t.contentDocument;if(e&&S){const n=ut(e,{doc:e,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:y,dataURLOptions:b,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T});n&&S(t,n)}}),O),N.type===I.Element&&"link"===N.tagName&&"stylesheet"===N.attributes.rel&&function(t,e,n){let r,i=!1;try{r=t.sheet}catch(t){return}if(r)return;const o=setTimeout((()=>{i||(e(),i=!0)}),n);t.addEventListener("load",(()=>{clearTimeout(o),i=!0,e()}))}(t,(()=>{if(E){const e=ut(t,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:u,maskTextSelector:l,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:y,dataURLOptions:b,inlineImages:v,recordCanvas:w,preserveWhiteSpace:A,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T});e&&E(t,e)}}),x),N}function lt(t,e,n=document){const r={capture:!0,passive:!0};return n.addEventListener(t,e,r),()=>n.removeEventListener(t,e,r)}let dt={map:{},getId:()=>-1,getNode:()=>null,removeNodeFromMap(){},has:()=>!1,reset(){}};function ht(t,e,n={}){let r=null,i=0;return function(...o){const s=Date.now();i||!1!==n.leading||(i=s);const a=e-(s-i),c=this;a<=0||a>e?(r&&(clearTimeout(r),r=null),i=s,t.apply(c,o)):r||!1===n.trailing||(r=setTimeout((()=>{i=!1===n.leading?0:Date.now(),r=null,t.apply(c,o)}),a))}}function pt(t,e,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(t,e);return i.Object.defineProperty(t,e,r?n:{set(t){setTimeout((()=>{n.set.call(this,t)}),0),o&&o.set&&o.set.call(this,t)}}),()=>pt(t,e,o||{},!0)}function ft(t,e,n){try{if(!(e in t))return()=>{};const r=t[e],i=n(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),t[e]=i,()=>{t[e]=r}}catch(t){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(dt=new Proxy(dt,{get:(t,e,n)=>Reflect.get(t,e,n)}));let mt=Date.now;function gt(t){var e,n,r,i,o,s;const a=t.document;return{left:a.scrollingElement?a.scrollingElement.scrollLeft:void 0!==t.pageXOffset?t.pageXOffset:(null==a?void 0:a.documentElement.scrollLeft)||(null===(n=null===(e=null==a?void 0:a.body)||void 0===e?void 0:e.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===(r=null==a?void 0:a.body)||void 0===r?void 0:r.scrollLeft)||0,top:a.scrollingElement?a.scrollingElement.scrollTop:void 0!==t.pageYOffset?t.pageYOffset:(null==a?void 0:a.documentElement.scrollTop)||(null===(o=null===(i=null==a?void 0:a.body)||void 0===i?void 0:i.parentElement)||void 0===o?void 0:o.scrollTop)||(null===(s=null==a?void 0:a.body)||void 0===s?void 0:s.scrollTop)||0}}function _t(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function yt(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function bt(t,e,n,r,i){if(!t)return!1;const o=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!o)return!1;const s=ot(e,n);if(!i){const t=r&&o.matches(r);return s(o)&&!t}const a=it(o,s);let c=-1;return!(a<0)&&(r&&(c=it(o,ot(null,r))),a>-1&&c<0||a<c)}function vt(t,e){return e.getId(t)===z}function wt(t,e){if(k(t))return!1;const n=e.getId(t);return!e.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||wt(t.parentNode,e))}function Ct(t){return Boolean(t.changedTouches)}function St(t,e){return Boolean("IFRAME"===t.nodeName&&e.getMeta(t))}function Ot(t,e){return Boolean("LINK"===t.nodeName&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&"stylesheet"===t.getAttribute("rel")&&e.getMeta(t))}function Et(t){return Boolean(null==t?void 0:t.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(mt=()=>(new Date).getTime());class xt{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(t){var e;return null!==(e=this.styleIDMap.get(t))&&void 0!==e?e:-1}has(t){return this.styleIDMap.has(t)}add(t,e){if(this.has(t))return this.getId(t);let n;return n=void 0===e?this.id++:e,this.styleIDMap.set(t,n),this.idStyleMap.set(n,t),n}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function It(t){var e,n;let r=null;return(null===(n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t))||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&t.getRootNode().host&&(r=t.getRootNode().host),r}function kt(t){const e=t.ownerDocument;if(!e)return!1;const n=function(t){let e,n=t;for(;e=It(n);)n=e;return n}(t);return e.contains(n)}function Dt(t){const e=t.ownerDocument;return!!e&&(e.contains(t)||kt(t))}var Tt=(t=>(t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t))(Tt||{}),jt=(t=>(t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t))(jt||{}),At=(t=>(t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel",t))(At||{}),Rt=(t=>(t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t))(Rt||{}),Mt=(t=>(t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t))(Mt||{});function Nt(t){return"__ln"in t}class Pt{constructor(){this.length=0,this.head=null,this.tail=null}get(t){if(t>=this.length)throw new Error("Position outside of list range");let e=this.head;for(let n=0;n<t;n++)e=(null==e?void 0:e.next)||null;return e}addNode(t){const e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&Nt(t.previousSibling)){const n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else if(t.nextSibling&&Nt(t.nextSibling)&&t.nextSibling.__ln.previous){const n=t.nextSibling.__ln.previous;e.previous=n,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,n&&(n.next=e)}else this.head&&(this.head.previous=e),e.next=this.head,this.head=e;null===e.next&&(this.tail=e),this.length++}removeNode(t){const e=t.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next?e.next.previous=e.previous:this.tail=e.previous):(this.head=e.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const Ft=(t,e)=>`${t}@${e}`;class Lt{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=t=>{t.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const t=[],e=new Set,n=new Pt,r=t=>{let e=t,n=z;for(;n===z;)e=e&&e.nextSibling,n=e&&this.mirror.getId(e);return n},i=i=>{if(!i.parentNode||!Dt(i))return;const o=k(i.parentNode)?this.mirror.getId(It(i)):this.mirror.getId(i.parentNode),s=r(i);if(-1===o||-1===s)return n.addNode(i);const a=ut(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:t=>{St(t,this.mirror)&&this.iframeManager.addIframe(t),Ot(t,this.mirror)&&this.stylesheetManager.trackLinkElement(t),Et(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(t,e)=>{this.iframeManager.attachIframe(t,e),this.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:(t,e)=>{this.stylesheetManager.attachLinkElement(t,e)}});a&&(t.push({parentId:o,nextId:s,node:a}),e.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const t of this.movedSet)Bt(this.removes,t,this.mirror)&&!this.movedSet.has(t.parentNode)||i(t);for(const t of this.addedSet)zt(this.droppedSet,t)||Bt(this.removes,t,this.mirror)?zt(this.movedSet,t)?i(t):this.droppedSet.add(t):i(t);let o=null;for(;n.length;){let t=null;if(o){const e=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==e&&-1!==n&&(t=o)}if(!t){let e=n.tail;for(;e;){const n=e;if(e=e.previous,n){const e=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==e){t=n;break}{const e=n.value;if(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=e.parentNode.host;if(-1!==this.mirror.getId(r)){t=n;break}}}}}}if(!t){for(;n.head;)n.removeNode(n.head.value);break}o=t.previous,n.removeNode(t.value),i(t.value)}const s={texts:this.texts.map((t=>({id:this.mirror.getId(t.node),value:t.value}))).filter((t=>!e.has(t.id))).filter((t=>this.mirror.has(t.id))),attributes:this.attributes.map((t=>{const{attributes:e}=t;if("string"==typeof e.style){const n=JSON.stringify(t.styleDiff),r=JSON.stringify(t._unchangedStyles);n.length<e.style.length&&(n+r).split("var(").length===e.style.split("var(").length&&(e.style=t.styleDiff)}return{id:this.mirror.getId(t.node),attributes:e}})).filter((t=>!e.has(t.id))).filter((t=>this.mirror.has(t.id))),removes:this.removes,adds:t};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=t=>{if(vt(t.target,this.mirror))return;let e;try{e=document.implementation.createHTMLDocument()}catch(t){e=this.doc}switch(t.type){case"characterData":{const e=t.target.textContent;bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||e===t.oldValue||this.texts.push({value:st(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&e?this.maskTextFn?this.maskTextFn(e):e.replace(/[\S]/g,"*"):e,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,i=t.target.getAttribute(r);if("value"===r){const e=L(n),r=n.tagName;i=V(n,r,e);const o=R({maskInputOptions:this.maskInputOptions,tagName:r,type:e});i=M({isMasked:st(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:i,maskInputFn:this.maskInputFn})}if(bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===t.oldValue)return;let o=this.attributes.find((e=>e.node===t.target));if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(n.contentDocument)return;r="rr_src"}if(o||(o={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o)),"type"===r&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!rt(n.tagName,r)&&(o.attributes[r]=nt(this.doc,N(n.tagName),N(r),i,n,this.maskAttributeFn),"style"===r)){const r=e.createElement("span");t.oldValue&&r.setAttribute("style",t.oldValue);for(const t of Array.from(n.style)){const e=n.style.getPropertyValue(t),i=n.style.getPropertyPriority(t);e!==r.style.getPropertyValue(t)||i!==r.style.getPropertyPriority(t)?o.styleDiff[t]=""===i?e:[e,i]:o._unchangedStyles[t]=[e,i]}for(const t of Array.from(r.style))""===n.style.getPropertyValue(t)&&(o.styleDiff[t]=!1)}break}case"childList":if(bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach((e=>this.genAdds(e,t.target))),t.removedNodes.forEach((e=>{const n=this.mirror.getId(e),r=k(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);bt(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||vt(e,this.mirror)||!function(t,e){return-1!==e.getId(t)}(e,this.mirror)||(this.addedSet.has(e)?(Vt(this.addedSet,e),this.droppedSet.add(e)):this.addedSet.has(t.target)&&-1===n||wt(t.target,this.mirror)||(this.movedSet.has(e)&&this.movedMap[Ft(n,r)]?Vt(this.movedSet,e):this.removes.push({parentId:r,id:n,isShadow:!(!k(t.target)||!D(t.target))||void 0})),this.mapRemoves.push(e))}))}},this.genAdds=(t,e)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!this.addedSet.has(t)&&!this.movedSet.has(t)){if(this.mirror.hasNode(t)){if(vt(t,this.mirror))return;this.movedSet.add(t);let n=null;e&&this.mirror.hasNode(e)&&(n=this.mirror.getId(e)),n&&-1!==n&&(this.movedMap[Ft(this.mirror.getId(t),n)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);bt(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes.forEach((t=>this.genAdds(t))),Et(t)&&t.shadowRoot.childNodes.forEach((e=>{this.processedNodeManager.add(e,this),this.genAdds(e,t)})))}}}init(t){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((e=>{this[e]=t[e]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Vt(t,e){t.delete(e),e.childNodes.forEach((e=>Vt(t,e)))}function Bt(t,e,n){return 0!==t.length&&Ut(t,e,n)}function Ut(t,e,n){const{parentNode:r}=e;if(!r)return!1;const i=n.getId(r);return!!t.some((t=>t.id===i))||Ut(t,r,n)}function zt(t,e){return 0!==t.size&&Ht(t,e)}function Ht(t,e){const{parentNode:n}=e;return!!n&&(!!t.has(n)||Ht(t,n))}let $t;function Gt(t){$t=t}function qt(){$t=void 0}const Wt=t=>{if(!$t)return t;return(...e)=>{try{return t(...e)}catch(t){if($t&&!0===$t(t))return()=>{};throw t}}},Yt=[];function Zt(t){try{if("composedPath"in t){const e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(t){}return t&&t.target}function Kt(t,e){var n,r;const i=new Lt;Yt.push(i),i.init(t);let o=window.MutationObserver||window.__rrMutationObserver;const s=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");s&&window[s]&&(o=window[s]);const a=new o(Wt((e=>{t.onMutation&&!1===t.onMutation(e)||i.processMutations.bind(i)(e)})));return a.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function Qt({mouseInteractionCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,c=[];let u=null;return Object.keys(At).filter((t=>Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==a[t])).forEach((s=>{let a=N(s);const l=(e=>s=>{const a=Zt(s);if(bt(a,r,i,o,!0))return;let c=null,l=e;if("pointerType"in s){switch(s.pointerType){case"mouse":c=Rt.Mouse;break;case"touch":c=Rt.Touch;break;case"pen":c=Rt.Pen}c===Rt.Touch?At[e]===At.MouseDown?l="TouchStart":At[e]===At.MouseUp&&(l="TouchEnd"):Rt.Pen}else Ct(s)&&(c=Rt.Touch);null!==c?(u=c,(l.startsWith("Touch")&&c===Rt.Touch||l.startsWith("Mouse")&&c===Rt.Mouse)&&(c=null)):At[e]===At.Click&&(c=u,u=null);const d=Ct(s)?s.changedTouches[0]:s;if(!d)return;const h=n.getId(a),{clientX:p,clientY:f}=d;Wt(t)(Object.assign({type:At[l],id:h,x:p,y:f},null!==c&&{pointerType:c}))})(s);if(window.PointerEvent)switch(At[s]){case At.MouseDown:case At.MouseUp:a=a.replace("mouse","pointer");break;case At.TouchStart:case At.TouchEnd:return}c.push(lt(a,l,e))})),Wt((()=>{c.forEach((t=>t()))}))}function Jt({scrollCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){return lt("scroll",Wt(ht(Wt((s=>{const a=Zt(s);if(!a||bt(a,r,i,o,!0))return;const c=n.getId(a);if(a===e&&e.defaultView){const n=gt(e.defaultView);t({id:c,x:n.left,y:n.top})}else t({id:c,x:a.scrollLeft,y:a.scrollTop})})),s.scroll||100)),e)}function Xt(t,e){const n=Object.assign({},t);return e||delete n.userTriggered,n}const te=["INPUT","TEXTAREA","SELECT"],ee=new WeakMap;function ne(t){return function(t,e){if(se("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||se("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||se("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||se("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){const n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else if(t.parentStyleSheet){const n=Array.from(t.parentStyleSheet.cssRules).indexOf(t);e.unshift(n)}return e}(t,[])}function re(t,e,n){let r,i;return t?(t.ownerNode?r=e.getId(t.ownerNode):i=n.getId(t),{styleId:i,id:r}):{}}function ie({mirror:t,stylesheetManager:e},n){var r,i,o;let s=null;s="#document"===n.nodeName?t.getId(n):t.getId(n.host);const a="#document"===n.nodeName?null===(r=n.defaultView)||void 0===r?void 0:r.Document:null===(o=null===(i=n.ownerDocument)||void 0===i?void 0:i.defaultView)||void 0===o?void 0:o.ShadowRoot,c=(null==a?void 0:a.prototype)?Object.getOwnPropertyDescriptor(null==a?void 0:a.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&a&&c?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get(){var t;return null===(t=c.get)||void 0===t?void 0:t.call(this)},set(t){var n;const r=null===(n=c.set)||void 0===n?void 0:n.call(this,t);if(null!==s&&-1!==s)try{e.adoptStyleSheets(t,s)}catch(t){}return r}}),Wt((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))):()=>{}}function oe(t,e={}){const n=t.doc.defaultView;if(!n)return()=>{};!function(t,e){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:i,scrollCb:o,viewportResizeCb:s,inputCb:a,mediaInteractionCb:c,styleSheetRuleCb:u,styleDeclarationCb:l,canvasMutationCb:d,fontCb:h,selectionCb:p,customElementCb:f}=t;t.mutationCb=(...t)=>{e.mutation&&e.mutation(...t),n(...t)},t.mousemoveCb=(...t)=>{e.mousemove&&e.mousemove(...t),r(...t)},t.mouseInteractionCb=(...t)=>{e.mouseInteraction&&e.mouseInteraction(...t),i(...t)},t.scrollCb=(...t)=>{e.scroll&&e.scroll(...t),o(...t)},t.viewportResizeCb=(...t)=>{e.viewportResize&&e.viewportResize(...t),s(...t)},t.inputCb=(...t)=>{e.input&&e.input(...t),a(...t)},t.mediaInteractionCb=(...t)=>{e.mediaInteaction&&e.mediaInteaction(...t),c(...t)},t.styleSheetRuleCb=(...t)=>{e.styleSheetRule&&e.styleSheetRule(...t),u(...t)},t.styleDeclarationCb=(...t)=>{e.styleDeclaration&&e.styleDeclaration(...t),l(...t)},t.canvasMutationCb=(...t)=>{e.canvasMutation&&e.canvasMutation(...t),d(...t)},t.fontCb=(...t)=>{e.font&&e.font(...t),h(...t)},t.selectionCb=(...t)=>{e.selection&&e.selection(...t),p(...t)},t.customElementCb=(...t)=>{e.customElement&&e.customElement(...t),f(...t)}}(t,e);const r=Kt(t,t.doc),i=function({mousemoveCb:t,sampling:e,doc:n,mirror:r}){if(!1===e.mousemove)return()=>{};const i="number"==typeof e.mousemove?e.mousemove:50,o="number"==typeof e.mousemoveCallback?e.mousemoveCallback:500;let s,a=[];const c=ht(Wt((e=>{const n=Date.now()-s;t(a.map((t=>(t.timeOffset-=n,t))),e),a=[],s=null})),o),u=Wt(ht(Wt((t=>{const e=Zt(t),{clientX:n,clientY:i}=Ct(t)?t.changedTouches[0]:t;s||(s=mt()),a.push({x:n,y:i,id:r.getId(e),timeOffset:mt()-s}),c("undefined"!=typeof DragEvent&&t instanceof DragEvent?jt.Drag:t instanceof MouseEvent?jt.MouseMove:jt.TouchMove)})),i,{trailing:!1})),l=[lt("mousemove",u,n),lt("touchmove",u,n),lt("drag",u,n)];return Wt((()=>{l.forEach((t=>t()))}))}(t),o=Qt(t),s=Jt(t),a=function({viewportResizeCb:t},{win:e}){let n=-1,r=-1;return lt("resize",Wt(ht(Wt((()=>{const e=_t(),i=yt();n===e&&r===i||(t({width:Number(i),height:Number(e)}),n=e,r=i)})),200)),e)}(t,{win:n}),c=function({inputCb:t,doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputOptions:c,maskInputFn:u,sampling:l,userTriggeredOnInput:d,maskTextClass:h,unmaskTextClass:p,maskTextSelector:f,unmaskTextSelector:m}){function g(t){let n=Zt(t);const l=t.isTrusted,g=n&&P(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||te.indexOf(g)<0||bt(n,r,i,o,!0))return;const y=n;if(y.classList.contains(s)||a&&y.matches(a))return;const b=L(n);let v=V(y,g,b),w=!1;const C=R({maskInputOptions:c,tagName:g,type:b}),S=st(n,h,f,p,m,C);"radio"!==b&&"checkbox"!==b||(w=n.checked),v=M({isMasked:S,element:n,value:v,maskInputFn:u}),_(n,Wt(Xt)({text:v,isChecked:w,userTriggered:l},d));const O=n.name;"radio"===b&&O&&w&&e.querySelectorAll(`input[type="radio"][name="${O}"]`).forEach((t=>{if(t!==n){const e=M({isMasked:S,element:t,value:V(t,g,b),maskInputFn:u});_(t,Wt(Xt)({text:e,isChecked:!w,userTriggered:!1},d))}}))}function _(e,r){const i=ee.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){ee.set(e,r);const i=n.getId(e);Wt(t)(Object.assign(Object.assign({},r),{id:i}))}}const y=("last"===l.input?["change"]:["input","change"]).map((t=>lt(t,Wt(g),e))),b=e.defaultView;if(!b)return()=>{y.forEach((t=>t()))};const v=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),w=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return v&&v.set&&y.push(...w.map((t=>pt(t[0],t[1],{set(){Wt(g)({target:this,isTrusted:!1})}},!1,b)))),Wt((()=>{y.forEach((t=>t()))}))}(t),u=function({mediaInteractionCb:t,blockClass:e,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:s}){const a=Wt((s=>ht(Wt((o=>{const a=Zt(o);if(!a||bt(a,e,n,r,!0))return;const{currentTime:c,volume:u,muted:l,playbackRate:d}=a;t({type:s,id:i.getId(a),currentTime:c,volume:u,muted:l,playbackRate:d})})),o.media||500))),c=[lt("play",a(0),s),lt("pause",a(1),s),lt("seeked",a(2),s),lt("volumechange",a(3),s),lt("ratechange",a(4),s)];return Wt((()=>{c.forEach((t=>t()))}))}(t),l=function({styleSheetRuleCb:t,mirror:e,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:Wt(((r,i,o)=>{const[s,a]=o,{id:c,styleId:u}=re(i,e,n.styleMirror);return(c&&-1!==c||u&&-1!==u)&&t({id:c,styleId:u,adds:[{rule:s,index:a}]}),r.apply(i,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let s,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:Wt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=re(i,e,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&t({id:a,styleId:c,removes:[{index:s}]}),r.apply(i,o)}))}),r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Wt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=re(i,e,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&t({id:a,styleId:c,replace:s}),r.apply(i,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:Wt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=re(i,e,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&t({id:a,styleId:c,replaceSync:s}),r.apply(i,o)}))}));const c={};ae("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(ae("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),ae("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),ae("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const u={};return Object.entries(c).forEach((([r,i])=>{u[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[r].insertRule,{apply:Wt(((r,i,o)=>{const[s,a]=o,{id:c,styleId:u}=re(i.parentStyleSheet,e,n.styleMirror);return(c&&-1!==c||u&&-1!==u)&&t({id:c,styleId:u,adds:[{rule:s,index:[...ne(i),a||0]}]}),r.apply(i,o)}))}),i.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:Wt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=re(i.parentStyleSheet,e,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&t({id:a,styleId:c,removes:[{index:[...ne(i),s]}]}),r.apply(i,o)}))})})),Wt((()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([t,e])=>{e.prototype.insertRule=u[t].insertRule,e.prototype.deleteRule=u[t].deleteRule}))}))}(t,{win:n}),d=ie(t,t.doc),h=function({styleDeclarationCb:t,mirror:e,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:Wt(((i,s,a)=>{var c;const[u,l,d]=a;if(n.has(u))return o.apply(s,[u,l,d]);const{id:h,styleId:p}=re(null===(c=s.parentRule)||void 0===c?void 0:c.parentStyleSheet,e,r.styleMirror);return(h&&-1!==h||p&&-1!==p)&&t({id:h,styleId:p,set:{property:u,value:l,priority:d},index:ne(s.parentRule)}),i.apply(s,a)}))});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:Wt(((i,o,a)=>{var c;const[u]=a;if(n.has(u))return s.apply(o,[u]);const{id:l,styleId:d}=re(null===(c=o.parentRule)||void 0===c?void 0:c.parentStyleSheet,e,r.styleMirror);return(l&&-1!==l||d&&-1!==d)&&t({id:l,styleId:d,remove:{property:u},index:ne(o.parentRule)}),i.apply(o,a)}))}),Wt((()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=s}))}(t,{win:n}),p=t.collectFonts?function({fontCb:t,doc:e}){const n=e.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(t,e,n){const r=new o(t,e,n);return i.set(r,{family:t,buffer:"string"!=typeof e,descriptors:n,fontSource:"string"==typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),r};const s=ft(e.fonts,"add",(function(e){return function(n){return setTimeout(Wt((()=>{const e=i.get(n);e&&(t(e),i.delete(n))})),0),e.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(s),Wt((()=>{r.forEach((t=>t()))}))}(t):()=>{},f=function(t){const{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:s}=t;let a=!0;const c=Wt((()=>{const t=e.getSelection();if(!t||a&&(null==t?void 0:t.isCollapsed))return;a=t.isCollapsed||!1;const c=[],u=t.rangeCount||0;for(let e=0;e<u;e++){const s=t.getRangeAt(e),{startContainer:a,startOffset:u,endContainer:l,endOffset:d}=s;bt(a,r,i,o,!0)||bt(l,r,i,o,!0)||c.push({start:n.getId(a),startOffset:u,end:n.getId(l),endOffset:d})}s({ranges:c})}));return c(),lt("selectionchange",c)}(t),m=function({doc:t,customElementCb:e}){const n=t.defaultView;return n&&n.customElements?ft(n.customElements,"define",(function(t){return function(n,r,i){try{e({define:{name:n}})}catch(t){}return t.apply(this,[n,r,i])}})):()=>{}}(t),g=[];for(const e of t.plugins)g.push(e.observer(e.callback,n,e.options));return Wt((()=>{Yt.forEach((t=>t.reset())),r.disconnect(),i(),o(),s(),a(),c(),u(),l(),d(),h(),p(),f(),m(),g.forEach((t=>t()))}))}function se(t){return void 0!==window[t]}function ae(t){return Boolean(void 0!==window[t]&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}class ce{constructor(t){this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(t,e,n,r){const i=n||this.getIdToRemoteIdMap(t),o=r||this.getRemoteIdToIdMap(t);let s=i.get(e);return s||(s=this.generateIdFn(),i.set(e,s),o.set(s,e)),s}getIds(t,e){const n=this.getIdToRemoteIdMap(t),r=this.getRemoteIdToIdMap(t);return e.map((e=>this.getId(t,e,n,r)))}getRemoteId(t,e,n){const r=n||this.getRemoteIdToIdMap(t);if("number"!=typeof e)return e;const i=r.get(e);return i||-1}getRemoteIds(t,e){const n=this.getRemoteIdToIdMap(t);return e.map((e=>this.getRemoteId(t,e,n)))}reset(t){if(!t)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let e=this.iframeIdToRemoteIdMap.get(t);return e||(e=new Map,this.iframeIdToRemoteIdMap.set(t,e)),e}getRemoteIdToIdMap(t){let e=this.iframeRemoteIdToIdMap.get(t);return e||(e=new Map,this.iframeRemoteIdToIdMap.set(t,e)),e}}class ue{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new ce(H),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new ce(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,e){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const e=t;if("rrweb"!==e.data.type||e.origin!==e.data.origin)return;if(!t.source)return;const n=this.crossOriginIframeMap.get(t.source);if(!n)return;const r=this.transformCrossOriginEvent(n,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(t,e){var n;switch(e.type){case Tt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(e.data.node,t);const n=e.data.node.id;return this.crossOriginIframeRootIdMap.set(t,n),this.patchRootIdOnNode(e.data.node,n),{timestamp:e.timestamp,type:Tt.IncrementalSnapshot,data:{source:jt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:e.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case Tt.Meta:case Tt.Load:case Tt.DomContentLoaded:return!1;case Tt.Plugin:return e;case Tt.Custom:return this.replaceIds(e.data.payload,t,["id","parentId","previousId","nextId"]),e;case Tt.IncrementalSnapshot:switch(e.data.source){case jt.Mutation:return e.data.adds.forEach((e=>{this.replaceIds(e,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(e.node,t);const n=this.crossOriginIframeRootIdMap.get(t);n&&this.patchRootIdOnNode(e.node,n)})),e.data.removes.forEach((e=>{this.replaceIds(e,t,["parentId","id"])})),e.data.attributes.forEach((e=>{this.replaceIds(e,t,["id"])})),e.data.texts.forEach((e=>{this.replaceIds(e,t,["id"])})),e;case jt.Drag:case jt.TouchMove:case jt.MouseMove:return e.data.positions.forEach((e=>{this.replaceIds(e,t,["id"])})),e;case jt.ViewportResize:return!1;case jt.MediaInteraction:case jt.MouseInteraction:case jt.Scroll:case jt.CanvasMutation:case jt.Input:return this.replaceIds(e.data,t,["id"]),e;case jt.StyleSheetRule:case jt.StyleDeclaration:return this.replaceIds(e.data,t,["id"]),this.replaceStyleIds(e.data,t,["styleId"]),e;case jt.Font:return e;case jt.Selection:return e.data.ranges.forEach((e=>{this.replaceIds(e,t,["start","end"])})),e;case jt.AdoptedStyleSheet:return this.replaceIds(e.data,t,["id"]),this.replaceStyleIds(e.data,t,["styleIds"]),null===(n=e.data.styles)||void 0===n||n.forEach((e=>{this.replaceStyleIds(e,t,["styleId"])})),e}}return!1}replace(t,e,n,r){for(const i of r)(Array.isArray(e[i])||"number"==typeof e[i])&&(Array.isArray(e[i])?e[i]=t.getIds(n,e[i]):e[i]=t.getId(n,e[i]));return e}replaceIds(t,e,n){return this.replace(this.crossOriginIframeMirror,t,e,n)}replaceStyleIds(t,e,n){return this.replace(this.crossOriginIframeStyleMirror,t,e,n)}replaceIdOnNode(t,e){this.replaceIds(t,e,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach((t=>{this.replaceIdOnNode(t,e)}))}patchRootIdOnNode(t,e){t.type===I.Document||t.rootId||(t.rootId=e),"childNodes"in t&&t.childNodes.forEach((t=>{this.patchRootIdOnNode(t,e)}))}}class le{constructor(t){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,e){if(!D(t))return;if(this.shadowDoms.has(t))return;this.shadowDoms.add(t);const n=Kt(Object.assign(Object.assign({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(Jt(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout((()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(ie({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))}),0)}observeAttachShadow(t){t.contentWindow&&t.contentDocument&&this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,e){const n=this;this.restoreHandlers.push(ft(t.prototype,"attachShadow",(function(t){return function(r){const i=t.call(this,r);return this.shadowRoot&&Dt(this)&&n.addShadowRoot(this.shadowRoot,e),i}})))}reset(){this.restoreHandlers.forEach((t=>{try{t()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}function de(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}for(var he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pe="undefined"==typeof Uint8Array?[]:new Uint8Array(256),fe=0;fe<64;fe++)pe[he.charCodeAt(fe)]=fe;const me=new Map;const ge=(t,e,n)=>{if(!t||!be(t,e)&&"object"!=typeof t)return;const r=function(t,e){let n=me.get(t);return n||(n=new Map,me.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name);let i=r.indexOf(t);return-1===i&&(i=r.length,r.push(t)),i};function _e(t,e,n){if(t instanceof Array)return t.map((t=>_e(t,e,n)));if(null===t)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray){return{rr_type:t.constructor.name,args:[Object.values(t)]}}if(t instanceof ArrayBuffer){const e=t.constructor.name,n=function(t){var e,n=new Uint8Array(t),r=n.length,i="";for(e=0;e<r;e+=3)i+=he[n[e]>>2],i+=he[(3&n[e])<<4|n[e+1]>>4],i+=he[(15&n[e+1])<<2|n[e+2]>>6],i+=he[63&n[e+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i}(t);return{rr_type:e,base64:n}}if(t instanceof DataView){return{rr_type:t.constructor.name,args:[_e(t.buffer,e,n),t.byteOffset,t.byteLength]}}if(t instanceof HTMLImageElement){const e=t.constructor.name,{src:n}=t;return{rr_type:e,src:n}}if(t instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:t.toDataURL()}}if(t instanceof ImageData){return{rr_type:t.constructor.name,args:[_e(t.data,e,n),t.width,t.height]}}if(be(t,e)||"object"==typeof t){return{rr_type:t.constructor.name,index:ge(t,e,n)}}return t}const ye=(t,e,n)=>[...t].map((t=>_e(t,e,n))),be=(t,e)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((t=>"function"==typeof e[t]));return Boolean(n.find((n=>t instanceof e[n])))};function ve(t,e,n,r,i){const o=[];try{const s=ft(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(o,...s){if(!bt(this,e,n,r,!0)){const t=function(t){return"experimental-webgl"===t?"webgl":t}(o);if("__context"in this||(this.__context=t),i&&["webgl","webgl2"].includes(t))if(s[0]&&"object"==typeof s[0]){const t=s[0];t.preserveDrawingBuffer||(t.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return t.apply(this,[o,...s])}}));o.push(s)}catch(t){}return()=>{o.forEach((t=>t()))}}function we(t,e,n,r,i,o,s,a){const c=[],u=Object.getOwnPropertyNames(t);for(const s of u)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))try{if("function"!=typeof t[s])continue;const u=ft(t,s,(function(t){return function(...c){const u=t.apply(this,c);if(ge(u,a,this),"tagName"in this.canvas&&!bt(this.canvas,r,i,o,!0)){const t=ye([...c],a,this),r={type:e,property:s,args:t};n(this.canvas,r)}return u}}));c.push(u)}catch(r){const i=pt(t,s,{set(t){n(this.canvas,{type:e,property:s,args:[t],setter:!0})}});c.push(i)}return c}function Ce(t,e,n){var r=void 0===e?null:e,i=function(t,e){var n=atob(t);if(e){for(var r=new Uint8Array(n.length),i=0,o=n.length;i<o;++i)r[i]=n.charCodeAt(i);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(t,void 0!==n&&n),o=i.indexOf("\n",10)+1,s=i.substring(o)+(r?"//# sourceMappingURL="+r:""),a=new Blob([s],{type:"application/javascript"});return URL.createObjectURL(a)}var Se,Oe,Ee,xe,Ie=(Se="Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24gKCkgewogICAgJ3VzZSBzdHJpY3QnOwoKICAgIC8qISAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KICAgIENvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLg0KDQogICAgUGVybWlzc2lvbiB0byB1c2UsIGNvcHksIG1vZGlmeSwgYW5kL29yIGRpc3RyaWJ1dGUgdGhpcyBzb2Z0d2FyZSBmb3IgYW55DQogICAgcHVycG9zZSB3aXRoIG9yIHdpdGhvdXQgZmVlIGlzIGhlcmVieSBncmFudGVkLg0KDQogICAgVEhFIFNPRlRXQVJFIElTIFBST1ZJREVEICJBUyBJUyIgQU5EIFRIRSBBVVRIT1IgRElTQ0xBSU1TIEFMTCBXQVJSQU5USUVTIFdJVEgNCiAgICBSRUdBUkQgVE8gVEhJUyBTT0ZUV0FSRSBJTkNMVURJTkcgQUxMIElNUExJRUQgV0FSUkFOVElFUyBPRiBNRVJDSEFOVEFCSUxJVFkNCiAgICBBTkQgRklUTkVTUy4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFIEFVVEhPUiBCRSBMSUFCTEUgRk9SIEFOWSBTUEVDSUFMLCBESVJFQ1QsDQogICAgSU5ESVJFQ1QsIE9SIENPTlNFUVVFTlRJQUwgREFNQUdFUyBPUiBBTlkgREFNQUdFUyBXSEFUU09FVkVSIFJFU1VMVElORyBGUk9NDQogICAgTE9TUyBPRiBVU0UsIERBVEEgT1IgUFJPRklUUywgV0hFVEhFUiBJTiBBTiBBQ1RJT04gT0YgQ09OVFJBQ1QsIE5FR0xJR0VOQ0UgT1INCiAgICBPVEhFUiBUT1JUSU9VUyBBQ1RJT04sIEFSSVNJTkcgT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgVVNFIE9SDQogICAgUEVSRk9STUFOQ0UgT0YgVEhJUyBTT0ZUV0FSRS4NCiAgICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiAqLw0KDQogICAgZnVuY3Rpb24gX19hd2FpdGVyKHRoaXNBcmcsIF9hcmd1bWVudHMsIFAsIGdlbmVyYXRvcikgew0KICAgICAgICBmdW5jdGlvbiBhZG9wdCh2YWx1ZSkgeyByZXR1cm4gdmFsdWUgaW5zdGFuY2VvZiBQID8gdmFsdWUgOiBuZXcgUChmdW5jdGlvbiAocmVzb2x2ZSkgeyByZXNvbHZlKHZhbHVlKTsgfSk7IH0NCiAgICAgICAgcmV0dXJuIG5ldyAoUCB8fCAoUCA9IFByb21pc2UpKShmdW5jdGlvbiAocmVzb2x2ZSwgcmVqZWN0KSB7DQogICAgICAgICAgICBmdW5jdGlvbiBmdWxmaWxsZWQodmFsdWUpIHsgdHJ5IHsgc3RlcChnZW5lcmF0b3IubmV4dCh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiByZWplY3RlZCh2YWx1ZSkgeyB0cnkgeyBzdGVwKGdlbmVyYXRvclsidGhyb3ciXSh2YWx1ZSkpOyB9IGNhdGNoIChlKSB7IHJlamVjdChlKTsgfSB9DQogICAgICAgICAgICBmdW5jdGlvbiBzdGVwKHJlc3VsdCkgeyByZXN1bHQuZG9uZSA/IHJlc29sdmUocmVzdWx0LnZhbHVlKSA6IGFkb3B0KHJlc3VsdC52YWx1ZSkudGhlbihmdWxmaWxsZWQsIHJlamVjdGVkKTsgfQ0KICAgICAgICAgICAgc3RlcCgoZ2VuZXJhdG9yID0gZ2VuZXJhdG9yLmFwcGx5KHRoaXNBcmcsIF9hcmd1bWVudHMgfHwgW10pKS5uZXh0KCkpOw0KICAgICAgICB9KTsNCiAgICB9CgogICAgLyoKICAgICAqIGJhc2U2NC1hcnJheWJ1ZmZlciAxLjAuMSA8aHR0cHM6Ly9naXRodWIuY29tL25pa2xhc3ZoL2Jhc2U2NC1hcnJheWJ1ZmZlcj4KICAgICAqIENvcHlyaWdodCAoYykgMjAyMSBOaWtsYXMgdm9uIEhlcnR6ZW4gPGh0dHBzOi8vaGVydHplbi5jb20+CiAgICAgKiBSZWxlYXNlZCB1bmRlciBNSVQgTGljZW5zZQogICAgICovCiAgICB2YXIgY2hhcnMgPSAnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyc7CiAgICAvLyBVc2UgYSBsb29rdXAgdGFibGUgdG8gZmluZCB0aGUgaW5kZXguCiAgICB2YXIgbG9va3VwID0gdHlwZW9mIFVpbnQ4QXJyYXkgPT09ICd1bmRlZmluZWQnID8gW10gOiBuZXcgVWludDhBcnJheSgyNTYpOwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCBjaGFycy5sZW5ndGg7IGkrKykgewogICAgICAgIGxvb2t1cFtjaGFycy5jaGFyQ29kZUF0KGkpXSA9IGk7CiAgICB9CiAgICB2YXIgZW5jb2RlID0gZnVuY3Rpb24gKGFycmF5YnVmZmVyKSB7CiAgICAgICAgdmFyIGJ5dGVzID0gbmV3IFVpbnQ4QXJyYXkoYXJyYXlidWZmZXIpLCBpLCBsZW4gPSBieXRlcy5sZW5ndGgsIGJhc2U2NCA9ICcnOwogICAgICAgIGZvciAoaSA9IDA7IGkgPCBsZW47IGkgKz0gMykgewogICAgICAgICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaV0gPj4gMl07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1soKGJ5dGVzW2ldICYgMykgPDwgNCkgfCAoYnl0ZXNbaSArIDFdID4+IDQpXTsKICAgICAgICAgICAgYmFzZTY0ICs9IGNoYXJzWygoYnl0ZXNbaSArIDFdICYgMTUpIDw8IDIpIHwgKGJ5dGVzW2kgKyAyXSA+PiA2KV07CiAgICAgICAgICAgIGJhc2U2NCArPSBjaGFyc1tieXRlc1tpICsgMl0gJiA2M107CiAgICAgICAgfQogICAgICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgJz0nOwogICAgICAgIH0KICAgICAgICBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgICAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgJz09JzsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIGJhc2U2NDsKICAgIH07CgogICAgY29uc3QgbGFzdEJsb2JNYXAgPSBuZXcgTWFwKCk7DQogICAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gbmV3IE1hcCgpOw0KICAgIGZ1bmN0aW9uIGdldFRyYW5zcGFyZW50QmxvYkZvcih3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucykgew0KICAgICAgICByZXR1cm4gX19hd2FpdGVyKHRoaXMsIHZvaWQgMCwgdm9pZCAwLCBmdW5jdGlvbiogKCkgew0KICAgICAgICAgICAgY29uc3QgaWQgPSBgJHt3aWR0aH0tJHtoZWlnaHR9YDsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgaWYgKHRyYW5zcGFyZW50QmxvYk1hcC5oYXMoaWQpKQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJhbnNwYXJlbnRCbG9iTWFwLmdldChpZCk7DQogICAgICAgICAgICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsNCiAgICAgICAgICAgICAgICBvZmZzY3JlZW4uZ2V0Q29udGV4dCgnMmQnKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0geWllbGQgYmxvYi5hcnJheUJ1ZmZlcigpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7DQogICAgICAgICAgICAgICAgdHJhbnNwYXJlbnRCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICByZXR1cm4gYmFzZTY0Ow0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgZWxzZSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICcnOw0KICAgICAgICAgICAgfQ0KICAgICAgICB9KTsNCiAgICB9DQogICAgY29uc3Qgd29ya2VyID0gc2VsZjsNCiAgICB3b3JrZXIub25tZXNzYWdlID0gZnVuY3Rpb24gKGUpIHsNCiAgICAgICAgcmV0dXJuIF9fYXdhaXRlcih0aGlzLCB2b2lkIDAsIHZvaWQgMCwgZnVuY3Rpb24qICgpIHsNCiAgICAgICAgICAgIGlmICgnT2Zmc2NyZWVuQ2FudmFzJyBpbiBnbG9iYWxUaGlzKSB7DQogICAgICAgICAgICAgICAgY29uc3QgeyBpZCwgYml0bWFwLCB3aWR0aCwgaGVpZ2h0LCBkYXRhVVJMT3B0aW9ucyB9ID0gZS5kYXRhOw0KICAgICAgICAgICAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zKTsNCiAgICAgICAgICAgICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOw0KICAgICAgICAgICAgICAgIGNvbnN0IGN0eCA9IG9mZnNjcmVlbi5nZXRDb250ZXh0KCcyZCcpOw0KICAgICAgICAgICAgICAgIGN0eC5kcmF3SW1hZ2UoYml0bWFwLCAwLCAwKTsNCiAgICAgICAgICAgICAgICBiaXRtYXAuY2xvc2UoKTsNCiAgICAgICAgICAgICAgICBjb25zdCBibG9iID0geWllbGQgb2Zmc2NyZWVuLmNvbnZlcnRUb0Jsb2IoZGF0YVVSTE9wdGlvbnMpOw0KICAgICAgICAgICAgICAgIGNvbnN0IHR5cGUgPSBibG9iLnR5cGU7DQogICAgICAgICAgICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSB5aWVsZCBibG9iLmFycmF5QnVmZmVyKCk7DQogICAgICAgICAgICAgICAgY29uc3QgYmFzZTY0ID0gZW5jb2RlKGFycmF5QnVmZmVyKTsNCiAgICAgICAgICAgICAgICBpZiAoIWxhc3RCbG9iTWFwLmhhcyhpZCkgJiYgKHlpZWxkIHRyYW5zcGFyZW50QmFzZTY0KSA9PT0gYmFzZTY0KSB7DQogICAgICAgICAgICAgICAgICAgIGxhc3RCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkIH0pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KQ0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7DQogICAgICAgICAgICAgICAgd29ya2VyLnBvc3RNZXNzYWdlKHsNCiAgICAgICAgICAgICAgICAgICAgaWQsDQogICAgICAgICAgICAgICAgICAgIHR5cGUsDQogICAgICAgICAgICAgICAgICAgIGJhc2U2NCwNCiAgICAgICAgICAgICAgICAgICAgd2lkdGgsDQogICAgICAgICAgICAgICAgICAgIGhlaWdodCwNCiAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfSk7DQogICAgfTsKCn0pKCk7Cgo=",Oe=null,Ee=!1,function(t){return xe=xe||Ce(Se,Oe,Ee),new Worker(xe,t)});class ke{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(t){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(t,e)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(e)};const{sampling:e="all",win:n,blockClass:r,blockSelector:i,unblockSelector:o,recordCanvas:s,dataURLOptions:a}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,s&&"all"===e&&this.initCanvasMutationObserver(n,r,i,o),s&&"number"==typeof e&&this.initCanvasFPSObserver(e,n,r,i,o,{dataURLOptions:a})}initCanvasFPSObserver(t,e,n,r,i,o){const s=ve(e,n,r,i,!0),a=new Map,c=new Ie;c.onmessage=t=>{const{id:e}=t.data;if(a.set(e,!1),!("base64"in t.data))return;const{base64:n,type:r,width:i,height:o}=t.data;this.mutationCb({id:e,type:Mt["2D"],commands:[{property:"clearRect",args:[0,0,i,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:r}]},0,0]}]})};const u=1e3/t;let l,d=0;const h=t=>{d&&t-d<u||(d=t,(()=>{const t=[];return e.document.querySelectorAll("canvas").forEach((e=>{bt(e,n,r,i,!0)||t.push(e)})),t})().forEach((t=>de(this,void 0,void 0,(function*(){var e;const n=this.mirror.getId(t);if(a.get(n))return;if(a.set(n,!0),["webgl","webgl2"].includes(t.__context)){const n=t.getContext(t.__context);!1===(null===(e=null==n?void 0:n.getContextAttributes())||void 0===e?void 0:e.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)}const r=yield createImageBitmap(t);c.postMessage({id:n,bitmap:r,width:t.width,height:t.height,dataURLOptions:o.dataURLOptions},[r])}))))),l=requestAnimationFrame(h)};l=requestAnimationFrame(h),this.resetObservers=()=>{s(),cancelAnimationFrame(l)}}initCanvasMutationObserver(t,e,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const i=ve(t,e,n,r,!1),o=function(t,e,n,r,i){const o=[],s=Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype);for(const a of s)try{if("function"!=typeof e.CanvasRenderingContext2D.prototype[a])continue;const s=ft(e.CanvasRenderingContext2D.prototype,a,(function(o){return function(...s){return bt(this.canvas,n,r,i,!0)||setTimeout((()=>{const n=ye([...s],e,this);t(this.canvas,{type:Mt["2D"],property:a,args:n})}),0),o.apply(this,s)}}));o.push(s)}catch(n){const r=pt(e.CanvasRenderingContext2D.prototype,a,{set(e){t(this.canvas,{type:Mt["2D"],property:a,args:[e],setter:!0})}});o.push(r)}return()=>{o.forEach((t=>t()))}}(this.processMutation.bind(this),t,e,n,r),s=function(t,e,n,r,i,o){const s=[];return s.push(...we(e.WebGLRenderingContext.prototype,Mt.WebGL,t,n,r,i,0,e)),void 0!==e.WebGL2RenderingContext&&s.push(...we(e.WebGL2RenderingContext.prototype,Mt.WebGL2,t,n,r,i,0,e)),()=>{s.forEach((t=>t()))}}(this.processMutation.bind(this),t,e,n,r,this.mirror);this.resetObservers=()=>{i(),o(),s()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const t=e=>{this.rafStamps.latestId=e,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((t,e)=>{const n=this.mirror.getId(e);this.flushPendingCanvasMutationFor(e,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(t,e){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(t);if(!n||-1===e)return;const r=n.map((t=>{const e=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}(t,["type"]);return e})),{type:i}=n[0];this.mutationCb({id:e,type:i,commands:r}),this.pendingCanvasMutations.delete(t)}}class De{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new xt,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,e){"_cssText"in e.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:e.id,attributes:e.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,e){if(0===t.length)return;const n={id:e,styleIds:[]},r=[];for(const e of t){let t;this.styleMirror.has(e)?t=this.styleMirror.getId(e):(t=this.styleMirror.add(e),r.push({styleId:t,rules:Array.from(e.rules||CSSRule,((t,e)=>({rule:j(t),index:e})))})),n.styleIds.push(t)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class Te{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){requestAnimationFrame((()=>{this.clear(),this.loop&&this.periodicallyClear()}))}inOtherBuffer(t,e){const n=this.nodeMap.get(t);return n&&Array.from(n).some((t=>t!==e))}add(t,e){this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(e))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function je(t){return Object.assign(Object.assign({},t),{timestamp:mt()})}let Ae,Re,Me,Ne=!1;const Pe=new A;function Fe(t={}){const{emit:e,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:l="rr-mask",unmaskTextClass:d=null,maskTextSelector:h=null,unmaskTextSelector:p=null,inlineStylesheet:f=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:_,maskAttributeFn:y,maskInputFn:b,maskTextFn:v,hooks:w,packFn:C,sampling:S={},dataURLOptions:O={},mousemoveWait:E,recordCanvas:x=!1,recordCrossOriginIframes:I=!1,recordAfter:k=("DOMContentLoaded"===t.recordAfter?t.recordAfter:"load"),userTriggeredOnInput:D=!1,collectFonts:T=!1,inlineImages:j=!1,plugins:R,keepIframeSrcFn:M=(()=>!1),ignoreCSSAttributes:N=new Set([]),errorHandler:P,onMutation:F}=t;Gt(P);const L=!I||window.parent===window;let V=!1;if(!L)try{window.parent.document&&(V=!1)}catch(t){V=!0}if(L&&!e)throw new Error("emit function is required");void 0!==E&&void 0===S.mousemove&&(S.mousemove=E),Pe.reset();const B=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},U=!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===_,headMetaDescKeywords:"all"===_}:_||{};let z;!function(t=window){"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...t)=>{let e=t[0];if(!(0 in t))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}();let H=0;const $=t=>{for(const e of R||[])e.eventProcessor&&(t=e.eventProcessor(t));return C&&!V&&(t=C(t)),t};Ae=(t,i)=>{var o;if(!(null===(o=Yt[0])||void 0===o?void 0:o.isFrozen())||t.type===Tt.FullSnapshot||t.type===Tt.IncrementalSnapshot&&t.data.source===jt.Mutation||Yt.forEach((t=>t.unfreeze())),L)null==e||e($(t),i);else if(V){const e={type:"rrweb",event:$(t),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(t.type===Tt.FullSnapshot)z=t,H=0;else if(t.type===Tt.IncrementalSnapshot){if(t.data.source===jt.Mutation&&t.data.isAttachIframe)return;H++;const e=r&&H>=r,i=n&&t.timestamp-z.timestamp>n;(e||i)&&Re(!0)}};const G=t=>{Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.Mutation},t)}))},q=t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.Scroll},t)})),W=t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.CanvasMutation},t)})),Y=new De({mutationCb:G,adoptedStyleSheetCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.AdoptedStyleSheet},t)}))}),Z=new ue({mirror:Pe,mutationCb:G,stylesheetManager:Y,recordCrossOriginIframes:I,wrappedEmit:Ae});for(const t of R||[])t.getMirror&&t.getMirror({nodeMirror:Pe,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});const K=new Te;Me=new ke({recordCanvas:x,mutationCb:W,win:window,blockClass:i,blockSelector:o,unblockSelector:s,mirror:Pe,sampling:S.canvas,dataURLOptions:O});const Q=new le({mutationCb:G,scrollCb:q,bypassOptions:{onMutation:F,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:B,dataURLOptions:O,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,recordCanvas:x,inlineImages:j,sampling:S,slimDOMOptions:U,iframeManager:Z,stylesheetManager:Y,canvasManager:Me,keepIframeSrcFn:M,processedNodeManager:K},mirror:Pe});Re=(t=!1)=>{Ae(je({type:Tt.Meta,data:{href:window.location.href,width:yt(),height:_t()}}),t),Y.reset(),Q.init(),Yt.forEach((t=>t.lock()));const e=function(t,e){const{mirror:n=new A,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:u=null,unmaskTextSelector:l=null,inlineStylesheet:d=!0,inlineImages:h=!1,recordCanvas:p=!1,maskAllInputs:f=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOM:y=!1,dataURLOptions:b,preserveWhiteSpace:v,onSerialize:w,onIframeLoad:C,iframeLoadTimeout:S,onStylesheetLoad:O,stylesheetLoadTimeout:E,keepIframeSrcFn:x=(()=>!1)}=e||{};return ut(t,{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:u,unmaskTextSelector:l,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===f?{}:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:b,inlineImages:h,recordCanvas:p,preserveWhiteSpace:v,onSerialize:w,onIframeLoad:C,iframeLoadTimeout:S,onStylesheetLoad:O,stylesheetLoadTimeout:E,keepIframeSrcFn:x,newlyAddedElement:!1})}(document,{mirror:Pe,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:p,inlineStylesheet:f,maskAllInputs:B,maskAttributeFn:y,maskInputFn:b,maskTextFn:v,slimDOM:U,dataURLOptions:O,recordCanvas:x,inlineImages:j,onSerialize:t=>{St(t,Pe)&&Z.addIframe(t),Ot(t,Pe)&&Y.trackLinkElement(t),Et(t)&&Q.addShadowRoot(t.shadowRoot,document)},onIframeLoad:(t,e)=>{Z.attachIframe(t,e),Q.observeAttachShadow(t)},onStylesheetLoad:(t,e)=>{Y.attachLinkElement(t,e)},keepIframeSrcFn:M});e&&(Ae(je({type:Tt.FullSnapshot,data:{node:e,initialOffset:gt(window)}}),t),Yt.forEach((t=>t.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,Pe.getId(document)))};try{const t=[],e=t=>{var e;return Wt(oe)({onMutation:F,mutationCb:G,mousemoveCb:(t,e)=>Ae(je({type:Tt.IncrementalSnapshot,data:{source:e,positions:t}})),mouseInteractionCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.MouseInteraction},t)})),scrollCb:q,viewportResizeCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.ViewportResize},t)})),inputCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.Input},t)})),mediaInteractionCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.MediaInteraction},t)})),styleSheetRuleCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.StyleSheetRule},t)})),styleDeclarationCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.StyleDeclaration},t)})),canvasMutationCb:W,fontCb:t=>Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.Font},t)})),selectionCb:t=>{Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.Selection},t)}))},customElementCb:t=>{Ae(je({type:Tt.IncrementalSnapshot,data:Object.assign({source:jt.CustomElement},t)}))},blockClass:i,ignoreClass:a,ignoreSelector:c,maskAllText:u,maskTextClass:l,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:p,maskInputOptions:B,inlineStylesheet:f,sampling:S,recordCanvas:x,inlineImages:j,userTriggeredOnInput:D,collectFonts:T,doc:t,maskAttributeFn:y,maskInputFn:b,maskTextFn:v,keepIframeSrcFn:M,blockSelector:o,unblockSelector:s,slimDOMOptions:U,dataURLOptions:O,mirror:Pe,iframeManager:Z,stylesheetManager:Y,shadowDomManager:Q,processedNodeManager:K,canvasManager:Me,ignoreCSSAttributes:N,plugins:(null===(e=null==R?void 0:R.filter((t=>t.observer)))||void 0===e?void 0:e.map((t=>({observer:t.observer,options:t.options,callback:e=>Ae(je({type:Tt.Plugin,data:{plugin:t.name,payload:e}}))}))))||[]},w)};Z.addLoadListener((n=>{try{t.push(e(n.contentDocument))}catch(t){}}));const n=()=>{Re(),t.push(e(document)),Ne=!0};return"interactive"===document.readyState||"complete"===document.readyState?n():(t.push(lt("DOMContentLoaded",(()=>{Ae(je({type:Tt.DomContentLoaded,data:{}})),"DOMContentLoaded"===k&&n()}))),t.push(lt("load",(()=>{Ae(je({type:Tt.Load,data:{}})),"load"===k&&n()}),window))),()=>{t.forEach((t=>t())),K.destroy(),Ne=!1,qt()}}catch(t){}}function Le(t){return t>9999999999?t:1e3*t}function Ve(t,e){"sentry.transaction"!==e.category&&(["ui.click","ui.input"].includes(e.category)?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate((()=>(t.throttledAddEvent({type:Tt.Custom,timestamp:1e3*(e.timestamp||0),data:{tag:"breadcrumb",payload:Object(u.a)(e,10,1e3)}}),"console"===e.category))))}Fe.addCustomEvent=(t,e)=>{if(!Ne)throw new Error("please add custom event after start recording");Ae(je({type:Tt.Custom,data:{tag:t,payload:e}}))},Fe.freezePage=()=>{Yt.forEach((t=>t.freeze()))},Fe.takeFullSnapshot=t=>{if(!Ne)throw new Error("please take full snapshot after start recording");Re(t)},Fe.mirror=Pe;const Be="button,a";function Ue(t){const e=ze(t);if(!(e&&e instanceof Element))return e;return e.closest(Be)||e}function ze(t){return function(t){return"object"==typeof t&&!!t&&"target"in t}(t)?t.target:t}let He;function $e(t){return He||(He=[],Object(l.e)(b,"open",(function(t){return function(...e){if(He)try{He.forEach((t=>t()))}catch(t){}return t.apply(b,e)}}))),He.push(t),()=>{const e=He?He.indexOf(t):-1;e>-1&&He.splice(e,1)}}class Ge{constructor(t,e,n=Ve){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=e.timeout/1e3,this._threshold=e.threshold/1e3,this._scollTimeout=e.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=e.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const t=()=>{this._lastScroll=We()},e=$e((()=>{this._lastMutation=We()})),n=t=>{if(!t.target)return;const e=Ue(t);e&&this._handleMultiClick(e)},r=new MutationObserver((()=>{this._lastMutation=We()}));r.observe(b.document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),b.addEventListener("scroll",t,{passive:!0}),b.addEventListener("click",n,{passive:!0}),this._teardown=()=>{b.removeEventListener("scroll",t),b.removeEventListener("click",n),e(),r.disconnect(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(t,e){if(function(t,e){if(!qe.includes(t.tagName))return!0;if("INPUT"===t.tagName&&!["submit","button"].includes(t.getAttribute("type")||""))return!0;if("A"===t.tagName&&(t.hasAttribute("download")||t.hasAttribute("target")&&"_self"!==t.getAttribute("target")))return!0;if(e&&t.matches(e))return!0;return!1}(e,this._ignoreSelector)||!function(t){return!(!t.data||"number"!=typeof t.data.nodeId||!t.timestamp)}(t))return;const n={timestamp:(r=t.timestamp,r>9999999999?r/1e3:r),clickBreadcrumb:t,clickCount:0,node:e};var r;this._clicks.some((t=>t.node===n.node&&Math.abs(t.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}_handleMultiClick(t){this._getClicks(t).forEach((t=>{t.clickCount++}))}_getClicks(t){return this._clicks.filter((e=>e.node===t))}_checkClicks(){const t=[],e=We();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=e&&t.push(n)}));for(const e of t){const t=this._clicks.indexOf(e);t>-1&&(this._generateBreadcrumbs(e),this._clicks.splice(t,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(t){const e=this._replay,n=t.scrollAfter&&t.scrollAfter<=this._scollTimeout,r=t.mutationAfter&&t.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:s}=t;if(i){const n=1e3*Math.min(t.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:b.location.href,route:e.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(e,i)}else if(o>1){const t={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:b.location.href,route:e.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(e,t)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout((()=>this._checkClicks()),1e3)}}const qe=["A","BUTTON","INPUT"];function We(){return Date.now()/1e3}function Ye(t){return{timestamp:Date.now()/1e3,type:"default",...t}}var Ze;!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(Ze||(Ze={}));const Ke=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled"]);function Qe(t){const e={};for(const n in t)if(Ke.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),e[r]=t[n]}return e}const Je=t=>e=>{if(!t.isEnabled())return;const n=function(t){const{target:e,message:n}=function(t){const e="click"===t.name;let n,r=null;try{r=e?Ue(t.event):ze(t.event),n=Object(d.c)(r,{maxStringLength:200})||"<unknown>"}catch(t){n="<unknown>"}return{target:r,message:n}}(t);return Ye({category:`ui.${t.name}`,...Xe(e,n)})}(e);if(!n)return;const r="click"===e.name,i=r&&e.event;var o,s,a;!(r&&t.clickDetector&&i)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=t.clickDetector,s=n,a=Ue(e.event),o.handleClick(s,a)),Ve(t,n)};function Xe(t,e){const n=Fe.mirror.getId(t),r=n&&Fe.mirror.getNode(n),i=r&&Fe.mirror.getMeta(r),o=i&&function(t){return t.type===Ze.Element}(i)?i:null;return{message:e,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map((t=>t.type===Ze.Text&&t.textContent)).filter(Boolean).map((t=>t.trim())).join(""),attributes:Qe(o.attributes)}}:{}}}function tn(t,e){if(!t.isEnabled())return;t.updateUserActivity();const n=function(t){const{metaKey:e,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:s}=t;if(!s||function(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable}(s)||!o)return null;const a=e||r||i,c=1===o.length;if(!a&&c)return null;const u=Object(d.c)(s,{maxStringLength:200})||"<unknown>",l=Xe(s,u);return Ye({category:"ui.keyDown",message:u,data:{...l.data,metaKey:e,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(e);n&&Ve(t,n)}const en=["name","type","startTime","transferSize","duration"];function nn(t){return function(e){return en.every((n=>t[n]===e[n]))}}function rn(t){const e=new PerformanceObserver((e=>{const n=function(t,e){const[n,r,i]=t.reduce(((t,e)=>("navigation"===e.entryType?t[0].push(e):"largest-contentful-paint"===e.entryType?t[1].push(e):t[2].push(e),t)),[[],[],[]]),o=[],s=[];let a=r.length?r[r.length-1]:void 0;return e.forEach((t=>{if("largest-contentful-paint"!==t.entryType)if("navigation"!==t.entryType)o.push(t);else{const e=t;t.duration>0&&!n.find(nn(e))&&!s.find(nn(e))&&s.push(e)}else(!a||a.startTime<t.startTime)&&(a=t)})),[...a?[a]:[],...n,...i,...o,...s].sort(((t,e)=>t.startTime-e.startTime))}(t.performanceEvents,e.getEntries());t.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((t=>{try{e.observe({type:t,buffered:!0})}catch(t){}})),e}const on='/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});';function sn(t,e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(h.c.info(t),e&&cn(t))}function an(t,e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(h.c.info(t),e&&setTimeout((()=>{cn(t)}),0))}function cn(t){Object(r.b)().addBreadcrumb({category:"console",data:{logger:"replay"},level:"info",message:t},{level:"info"})}class un extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class ln{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(t){const e=JSON.stringify(t).length;if(this._totalSize+=e,this._totalSize>E)throw new un;this.events.push(t)}finish(){return new Promise((t=>{const e=this.events;this.clear(),t(JSON.stringify(e))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const t=this.events.map((t=>t.timestamp)).sort()[0];return t?Le(t):null}}class dn{constructor(t){this._worker=t,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((t,e)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?t():e()}),{once:!0}),this._worker.addEventListener("error",(t=>{e(t)}),{once:!0})}))),this._ensureReadyPromise}destroy(){sn("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(t,e){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:e})=>{const s=e;if(s.method===t&&s.id===n){if(this._worker.removeEventListener("message",o),!s.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay]",s.response),void i(new Error("Error in compression worker"));r(s.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:t,arg:e})}))}_getAndIncrementId(){return this._id++}}class hn{constructor(t){this._worker=new dn(t),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(t){const e=Le(t.timestamp);(!this._earliestTimestamp||e<this._earliestTimestamp)&&(this._earliestTimestamp=e);const n=JSON.stringify(t);return this._totalSize+=n.length,this._totalSize>E?Promise.reject(new un):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear")}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(t){return this._worker.postMessage("addEvent",t)}async _finishRequest(){const t=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,t}}class pn{constructor(t){this._fallback=new ln,this._compression=new hn(t),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(t){this._used.hasCheckout=t}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(t){return this._used.addEvent(t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(t){return void sn("[Replay] Failed to load the compression worker, falling back to simple buffer")}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:t,hasCheckout:e}=this._fallback,n=[];for(const e of t)n.push(this._compression.addEvent(e));this._compression.hasCheckout=e,this._used=this._compression;try{await Promise.all(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.warn("[Replay] Failed to add events when switching buffers.",t)}}}function fn({useCompression:t}){if(t&&window.Worker)try{const t=function(){const t=new Blob([on]);return URL.createObjectURL(t)}();sn("[Replay] Using compression worker");const e=new Worker(t);return new pn(e)}catch(t){sn("[Replay] Failed to create compression worker")}return sn("[Replay] Using simple buffer"),new ln}function mn(){try{return"sessionStorage"in b&&!!b.sessionStorage}catch(t){return!1}}function gn(t){!function(){if(!mn())return;try{b.sessionStorage.removeItem(v)}catch(t){}}(),t.session=void 0}function _n(t){return void 0!==t&&Math.random()<t}function yn(t){if(mn())try{b.sessionStorage.setItem(v,JSON.stringify(t))}catch(t){}}function bn(t){const e=Date.now();return{id:t.id||Object(p.f)(),started:t.started||e,lastActivity:t.lastActivity||e,segmentId:t.segmentId||0,sampled:t.sampled,previousSessionId:t.previousSessionId}}function vn({sessionSampleRate:t,allowBuffering:e,stickySession:n=!1},{previousSessionId:r}={}){const i=function(t,e){return _n(t)?"session":!!e&&"buffer"}(t,e),o=bn({sampled:i,previousSessionId:r});return n&&yn(o),o}function wn(t,e,n=+new Date){return null===t||void 0===e||e<0||0!==e&&t+e<=n}function Cn(t,{maxReplayDuration:e,sessionIdleExpire:n,targetTime:r=Date.now()}){return wn(t.started,e,r)||wn(t.lastActivity,n,r)}function Sn(t,{sessionIdleExpire:e,maxReplayDuration:n}){return!!Cn(t,{sessionIdleExpire:e,maxReplayDuration:n})&&("buffer"!==t.sampled||0!==t.segmentId)}function On({traceInternals:t,sessionIdleExpire:e,maxReplayDuration:n,previousSessionId:r},i){const o=i.stickySession&&function(t){if(!mn())return null;try{const e=b.sessionStorage.getItem(v);if(!e)return null;const n=JSON.parse(e);return an("[Replay] Loading existing session",t),bn(n)}catch(t){return null}}(t);return o?Sn(o,{sessionIdleExpire:e,maxReplayDuration:n})?(an("[Replay] Session in sessionStorage is expired, creating new one..."),vn(i,{previousSessionId:o.id})):o:(an("[Replay] Creating new session",t),vn(i,{previousSessionId:r}))}function En(t,e,n){return!!In(t,e)&&(xn(t,e,n),!0)}async function xn(t,e,n){if(!t.eventBuffer)return null;try{n&&"buffer"===t.recordingMode&&t.eventBuffer.clear(),n&&(t.eventBuffer.hasCheckout=!0);const r=function(t,e){try{if("function"==typeof e&&function(t){return t.type===Tt.Custom}(t))return e(t)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...",t),null}return t}(e,t.getOptions().beforeAddRecordingEvent);if(!r)return;return await t.eventBuffer.addEvent(r)}catch(e){const n=e&&e instanceof un?"addEventSizeExceeded":"addEvent";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error(e),await t.stop({reason:n});const i=Object(r.b)().getClient();i&&i.recordDroppedEvent("internal_sdk_error","replay")}}function In(t,e){if(!t.eventBuffer||t.isPaused()||!t.isEnabled())return!1;const n=Le(e.timestamp);return!(n+t.timeouts.sessionIdlePause<Date.now())&&(!(n>t.getContext().initialTimestamp+t.getOptions().maxReplayDuration)||(sn(`[Replay] Skipping event with timestamp ${n} because it is after maxReplayDuration`,t.getOptions()._experiments.traceInternals),!1))}function kn(t){return!t.type}function Dn(t){return"transaction"===t.type}function Tn(t){const e=function(){const t=Object(r.b)().getClient();if(!t)return!1;const e=t.getTransport();if(!e)return!1;return e.send.__sentry__baseTransport__||!1}();return(n,r)=>{if(!t.isEnabled()||!kn(n)&&!Dn(n))return;const i=r&&r.statusCode;e&&(!i||i<200||i>=300)||(Dn(n)?function(t,e){const n=t.getContext();e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id&&n.traceIds.size<100&&n.traceIds.add(e.contexts.trace.trace_id)}(t,n):function(t,e){const n=t.getContext();e.event_id&&n.errorIds.size<100&&n.errorIds.add(e.event_id);"buffer"===t.recordingMode&&e.tags&&e.tags.replayId&&setTimeout((()=>{t.sendBufferedReplayOrFlush()}))}(t,n))}}function jn(t,e=!1){const n=e?Tn(t):void 0;return Object.assign(((e,r)=>{if(!t.isEnabled())return e;if(function(t){return"replay_event"===t.type}(e))return delete e.breadcrumbs,e;if(!kn(e)&&!Dn(e))return e;if(!t.checkAndHandleExpiredSession())return e;if(function(t,e){return!(t.type||!t.exception||!t.exception.values||!t.exception.values.length)&&(!(!e.originalException||!e.originalException.__rrweb__)||t.exception.values.some((t=>!!(t.stacktrace&&t.stacktrace.frames&&t.stacktrace.frames.length)&&t.stacktrace.frames.some((t=>t.filename&&t.filename.includes("/rrweb/src/"))))))}(e,r)&&!t.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.log("[Replay] Ignoring error from rrweb internals",e),null;const i=function(t,e){return"buffer"===t.recordingMode&&e.message!==C&&!(!e.exception||e.type)&&_n(t.getOptions().errorSampleRate)}(t,e);return(i||"session"===t.recordingMode)&&(e.tags={...e.tags,replayId:t.getSessionId()}),n&&n(e,{statusCode:200}),e}),{id:"Replay"})}function An(t,e){return e.map((({type:e,start:n,end:r,name:i,data:o})=>{const s=t.throttledAddEvent({type:Tt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:e,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"==typeof s?Promise.resolve(null):s}))}function Rn(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{from:e,to:n}=t,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:e}}}(e);null!==n&&(t.getContext().urls.push(n.name),t.triggerUserActivity(),t.addUpdate((()=>(An(t,[n]),!1))))}}function Mn(t,e){t.isEnabled()&&null!==e&&(function(t,e){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!t.getOptions()._experiments.traceInternals)&&Object(i.a)(e,Object(r.b)())}(t,e.name)||t.addUpdate((()=>(An(t,[e]),!0))))}function Nn(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{startTimestamp:e,endTimestamp:n,xhr:r}=t,i=r[f.a];if(!e||!n||!i)return null;const{method:o,url:s,status_code:a}=i;return void 0===s?null:{type:"resource.xhr",name:s,start:e/1e3,end:n/1e3,data:{method:o,statusCode:a}}}(e);Mn(t,n)}}const Pn=10,Fn=11,Ln=12,Vn=13,Bn=14,Un=15,zn=20,Hn=21,$n=22,Gn=23,qn=["true","false","null"];function Wn(t,e){if(!e.length)return t;let n=t;const r=e.length-1;n=function(t,e){switch(e){case Pn:return`${t}"~~":"~~"`;case Fn:return`${t}:"~~"`;case Ln:return`${t}~~":"~~"`;case Vn:return function(t){const e=t.lastIndexOf(":"),n=t.slice(e+1);if(qn.includes(n.trim()))return`${t},"~~":"~~"`;return`${t.slice(0,e+1)}"~~"`}(t);case Bn:return`${t}~~"`;case Un:return`${t},"~~":"~~"`;case zn:return`${t}"~~"`;case Hn:return function(t){const e=function(t){for(let e=t.length-1;e>=0;e--){const n=t[e];if(","===n||"["===n)return e}return-1}(t);if(e>-1){const n=t.slice(e+1);return qn.includes(n.trim())?`${t},"~~"`:`${t.slice(0,e+1)}"~~"`}return t}(t);case $n:return`${t}~~"`;case Gn:return`${t},"~~"`}return t}(n,e[r]);for(let t=r;t>=0;t--){switch(e[t]){case Pn:n=`${n}}`;break;case zn:n=`${n}]`}}return n}function Yn(t,e,n){const r=t[t.length-1],i=e[n];if(!/\s/.test(i))if('"'!==i||Zn(e,n))switch(i){case"{":!function(t,e){if(!e)return void t.push(Pn);if(e===Vn)return void t.push(Pn);e===Hn&&t.push(Pn);if(e===zn)t.push(Pn)}(t,r);break;case"[":!function(t,e){if(!e)return t.push(zn),void t.push(Hn);if(e===Vn)return t.push(zn),void t.push(Hn);e===Hn&&(t.push(zn),t.push(Hn));if(e===zn)t.push(zn),t.push(Hn)}(t,r);break;case":":!function(t,e){e===Fn&&(t.pop(),t.push(Vn))}(t,r);break;case",":!function(t,e){if(e===Vn)return void t.pop();if(e===Un)return t.pop(),void t.pop();if(e===Hn)return;if(e===Gn)t.pop()}(t,r);break;case"}":!function(t,e){e===Pn&&t.pop();e===Vn&&(t.pop(),t.pop());e===Un&&(t.pop(),t.pop(),t.pop());t[t.length-1]===Vn&&t.push(Un);t[t.length-1]===Hn&&t.push(Gn)}(t,r);break;case"]":!function(t,e){e===zn&&t.pop();e===Hn&&(t.pop(),t.pop());e===Gn&&(t.pop(),t.pop(),t.pop());t[t.length-1]===Vn&&t.push(Un);t[t.length-1]===Hn&&t.push(Gn)}(t,r)}else!function(t,e){if(e===Bn)return t.pop(),void t.push(Un);if(e===$n)return t.pop(),void t.push(Gn);if(e===Vn)return void t.push(Bn);if(e===Hn)return void t.push($n);if(e===Pn)return void t.push(Ln);if(e===Ln)t.pop(),t.push(Fn)}(t,r)}function Zn(t,e){return"\\"===t[e-1]&&!Zn(t,e-1)}function Kn(t){return Wn(t,function(t){const e=[];for(let n=0;n<t.length;n++)Yn(e,t,n);return e}(t))}function Qn(t,e){if(t)try{if("string"==typeof t)return e.encode(t).length;if(t instanceof URLSearchParams)return e.encode(t.toString()).length;if(t instanceof FormData){const n=ir(t);return e.encode(n).length}if(t instanceof Blob)return t.size;if(t instanceof ArrayBuffer)return t.byteLength}catch(t){}}function Jn(t){if(!t)return;const e=parseInt(t,10);return isNaN(e)?void 0:e}function Xn(t){return"string"==typeof t?t:t instanceof URLSearchParams?t.toString():t instanceof FormData?ir(t):void 0}function tr(t,e){if(!e)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:s,request:a,response:c}=e;return{type:t,start:n/1e3,end:r/1e3,name:i,data:Object(l.c)({method:o,statusCode:s,request:a,response:c})}}function er(t){return{headers:{},size:t,_meta:{warnings:["URL_SKIPPED"]}}}function nr(t,e,n){if(!e&&0===Object.keys(t).length)return;if(!e)return{headers:t};if(!n)return{headers:t,size:e};const r={headers:t,size:e},{body:i,warnings:o}=function(t){if(!t||"string"!=typeof t)return{body:t,warnings:[]};const e=t.length>S;if(function(t){const e=t[0],n=t[t.length-1];return"["===e&&"]"===n||"{"===e&&"}"===n}(t))try{const n=e?Kn(t.slice(0,S)):t;return{body:JSON.parse(n),warnings:e?["JSON_TRUNCATED"]:[]}}catch(n){return{body:e?`${t.slice(0,S)}\u2026`:t,warnings:e?["INVALID_JSON","TEXT_TRUNCATED"]:["INVALID_JSON"]}}return{body:e?`${t.slice(0,S)}\u2026`:t,warnings:e?["TEXT_TRUNCATED"]:[]}}(n);return r.body=i,o.length>0&&(r._meta={warnings:o}),r}function rr(t,e){return Object.keys(t).reduce(((n,r)=>{const i=r.toLowerCase();return e.includes(i)&&t[r]&&(n[i]=t[r]),n}),{})}function ir(t){return new URLSearchParams(t).toString()}function or(t,e){const n=function(t,e=b.document.baseURI){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith(b.location.origin))return t;const n=new URL(t,e);if(n.origin!==new URL(e).origin)return t;const r=n.href;if(!t.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(t);return Object(m.c)(n,e)}async function sr(t,e,n){try{const r=await async function(t,e,n){const{startTimestamp:r,endTimestamp:i}=e,{url:o,method:s,status_code:a=0,request_body_size:c,response_body_size:u}=t.data,l=or(o,n.networkDetailAllowUrls)&&!or(o,n.networkDetailDenyUrls),d=l?function({networkCaptureBodies:t,networkRequestHeaders:e},n,r){const i=function(t,e){if(1===t.length&&"string"!=typeof t[0])return ur(t[0],e);if(2===t.length)return ur(t[1],e);return{}}(n,e);if(!t)return nr(i,r,void 0);const o=Xn(ar(n));return nr(i,r,o)}(n,e.input,c):er(c),h=await async function(t,{networkCaptureBodies:e,textEncoder:n,networkResponseHeaders:r},i,o){if(!t&&void 0!==o)return er(o);const s=cr(i.headers,r);if(!e&&void 0!==o)return nr(s,o,void 0);try{const r=i.clone(),a=await async function(t){try{return await t.text()}catch(t){return}}(r),c=a&&a.length&&void 0===o?Qn(a,n):o;return t?nr(s,c,e?a:void 0):er(c)}catch(t){return nr(s,o,void 0)}}(l,n,e.response,u);return{startTimestamp:r,endTimestamp:i,url:o,method:s,statusCode:a,request:d,response:h}}(t,e,n),i=tr("resource.fetch",r);Mn(n.replay,i)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] Failed to capture fetch breadcrumb",t)}}function ar(t=[]){if(2===t.length&&"object"==typeof t[1])return t[1].body}function cr(t,e){const n={};return e.forEach((e=>{t.get(e)&&(n[e]=t.get(e))})),n}function ur(t,e){if(!t)return{};const n=t.headers;return n?n instanceof Headers?cr(n,e):Array.isArray(n)?{}:rr(n,e):{}}async function lr(t,e,n){try{const r=function(t,e,n){const{startTimestamp:r,endTimestamp:i,input:o,xhr:s}=e,{url:a,method:c,status_code:u=0,request_body_size:l,response_body_size:d}=t.data;if(!a)return null;if(!or(a,n.networkDetailAllowUrls)||or(a,n.networkDetailDenyUrls)){return{startTimestamp:r,endTimestamp:i,url:a,method:c,statusCode:u,request:er(l),response:er(d)}}const h=s[f.a],p=h?rr(h.request_headers,n.networkRequestHeaders):{},m=rr(function(t){const e=t.getAllResponseHeaders();if(!e)return{};return e.split("\r\n").reduce(((t,e)=>{const[n,r]=e.split(": ");return t[n.toLowerCase()]=r,t}),{})}(s),n.networkResponseHeaders),g=nr(p,l,n.networkCaptureBodies?Xn(o):void 0),_=nr(m,d,n.networkCaptureBodies?e.xhr.responseText:void 0);return{startTimestamp:r,endTimestamp:i,url:a,method:c,statusCode:u,request:g,response:_}}(t,e,n),i=tr("resource.xhr",r);Mn(n.replay,i)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] Failed to capture fetch breadcrumb",t)}}function dr(t){const e=Object(r.b)().getClient();try{const n=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a}=t.getOptions(),c={replay:t,textEncoder:n,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:s,networkResponseHeaders:a};e&&e.on?e.on("beforeAddBreadcrumb",((t,e)=>function(t,e,n){if(!e.data)return;try{(function(t){return"xhr"===t.category})(e)&&function(t){return t&&t.xhr}(n)&&(!function(t,e,n){const{xhr:r,input:i}=e,o=Qn(i,n.textEncoder),s=r.getResponseHeader("content-length")?Jn(r.getResponseHeader("content-length")):Qn(r.response,n.textEncoder);void 0!==o&&(t.data.request_body_size=o),void 0!==s&&(t.data.response_body_size=s)}(e,n,t),lr(e,n,t)),function(t){return"fetch"===t.category}(e)&&function(t){return t&&t.response}(n)&&(!function(t,e,n){const{input:r,response:i}=e,o=Qn(ar(r),n.textEncoder),s=i?Jn(i.headers.get("content-length")):void 0;void 0!==o&&(t.data.request_body_size=o),void 0!==s&&(t.data.response_body_size=s)}(e,n,t),sr(e,n,t))}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.warn("Error when enriching network breadcrumb")}}(c,t,e))):(Object(f.b)("fetch",function(t){return e=>{if(!t.isEnabled())return;const n=function(t){const{startTimestamp:e,endTimestamp:n,fetchData:r,response:i}=t;if(!n)return null;const{method:o,url:s}=r;return{type:"resource.fetch",start:e/1e3,end:n/1e3,name:s,data:{method:o,statusCode:i?i.status:void 0}}}(e);Mn(t,n)}}(t)),Object(f.b)("xhr",Nn(t)))}catch(t){}}let hr=null;const pr=t=>e=>{if(!t.isEnabled())return;const n=function(t){const e=t.getLastBreadcrumb&&t.getLastBreadcrumb();if(hr===e||!e)return null;if(hr=e,!function(t){return!!t.category}(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))return null;if("console"===e.category)return function(t){const e=t.data&&t.data.arguments;if(!Array.isArray(e)||0===e.length)return Ye(t);let n=!1;const r=e.map((t=>{if(!t)return t;if("string"==typeof t)return t.length>O?(n=!0,`${t.slice(0,O)}\u2026`):t;if("object"==typeof t)try{const e=Object(u.a)(t,7),r=JSON.stringify(e);if(r.length>O){const t=Kn(r.slice(0,O)),e=JSON.parse(t);return n=!0,e}return e}catch(t){}return t}));return Ye({...t,data:{...t.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e);return Ye(e)}(e);n&&Ve(t,n)};function fr(t){return!(!t||!t.on)}function mr(t){const{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}=t,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:r}}}}const gr={resource:function(t){const{entryType:e,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:u}=t;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${e}.${n}`,start:yr(o),end:yr(i),name:r,data:{size:u,statusCode:c,decodedBodySize:s,encodedBodySize:a}}},paint:function(t){const{duration:e,entryType:n,name:r,startTime:i}=t,o=yr(i);return{type:n,name:r,start:o,end:o+e,data:void 0}},navigation:function(t){const{entryType:e,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:u,loadEventStart:l,loadEventEnd:d,redirectCount:h,startTime:p,transferSize:f,type:m}=t;if(0===i)return null;return{type:`${e}.${m}`,start:yr(p),end:yr(o),name:n,data:{size:f,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:u,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:l,loadEventEnd:d,domComplete:o,redirectCount:h}}},"largest-contentful-paint":function(t){const{entryType:e,startTime:n,size:r}=t;let i=0;if(b.performance){const t=b.performance.getEntriesByType("navigation")[0];i=t&&t.activationStart||0}const o=Math.max(n-i,0),s=yr(i)+o/1e3;return{type:e,name:e,start:s,end:s,data:{value:o,size:r,nodeId:Fe.mirror.getId(t.element)}}}};function _r(t){return void 0===gr[t.entryType]?null:gr[t.entryType](t)}function yr(t){return((g.a||b.performance.timeOrigin)+t)/1e3}function br(t){let e=!1;return(n,r)=>{if(!t.checkAndHandleExpiredSession())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.warn("[Replay] Received replay event after session expired."));const i=r||!e;e=!0,t.addUpdate((()=>{if("buffer"===t.recordingMode&&i&&t.setInitialState(),!En(t,n,i))return!0;if(!i)return!1;if(function(t,e){if(!e||!t.session||0!==t.session.segmentId)return;En(t,function(t){const e=t.getOptions();return{type:Tt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{sessionSampleRate:e.sessionSampleRate,errorSampleRate:e.errorSampleRate,useCompressionOption:e.useCompression,blockAllMedia:e.blockAllMedia,maskAllText:e.maskAllText,maskAllInputs:e.maskAllInputs,useCompression:!!t.eventBuffer&&"worker"===t.eventBuffer.type,networkDetailHasUrls:e.networkDetailAllowUrls.length>0,networkCaptureBodies:e.networkCaptureBodies,networkRequestHasHeaders:e.networkRequestHeaders.length>0,networkResponseHasHeaders:e.networkResponseHeaders.length>0}}}}(t),!1)}(t,i),t.session&&t.session.previousSessionId)return!0;if("buffer"===t.recordingMode&&t.session&&t.eventBuffer){const e=t.eventBuffer.getEarliestTimestamp();e&&(sn(`[Replay] Updating session start time to earliest event in buffer to ${new Date(e)}`,t.getOptions()._experiments.traceInternals),t.session.started=e,t.getOptions().stickySession&&yn(t.session))}return"session"===t.recordingMode&&t.flush(),!0}))}}async function vr({recordingData:t,replayId:e,segmentId:n,eventContext:i,timestamp:o,session:a}){const c=function({recordingData:t,headers:e}){let n;const r=`${JSON.stringify(e)}\n`;if("string"==typeof t)n=`${r}${t}`;else{const e=(new TextEncoder).encode(r);n=new Uint8Array(e.length+t.length),n.set(e),n.set(t,e.length)}return n}({recordingData:t,headers:{segment_id:n}}),{urls:u,errorIds:l,traceIds:d,initialTimestamp:h}=i,p=Object(r.b)(),f=p.getClient(),m=p.getScope(),g=f&&f.getTransport(),y=f&&f.getDsn();if(!(f&&g&&y&&a.sampled))return;const b={type:w,replay_start_timestamp:h/1e3,timestamp:o/1e3,error_ids:l,trace_ids:d,urls:u,replay_id:e,segment_id:n,replay_type:a.sampled},v=await async function({client:t,scope:e,replayId:n,event:r}){const i={event_id:n,integrations:"object"!=typeof t._integrations||null===t._integrations||Array.isArray(t._integrations)?void 0:Object.keys(t._integrations)};t.emit&&t.emit("preprocessEvent",r,i);const o=await Object(s.a)(t.getOptions(),r,i,e,t);if(!o)return null;o.platform=o.platform||"javascript";const a=t.getSdkMetadata&&t.getSdkMetadata(),{name:c,version:u}=a&&a.sdk||{};return o.sdk={...o.sdk,name:c||"sentry.javascript.unknown",version:u||"0.0.0"},o}({scope:m,client:f,replayId:e,event:b});if(!v)return f.recordDroppedEvent("event_processor","replay",b),void sn("An event processor returned `null`, will not send event.");delete v.sdkProcessingMetadata;const S=function(t,e,n,r){return Object(_.c)(Object(_.d)(t,Object(_.h)(t),r,n),[[{type:"replay_event"},t],[{type:"replay_recording",length:"string"==typeof e?(new TextEncoder).encode(e).length:e.length},e]])}(v,c,y,f.getOptions().tunnel);let O;try{O=await g.send(S)}catch(t){const e=new Error(C);try{e.cause=t}catch(t){}throw e}if(!O)return O;if("number"==typeof O.statusCode&&(O.statusCode<200||O.statusCode>=300))throw new wr(O.statusCode);return O}class wr extends Error{constructor(t){super(`Transport returned status code ${t}`)}}async function Cr(t,e={count:0,interval:5e3}){const{recordingData:n,options:r}=t;if(n.length)try{return await vr(t),!0}catch(n){if(n instanceof wr)throw n;if(Object(a.i)("Replays",{_retryCount:e.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&Object(a.c)(n),e.count>=3){const t=new Error(`${C} - max retries exceeded`);try{t.cause=n}catch(t){}throw t}return e.interval*=++e.count,new Promise(((n,r)=>{setTimeout((async()=>{try{await Cr(t,e),n(!0)}catch(t){r(t)}}),e.interval)}))}}const Sr="__THROTTLED";function Or(t,e,n){const r=new Map;let i=!1;return(...o)=>{const s=Math.floor(Date.now()/1e3);if((t=>{const e=t-n;r.forEach(((t,n)=>{n<e&&r.delete(n)}))})(s),[...r.values()].reduce(((t,e)=>t+e),0)>=e){const t=i;return i=!0,t?"__SKIPPED":Sr}i=!1;const a=r.get(s)||0;return r.set(s,a+1),t(...o)}}class Er{constructor({options:t,recordingOptions:e}){Er.prototype.__init.call(this),Er.prototype.__init2.call(this),Er.prototype.__init3.call(this),Er.prototype.__init4.call(this),Er.prototype.__init5.call(this),Er.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEvents=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=e,this._options=t,this._debouncedFlush=function(t,e,n){let r,i,o;const s=n&&n.maxWait?Math.max(n.maxWait,e):0;function a(){return c(),r=t(),r}function c(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=setTimeout(a,e),s&&void 0===o&&(o=setTimeout(a,s)),r}return u.cancel=c,u.flush=function(){return void 0!==i||void 0!==o?a():r},u}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Or(((t,e)=>function(t,e,n){return In(t,e)?xn(t,e,n):Promise.resolve(null)}(this,t,e)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new Ge(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}initializeSampling(t){const{errorSampleRate:e,sessionSampleRate:n}=this._options;e<=0&&n<=0||(this._initializeSessionForSampling(t),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",an(`[Replay] Starting replay in ${this.recordingMode} mode`,this._options._experiments.traceInternals),this._initializeRecording()):this._handleException(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)throw new Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw new Error("Replay buffering is in progress, call `flush()` to save the replay");an("[Replay] Starting replay in session mode",this._options._experiments.traceInternals);const t=On({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=t,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw new Error("Replay recording is already in progress");an("[Replay] Starting replay in buffer mode",this._options._experiments.traceInternals);const t=On({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=t,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{this._stopRecording=Fe({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:br(this),onMutation:this._onMutationHandler})}catch(t){this._handleException(t)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(t){return this._handleException(t),!1}}async stop({forceFlush:t=!1,reason:e}={}){if(this._isEnabled){this._isEnabled=!1;try{sn("[Replay] Stopping Replay"+(e?` triggered by ${e}`:""),this._options._experiments.traceInternals),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,gn(this)}catch(t){this._handleException(t)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),sn("[Replay] Pausing replay",this._options._experiments.traceInternals))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),sn("[Replay] Resuming replay",this._options._experiments.traceInternals))}async sendBufferedReplayOrFlush({continueRecording:t=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const e=Date.now();sn("[Replay] Converting buffer to session",this._options._experiments.traceInternals),await this.flushImmediate();const n=this.stopRecording();t&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(e),this._updateSessionActivity(e),this._maybeSaveSession()),this.startRecording())}addUpdate(t){const e=t();"buffer"!==this.recordingMode&&!0!==e&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&wn(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const t=`${b.location.pathname}${b.location.hash}${b.location.search}`,e=`${b.location.origin}${t}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=e,this._context.initialTimestamp=Date.now(),this._context.urls.push(e)}throttledAddEvent(t,e){const n=this._throttledAddEvent(t,e);if(n===Sr){const t=Ye({category:"replay.throttled"});this.addUpdate((()=>!En(this,{type:5,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t,metric:!0}})))}return n}getCurrentRoute(){const t=this.lastTransaction||Object(r.b)().getScope().getTransaction();if(t&&["route","custom"].includes(t.metadata.source))return t.name}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=fn({useCompression:this._options.useCompression}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay]",t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&Object(a.c)(t)}_initializeSessionForSampling(t){const e=this._options.errorSampleRate>0,n=On({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:t},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:e});this.session=n}_checkSession(){if(!this.session)return!1;const t=this.session;return!Sn(t,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(t),!1)}async _refreshSession(t){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(t.id))}_addListeners(){try{b.document.addEventListener("visibilitychange",this._handleVisibilityChange),b.addEventListener("blur",this._handleWindowBlur),b.addEventListener("focus",this._handleWindowFocus),b.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(t){const e=Object(r.b)().getScope(),n=Object(r.b)().getClient();e.addScopeListener(pr(t)),Object(f.b)("dom",Je(t)),Object(f.b)("history",Rn(t)),dr(t);const i=jn(t,!fr(n));n&&n.addEventProcessor?n.addEventProcessor(i):Object(o.a)(i),fr(n)&&(n.on("afterSendEvent",Tn(t)),n.on("createDsc",(e=>{const n=t.getSessionId();n&&t.isEnabled()&&"session"===t.recordingMode&&(e.replay_id=n)})),n.on("startTransaction",(e=>{t.lastTransaction=e})),n.on("finishTransaction",(e=>{t.lastTransaction=e})))}(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in b&&(this._performanceObserver=rn(this))}_removeListeners(){try{b.document.removeEventListener("visibilitychange",this._handleVisibilityChange),b.removeEventListener("blur",this._handleWindowBlur),b.removeEventListener("focus",this._handleWindowFocus),b.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=void 0)}catch(t){this._handleException(t)}}__init(){this._handleVisibilityChange=()=>{"visible"===b.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{const t=Ye({category:"ui.blur"});this._doChangeToBackgroundTasks(t)}}__init3(){this._handleWindowFocus=()=>{const t=Ye({category:"ui.focus"});this._doChangeToForegroundTasks(t)}}__init4(){this._handleKeyboardEvent=t=>{tn(this,t)}}_doChangeToBackgroundTasks(t){if(!this.session)return;Cn(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(t&&this._createCustomBreadcrumb(t),this.conditionalFlush())}_doChangeToForegroundTasks(t){if(!this.session)return;this.checkAndHandleExpiredSession()?t&&this._createCustomBreadcrumb(t):sn("[Replay] Document has become active, but session has expired")}_triggerFullSnapshot(t=!0){try{sn("[Replay] Taking full rrweb snapshot"),Fe.takeFullSnapshot(t)}catch(t){this._handleException(t)}}_updateUserActivity(t=Date.now()){this._lastActivity=t}_updateSessionActivity(t=Date.now()){this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}_createCustomBreadcrumb(t){this.addUpdate((()=>{this.throttledAddEvent({type:Tt.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})}))}_addPerformanceEntries(){const t=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(An(this,function(t){return t.map(_r).filter(Boolean)}(t)))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:t,eventBuffer:e}=this;if(!t||!e)return;if(t.segmentId)return;const n=e.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),t}async _runFlush(){const t=this.getSessionId();if(this.session&&this.eventBuffer&&t){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(t){try{return Promise.all(An(t,[mr(b.performance.memory)]))}catch(t){return[]}}(this),this.eventBuffer&&t===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const e=Date.now();if(e-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await Cr({replayId:t,recordingData:i,segmentId:r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:e})}catch(t){this._handleException(t),this.stop({reason:"sendReplay"});const e=Object(r.b)().getClient();e&&e.recordDroppedEvent("send_error","replay")}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] No session or eventBuffer found to flush.")}__init5(){this._flush=async({force:t=!1}={})=>{if(!this._isEnabled&&!t)return;if(!this.checkAndHandleExpiredSession())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] Attempting to finish replay event after session expired."));if(!this.session)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error("[Replay] No session found to flush."));const e=this.session.started,n=Date.now()-e;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return sn(`[Replay] Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`,this._options._experiments.traceInternals),void(r&&this._debouncedFlush());const o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&sn("[Replay] Flushing initial segment without checkout.",this._options._experiments.traceInternals),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=void 0);try{await this._flushLock}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&h.c.error(t)}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&yn(this.session)}__init6(){this._onMutationHandler=t=>{const e=t.length,n=this._options.mutationLimit,r=n&&e>n;if(e>this._options.mutationBreadcrumbLimit||r){const t=Ye({category:"replay.mutations",data:{count:e,limit:r}});this._createCustomBreadcrumb(t)}return!r||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function xr(t,e,n,r){const i=[...t,..."string"==typeof r?r.split(","):[],...e];return void 0!==n&&"string"==typeof n&&i.push(`.${n}`),i.join(",")}function Ir(){return"undefined"!=typeof window&&(!Object(y.b)()||void 0!==t&&"renderer"===t.type)}const kr='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Dr=["content-length","content-type","accept"];let Tr=!1;class jr{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:t=5e3,flushMaxDelay:e=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,_experiments:s={},sessionSampleRate:a,errorSampleRate:c,maskAllText:u=!0,maskAllInputs:l=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:h=750,mutationLimit:p=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:m=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:_=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:v=[],mask:w=[],maskAttributes:C=["title","placeholder"],unmask:S=[],block:O=[],unblock:E=[],ignore:I=[],maskFn:k,beforeAddRecordingEvent:D,blockClass:T,blockSelector:j,maskInputOptions:A,maskTextClass:R,maskTextSelector:M,ignoreClass:N}={}){this.name=jr.id;const P=function({mask:t,unmask:e,block:n,unblock:r,ignore:i,blockClass:o,blockSelector:s,maskTextClass:a,maskTextSelector:c,ignoreClass:u}){const l={maskTextSelector:xr(t,[".sentry-mask","[data-sentry-mask]"],a,c),unmaskTextSelector:xr(e,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:xr(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,s),unblockSelector:xr(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:xr(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return o instanceof RegExp&&(l.blockClass=o),a instanceof RegExp&&(l.maskTextClass=a),l}({mask:w,unmask:S,block:O,unblock:E,ignore:I,blockClass:T,blockSelector:j,maskTextClass:R,maskTextSelector:M,ignoreClass:N});if(this._recordingOptions={maskAllInputs:l,maskAllText:u,maskInputOptions:{...A||{},password:!0},maskTextFn:k,maskInputFn:k,maskAttributeFn:(t,e,n)=>function({el:t,key:e,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&t.matches(i.unmaskTextSelector)?o:n.includes(e)||"value"===e&&"INPUT"===t.tagName&&["submit","button"].includes(t.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:C,maskAllText:u,privacyOptions:P,key:t,value:e,el:n}),...P,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:t=>{try{t.__rrweb__=!0}catch(t){}}},this._initialOptions={flushMinDelay:t,flushMaxDelay:e,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,x),stickySession:i,sessionSampleRate:a,errorSampleRate:c,useCompression:o,blockAllMedia:d,maskAllInputs:l,maskAllText:u,mutationBreadcrumbLimit:h,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:m,networkDetailAllowUrls:g,networkDetailDenyUrls:_,networkCaptureBodies:y,networkRequestHeaders:Ar(b),networkResponseHeaders:Ar(v),beforeAddRecordingEvent:D,_experiments:s},"number"==typeof a&&(this._initialOptions.sessionSampleRate=a),"number"==typeof c&&(this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${kr}`:kr),this._isInitialized&&Ir())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Tr}set _isInitialized(t){Tr=t}setupOnce(){Ir()&&(this._setup(),setTimeout((()=>this._initialize())))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(t){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(t):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&this._replay.initializeSampling()}_setup(){const t=function(t){const e=Object(r.b)().getClient(),n=e&&e.getOptions(),i={sessionSampleRate:0,errorSampleRate:0,...Object(l.c)(t)};if(!n)return i;null==t.sessionSampleRate&&null==t.errorSampleRate&&null==n.replaysSessionSampleRate&&n.replaysOnErrorSampleRate;"number"==typeof n.replaysSessionSampleRate&&(i.sessionSampleRate=n.replaysSessionSampleRate);"number"==typeof n.replaysOnErrorSampleRate&&(i.errorSampleRate=n.replaysOnErrorSampleRate);return i}(this._initialOptions);this._replay=new Er({options:t,recordingOptions:this._recordingOptions})}}function Ar(t){return[...Dr,...t.map((t=>t.toLowerCase()))]}jr.__initStatic()}).call(this,n(230))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(15),i=n(199),o=n(1389);const s=100,a=5e3,c=36e5;function u(t,e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.c.info(`[Offline]: ${t}`,e)}function l(t){return e=>{const n=t(e),r=e.createStore?e.createStore(e):void 0;let l,d=a;function h(t){r&&(l&&clearTimeout(l),l=setTimeout((async()=>{l=void 0;const t=await r.pop();t&&(u("Attempting to send previously queued event"),f(t).catch((t=>{u("Failed to retry sending",t)})))}),t),"number"!=typeof l&&l.unref&&l.unref())}function p(){l||(h(d),d=Math.min(2*d,c))}async function f(t){try{const e=await n.send(t);let r=s;if(e)if(e.headers&&e.headers["retry-after"])r=Object(o.b)(e.headers["retry-after"]);else if((e.statusCode||0)>=400)return e;return h(r),d=a,e}catch(n){if(r&&await function(t,n,r){return!Object(i.e)(t,["replay_event","replay_recording","client_report"])&&(!e.shouldStore||e.shouldStore(t,n,r))}(t,n,d))return await r.insert(t),p(),u("Error sending. Event queued",n),{};throw n}}return e.flushAtStartup&&p(),{send:f,flush:t=>n.flush(t)}}}},,,,function(t,e,n){"use strict";n.r(e);var r=n(344);n.d(e,"ajax",(function(){return r.a}));var i=n(83);n.d(e,"AjaxResponse",(function(){return i.c})),n.d(e,"AjaxError",(function(){return i.a})),n.d(e,"AjaxTimeoutError",(function(){return i.e}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1326))},,,,,,,,,,,function(t,e,n){"use strict";e.__esModule=!0;e.default={nbsp:"\xa0"}},function(t,e,n){"use strict";function r(t){this.named=t}e.__esModule=!0;var i=/^#[xX]([A-Fa-f0-9]+)$/,o=/^#([0-9]+)$/,s=/^([A-Za-z0-9]+)$/;r.prototype.parse=function(t){if(t){var e=t.match(i);return e?"&#x"+e[1]+";":(e=t.match(o))?"&#"+e[1]+";":(e=t.match(s))?this.named[e[1]]||"&"+e[1]+";":void 0}},e.default=r},function(t,e,n){"use strict";e.__esModule=!0;var r=n(1332);function i(t,e){this.delegate=t,this.entityParser=e,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}i.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,r.preprocessInput)(t);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},consumeCharRef:function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),n=this.entityParser.parse(e);if(n){for(var r=e.length;r;)this.consume(),r--;return this.consume(),n}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var t=this.peek();"<"===t?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();"!"===t?this.state="markupDeclaration":"/"===t?this.state="endTagOpen":(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(t.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var t=this.consume();"-"===t?this.state="commentStartDash":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(t),this.state="comment")},commentStartDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var t=this.consume();"-"===t?this.state="commentEndDash":this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":(this.delegate.appendToCommentData("-"+t),this.state="comment")},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+t),this.state="comment")},tagName:function(){var t=this.consume();(0,r.isSpace)(t)?this.state="beforeAttributeName":"/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.state="selfClosingStartTag",this.consume()):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},attributeName:function(){var t=this.peek();(0,r.isSpace)(t)?(this.state="afterAttributeName",this.consume()):"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.state="beforeAttributeValue",this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===t?(this.consume(),this.state="beforeAttributeValue"):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();(0,r.isSpace)(t)?this.consume():'"'===t?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===t?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===t?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===t?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();(0,r.isSpace)(t)?(this.consume(),this.state="beforeAttributeName"):"/"===t?(this.consume(),this.state="selfClosingStartTag"):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var t=this.consume();(0,r.isAlpha)(t)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(t.toLowerCase()))}}},e.default=i},function(t,e,n){"use strict";e.__esModule=!0;var r,i=n(569),o=(r=i)&&r.__esModule?r:{default:r};function s(t,e){this.token=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new o.default(this,t)}s.prototype={tokenize:function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},tokenizePart:function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(t){this.token.chars+=t},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(t){this.token.chars+=t},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(t){this.token.tagName+=t},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(t){this._currentAttribute[0]+=t},beginAttributeValue:function(t){this._currentAttribute[2]=t},appendToAttributeValue:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},finishAttributeValue:function(){}},e.default=s},function(t,e,n){"use strict";e.__esModule=!0,e.stateify=e.TokenState=e.CharacterState=void 0;var r=n(349);var i=function(t){this.j=[],this.T=t||null};i.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],r=n[0],i=n[1];if(this.test(t,r))return i}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var o=(0,r.inherits)(i,(function(t){this.j=[],this.T=t||null}),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),s=(0,r.inherits)(i,(function(t){this.j=[],this.T=t||null}),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}});e.CharacterState=o,e.TokenState=s,e.stateify=function(t,e,n,r){for(var i=0,s=t.length,a=e,c=[],u=void 0;i<s&&(u=a.next(t[i]));)a=u,i++;if(i>=s)return[];for(;i<s-1;)u=new o(r),c.push(u),a.on(t[i],u),a=u,i++;return u=new o(n),c.push(u),a.on(t[s-1],u),c}},function(t,e,n){"use strict";e.__esModule=!0,e.createTokenClass=function(){return function(t){t&&(this.v=t)}}},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(r=function(){if("undefined"==typeof window)return null;var t="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),e=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)},n=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||function(e){t.clearTimeout(e)};function r(t,e){var n=Object.prototype.toString.call(t),r="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,i=0,o=t.length;if(r)for(;i<o;i++)e(t[i]);else e(t)}function i(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}function o(t,e){Object.keys(e).forEach((function(n){t.style[n]=e[n]}))}var s=function(t,a){var c=0;function u(){var t,e,n=[];this.add=function(t){n.push(t)},this.call=function(r){for(t=0,e=n.length;t<e;t++)n[t].call(this,r)},this.remove=function(r){var i=[];for(t=0,e=n.length;t<e;t++)n[t]!==r&&i.push(n[t]);n=i},this.length=function(){return n.length}}function l(t,n){if(t)if(t.resizedAttached)t.resizedAttached.add(n);else{t.resizedAttached=new u,t.resizedAttached.add(n),t.resizeSensor=document.createElement("div"),t.resizeSensor.dir="ltr",t.resizeSensor.className="resize-sensor";var r={pointerEvents:"none",position:"absolute",left:"0px",top:"0px",right:"0px",bottom:"0px",overflow:"hidden",zIndex:"-1",visibility:"hidden",maxWidth:"100%"},s={position:"absolute",left:"0px",top:"0px",transition:"0s"};o(t.resizeSensor,r);var a=document.createElement("div");a.className="resize-sensor-expand",o(a,r);var l=document.createElement("div");o(l,s),a.appendChild(l);var d=document.createElement("div");d.className="resize-sensor-shrink",o(d,r);var h=document.createElement("div");o(h,s),o(h,{width:"200%",height:"200%"}),d.appendChild(h),t.resizeSensor.appendChild(a),t.resizeSensor.appendChild(d),t.appendChild(t.resizeSensor);var p=window.getComputedStyle(t),f=p?p.getPropertyValue("position"):null;"absolute"!==f&&"relative"!==f&&"fixed"!==f&&"sticky"!==f&&(t.style.position="relative");var m=!1,g=0,_=i(t),y=0,b=0,v=!0;c=0;var w=function(){var e=t.offsetWidth,n=t.offsetHeight;l.style.width=e+10+"px",l.style.height=n+10+"px",a.scrollLeft=e+10,a.scrollTop=n+10,d.scrollLeft=e+10,d.scrollTop=n+10},C=function(){if(v){if(0===t.offsetWidth&&0===t.offsetHeight)return void(c||(c=e((function(){c=0,C()}))));v=!1}w()};t.resizeSensor.resetSensor=C;var S=function(){g=0,m&&(y=_.width,b=_.height,t.resizedAttached&&t.resizedAttached.call(_))},O=function(){_=i(t),(m=_.width!==y||_.height!==b)&&!g&&(g=e(S)),C()},E=function(t,e,n){t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n)};E(a,"scroll",O),E(d,"scroll",O),c=e((function(){c=0,C()}))}}r(t,(function(t){l(t,a)})),this.detach=function(e){c||(n(c),c=0),s.detach(t,e)},this.reset=function(){t.resizeSensor.resetSensor()}};if(s.reset=function(t){r(t,(function(t){t.resizeSensor.resetSensor()}))},s.detach=function(t,e){r(t,(function(t){t&&(t.resizedAttached&&"function"==typeof e&&(t.resizedAttached.remove(e),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))}))},"undefined"!=typeof MutationObserver){var a=new MutationObserver((function(t){for(var e in t)if(t.hasOwnProperty(e))for(var n=t[e].addedNodes,r=0;r<n.length;r++)n[r].resizeSensor&&s.reset(n[r])}));document.addEventListener("DOMContentLoaded",(function(t){a.observe(document.body,{childList:!0,subtree:!0})}))}return s})?r.call(e,n,e,t):r)||(t.exports=i)},function(t,e,n){"use strict";n.r(e),n.d(e,"LoadingBarHttpClientModule",(function(){return u})),n.d(e,"\u0275a",(function(){return c}));var r=n(3),i=n(79),o=n(0),s=n(370),a=n(72),c=function(){function t(t){this.loadingBar=t}return t.prototype.intercept=function(t,e){var n=this;if(t.headers.has("ignoreLoadingBar"))return e.handle(t.clone({headers:t.headers.delete("ignoreLoadingBar")}));var i=e.handle(t),o=!1,a=i.subscribe.bind(i);return i.subscribe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.loadingBar.start(),o=!0,a.apply(void 0,Object(r.__spread)(t))},i.pipe(Object(s.a)((function(){return o&&n.loadingBar.complete()})))},t.\u0275fac=function(e){return new(e||t)(o["\u0275\u0275inject"](i.LoadingBarService))},t.\u0275prov=o["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();c.ctorParameters=function(){return[{type:i.LoadingBarService}]};var u=function(){function t(){}return t.\u0275mod=o["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},providers:[{provide:a.HTTP_INTERCEPTORS,useClass:c,multi:!0}],imports:[[a.HttpClientModule,i.LoadingBarModule.forRoot()],a.HttpClientModule,i.LoadingBarModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["\u0275\u0275setNgModuleScope"](t,{imports:function(){return[a.HttpClientModule,i.LoadingBarModule]},exports:function(){return[a.HttpClientModule,i.LoadingBarModule]}}),t}()},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(199),i=n(47);const o=new Map,s=new Set;function a(t,e){return function(t){if(i.a._sentryModuleMetadata)for(const e of Object.keys(i.a._sentryModuleMetadata)){const n=i.a._sentryModuleMetadata[e];if(s.has(e))continue;s.add(e);const r=t(e);for(const t of r.reverse())if(t.filename){o.set(t.filename,n);break}}}(t),o.get(e)}class c{static __initStatic(){this.id="ModuleMetadata"}constructor(){this.name=c.id}setupOnce(t,e){const n=e().getClient();if(!n||"function"!=typeof n.on)return;n.on("beforeEnvelope",(t=>{Object(r.g)(t,((t,e)=>{if("event"===e){const e=Array.isArray(t)?t[1]:void 0;e&&(!function(t){try{t.exception.values.forEach((t=>{if(t.stacktrace)for(const e of t.stacktrace.frames||[])delete e.module_metadata}))}catch(t){}}(e),t[1]=e)}}))}));const i=n.getOptions().stackParser;t((t=>(function(t,e){try{e.exception.values.forEach((e=>{if(e.stacktrace)for(const n of e.stacktrace.frames||[]){if(!n.filename)continue;const e=a(t,n.filename);e&&(n.module_metadata=e)}}))}catch(t){}}(i,t),t)))}}c.__initStatic()},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(264),i=n(15),o=n(42),s=n(25),a=n(175),c=n(199),u=n(599),l=n(193);var d=n(216),h=n(118),p=n(256),f=n(299);const m="Not capturing exception because it's already been captured.";class g{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=Object(r.c)(t.dsn):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("No DSN provided, client will not send events."),this._dsn){const e=Object(l.a)(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if(Object(o.d)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(m));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let i=n&&n.event_id;const o=Object(s.j)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{i=t}))),i}captureEvent(t,e,n){if(e&&e.originalException&&Object(o.d)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(m));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Object(h.c)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):Object(a.c)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&(this._integrations=Object(d.d)(this,this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){Object(d.c)(this,t,this._integrations)}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=function(t,e,n,r){const i=Object(c.h)(n),o=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const s=Object(c.d)(t,i,r,e);delete t.sdkProcessingMetadata;const a=[{type:o},t];return Object(c.c)(s,[a])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=Object(c.a)(n,Object(c.b)(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const e=function(t,e,n,i){const o=Object(c.h)(n),s={sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!i&&e&&{dsn:Object(r.b)(e)}},a="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Object(c.c)(s,[a])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const i=e.exception&&e.exception.values;if(i){r=!0;for(const t of i){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&(Object(h.c)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new a.a((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n){const r=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i.length>0&&(e.integrations=i),this.emit("preprocessEvent",t,e),Object(f.a)(r,t,e,n,this).then((t=>{if(null===t)return t;const{propagationContext:e}=t.sdkProcessingMetadata||{};if(!(t.contexts&&t.contexts.trace)&&e){const{traceId:r,spanId:i,parentSpanId:o,dsc:s}=e;t.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...t.contexts};const a=s||Object(p.a)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t}))}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?i.c.log(e.message):i.c.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:i}=r,o=y(t),c=_(t),l=t.type||"error",d=`before send for type \`${l}\``;if(c&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),Object(a.b)(new u.a(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const h="replay_event"===l?"replay":l;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",h,t),new u.a("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const i=function(t,e,n){const{beforeSend:r,beforeSendTransaction:i}=t;if(_(e)&&r)return r(e,n);if(y(e)&&i)return i(e,n);return e}(r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if(Object(s.n)(t))return t.then((t=>{if(!Object(s.i)(t)&&null!==t)throw new u.a(n);return t}),(t=>{throw new u.a(`${e} rejected with ${t}`)}));if(!Object(s.i)(t)&&null!==t)throw new u.a(n);return t}(i,d)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",h,t),new u.a(`${d} returned \`null\`, will not send event.`,"log");const i=n&&n.getSession();!o&&i&&this._updateSessionFromEvent(i,r);const s=r.transaction_info;if(o&&s&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...s,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof u.a)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new u.a(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function _(t){return void 0===t.type}function y(t){return"transaction"===t.type}},function(t,e,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}))},function(t,e,n){"use strict";function r(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++){if(e[t]===n)return!0}return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l}));var r=n(25),i=n(15);const o="baggage",s="sentry-",a=/^sentry-/,c=8192;function u(t){if(!Object(r.l)(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce(((t,e)=>({...t,...d(e)})),{});else{if(!t)return;e=d(t)}const n=Object.entries(e).reduce(((t,[e,n])=>{if(e.match(a)){t[e.slice(s.length)]=n}return t}),{});return Object.keys(n).length>0?n:void 0}function l(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],r)=>{const o=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?o:`${t},${o}`;return s.length>c?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.c.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`${s}${e}`]=n),t)),{}))}function d(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(t[e]=n,t)),{})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));class r extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}},function(t,e,n){"use strict";function r(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function i(t){return t.split(/[\?#]/,1)[0]}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(1073)),r(n(1074)),r(n(1075))},function(t,e,n){"use strict";function r(t){return t}function i(){var t=document.querySelectorAll("input");return Array.prototype.slice.call(t).map((function(t){return t.value}))}function o(t){var e=document.querySelectorAll("input");t&&e.length===t.length&&(t.forEach((function(t,n){var r=e[n];r.value=t,r.dispatchEvent(new CustomEvent("input",{detail:r.value}))})),t.length=0)}Object.defineProperty(e,"__esModule",{value:!0}),e.bootloader=function(t,e,n){if("object"==typeof t){var i=t.main;e=t.before,n=t.after,t=i}e=e||r,n=n||r;var o=document.readyState;if("loading"===o)document.addEventListener("DOMContentLoaded",(function r(){document.removeEventListener("DOMContentLoaded",r),n(t(e(o)))}));else n(t(e(o)))},e.createNewHosts=function(t){var e=Array.prototype.map.call(t,(function(t){var e=document.createElement(t.tagName),n=t.parentNode,r=e.style.display;return e.style.display="none",n.insertBefore(e,t),function(){e.style.display=r;try{n.removeChild(t)}catch(t){}}}));return function(){e.forEach((function(t){return t()}))}},e.removeNgStyles=function(){var t=document.head,e=t.querySelectorAll("style");Array.prototype.slice.call(e).filter((function(t){return-1!==t.innerText.indexOf("_ng")})).map((function(e){return t.removeChild(e)}))},e.getInputValues=i,e.setInputValues=o,e.createInputTransfer=function(){var t=i();return function(){return o(t)}}},function(t,e,n){"use strict";function r(){var t=document.querySelectorAll("input, textarea, select");return Array.prototype.slice.call(t).map((function(t){var e=t.tagName.toLowerCase(),n=t.type,r=t.id&&"string"==typeof t.id?t.id:null,i=t.name&&"string"==typeof t.name?t.name:null,o=t.value&&"string"==typeof t.value?t.value:null,s=t.childNodes,a=Boolean(t.selected),c={tag:e,type:null,id:r,name:i,value:"",checked:!1,options:[]};if("input"===e||"textarea"===e){if(c.type=n,"input"!==e)return c.value=o,c;switch(n){case"checkbox":case"radio":return c.checked=a,c.value=o,c;default:return c}}else if("select"===e){var u=Array.prototype.slice.call(s).map((function(t,e){return{value:t.value,selected:Boolean(t.selected)}}));return c.options=u,c}return c}))}function i(t){var e=document.querySelectorAll("input, textarea");t.forEach((function(t,n){if("input"===t.tag||"textarea"===t.tag)if("input"!==t.tag||"checkbox"!==t.type&&"radio"!==t.type)if("input"!==t.tagName.toLowerCase()||"image"!==t.type&&"button"!==t.type&&"submit"!==t.type&&"reset"!==t.type)if(null===t.id&&null===t.name)!t.value.length||!e[n]||e[n].tagName.toLowerCase()!==t.tag||"textarea"!==t.tag&&e[n].getAttribute("type")!==t.type||"string"==typeof e[n].id&&e[n].id.length||"string"==typeof e[n].getAttribute("name")&&e[n].getAttribute("name").length||(e[n].value=t.value,e[n].dispatchEvent(new CustomEvent("input",{detail:e[n].value})));else{r="input"+(null!==t.id?"#"+t.id:"")+("input"===t.tag?'[type="'+t.type+'"]':"")+(null!==t.name?'[name="'+t.name+'"]':"");(o=document.body.querySelector(r))&&t.value.length&&(o.value=t.value,o.dispatchEvent(new CustomEvent("input",{detail:o.value})))}else;else{var r="input"+(null!==t.id?"#"+t.id:"")+'[type="'+t.type+'"]'+(null!==t.name?'[name="'+t.name+'"]':"")+'[value="'+t.value+'"]';(o=document.body.querySelector(r))&&Boolean(t.checked)&&(o.checked="checked",o.dispatchEvent(new CustomEvent("input",{detail:o.checked})))}else if("select"===t.tag){var i=null;if(null===t.id&&null===t.name)!e[n]||e[n].tagName.toLowerCase()!==t.tag||"string"==typeof e[n].id&&e[n].id.length||"string"==typeof e[n].getAttribute("name")&&e[n].getAttribute("name").length||(i=e[n]);else{var o;r="select"+(null!==t.id?"#"+t.id:"")+(null!==t.name?'[name="'+t.name+'"]':"");(o=document.body.querySelector(r))&&(i=o)}i&&t.options.forEach((function(t,e){var n=i.querySelector('option[value="'+t.value+'"]');n||!i.childNodes[e]||"string"==typeof i.childNodes[e].value&&i.childNodes[e].value.length||(n=i.childNodes[e]),n&&t.selected&&(n.selected="selected",n.dispatchEvent(new CustomEvent("input",{detail:n.selected})))}))}}))}Object.defineProperty(e,"__esModule",{value:!0}),e.__getInputValues=r,e.__setInputValues=i,e.__createInputTransfer=function(){var t=r();return function(){return i(t)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MODULE_CONFIG={OnInit:"hmrOnInit",OnStatus:"hmrOnStatus",OnCheck:"hmrOnCheck",OnDecline:"hmrOnDecline",OnDestroy:"hmrOnDestroy",AfterDestroy:"hmrAfterDestroy"},e.hmrModule=function(t,n,r){return void 0===r&&(r=e.MODULE_CONFIG),n.hot&&(n.hot.accept(),t.instance[e.MODULE_CONFIG.OnInit]&&n.hot.data&&t.instance[e.MODULE_CONFIG.OnInit](n.hot.data),t.instance[e.MODULE_CONFIG.OnStatus]&&n.hot.apply((function(n){t.instance[e.MODULE_CONFIG.OnStatus](n)})),t.instance[e.MODULE_CONFIG.OnCheck]&&n.hot.check((function(n,r){t.instance[e.MODULE_CONFIG.OnCheck](n,r)})),t.instance[e.MODULE_CONFIG.OnDecline]&&n.hot.decline((function(n){t.instance[e.MODULE_CONFIG.OnDecline](n)})),n.hot.dispose((function(n){t.instance[e.MODULE_CONFIG.OnDestroy]&&t.instance[e.MODULE_CONFIG.OnDestroy](n),t.destroy(),t.instance[e.MODULE_CONFIG.AfterDestroy]&&t.instance[e.MODULE_CONFIG.AfterDestroy](n)}))),t}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1078))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.Subject=r.Subject},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(538),i=function(){function t(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}return t.prototype.addTypeMetadata=function(t){this._typeMetadatas.has(t.target)||this._typeMetadatas.set(t.target,new Map),this._typeMetadatas.get(t.target).set(t.propertyName,t)},t.prototype.addTransformMetadata=function(t){this._transformMetadatas.has(t.target)||this._transformMetadatas.set(t.target,new Map),this._transformMetadatas.get(t.target).has(t.propertyName)||this._transformMetadatas.get(t.target).set(t.propertyName,[]),this._transformMetadatas.get(t.target).get(t.propertyName).push(t)},t.prototype.addExposeMetadata=function(t){this._exposeMetadatas.has(t.target)||this._exposeMetadatas.set(t.target,new Map),this._exposeMetadatas.get(t.target).set(t.propertyName,t)},t.prototype.addExcludeMetadata=function(t){this._excludeMetadatas.has(t.target)||this._excludeMetadatas.set(t.target,new Map),this._excludeMetadatas.get(t.target).set(t.propertyName,t)},t.prototype.findTransformMetadatas=function(t,e,n){return this.findMetadatas(this._transformMetadatas,t,e).filter((function(t){return!t.options||(!0===t.options.toClassOnly&&!0===t.options.toPlainOnly||(!0===t.options.toClassOnly?n===r.TransformationType.CLASS_TO_CLASS||n===r.TransformationType.PLAIN_TO_CLASS:!0!==t.options.toPlainOnly||n===r.TransformationType.CLASS_TO_PLAIN))}))},t.prototype.findExcludeMetadata=function(t,e){return this.findMetadata(this._excludeMetadatas,t,e)},t.prototype.findExposeMetadata=function(t,e){return this.findMetadata(this._exposeMetadatas,t,e)},t.prototype.findExposeMetadataByCustomName=function(t,e){return this.getExposedMetadatas(t).find((function(t){return t.options&&t.options.name===e}))},t.prototype.findTypeMetadata=function(t,e){return this.findMetadata(this._typeMetadatas,t,e)},t.prototype.getStrategy=function(t){var e=this._excludeMetadatas.get(t),n=e&&e.get(void 0),r=this._exposeMetadatas.get(t),i=r&&r.get(void 0);return n&&i||!n&&!i?"none":n?"excludeAll":"exposeAll"},t.prototype.getExposedMetadatas=function(t){return this.getMetadata(this._exposeMetadatas,t)},t.prototype.getExcludedMetadatas=function(t){return this.getMetadata(this._excludeMetadatas,t)},t.prototype.getExposedProperties=function(t,e){return this.getExposedMetadatas(t).filter((function(t){return!t.options||(!0===t.options.toClassOnly&&!0===t.options.toPlainOnly||(!0===t.options.toClassOnly?e===r.TransformationType.CLASS_TO_CLASS||e===r.TransformationType.PLAIN_TO_CLASS:!0!==t.options.toPlainOnly||e===r.TransformationType.CLASS_TO_PLAIN))})).map((function(t){return t.propertyName}))},t.prototype.getExcludedProperties=function(t,e){return this.getExcludedMetadatas(t).filter((function(t){return!t.options||(!0===t.options.toClassOnly&&!0===t.options.toPlainOnly||(!0===t.options.toClassOnly?e===r.TransformationType.CLASS_TO_CLASS||e===r.TransformationType.PLAIN_TO_CLASS:!0!==t.options.toPlainOnly||e===r.TransformationType.CLASS_TO_PLAIN))})).map((function(t){return t.propertyName}))},t.prototype.clear=function(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()},t.prototype.getMetadata=function(t,e){var n,r=t.get(e);r&&(n=Array.from(r.values()).filter((function(t){return void 0!==t.propertyName})));for(var i=[],o=0,s=this.getAncestors(e);o<s.length;o++){var a=s[o],c=t.get(a);if(c){var u=Array.from(c.values()).filter((function(t){return void 0!==t.propertyName}));i.push.apply(i,u)}}return i.concat(n||[])},t.prototype.findMetadata=function(t,e,n){var r=t.get(e);if(r){var i=r.get(n);if(i)return i}for(var o=0,s=this.getAncestors(e);o<s.length;o++){var a=s[o],c=t.get(a);if(c){var u=c.get(n);if(u)return u}}},t.prototype.findMetadatas=function(t,e,n){var r,i=t.get(e);i&&(r=i.get(n));for(var o=[],s=0,a=this.getAncestors(e);s<a.length;s++){var c=a[s],u=t.get(c);u&&u.has(n)&&o.push.apply(o,u.get(n))}return o.reverse().concat((r||[]).reverse())},t.prototype.getAncestors=function(t){if(!t)return[];if(!this._ancestorsMap.has(t)){for(var e=[],n=Object.getPrototypeOf(t.prototype.constructor);void 0!==n.prototype;n=Object.getPrototypeOf(n.prototype.constructor))e.push(n);this._ancestorsMap.set(t,e)}return this._ancestorsMap.get(t)},t}();e.MetadataStorage=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(414),i=n(539),o=n(1081),s=n(1082),a=n(1083),c=n(1084);e.Transform=function(t,e){return function(n,r){var o=new c.TransformMetadata(n.constructor,r,t,e);i.defaultMetadataStorage.addTransformMetadata(o)}},e.Type=function(t){return function(e,n){var r=Reflect.getMetadata("design:type",e,n),s=new o.TypeMetadata(e.constructor,n,r,t);i.defaultMetadataStorage.addTypeMetadata(s)}},e.Expose=function(t){return function(e,n){var r=new s.ExposeMetadata(e instanceof Function?e:e.constructor,n,t||{});i.defaultMetadataStorage.addExposeMetadata(r)}},e.Exclude=function(t){return function(e,n){var r=new a.ExcludeMetadata(e instanceof Function?e:e.constructor,n,t||{});i.defaultMetadataStorage.addExcludeMetadata(r)}},e.TransformClassToPlain=function(t){return function(e,n,i){var o=new r.ClassTransformer,s=i.value;i.value=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=s.apply(this,e);return!!r&&("object"==typeof r||"function"==typeof r)&&"function"==typeof r.then?r.then((function(e){return o.classToPlain(e,t)})):o.classToPlain(r,t)}}},e.TransformClassToClass=function(t){return function(e,n,i){var o=new r.ClassTransformer,s=i.value;i.value=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=s.apply(this,e);return!!r&&("object"==typeof r||"function"==typeof r)&&"function"==typeof r.then?r.then((function(e){return o.classToClass(e,t)})):o.classToClass(r,t)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e,n,r){this.target=t,this.propertyName=e,this.reflectedType=n,this.typeFunction=r};e.TypeMetadata=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e,n){this.target=t,this.propertyName=e,this.options=n};e.ExposeMetadata=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e,n){this.target=t,this.propertyName=e,this.options=n};e.ExcludeMetadata=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e,n,r){this.target=t,this.propertyName=e,this.transformFn=n,this.options=r};e.TransformMetadata=r},,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(544)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e._do=function(t,e,n){return r.tap(t,e,n)(this)}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1093))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.BehaviorSubject=r.BehaviorSubject},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1096))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.Observable=r.Observable,e.Subject=r.Subject;var i=n(166);e.AnonymousSubject=i.AnonymousSubject;var o=n(166);e.config=o.config,n(1097),n(1098),n(1099),n(1100),n(1101),n(1102),n(1103),n(1104),n(1105),n(1106),n(1107),n(1108),n(1109),n(1110),n(1111),n(1112),n(1113),n(1114),n(1115),n(1116),n(1117),n(1118),n(1119),n(1120),n(1121),n(1122),n(1123),n(1125),n(1127),n(1129),n(1131),n(1133),n(1135),n(1137),n(1139),n(1141),n(1143),n(1145),n(1147),n(1149),n(1151),n(1153),n(1155),n(1157),n(1159),n(1161),n(1163),n(1165),n(1167),n(544),n(1169),n(1171),n(1173),n(1175),n(1177),n(1179),n(1181),n(1183),n(1185),n(1187),n(1189),n(1191),n(1193),n(1195),n(1197),n(1199),n(1201),n(1203),n(1205),n(1207),n(1209),n(1211),n(1213),n(1215),n(1217),n(1219),n(1221),n(1223),n(1225),n(1227),n(1229),n(1231),n(1233),n(1235),n(1237),n(1239),n(1241),n(1243),n(1245),n(1247),n(1249),n(1251),n(1253),n(1255),n(1257),n(1259),n(1261),n(1263),n(1265),n(1267),n(1269),n(1271),n(1273),n(1275),n(1277),n(1279),n(1281),n(1283),n(1285),n(1287),n(1289),n(1291),n(1293),n(1295),n(1297),n(1299),n(1301),n(1303),n(1305),n(1307),n(1309),n(1310),n(1312),n(1314),n(1316),n(1318),n(1320),n(1322),n(1324);var s=n(4);e.Subscription=s.Subscription,e.ReplaySubject=s.ReplaySubject,e.BehaviorSubject=s.BehaviorSubject,e.Notification=s.Notification,e.EmptyError=s.EmptyError,e.ArgumentOutOfRangeError=s.ArgumentOutOfRangeError,e.ObjectUnsubscribedError=s.ObjectUnsubscribedError,e.UnsubscriptionError=s.UnsubscriptionError,e.pipe=s.pipe;var a=n(1387);e.TestScheduler=a.TestScheduler;var c=n(4);e.Subscriber=c.Subscriber,e.AsyncSubject=c.AsyncSubject,e.ConnectableObservable=c.ConnectableObservable,e.TimeoutError=c.TimeoutError,e.VirtualTimeScheduler=c.VirtualTimeScheduler;var u=n(555);e.AjaxResponse=u.AjaxResponse,e.AjaxError=u.AjaxError,e.AjaxTimeoutError=u.AjaxTimeoutError;var l=n(4),d=n(166),h=n(166);e.TimeInterval=h.TimeInterval,e.Timestamp=h.Timestamp;var p=n(6);e.operators=p;var f={asap:l.asapScheduler,queue:l.queueScheduler,animationFrame:l.animationFrameScheduler,async:l.asyncScheduler};e.Scheduler=f;var m={rxSubscriber:d.rxSubscriber,observable:d.observable,iterator:d.iterator};e.Symbol=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.bindCallback=r.bindCallback},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.bindNodeCallback=r.bindNodeCallback},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.combineLatest=r.combineLatest},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.concat=r.concat},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.defer=r.defer},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.empty=r.empty},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.forkJoin=r.forkJoin},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.from=r.from},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.fromEvent=r.fromEvent},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.fromEventPattern=r.fromEventPattern},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.fromPromise=r.from},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.generate=r.generate},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.if=r.iif},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.interval=r.interval},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.merge=r.merge},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.race=r.race},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);function i(){return r.NEVER}e.staticNever=i,r.Observable.never=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.of=r.of},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.onErrorResumeNext=r.onErrorResumeNext},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.pairs=r.pairs},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.range=r.range},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.using=r.using},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.throw=r.throwError,r.Observable.throwError=r.throwError},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.timer=r.timer},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);r.Observable.zip=r.zip},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(555);r.Observable.ajax=i.ajax},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1124);r.Observable.webSocket=i.webSocket},function(t,e,n){"use strict";n.r(e);var r=n(345);n.d(e,"webSocket",(function(){return r.a}));var i=n(240);n.d(e,"WebSocketSubject",(function(){return i.a}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1126);r.Observable.prototype.buffer=i.buffer},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.buffer=function(t){return r.buffer(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1128);r.Observable.prototype.bufferCount=i.bufferCount},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.bufferCount=function(t,e){return void 0===e&&(e=null),r.bufferCount(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1130);r.Observable.prototype.bufferTime=i.bufferTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(166),o=n(6);e.bufferTime=function(t){var e=arguments.length,n=r.asyncScheduler;i.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var s=null;e>=2&&(s=arguments[1]);var a=Number.POSITIVE_INFINITY;return e>=3&&(a=arguments[2]),o.bufferTime(t,s,a,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1132);r.Observable.prototype.bufferToggle=i.bufferToggle},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.bufferToggle=function(t,e){return r.bufferToggle(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1134);r.Observable.prototype.bufferWhen=i.bufferWhen},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.bufferWhen=function(t){return r.bufferWhen(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1136);r.Observable.prototype.catch=i._catch,r.Observable.prototype._catch=i._catch},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e._catch=function(t){return r.catchError(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1138);r.Observable.prototype.combineAll=i.combineAll},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.combineAll=function(t){return r.combineAll(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1140);r.Observable.prototype.combineLatest=i.combineLatest},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(166);e.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&i.isArray(t[0])&&(t=t[0].slice()),this.lift.call(r.of.apply(void 0,[this].concat(t)),new i.CombineLatestOperator(n))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1142);r.Observable.prototype.concat=i.concat},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lift.call(r.concat.apply(void 0,[this].concat(t)))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1144);r.Observable.prototype.concatAll=i.concatAll},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.concatAll=function(){return r.concatAll()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1146);r.Observable.prototype.concatMap=i.concatMap},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.concatMap=function(t){return r.concatMap(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1148);r.Observable.prototype.concatMapTo=i.concatMapTo},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.concatMapTo=function(t){return r.concatMapTo(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1150);r.Observable.prototype.count=i.count},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.count=function(t){return r.count(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1152);r.Observable.prototype.dematerialize=i.dematerialize},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.dematerialize=function(){return r.dematerialize()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1154);r.Observable.prototype.debounce=i.debounce},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.debounce=function(t){return r.debounce(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1156);r.Observable.prototype.debounceTime=i.debounceTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.debounceTime=function(t,e){return void 0===e&&(e=r.asyncScheduler),i.debounceTime(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1158);r.Observable.prototype.defaultIfEmpty=i.defaultIfEmpty},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.defaultIfEmpty=function(t){return void 0===t&&(t=null),r.defaultIfEmpty(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1160);r.Observable.prototype.delay=i.delay},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.delay=function(t,e){return void 0===e&&(e=r.asyncScheduler),i.delay(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1162);r.Observable.prototype.delayWhen=i.delayWhen},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.delayWhen=function(t,e){return r.delayWhen(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1164);r.Observable.prototype.distinct=i.distinct},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.distinct=function(t,e){return r.distinct(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1166);r.Observable.prototype.distinctUntilChanged=i.distinctUntilChanged},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.distinctUntilChanged=function(t,e){return r.distinctUntilChanged(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1168);r.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.distinctUntilKeyChanged=function(t,e){return r.distinctUntilKeyChanged(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1170);r.Observable.prototype.exhaust=i.exhaust},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.exhaust=function(){return r.exhaust()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1172);r.Observable.prototype.exhaustMap=i.exhaustMap},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.exhaustMap=function(t){return r.exhaustMap(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1174);r.Observable.prototype.expand=i.expand},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.expand=function(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,r.expand(t,e,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1176);r.Observable.prototype.elementAt=i.elementAt},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.elementAt=function(t,e){return r.elementAt.apply(void 0,arguments)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1178);r.Observable.prototype.filter=i.filter},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.filter=function(t,e){return r.filter(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1180);r.Observable.prototype.finally=i._finally,r.Observable.prototype._finally=i._finally},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e._finally=function(t){return r.finalize(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1182);r.Observable.prototype.find=i.find},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.find=function(t,e){return r.find(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1184);r.Observable.prototype.findIndex=i.findIndex},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.findIndex=function(t,e){return r.findIndex(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1186);r.Observable.prototype.first=i.first},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.first=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.first.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1188);r.Observable.prototype.groupBy=i.groupBy},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.groupBy=function(t,e,n,i){return r.groupBy(t,e,n,i)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1190);r.Observable.prototype.ignoreElements=i.ignoreElements},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.ignoreElements=function(){return r.ignoreElements()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1192);r.Observable.prototype.isEmpty=i.isEmpty},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.isEmpty=function(){return r.isEmpty()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1194);r.Observable.prototype.audit=i.audit},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.audit=function(t){return r.audit(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1196);r.Observable.prototype.auditTime=i.auditTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.auditTime=function(t,e){return void 0===e&&(e=r.asyncScheduler),i.auditTime(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1198);r.Observable.prototype.last=i.last},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.last=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.last.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1200);r.Observable.prototype.let=i.letProto,r.Observable.prototype.letBind=i.letProto},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.letProto=function(t){return t(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1202);r.Observable.prototype.every=i.every},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.every=function(t,e){return r.every(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1204);r.Observable.prototype.map=i.map},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.map=function(t,e){return r.map(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1206);r.Observable.prototype.mapTo=i.mapTo},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.mapTo=function(t){return r.mapTo(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1208);r.Observable.prototype.materialize=i.materialize},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.materialize=function(){return r.materialize()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1210);r.Observable.prototype.max=i.max},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.max=function(t){return r.max(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1212);r.Observable.prototype.merge=i.merge},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lift.call(r.merge.apply(void 0,[this].concat(t)))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1214);r.Observable.prototype.mergeAll=i.mergeAll},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeAll(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1216);r.Observable.prototype.mergeMap=i.mergeMap,r.Observable.prototype.flatMap=i.mergeMap},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.mergeMap=function(t,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),r.mergeMap(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1218);r.Observable.prototype.flatMapTo=i.mergeMapTo,r.Observable.prototype.mergeMapTo=i.mergeMapTo},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.mergeMapTo=function(t,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),r.mergeMapTo(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1220);r.Observable.prototype.mergeScan=i.mergeScan},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.mergeScan=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeScan(t,e,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1222);r.Observable.prototype.min=i.min},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.min=function(t){return r.min(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1224);r.Observable.prototype.multicast=i.multicast},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.multicast=function(t,e){return r.multicast(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1226);r.Observable.prototype.observeOn=i.observeOn},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.observeOn=function(t,e){return void 0===e&&(e=0),r.observeOn(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1228);r.Observable.prototype.onErrorResumeNext=i.onErrorResumeNext},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.onErrorResumeNext=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.onErrorResumeNext.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1230);r.Observable.prototype.pairwise=i.pairwise},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.pairwise=function(){return r.pairwise()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1232);r.Observable.prototype.partition=i.partition},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.partition=function(t,e){return r.partition(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1234);r.Observable.prototype.pluck=i.pluck},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.pluck=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.pluck.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1236);r.Observable.prototype.publish=i.publish},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.publish=function(t){return r.publish(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1238);r.Observable.prototype.publishBehavior=i.publishBehavior},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.publishBehavior=function(t){return r.publishBehavior(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1240);r.Observable.prototype.publishReplay=i.publishReplay},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.publishReplay=function(t,e,n,i){return r.publishReplay(t,e,n,i)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1242);r.Observable.prototype.publishLast=i.publishLast},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.publishLast=function(){return r.publishLast()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1244);r.Observable.prototype.race=i.race},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.race=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.race.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1246);r.Observable.prototype.reduce=i.reduce},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.reduce=function(t,e){return arguments.length>=2?r.reduce(t,e)(this):r.reduce(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1248);r.Observable.prototype.repeat=i.repeat},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.repeat=function(t){return void 0===t&&(t=-1),r.repeat(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1250);r.Observable.prototype.repeatWhen=i.repeatWhen},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.repeatWhen=function(t){return r.repeatWhen(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1252);r.Observable.prototype.retry=i.retry},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.retry=function(t){return void 0===t&&(t=-1),r.retry(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1254);r.Observable.prototype.retryWhen=i.retryWhen},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.retryWhen=function(t){return r.retryWhen(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1256);r.Observable.prototype.sample=i.sample},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.sample=function(t){return r.sample(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1258);r.Observable.prototype.sampleTime=i.sampleTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.sampleTime=function(t,e){return void 0===e&&(e=r.asyncScheduler),i.sampleTime(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1260);r.Observable.prototype.scan=i.scan},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.scan=function(t,e){return arguments.length>=2?r.scan(t,e)(this):r.scan(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1262);r.Observable.prototype.sequenceEqual=i.sequenceEqual},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.sequenceEqual=function(t,e){return r.sequenceEqual(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1264);r.Observable.prototype.share=i.share},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.share=function(){return r.share()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1266);r.Observable.prototype.shareReplay=i.shareReplay},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.shareReplay=function(t,e,n){return t&&"object"==typeof t?r.shareReplay(t)(this):r.shareReplay(t,e,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1268);r.Observable.prototype.single=i.single},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.single=function(t){return r.single(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1270);r.Observable.prototype.skip=i.skip},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.skip=function(t){return r.skip(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1272);r.Observable.prototype.skipLast=i.skipLast},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.skipLast=function(t){return r.skipLast(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1274);r.Observable.prototype.skipUntil=i.skipUntil},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.skipUntil=function(t){return r.skipUntil(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1276);r.Observable.prototype.skipWhile=i.skipWhile},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.skipWhile=function(t){return r.skipWhile(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1278);r.Observable.prototype.startWith=i.startWith},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.startWith=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.startWith.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1280);r.Observable.prototype.subscribeOn=i.subscribeOn},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.subscribeOn=function(t,e){return void 0===e&&(e=0),r.subscribeOn(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1282);r.Observable.prototype.switch=i._switch,r.Observable.prototype._switch=i._switch},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e._switch=function(){return r.switchAll()(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1284);r.Observable.prototype.switchMap=i.switchMap},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.switchMap=function(t){return r.switchMap(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1286);r.Observable.prototype.switchMapTo=i.switchMapTo},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.switchMapTo=function(t){return r.switchMapTo(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1288);r.Observable.prototype.take=i.take},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.take=function(t){return r.take(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1290);r.Observable.prototype.takeLast=i.takeLast},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.takeLast=function(t){return r.takeLast(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1292);r.Observable.prototype.takeUntil=i.takeUntil},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.takeUntil=function(t){return r.takeUntil(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1294);r.Observable.prototype.takeWhile=i.takeWhile},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.takeWhile=function(t){return r.takeWhile(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1296);r.Observable.prototype.throttle=i.throttle},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6),i=n(166);e.throttle=function(t,e){return void 0===e&&(e=i.defaultThrottleConfig),r.throttle(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1298);r.Observable.prototype.throttleTime=i.throttleTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(166),o=n(6);e.throttleTime=function(t,e,n){return void 0===e&&(e=r.asyncScheduler),void 0===n&&(n=i.defaultThrottleConfig),o.throttleTime(t,e,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1300);r.Observable.prototype.timeInterval=i.timeInterval},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.timeInterval=function(t){return void 0===t&&(t=r.asyncScheduler),i.timeInterval(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1302);r.Observable.prototype.timeout=i.timeout},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.timeout=function(t,e){return void 0===e&&(e=r.asyncScheduler),i.timeout(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1304);r.Observable.prototype.timeoutWith=i.timeoutWith},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.timeoutWith=function(t,e,n){return void 0===n&&(n=r.asyncScheduler),i.timeoutWith(t,e,n)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1306);r.Observable.prototype.timestamp=i.timestamp},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(6);e.timestamp=function(t){return void 0===t&&(t=r.asyncScheduler),i.timestamp(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1308);r.Observable.prototype.toArray=i.toArray},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.toArray=function(){return r.toArray()(this)}},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1311);r.Observable.prototype.window=i.window},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.window=function(t){return r.window(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1313);r.Observable.prototype.windowCount=i.windowCount},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.windowCount=function(t,e){return void 0===e&&(e=0),r.windowCount(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1315);r.Observable.prototype.windowTime=i.windowTime},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(166),o=n(6);e.windowTime=function(t){var e=r.asyncScheduler,n=null,s=Number.POSITIVE_INFINITY;return i.isScheduler(arguments[3])&&(e=arguments[3]),i.isScheduler(arguments[2])?e=arguments[2]:i.isNumeric(arguments[2])&&(s=Number(arguments[2])),i.isScheduler(arguments[1])?e=arguments[1]:i.isNumeric(arguments[1])&&(n=Number(arguments[1])),o.windowTime(t,n,s,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1317);r.Observable.prototype.windowToggle=i.windowToggle},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.windowToggle=function(t,e){return r.windowToggle(t,e)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1319);r.Observable.prototype.windowWhen=i.windowWhen},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.windowWhen=function(t){return r.windowWhen(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1321);r.Observable.prototype.withLatestFrom=i.withLatestFrom},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.withLatestFrom=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.withLatestFrom.apply(void 0,t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1323);r.Observable.prototype.zip=i.zipProto},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.zipProto=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lift.call(r.zip.apply(void 0,[this].concat(t)))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n(1325);r.Observable.prototype.zipAll=i.zipAll},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.zipAll=function(t){return r.zipAll(t)(this)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.catchError=r.catchError},,,function(t,e,n){t.exports=n(1330).default},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o.default.tokenize(t),i=[],s=[];for(n=new c(n),e=0;e<r.length;e++){var g=r[e];if(g.type!==u)if(g.type===d){var _=p(g.chars,n);i.push.apply(i,_)}else i.push(g);else{i.push(g);var y=g.tagName.toUpperCase();if(!("A"===y||a.contains(n.ignoreTags,y)))continue;var b=i.length;f(y,r,++e,i),e+=i.length-b-1}}for(e=0;e<i.length;e++){var v=i[e];switch(v.type){case u:var w="<"+v.tagName;if(v.attributes.length>0)w+=" "+m(v.attributes).join(" ");w+=">",s.push(w);break;case l:s.push("</"+v.tagName+">");break;case d:s.push(v.chars);break;case h:s.push("\x3c!--"+v.chars+"--\x3e")}}return s.join("")};var r,i=n(1331),o=(r=i)&&r.__esModule?r:{default:r},s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1334));var a=s.options,c=a.Options,u="StartTag",l="EndTag",d="Chars",h="Comment";function p(t,e){for(var n=s.tokenize(t),r=[],i=0;i<n.length;i++){var o=n[i];if("nl"===o.type&&e.nl2br)r.push({type:u,tagName:"br",attributes:[],selfClosing:!0});else if(o.isLink&&e.check(o)){var a=e.resolve(o),c=a.formatted,h=a.formattedHref,p=a.tagName,f=a.className,m=a.target,g=a.attributes,_=[["href",h]];for(var y in f&&_.push(["class",f]),m&&_.push(["target",m]),g)_.push([y,g[y]]);r.push({type:u,tagName:p,attributes:_,selfClosing:!1}),r.push({type:d,chars:c}),r.push({type:l,tagName:p})}else r.push({type:d,chars:o.toString()})}return r}function f(t,e,n,r){for(var i=1;n<e.length&&i>0;){var o=e[n];o.type===u&&o.tagName.toUpperCase()===t?i++:o.type===l&&o.tagName.toUpperCase()===t&&i--,r.push(o),n++}return r}function m(t){for(var e=[],n=0;n<t.length;n++){var r=t[n],i=r[0],o=r[1];e.push(i+'="'+(o.replace(/"/g,""")+'"'))}return e}},function(t,e,n){"use strict";e.__esModule=!0;var r=c(n(567)),i=c(n(568)),o=c(n(569)),s=c(n(570)),a=c(n(1333));function c(t){return t&&t.__esModule?t:{default:t}}var u={HTML5NamedCharRefs:r.default,EntityParser:i.default,EventedTokenizer:o.default,Tokenizer:s.default,tokenize:a.default};e.default=u},function(t,e,n){"use strict";e.__esModule=!0,e.isSpace=function(t){return r.test(t)},e.isAlpha=function(t){return i.test(t)},e.preprocessInput=function(t){return t.replace(o,"\n")};var r=/[\t\n\f ]/,i=/[A-Za-z]/,o=/\r\n?/g},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return new r.default(new i.default(o.default),e).tokenize(t)};var r=s(n(570)),i=s(n(568)),o=s(n(567));function s(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";e.__esModule=!0,e.tokenize=e.test=e.scanner=e.parser=e.options=e.inherits=e.find=void 0;var r=n(349),i=a(n(1335)),o=a(n(1336)),s=a(n(1337));function a(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var c=function(t){return s.run(o.run(t))};e.find=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(t),r=[],i=0;i<n.length;i++){var o=n[i];!o.isLink||e&&o.type!==e||r.push(o.toObject())}return r},e.inherits=r.inherits,e.options=i,e.parser=s,e.scanner=o,e.test=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=c(t);return 1===n.length&&n[0].isLink&&(!e||n[0].type===e)},e.tokenize=c},function(t,e,n){"use strict";e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i={defaultProtocol:"http",events:null,format:s,formatHref:s,nl2br:!1,tagName:"a",target:function(t,e){return"url"===e?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(t){t=t||{},this.defaultProtocol=t.hasOwnProperty("defaultProtocol")?t.defaultProtocol:i.defaultProtocol,this.events=t.hasOwnProperty("events")?t.events:i.events,this.format=t.hasOwnProperty("format")?t.format:i.format,this.formatHref=t.hasOwnProperty("formatHref")?t.formatHref:i.formatHref,this.nl2br=t.hasOwnProperty("nl2br")?t.nl2br:i.nl2br,this.tagName=t.hasOwnProperty("tagName")?t.tagName:i.tagName,this.target=t.hasOwnProperty("target")?t.target:i.target,this.validate=t.hasOwnProperty("validate")?t.validate:i.validate,this.ignoreTags=[],this.attributes=t.attributes||t.linkAttributes||i.attributes,this.className=t.hasOwnProperty("className")?t.className:t.linkClass||i.className;for(var e=t.hasOwnProperty("ignoreTags")?t.ignoreTags:i.ignoreTags,n=0;n<e.length;n++)this.ignoreTags.push(e[n].toUpperCase())}function s(t){return t}e.defaults=i,e.Options=o,e.contains=function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1},o.prototype={resolve:function(t){var e=t.toHref(this.defaultProtocol);return{formatted:this.get("format",t.toString(),t),formattedHref:this.get("formatHref",e,t),tagName:this.get("tagName",e,t),className:this.get("className",e,t),target:this.get("target",e,t),events:this.getObject("events",e,t),attributes:this.getObject("attributes",e,t)}},check:function(t){return this.get("validate",t.toString(),t)},get:function(t,e,n){var o=void 0,s=this[t];if(!s)return s;switch(void 0===s?"undefined":r(s)){case"function":return s(e,n.type);case"object":return"function"==typeof(o=s.hasOwnProperty(n.type)?s[n.type]:i[t])?o(e,n.type):o}return s},getObject:function(t,e,n){var r=this[t];return"function"==typeof r?r(e,n.type):r}}},function(t,e,n){"use strict";e.__esModule=!0,e.start=e.run=e.TOKENS=e.State=void 0;var r=n(571),i=n(425),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(i);var s="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),a="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],l=[],d=function(t){return new r.CharacterState(t)},h=d(),p=d(i.NUM),f=d(i.DOMAIN),m=d(),g=d(i.WS);h.on("@",d(i.AT)).on(".",d(i.DOT)).on("+",d(i.PLUS)).on("#",d(i.POUND)).on("?",d(i.QUERY)).on("/",d(i.SLASH)).on("_",d(i.UNDERSCORE)).on(":",d(i.COLON)).on("{",d(i.OPENBRACE)).on("[",d(i.OPENBRACKET)).on("<",d(i.OPENANGLEBRACKET)).on("(",d(i.OPENPAREN)).on("}",d(i.CLOSEBRACE)).on("]",d(i.CLOSEBRACKET)).on(">",d(i.CLOSEANGLEBRACKET)).on(")",d(i.CLOSEPAREN)).on("&",d(i.AMPERSAND)).on([",",";","!",'"',"'"],d(i.PUNCTUATION)),h.on("\n",d(i.NL)).on(u,g),g.on(u,g);for(var _=0;_<s.length;_++){var y=(0,r.stateify)(s[_],h,i.TLD,i.DOMAIN);l.push.apply(l,y)}var b=(0,r.stateify)("file",h,i.DOMAIN,i.DOMAIN),v=(0,r.stateify)("ftp",h,i.DOMAIN,i.DOMAIN),w=(0,r.stateify)("http",h,i.DOMAIN,i.DOMAIN),C=(0,r.stateify)("mailto",h,i.DOMAIN,i.DOMAIN);l.push.apply(l,b),l.push.apply(l,v),l.push.apply(l,w),l.push.apply(l,C);var S=b.pop(),O=v.pop(),E=w.pop(),x=C.pop(),I=d(i.DOMAIN),k=d(i.PROTOCOL),D=d(i.MAILTO);O.on("s",I).on(":",k),E.on("s",I).on(":",k),l.push(I),S.on(":",k),I.on(":",k),x.on(":",D);var T=(0,r.stateify)("localhost",h,i.LOCALHOST,i.DOMAIN);l.push.apply(l,T),h.on(a,p),p.on("-",m).on(a,p).on(c,f),f.on("-",m).on(c,f);for(var j=0;j<l.length;j++)l[j].on("-",m).on(c,f);m.on("-",m).on(a,f).on(c,f),h.defaultTransition=d(i.SYM);var A=h;e.State=r.CharacterState,e.TOKENS=o,e.run=function(t){for(var e=t.replace(/[A-Z]/g,(function(t){return t.toLowerCase()})),n=t.length,r=[],i=0;i<n;){for(var o=h,s=null,a=0,c=null,u=-1;i<n&&(s=o.next(e[i]));)(o=s).accepts()?(u=0,c=o):u>=0&&u++,a++,i++;if(!(u<0)){i-=u,a-=u;var l=c.emit();r.push(new l(t.substr(i-a,a)))}}return r},e.start=A},function(t,e,n){"use strict";e.__esModule=!0,e.start=e.run=e.TOKENS=e.State=void 0;var r=n(571),i=n(1338),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(i),s=n(425);var a=function(t){return new r.TokenState(t)},c=a(),u=a(),l=a(),d=a(),h=a(),p=a(),f=a(),m=a(i.URL),g=a(),_=a(i.URL),y=a(i.URL),b=a(),v=a(),w=a(),C=a(),S=a(),O=a(i.URL),E=a(i.URL),x=a(i.URL),I=a(i.URL),k=a(),D=a(),T=a(),j=a(),A=a(),R=a(),M=a(i.EMAIL),N=a(),P=a(i.EMAIL),F=a(i.MAILTOEMAIL),L=a(),V=a(),B=a(),U=a(),z=a(i.NL);c.on(s.NL,z).on(s.PROTOCOL,u).on(s.MAILTO,l).on(s.SLASH,d),u.on(s.SLASH,d),d.on(s.SLASH,h),c.on(s.TLD,p).on(s.DOMAIN,p).on(s.LOCALHOST,m).on(s.NUM,p),h.on(s.TLD,y).on(s.DOMAIN,y).on(s.NUM,y).on(s.LOCALHOST,y),p.on(s.DOT,f),A.on(s.DOT,R),f.on(s.TLD,m).on(s.DOMAIN,p).on(s.NUM,p).on(s.LOCALHOST,p),R.on(s.TLD,M).on(s.DOMAIN,A).on(s.NUM,A).on(s.LOCALHOST,A),m.on(s.DOT,f),M.on(s.DOT,R),m.on(s.COLON,g).on(s.SLASH,y),g.on(s.NUM,_),_.on(s.SLASH,y),M.on(s.COLON,N),N.on(s.NUM,P);var H=[s.DOMAIN,s.AT,s.LOCALHOST,s.NUM,s.PLUS,s.POUND,s.PROTOCOL,s.SLASH,s.TLD,s.UNDERSCORE,s.SYM,s.AMPERSAND],$=[s.COLON,s.DOT,s.QUERY,s.PUNCTUATION,s.CLOSEBRACE,s.CLOSEBRACKET,s.CLOSEANGLEBRACKET,s.CLOSEPAREN,s.OPENBRACE,s.OPENBRACKET,s.OPENANGLEBRACKET,s.OPENPAREN];y.on(s.OPENBRACE,v).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,C).on(s.OPENPAREN,S),b.on(s.OPENBRACE,v).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,C).on(s.OPENPAREN,S),v.on(s.CLOSEBRACE,y),w.on(s.CLOSEBRACKET,y),C.on(s.CLOSEANGLEBRACKET,y),S.on(s.CLOSEPAREN,y),O.on(s.CLOSEBRACE,y),E.on(s.CLOSEBRACKET,y),x.on(s.CLOSEANGLEBRACKET,y),I.on(s.CLOSEPAREN,y),k.on(s.CLOSEBRACE,y),D.on(s.CLOSEBRACKET,y),T.on(s.CLOSEANGLEBRACKET,y),j.on(s.CLOSEPAREN,y),v.on(H,O),w.on(H,E),C.on(H,x),S.on(H,I),v.on($,k),w.on($,D),C.on($,T),S.on($,j),O.on(H,O),E.on(H,E),x.on(H,x),I.on(H,I),O.on($,O),E.on($,E),x.on($,x),I.on($,I),k.on(H,O),D.on(H,E),T.on(H,x),j.on(H,I),k.on($,k),D.on($,D),T.on($,T),j.on($,j),y.on(H,y),b.on(H,y),y.on($,b),b.on($,b),l.on(s.TLD,F).on(s.DOMAIN,F).on(s.NUM,F).on(s.LOCALHOST,F),F.on(H,F).on($,L),L.on(H,F).on($,L);var G=[s.DOMAIN,s.NUM,s.PLUS,s.POUND,s.QUERY,s.UNDERSCORE,s.SYM,s.AMPERSAND,s.TLD];p.on(G,V).on(s.AT,B),m.on(G,V).on(s.AT,B),f.on(G,V),V.on(G,V).on(s.AT,B).on(s.DOT,U),U.on(G,V),B.on(s.TLD,A).on(s.DOMAIN,A).on(s.LOCALHOST,M);e.State=r.TokenState,e.TOKENS=o,e.run=function(t){for(var e=t.length,n=0,r=[],o=[];n<e;){for(var s=c,a=null,u=null,l=0,d=null,h=-1;n<e&&!(a=s.next(t[n]));)o.push(t[n++]);for(;n<e&&(u=a||s.next(t[n]));)a=null,(s=u).accepts()?(h=0,d=s):h>=0&&h++,n++,l++;if(h<0)for(var p=n-l;p<n;p++)o.push(t[p]);else{o.length>0&&(r.push(new i.TEXT(o)),o=[]),n-=h,l-=h;var f=d.emit();r.push(new f(t.slice(n-l,n)))}}return o.length>0&&r.push(new i.TEXT(o)),r},e.start=c},function(t,e,n){"use strict";e.__esModule=!0,e.URL=e.TEXT=e.NL=e.EMAIL=e.MAILTOEMAIL=e.Base=void 0;var r=n(572),i=n(349),o=n(425);var s=(0,r.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var t=[],e=0;e<this.v.length;e++)t.push(this.v[e].toString());return t.join("")},toHref:function(){return this.toString()},toObject:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(t)}}};var a=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),c=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),l=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),d=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",n=!1,r=!1,i=this.v,s=[],a=0;i[a]instanceof o.PROTOCOL;)n=!0,s.push(i[a].toString().toLowerCase()),a++;for(;i[a]instanceof o.SLASH;)r=!0,s.push(i[a].toString()),a++;for(;(t=i[a])instanceof o.DOMAIN||t instanceof o.TLD;)s.push(i[a].toString().toLowerCase()),a++;for(;a<i.length;a++)s.push(i[a].toString());return s=s.join(""),n||r||(s=e+"://"+s),s},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});e.Base=s,e.MAILTOEMAIL=a,e.EMAIL=c,e.NL=l,e.TEXT=u,e.URL=d},,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1344))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.filter=r.filter},,function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_PROGRESS_BAR_LOCATION",(function(){return p})),n.d(e,"MAT_PROGRESS_BAR_LOCATION_FACTORY",(function(){return f})),n.d(e,"MatProgressBar",(function(){return g})),n.d(e,"MatProgressBarModule",(function(){return y}));var r=n(0),i=n(1),o=n(8),s=n(14),a=n(50),c=n(20),u=n(197),l=n(46);const d=["primaryValueBar"];const h=Object(o.mixinColor)(class{constructor(t){this._elementRef=t}},"primary"),p=new r.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:f});function f(){const t=Object(r.inject)(i.DOCUMENT),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}let m=0;class g extends h{constructor(t,e,n,i){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new r.EventEmitter,this._animationEndSubscription=c.a.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+m++;const o=i?i.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${o}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=_(Object(s.f)(t)||0)}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=_(t||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){if("buffer"===this.mode){return{transform:`scaleX(${this.bufferValue/100})`}}return null}ngAfterViewInit(){this._ngZone.runOutsideAngular((()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(u.a)(t,"transitionend").pipe(Object(l.a)((e=>e.target===t))).subscribe((()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run((()=>this.animationEnd.next({value:this.value})))}))}))}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}function _(t,e=0,n=100){return Math.max(e,Math.min(n,t))}g.\u0275fac=function(t){return new(t||g)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](a.ANIMATION_MODULE_TYPE,8),r["\u0275\u0275directiveInject"](p,8))},g.\u0275cmp=r["\u0275\u0275defineComponent"]({type:g,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){var n;(1&t&&r["\u0275\u0275viewQuery"](d,!0),2&t)&&(r["\u0275\u0275queryRefresh"](n=r["\u0275\u0275loadQuery"]())&&(e._primaryValueBar=n.first))},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e){2&t&&(r["\u0275\u0275attribute"]("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),r["\u0275\u0275classProp"]("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,e){1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",0),r["\u0275\u0275elementStart"](1,"defs"),r["\u0275\u0275elementStart"](2,"pattern",1),r["\u0275\u0275element"](3,"circle",2),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](4,"rect",3),r["\u0275\u0275elementEnd"](),r["\u0275\u0275namespaceHTML"](),r["\u0275\u0275element"](5,"div",4),r["\u0275\u0275element"](6,"div",5,6),r["\u0275\u0275element"](8,"div",7)),2&t&&(r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("id",e.progressbarId),r["\u0275\u0275advance"](2),r["\u0275\u0275attribute"]("fill",e._rectangleFillValue),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngStyle",e._bufferTransform()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngStyle",e._primaryTransform()))},directives:[i.NgStyle],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),g.ctorParameters=()=>[{type:r.ElementRef},{type:r.NgZone},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[a.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[p]}]}],g.propDecorators={value:[{type:r.Input}],bufferValue:[{type:r.Input}],_primaryValueBar:[{type:r.ViewChild,args:["primaryValueBar"]}],animationEnd:[{type:r.Output}],mode:[{type:r.Input}]};class y{}y.\u0275mod=r["\u0275\u0275defineNgModule"]({type:y}),y.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||y)},imports:[[i.CommonModule,o.MatCommonModule],o.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](y,{declarations:function(){return[g]},imports:function(){return[i.CommonModule,o.MatCommonModule]},exports:function(){return[g,o.MatCommonModule]}})},function(t,e,n){"use strict";n.r(e),n.d(e,"MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS",(function(){return g})),n.d(e,"MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY",(function(){return _})),n.d(e,"MatProgressSpinner",(function(){return b})),n.d(e,"MatProgressSpinnerModule",(function(){return w})),n.d(e,"MatSpinner",(function(){return v}));var r=n(0),i=n(1),o=n(8),s=n(14),a=n(9),c=n(50);function u(t,e){if(1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275element"](0,"circle",3)),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),r["\u0275\u0275attribute"]("r",t._getCircleRadius())}}function l(t,e){if(1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275element"](0,"circle",3)),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),r["\u0275\u0275attribute"]("r",t._getCircleRadius())}}function d(t,e){if(1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275element"](0,"circle",3)),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),r["\u0275\u0275attribute"]("r",t._getCircleRadius())}}function h(t,e){if(1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275element"](0,"circle",3)),2&t){const t=r["\u0275\u0275nextContext"]();r["\u0275\u0275styleProp"]("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),r["\u0275\u0275attribute"]("r",t._getCircleRadius())}}const p=".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",f=100;const m=Object(o.mixinColor)(class{constructor(t){this._elementRef=t}},"primary"),g=new r.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:_});function _(){return{diameter:f}}const y="\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n";class b extends m{constructor(t,e,n,r,i){super(t),this._elementRef=t,this._document=n,this._diameter=f,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=b._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),o.has(n.head)||o.set(n.head,new Set([f])),this._fallbackAnimation=e.EDGE||e.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!i&&!i._forceAnimations,i&&(i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(s.f)(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(s.f)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(s.f)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Object(a.c)(t)||this._document.head,this._attachStyleNode();const e=`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`;t.classList.add(e)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,e=this._diameter,n=b._diameters;let r=n.get(t);if(!r||!r.has(e)){const i=this._document.createElement("style");i.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),i.textContent=this._getAnimationText(),t.appendChild(i),r||(r=new Set,n.set(t,r)),r.add(e)}}_getAnimationText(){const t=this._getStrokeCircumference();return y.replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}b.\u0275fac=function(t){return new(t||b)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](a.a),r["\u0275\u0275directiveInject"](i.DOCUMENT,8),r["\u0275\u0275directiveInject"](c.ANIMATION_MODULE_TYPE,8),r["\u0275\u0275directiveInject"](g))},b.\u0275cmp=r["\u0275\u0275defineComponent"]({type:b,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(r["\u0275\u0275attribute"]("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),r["\u0275\u0275styleProp"]("width",e.diameter,"px")("height",e.diameter,"px"),r["\u0275\u0275classProp"]("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",0),r["\u0275\u0275template"](1,u,1,9,"circle",1),r["\u0275\u0275template"](2,l,1,7,"circle",2),r["\u0275\u0275elementEnd"]()),2&t&&(r["\u0275\u0275styleProp"]("width",e.diameter,"px")("height",e.diameter,"px"),r["\u0275\u0275property"]("ngSwitch","indeterminate"===e.mode),r["\u0275\u0275attribute"]("viewBox",e._getViewBox()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase",!0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase",!1))},directives:[i.NgSwitch,i.NgSwitchCase],styles:[p],encapsulation:2,changeDetection:0}),b._diameters=new WeakMap,b.ctorParameters=()=>[{type:r.ElementRef},{type:a.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[i.DOCUMENT]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[c.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:r.Inject,args:[g]}]}],b.propDecorators={diameter:[{type:r.Input}],strokeWidth:[{type:r.Input}],mode:[{type:r.Input}],value:[{type:r.Input}]};class v extends b{constructor(t,e,n,r,i){super(t,e,n,r,i),this.mode="indeterminate"}}v.\u0275fac=function(t){return new(t||v)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](a.a),r["\u0275\u0275directiveInject"](i.DOCUMENT,8),r["\u0275\u0275directiveInject"](c.ANIMATION_MODULE_TYPE,8),r["\u0275\u0275directiveInject"](g))},v.\u0275cmp=r["\u0275\u0275defineComponent"]({type:v,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(r["\u0275\u0275styleProp"]("width",e.diameter,"px")("height",e.diameter,"px"),r["\u0275\u0275classProp"]("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[r["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](0,"svg",0),r["\u0275\u0275template"](1,d,1,9,"circle",1),r["\u0275\u0275template"](2,h,1,7,"circle",2),r["\u0275\u0275elementEnd"]()),2&t&&(r["\u0275\u0275styleProp"]("width",e.diameter,"px")("height",e.diameter,"px"),r["\u0275\u0275property"]("ngSwitch","indeterminate"===e.mode),r["\u0275\u0275attribute"]("viewBox",e._getViewBox()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase",!0),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngSwitchCase",!1))},directives:[i.NgSwitch,i.NgSwitchCase],styles:[p],encapsulation:2,changeDetection:0}),v.ctorParameters=()=>[{type:r.ElementRef},{type:a.a},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[i.DOCUMENT]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[c.ANIMATION_MODULE_TYPE]}]},{type:void 0,decorators:[{type:r.Inject,args:[g]}]}];class w{}w.\u0275mod=r["\u0275\u0275defineNgModule"]({type:w}),w.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||w)},imports:[[o.MatCommonModule,i.CommonModule],o.MatCommonModule]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](w,{declarations:function(){return[b,v]},imports:function(){return[o.MatCommonModule,i.CommonModule]},exports:function(){return[b,v,o.MatCommonModule]}})},,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"TranslateHttpLoader",(function(){return r}));class r{constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n(1372))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);e.of=r.of},,,function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,i="/"===s.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),s="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&s&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,c=0;c<s;c++)if(i[c]!==o[c]){a=c;break}var u=[];for(c=a;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(a))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=s+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(230))},,,function(t,e,n){"use strict";n.r(e),n.d(e,"AngularResizedEventModule",(function(){return a})),n.d(e,"ResizedDirective",(function(){return s})),n.d(e,"ResizedEvent",(function(){return o}));var r=n(0),i=n(441);class o{constructor(t,e,n,r,i){this.element=t,this.newWidth=e,this.newHeight=n,this.oldWidth=r,this.oldHeight=i}}class s{constructor(t){this.element=t,this.resized=new r.EventEmitter}ngOnInit(){i.ResizeSensor&&(this.resizeSensor=new i.ResizeSensor(this.element.nativeElement,(()=>this.onResized())))}ngOnDestroy(){this.resizeSensor&&this.resizeSensor.detach()}onResized(){const t=this.element.nativeElement.clientWidth,e=this.element.nativeElement.clientHeight;if(t===this.oldWidth&&e===this.oldHeight)return;const n=new o(this.element,t,e,this.oldWidth,this.oldHeight);this.oldWidth=this.element.nativeElement.clientWidth,this.oldHeight=this.element.nativeElement.clientHeight,this.resized.emit(n)}}s.\u0275fac=function(t){return new(t||s)(r["\u0275\u0275directiveInject"](r.ElementRef))},s.\u0275dir=r["\u0275\u0275defineDirective"]({type:s,selectors:[["","resized",""]],outputs:{resized:"resized"}}),s.ctorParameters=()=>[{type:r.ElementRef}],s.propDecorators={resized:[{type:r.Output}]};class a{}a.\u0275mod=r["\u0275\u0275defineNgModule"]({type:a}),a.\u0275inj=r["\u0275\u0275defineInjector"]({factory:function(t){return new(t||a)},imports:[[]]}),("undefined"==typeof ngJitMode||ngJitMode)&&r["\u0275\u0275setNgModuleScope"](a,{declarations:[s],exports:[s]})},function(t,e,n){"use strict";var r,i,o;"undefined"!=typeof window&&window,i=[n(590)],void 0===(o="function"==typeof(r=function(t){var e=function(){var e,n={},r=[];function i(t){t||(t=document.documentElement);var e=window.getComputedStyle(t,null).fontSize;return parseFloat(e)||16}function o(t){if(!t.getBoundingClientRect)return{width:t.offsetWidth,height:t.offsetHeight};var e=t.getBoundingClientRect();return{width:Math.round(e.width),height:Math.round(e.height)}}function s(t,e){var n=e.split(/\d/),r=n[n.length-1];switch(e=parseFloat(e),r){case"px":default:return e;case"em":return e*i(t);case"rem":return e*i();case"vw":return e*document.documentElement.clientWidth/100;case"vh":return e*document.documentElement.clientHeight/100;case"vmin":case"vmax":var o=document.documentElement.clientWidth/100,s=document.documentElement.clientHeight/100;return e*(0,Math["vmin"===r?"min":"max"])(o,s)}}function a(t,e){var r,i,a,c,u,l,d,h;this.element=t;var p=["min-width","min-height","max-width","max-height"];this.call=function(){for(r in a=o(this.element),l={},n[e])n[e].hasOwnProperty(r)&&(i=n[e][r],c=s(this.element,i.value),u="width"===i.property?a.width:a.height,h=i.mode+"-"+i.property,d="","min"===i.mode&&u>=c&&(d+=i.value),"max"===i.mode&&u<=c&&(d+=i.value),l[h]||(l[h]=""),d&&-1===(" "+l[h]+" ").indexOf(" "+d+" ")&&(l[h]+=" "+d));for(var t in p)p.hasOwnProperty(t)&&(l[p[t]]?this.element.setAttribute(p[t],l[p[t]].substr(1)):this.element.removeAttribute(p[t]))}}function c(e,n){e.elementQueriesSetupInformation||(e.elementQueriesSetupInformation=new a(e,n)),e.elementQueriesSensor||(e.elementQueriesSensor=new t(e,(function(){e.elementQueriesSetupInformation.call()})))}function u(t,i,o,s){if(void 0===n[t]){n[t]=[];var a=r.length;e.innerHTML+="\n"+t+" {animation: 0.1s element-queries;}",e.innerHTML+="\n"+t+" > .resize-sensor {min-width: "+a+"px;}",r.push(t)}n[t].push({mode:i,property:o,value:s})}function l(t){var e;if(document.querySelectorAll&&(e=t?t.querySelectorAll.bind(t):document.querySelectorAll.bind(document)),e||"undefined"==typeof $$||(e=$$),e||"undefined"==typeof jQuery||(e=jQuery),!e)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return e}function d(t){var e=l(t);for(var r in n)if(n.hasOwnProperty(r))for(var i=e(r,t),o=0,s=i.length;o<s;o++)c(i[o],r)}function h(e){var n=[],r=[],i=[],o=0,s=-1,a=[];for(var c in e.children)if(e.children.hasOwnProperty(c)&&e.children[c].tagName&&"img"===e.children[c].tagName.toLowerCase()){n.push(e.children[c]);var u=e.children[c].getAttribute("min-width")||e.children[c].getAttribute("data-min-width"),l=e.children[c].getAttribute("data-src")||e.children[c].getAttribute("url");i.push(l);var d={minWidth:u};r.push(d),u?e.children[c].style.display="none":(o=n.length-1,e.children[c].style.display="block")}function h(){var t,c=!1;for(t in n)n.hasOwnProperty(t)&&r[t].minWidth&&e.offsetWidth>r[t].minWidth&&(c=t);if(c||(c=o),s!==c)if(a[c])n[s].style.display="none",n[c].style.display="block",s=c;else{var u=new Image;u.onload=function(){n[c].src=i[c],n[s].style.display="none",n[c].style.display="block",a[c]=!0,s=c},u.src=i[c]}else n[c].src=i[c]}s=o,e.resizeSensorInstance=new t(e,h),h()}function p(){for(var t=l()("[data-responsive-image],[responsive-image]"),e=0,n=t.length;e<n;e++)h(t[e])}var f=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,m=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function g(t){var e,n,r,i;for(t=t.replace(/'/g,'"');null!==(e=f.exec(t));)for(n=e[1]+e[3],r=e[2];null!==(i=m.exec(r));)u(n,i[1],i[2],i[3])}function _(t){var e="";if(t)if("string"==typeof t)-1===(t=t.toLowerCase()).indexOf("min-width")&&-1===t.indexOf("max-width")||g(t);else for(var n=0,r=t.length;n<r;n++)1===t[n].type?-1!==(e=t[n].selectorText||t[n].cssText).indexOf("min-height")||-1!==e.indexOf("max-height")?g(e):-1===e.indexOf("min-width")&&-1===e.indexOf("max-width")||g(e):4===t[n].type?_(t[n].cssRules||t[n].rules):3===t[n].type&&t[n].styleSheet.hasOwnProperty("cssRules")&&_(t[n].styleSheet.cssRules)}var y=!1;this.init=function(){var n="animationstart";void 0!==document.documentElement.style.webkitAnimationName?n="webkitAnimationStart":void 0!==document.documentElement.style.MozAnimationName?n="mozanimationstart":void 0!==document.documentElement.style.OAnimationName&&(n="oanimationstart"),document.body.addEventListener(n,(function(e){var n=e.target,i=n&&window.getComputedStyle(n,null),o=i&&i.getPropertyValue("animation-name");if(o&&-1!==o.indexOf("element-queries")){n.elementQueriesSensor=new t(n,(function(){n.elementQueriesSetupInformation&&n.elementQueriesSetupInformation.call()}));var s=window.getComputedStyle(n.resizeSensor,null).getPropertyValue("min-width");s=parseInt(s.replace("px","")),c(e.target,r[s])}})),y||((e=document.createElement("style")).type="text/css",e.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img {width: 100%;}",e.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }",document.getElementsByTagName("head")[0].appendChild(e),y=!0);for(var i=0,o=document.styleSheets.length;i<o;i++)try{document.styleSheets[i].href&&document.styleSheets[i].href.indexOf("file://"),_(document.styleSheets[i].cssRules||document.styleSheets[i].rules||document.styleSheets[i].cssText)}catch(t){}p()},this.findElementQueriesElements=function(t){d(t)},this.update=function(){this.init()}};e.update=function(){e.instance.update()},e.detach=function(t){t.elementQueriesSetupInformation?(t.elementQueriesSensor.detach(),delete t.elementQueriesSetupInformation,delete t.elementQueriesSensor):t.resizeSensorInstance&&(t.resizeSensorInstance.detach(),delete t.resizeSensorInstance)},e.init=function(){e.instance||(e.instance=new e),e.instance.init()};var n=function(t){if(document.addEventListener)document.addEventListener("DOMContentLoaded",t,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var e=setInterval((function(){/loaded|complete/i.test(document.readyState)&&(t(),clearInterval(e))}),10);else window.onload=t};return e.findElementQueriesElements=function(t){e.instance.findElementQueriesElements(t)},e.listen=function(){n(e.init)},e})?r.apply(e,i):r)||(t.exports=o)},,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"TestScheduler",(function(){return h}));var r=n(3),i=n(10),o=n(62),s=n(20),a=function(){return function(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}}(),c=(n(258),function(t){function e(e,n){var r=t.call(this,(function(t){var e=this,n=e.logSubscribedFrame(),r=new s.a;return r.add(new s.a((function(){e.logUnsubscribedFrame(n)}))),e.scheduleMessages(t),r}))||this;return r.messages=e,r.subscriptions=[],r.scheduler=n,r}return r.__extends(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n<e;n++){var r=this.messages[n];t.add(this.scheduler.schedule((function(t){var e=t.message,n=t.subscriber;e.notification.observe(n)}),r.frame,{message:r,subscriber:t}))}},e}(i.a)),u=function(t){function e(e,n){var r=t.call(this)||this;return r.messages=e,r.subscriptions=[],r.scheduler=n,r}return r.__extends(e,t),e.prototype._subscribe=function(e){var n=this,r=n.logSubscribedFrame(),i=new s.a;return i.add(new s.a((function(){n.logUnsubscribedFrame(r)}))),i.add(t.prototype._subscribe.call(this,e)),i},e.prototype.setup=function(){for(var t=this,e=t.messages.length,n=0;n<e;n++)!function(){var e=t.messages[n];t.scheduler.schedule((function(){e.notification.observe(t)}),e.frame)}()},e}(n(13).b),l=n(251),d=n(119),h=function(t){function e(e){var n=t.call(this,l.a,750)||this;return n.assertDeepEqual=e,n.hotObservables=[],n.coldObservables=[],n.flushTests=[],n.runMode=!1,n}return r.__extends(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r,void 0,this.runMode),o=new c(i,this);return this.coldObservables.push(o),o},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var i=e.parseMarbles(t,n,r,void 0,this.runMode),o=new u(i,this);return this.hotObservables.push(o),o},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe((function(t){r.push({frame:n.frame-e,notification:o.a.createNext(t)})}),(function(t){r.push({frame:n.frame-e,notification:o.a.createError(t)})}),(function(){r.push({frame:n.frame-e,notification:o.a.createComplete()})})),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],c={actual:a,ready:!1},u=e.parseMarblesAsSubscriptions(n,this.runMode),l=u.subscribedFrame===Number.POSITIVE_INFINITY?0:u.subscribedFrame,d=u.unsubscribedFrame;this.schedule((function(){s=t.subscribe((function(t){var e=t;t instanceof i.a&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:o.a.createNext(e)})}),(function(t){a.push({frame:r.frame,notification:o.a.createError(t)})}),(function(){a.push({frame:r.frame,notification:o.a.createComplete()})}))}),l),d!==Number.POSITIVE_INFINITY&&this.schedule((function(){return s.unsubscribe()}),d),this.flushTests.push(c);var h=this.runMode;return{toBe:function(t,n,r){c.ready=!0,c.expected=e.parseMarbles(t,n,r,!0,h)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};this.flushTests.push(n);var r=this.runMode;return{toBe:function(t){var i="string"==typeof t?[t]:t;n.ready=!0,n.expected=i.map((function(t){return e.parseMarblesAsSubscriptions(t,r)}))}}},e.prototype.flush=function(){for(var e=this,n=this.hotObservables;n.length>0;)n.shift().setup();t.prototype.flush.call(this),this.flushTests=this.flushTests.filter((function(t){return!t.ready||(e.assertDeepEqual(t.actual,t.expected),!1)}))},e.parseMarblesAsSubscriptions=function(t,e){var n=this;if(void 0===e&&(e=!1),"string"!=typeof t)return new a(Number.POSITIVE_INFINITY);for(var r,i=t.length,o=-1,s=Number.POSITIVE_INFINITY,c=Number.POSITIVE_INFINITY,u=0,l=function(i){var a=u,l=function(t){a+=t*n.frameTimeFactor},h=t[i];switch(h){case" ":e||l(1);break;case"-":l(1);break;case"(":o=u,l(1);break;case")":o=-1,l(1);break;case"^":if(s!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");s=o>-1?o:u,l(1);break;case"!":if(c!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");c=o>-1?o:u;break;default:if(e&&h.match(/^[0-9]$/)&&(0===i||" "===t[i-1])){var p=t.slice(i).match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(p){i+=p[0].length-1;var f=parseFloat(p[1]),m=void 0;switch(p[2]){case"ms":m=f;break;case"s":m=1e3*f;break;case"m":m=1e3*f*60}l(m/d.frameTimeFactor);break}}throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+h+"'.")}u=a,r=i},d=this,h=0;h<i;h++)l(h),h=r;return c<0?new a(s):new a(s,c)},e.parseMarbles=function(t,e,n,r,i){var s=this;if(void 0===r&&(r=!1),void 0===i&&(i=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var a,u=t.length,l=[],d=i?t.replace(/^[ ]+/,"").indexOf("^"):t.indexOf("^"),h=-1===d?0:d*-this.frameTimeFactor,p="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof c?e[t].messages:e[t]},f=-1,m=function(e){var r=h,c=function(t){r+=t*s.frameTimeFactor},u=void 0,d=t[e];switch(d){case" ":i||c(1);break;case"-":case"^":c(1);break;case"(":f=h,c(1);break;case")":f=-1,c(1);break;case"|":u=o.a.createComplete(),c(1);break;case"#":u=o.a.createError(n||"error"),c(1);break;default:if(i&&d.match(/^[0-9]$/)&&(0===e||" "===t[e-1])){var m=t.slice(e).match(/^([0-9]+(?:\.[0-9]+)?)(ms|s|m) /);if(m){e+=m[0].length-1;var _=parseFloat(m[1]),y=void 0;switch(m[2]){case"ms":y=_;break;case"s":y=1e3*_;break;case"m":y=1e3*_*60}c(y/g.frameTimeFactor);break}}u=o.a.createNext(p(d)),c(1)}u&&l.push({frame:f>-1?f:h,notification:u}),h=r,a=e},g=this,_=0;_<u;_++)m(_),_=a;return l},e.prototype.run=function(t){var n=e.frameTimeFactor,r=this.maxFrames;e.frameTimeFactor=1,this.maxFrames=Number.POSITIVE_INFINITY,this.runMode=!0,d.a.delegate=this;var i={cold:this.createColdObservable.bind(this),hot:this.createHotObservable.bind(this),flush:this.flush.bind(this),expectObservable:this.expectObservable.bind(this),expectSubscriptions:this.expectSubscriptions.bind(this)};try{var o=t(i);return this.flush(),o}finally{e.frameTimeFactor=n,this.maxFrames=r,this.runMode=!1,d.a.delegate=void 0}},e}(l.b)},function(t,e,n){"use strict";n.r(e),n.d(e,"Md5",(function(){return r})),n.d(e,"Md5FileHasher",(function(){return i})),n.d(e,"ParallelHasher",(function(){return o}));class r{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,e=!1){return this.onePassHasher.start().appendStr(t).end(e)}static hashAsciiStr(t,e=!1){return this.onePassHasher.start().appendAsciiStr(t).end(e)}static _hex(t){const e=r.hexChars,n=r.hexOut;let i,o,s,a;for(a=0;a<4;a+=1)for(o=8*a,i=t[a],s=0;s<8;s+=2)n[o+1+s]=e.charAt(15&i),i>>>=4,n[o+0+s]=e.charAt(15&i),i>>>=4;return n.join("")}static _md5cycle(t,e){let n=t[0],r=t[1],i=t[2],o=t[3];n+=(r&i|~r&o)+e[0]-680876936|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+e[1]-389564586|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+e[2]+606105819|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+e[3]-1044525330|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+e[4]-176418897|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+e[5]+1200080426|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+e[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+e[7]-45705983|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+e[8]+1770035416|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+e[9]-1958414417|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+e[10]-42063|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+e[11]-1990404162|0,r=(r<<22|r>>>10)+i|0,n+=(r&i|~r&o)+e[12]+1804603682|0,n=(n<<7|n>>>25)+r|0,o+=(n&r|~n&i)+e[13]-40341101|0,o=(o<<12|o>>>20)+n|0,i+=(o&n|~o&r)+e[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,r+=(i&o|~i&n)+e[15]+1236535329|0,r=(r<<22|r>>>10)+i|0,n+=(r&o|i&~o)+e[1]-165796510|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+e[6]-1069501632|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+e[11]+643717713|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+e[0]-373897302|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+e[5]-701558691|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+e[10]+38016083|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+e[15]-660478335|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+e[4]-405537848|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+e[9]+568446438|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+e[14]-1019803690|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+e[3]-187363961|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+e[8]+1163531501|0,r=(r<<20|r>>>12)+i|0,n+=(r&o|i&~o)+e[13]-1444681467|0,n=(n<<5|n>>>27)+r|0,o+=(n&i|r&~i)+e[2]-51403784|0,o=(o<<9|o>>>23)+n|0,i+=(o&r|n&~r)+e[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,r+=(i&n|o&~n)+e[12]-1926607734|0,r=(r<<20|r>>>12)+i|0,n+=(r^i^o)+e[5]-378558|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+e[8]-2022574463|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+e[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+e[14]-35309556|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+e[1]-1530992060|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+e[4]+1272893353|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+e[7]-155497632|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+e[10]-1094730640|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+e[13]+681279174|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+e[0]-358537222|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+e[3]-722521979|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+e[6]+76029189|0,r=(r<<23|r>>>9)+i|0,n+=(r^i^o)+e[9]-640364487|0,n=(n<<4|n>>>28)+r|0,o+=(n^r^i)+e[12]-421815835|0,o=(o<<11|o>>>21)+n|0,i+=(o^n^r)+e[15]+530742520|0,i=(i<<16|i>>>16)+o|0,r+=(i^o^n)+e[2]-995338651|0,r=(r<<23|r>>>9)+i|0,n+=(i^(r|~o))+e[0]-198630844|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+e[7]+1126891415|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+e[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+e[5]-57434055|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+e[12]+1700485571|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+e[3]-1894986606|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+e[10]-1051523|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+e[1]-2054922799|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+e[8]+1873313359|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+e[15]-30611744|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+e[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+e[13]+1309151649|0,r=(r<<21|r>>>11)+i|0,n+=(i^(r|~o))+e[4]-145523070|0,n=(n<<6|n>>>26)+r|0,o+=(r^(n|~i))+e[11]-1120210379|0,o=(o<<10|o>>>22)+n|0,i+=(n^(o|~r))+e[2]+718787259|0,i=(i<<15|i>>>17)+o|0,r+=(o^(i|~n))+e[9]-343485551|0,r=(r<<21|r>>>11)+i|0,t[0]=n+t[0]|0,t[1]=r+t[1]|0,t[2]=i+t[2]|0,t[3]=o+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(r.stateIdentity),this}appendStr(t){const e=this._buffer8,n=this._buffer32;let i,o,s=this._bufferLength;for(o=0;o<t.length;o+=1){if(i=t.charCodeAt(o),i<128)e[s++]=i;else if(i<2048)e[s++]=192+(i>>>6),e[s++]=63&i|128;else if(i<55296||i>56319)e[s++]=224+(i>>>12),e[s++]=i>>>6&63|128,e[s++]=63&i|128;else{if(i=1024*(i-55296)+(t.charCodeAt(++o)-56320)+65536,i>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");e[s++]=240+(i>>>18),e[s++]=i>>>12&63|128,e[s++]=i>>>6&63|128,e[s++]=63&i|128}s>=64&&(this._dataLength+=64,r._md5cycle(this._state,n),s-=64,n[0]=n[16])}return this._bufferLength=s,this}appendAsciiStr(t){const e=this._buffer8,n=this._buffer32;let i,o=this._bufferLength,s=0;for(;;){for(i=Math.min(t.length-s,64-o);i--;)e[o++]=t.charCodeAt(s++);if(o<64)break;this._dataLength+=64,r._md5cycle(this._state,n),o=0}return this._bufferLength=o,this}appendByteArray(t){const e=this._buffer8,n=this._buffer32;let i,o=this._bufferLength,s=0;for(;;){for(i=Math.min(t.length-s,64-o);i--;)e[o++]=t[s++];if(o<64)break;this._dataLength+=64,r._md5cycle(this._state,n),o=0}return this._bufferLength=o,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const e=t.buffer,n=t.state,r=this._state;let i;for(this._dataLength=t.length,this._bufferLength=t.buflen,r[0]=n[0],r[1]=n[1],r[2]=n[2],r[3]=n[3],i=0;i<e.length;i+=1)this._buffer8[i]=e.charCodeAt(i)}end(t=!1){const e=this._bufferLength,n=this._buffer8,i=this._buffer32,o=1+(e>>2);this._dataLength+=e;const s=8*this._dataLength;if(n[e]=128,n[e+1]=n[e+2]=n[e+3]=0,i.set(r.buffer32Identity.subarray(o),o),e>55&&(r._md5cycle(this._state,i),i.set(r.buffer32Identity)),s<=4294967295)i[14]=s;else{const t=s.toString(16).match(/(.*?)(.{0,8})$/);if(null===t)return;const e=parseInt(t[2],16),n=parseInt(t[1],16)||0;i[14]=e,i[15]=n}return r._md5cycle(this._state,i),t?this._state:r._hex(this._state)}}if(r.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),r.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),r.hexChars="0123456789abcdef",r.hexOut=[],r.onePassHasher=new r,"5d41402abc4b2a76b9719d911017c592"!==r.hashStr("hello"))throw new Error("Md5 self test failed.");class i{constructor(t,e=!0,n=1048576){this._callback=t,this._async=e,this._partSize=n,this._configureReader()}hash(t){const e=this;e._blob=t,e._part=0,e._md5=new r,e._processPart()}_fail(){this._callback({success:!1,result:"data read failed"})}_hashData(t){let e=this;e._md5.appendByteArray(new Uint8Array(t.target.result)),e._part*e._partSize>=e._blob.size?e._callback({success:!0,result:e._md5.end()}):e._processPart()}_processPart(){const t=this;let e,n=0;t._part+=1,t._blob.size>t._partSize?(n=t._part*t._partSize,n>t._blob.size&&(n=t._blob.size),e=t._blob.slice((t._part-1)*t._partSize,n)):e=t._blob,t._async?t._reader.readAsArrayBuffer(e):setTimeout((()=>{try{t._hashData({target:{result:t._reader.readAsArrayBuffer(e)}})}catch(e){t._fail()}}),0)}_configureReader(){const t=this;t._async?(t._reader=new FileReader,t._reader.onload=t._hashData.bind(t),t._reader.onerror=t._fail.bind(t),t._reader.onabort=t._fail.bind(t)):t._reader=new FileReaderSync}}class o{constructor(t,e){this._queue=[],this._ready=!0;const n=this;Worker?(n._hashWorker=new Worker(t,e),n._hashWorker.onmessage=n._recievedMessage.bind(n),n._hashWorker.onerror=t=>{n._ready=!1}):n._ready=!1}hash(t){const e=this;let n;return n=new Promise(((n,r)=>{e._queue.push({blob:t,resolve:n,reject:r}),e._processNext()})),n}terminate(){this._ready=!1,this._hashWorker.terminate()}_processNext(){this._ready&&!this._processing&&this._queue.length>0&&(this._processing=this._queue.pop(),this._hashWorker.postMessage(this._processing.blob))}_recievedMessage(t){var e,n;const r=t.data;r.success?null===(e=this._processing)||void 0===e||e.resolve(r.result):null===(n=this._processing)||void 0===n||n.reject(r.result),this._processing=void 0,this._processNext()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s}));const r=6e4;function i(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${t}`);return isNaN(i)?r:i-e}function o(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function s(t,{statusCode:e,headers:n},r=Date.now()){const o={...t},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(const t of s.trim().split(",")){const[e,n]=t.split(":",2),i=parseInt(e,10),s=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))o[t]=r+s;else o.all=r+s}else a?o.all=r+i(a,r):429===e&&(o.all=r+6e4);return o}}]]);