@jsonforms/angular 3.0.0-alpha.3 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/classes/jsonforms.html +20 -20
- package/docs/classes/jsonformsabstractcontrol.html +30 -30
- package/docs/classes/jsonformsangularservice.html +25 -25
- package/docs/classes/jsonformsarraycontrol.html +30 -30
- package/docs/classes/jsonformsbaserenderer.html +4 -4
- package/docs/classes/jsonformscontrol.html +30 -30
- package/docs/classes/jsonformscontrolwithdetail.html +30 -30
- package/docs/classes/jsonformsoutlet.html +14 -14
- package/docs/globals.html +2 -2
- package/lib/{abstract-control.d.ts → cjs/abstract-control.d.ts} +0 -0
- package/lib/{abstract-control.js → cjs/abstract-control.js} +0 -0
- package/lib/cjs/abstract-control.js.map +1 -0
- package/lib/{abstract-control.metadata.json → cjs/abstract-control.metadata.json} +0 -0
- package/lib/{array-control.d.ts → cjs/array-control.d.ts} +0 -0
- package/lib/{array-control.js → cjs/array-control.js} +0 -0
- package/lib/cjs/array-control.js.map +1 -0
- package/lib/{array-control.metadata.json → cjs/array-control.metadata.json} +0 -0
- package/lib/{base.renderer.d.ts → cjs/base.renderer.d.ts} +0 -0
- package/lib/{base.renderer.js → cjs/base.renderer.js} +0 -0
- package/lib/cjs/base.renderer.js.map +1 -0
- package/lib/{base.renderer.metadata.json → cjs/base.renderer.metadata.json} +0 -0
- package/lib/{control.d.ts → cjs/control.d.ts} +0 -0
- package/lib/{control.js → cjs/control.js} +0 -0
- package/lib/cjs/control.js.map +1 -0
- package/lib/{control.metadata.json → cjs/control.metadata.json} +0 -0
- package/lib/{index.d.ts → cjs/index.d.ts} +0 -0
- package/lib/{index.js → cjs/index.js} +0 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/{index.metadata.json → cjs/index.metadata.json} +0 -0
- package/lib/{jsonforms-root.component.d.ts → cjs/jsonforms-root.component.d.ts} +0 -0
- package/lib/{jsonforms-root.component.js → cjs/jsonforms-root.component.js} +0 -0
- package/lib/cjs/jsonforms-root.component.js.map +1 -0
- package/lib/{jsonforms-root.component.metadata.json → cjs/jsonforms-root.component.metadata.json} +0 -0
- package/lib/{jsonforms.component.d.ts → cjs/jsonforms.component.d.ts} +0 -0
- package/lib/{jsonforms.component.js → cjs/jsonforms.component.js} +0 -0
- package/lib/cjs/jsonforms.component.js.map +1 -0
- package/lib/{jsonforms.component.metadata.json → cjs/jsonforms.component.metadata.json} +0 -0
- package/lib/{jsonforms.module.d.ts → cjs/jsonforms.module.d.ts} +0 -0
- package/lib/{jsonforms.module.js → cjs/jsonforms.module.js} +0 -0
- package/lib/cjs/jsonforms.module.js.map +1 -0
- package/lib/{jsonforms.module.metadata.json → cjs/jsonforms.module.metadata.json} +0 -0
- package/lib/{jsonforms.service.d.ts → cjs/jsonforms.service.d.ts} +0 -0
- package/lib/{jsonforms.service.js → cjs/jsonforms.service.js} +0 -0
- package/lib/cjs/jsonforms.service.js.map +1 -0
- package/lib/{jsonforms.service.metadata.json → cjs/jsonforms.service.metadata.json} +0 -0
- package/lib/{unknown.component.d.ts → cjs/unknown.component.d.ts} +0 -0
- package/lib/{unknown.component.js → cjs/unknown.component.js} +0 -0
- package/lib/cjs/unknown.component.js.map +1 -0
- package/lib/{unknown.component.metadata.json → cjs/unknown.component.metadata.json} +0 -0
- package/lib/esm/abstract-control.d.ts +35 -0
- package/lib/esm/abstract-control.js +133 -0
- package/lib/esm/abstract-control.js.map +1 -0
- package/lib/esm/abstract-control.metadata.json +1 -0
- package/lib/esm/array-control.d.ts +6 -0
- package/lib/esm/array-control.js +40 -0
- package/lib/esm/array-control.js.map +1 -0
- package/lib/esm/array-control.metadata.json +1 -0
- package/lib/esm/base.renderer.d.ts +7 -0
- package/lib/esm/base.renderer.js +47 -0
- package/lib/esm/base.renderer.js.map +1 -0
- package/lib/esm/base.renderer.metadata.json +1 -0
- package/lib/esm/control.d.ts +9 -0
- package/lib/esm/control.js +52 -0
- package/lib/esm/control.js.map +1 -0
- package/lib/esm/control.metadata.json +1 -0
- package/lib/esm/index.d.ts +9 -0
- package/lib/esm/index.js +34 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/index.metadata.json +1 -0
- package/lib/esm/jsonforms-root.component.d.ts +29 -0
- package/lib/esm/jsonforms-root.component.js +135 -0
- package/lib/esm/jsonforms-root.component.js.map +1 -0
- package/lib/esm/jsonforms-root.component.metadata.json +1 -0
- package/lib/esm/jsonforms.component.d.ts +16 -0
- package/lib/esm/jsonforms.component.js +129 -0
- package/lib/esm/jsonforms.component.js.map +1 -0
- package/lib/esm/jsonforms.component.metadata.json +1 -0
- package/lib/esm/jsonforms.module.d.ts +2 -0
- package/lib/esm/jsonforms.module.js +42 -0
- package/lib/esm/jsonforms.module.js.map +1 -0
- package/lib/esm/jsonforms.module.metadata.json +1 -0
- package/lib/esm/jsonforms.service.d.ts +47 -0
- package/lib/esm/jsonforms.service.js +179 -0
- package/lib/esm/jsonforms.service.js.map +1 -0
- package/lib/esm/jsonforms.service.metadata.json +1 -0
- package/lib/esm/unknown.component.d.ts +2 -0
- package/lib/esm/unknown.component.js +38 -0
- package/lib/esm/unknown.component.js.map +1 -0
- package/lib/esm/unknown.component.metadata.json +1 -0
- package/package.json +13 -15
- package/tsconfig.cjs.json +9 -0
- package/tsconfig.json +3 -2
- package/lib/abstract-control.js.map +0 -1
- package/lib/array-control.js.map +0 -1
- package/lib/base.renderer.js.map +0 -1
- package/lib/control.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/jsonforms-angular.js +0 -2162
- package/lib/jsonforms-angular.js.map +0 -1
- package/lib/jsonforms-root.component.js.map +0 -1
- package/lib/jsonforms.component.js.map +0 -1
- package/lib/jsonforms.module.js.map +0 -1
- package/lib/jsonforms.service.js.map +0 -1
- package/lib/unknown.component.js.map +0 -1
- package/webpack.build.js +0 -12
package/lib/jsonforms-angular.js
DELETED
|
@@ -1,2162 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("JSONFormsCore")):"function"==typeof define&&define.amd?define("JSONFormsAngular",["JSONFormsCore"],t):"object"==typeof exports?exports.JSONFormsAngular=t(require("JSONFormsCore")):e.JSONFormsAngular=t(e.JSONFormsCore)}(window,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=118)}([function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",(function(){return pr})),n.d(t,"APP_BOOTSTRAP_LISTENER",(function(){return z_})),n.d(t,"APP_ID",(function(){return V_})),n.d(t,"APP_INITIALIZER",(function(){return $_})),n.d(t,"ApplicationInitStatus",(function(){return F_})),n.d(t,"ApplicationModule",(function(){return Pw})),n.d(t,"ApplicationRef",(function(){return qb})),n.d(t,"Attribute",(function(){return fr})),n.d(t,"COMPILER_OPTIONS",(function(){return db})),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",(function(){return Li})),n.d(t,"ChangeDetectionStrategy",(function(){return ne})),n.d(t,"ChangeDetectorRef",(function(){return mg})),n.d(t,"Compiler",(function(){return lb})),n.d(t,"CompilerFactory",(function(){return fb})),n.d(t,"Component",(function(){return w_})),n.d(t,"ComponentFactory",(function(){return kp})),n.d(t,"ComponentFactoryResolver",(function(){return Np})),n.d(t,"ComponentRef",(function(){return Mp})),n.d(t,"ContentChild",(function(){return vr})),n.d(t,"ContentChildren",(function(){return mr})),n.d(t,"DEFAULT_CURRENCY_CODE",(function(){return K_})),n.d(t,"DebugElement",(function(){return xw})),n.d(t,"DebugEventListener",(function(){return iw})),n.d(t,"DebugNode",(function(){return Ew})),n.d(t,"DefaultIterableDiffer",(function(){return eg})),n.d(t,"Directive",(function(){return b_})),n.d(t,"ElementRef",(function(){return Up})),n.d(t,"EmbeddedViewRef",(function(){return ow})),n.d(t,"ErrorHandler",(function(){return Ri})),n.d(t,"EventEmitter",(function(){return my})),n.d(t,"Host",(function(){return io})),n.d(t,"HostBinding",(function(){return x_})),n.d(t,"HostListener",(function(){return S_})),n.d(t,"INJECTOR",(function(){return Uu})),n.d(t,"Inject",(function(){return to})),n.d(t,"InjectFlags",(function(){return Z})),n.d(t,"Injectable",(function(){return kl})),n.d(t,"InjectionToken",(function(){return hr})),n.d(t,"Injector",(function(){return ic})),n.d(t,"Input",(function(){return C_})),n.d(t,"IterableDiffers",(function(){return cg})),n.d(t,"KeyValueDiffers",(function(){return dg})),n.d(t,"LOCALE_ID",(function(){return W_})),n.d(t,"MissingTranslationStrategy",(function(){return J_})),n.d(t,"ModuleWithComponentFactories",(function(){return eb})),n.d(t,"NO_ERRORS_SCHEMA",(function(){return Bi})),n.d(t,"NgModule",(function(){return P_})),n.d(t,"NgModuleFactory",(function(){return Mg})),n.d(t,"NgModuleFactoryLoader",(function(){return Kb})),n.d(t,"NgModuleRef",(function(){return Ig})),n.d(t,"NgProbeToken",(function(){return Fb})),n.d(t,"NgZone",(function(){return gb})),n.d(t,"Optional",(function(){return no})),n.d(t,"Output",(function(){return E_})),n.d(t,"PACKAGE_ROOT_URL",(function(){return q_})),n.d(t,"PLATFORM_ID",(function(){return H_})),n.d(t,"PLATFORM_INITIALIZER",(function(){return U_})),n.d(t,"Pipe",(function(){return D_})),n.d(t,"PlatformRef",(function(){return Hb})),n.d(t,"Query",(function(){return gr})),n.d(t,"QueryList",(function(){return yy})),n.d(t,"ReflectiveInjector",(function(){return Yl})),n.d(t,"ReflectiveKey",(function(){return Vl})),n.d(t,"Renderer2",(function(){return qp})),n.d(t,"RendererFactory2",(function(){return zp})),n.d(t,"RendererStyleFlags2",(function(){return ns})),n.d(t,"ResolvedReflectiveFactory",(function(){return zl})),n.d(t,"Sanitizer",(function(){return Qp})),n.d(t,"SecurityContext",(function(){return gi})),n.d(t,"Self",(function(){return ro})),n.d(t,"SimpleChange",(function(){return ot})),n.d(t,"SkipSelf",(function(){return oo})),n.d(t,"SystemJsNgModuleLoader",(function(){return tw})),n.d(t,"SystemJsNgModuleLoaderConfig",(function(){return Xb})),n.d(t,"TRANSLATIONS",(function(){return Q_})),n.d(t,"TRANSLATIONS_FORMAT",(function(){return Z_})),n.d(t,"TemplateRef",(function(){return Eg})),n.d(t,"Testability",(function(){return Db})),n.d(t,"TestabilityRegistry",(function(){return Cb})),n.d(t,"Type",(function(){return Cr})),n.d(t,"VERSION",(function(){return Jp})),n.d(t,"Version",(function(){return Zp})),n.d(t,"ViewChild",(function(){return _r})),n.d(t,"ViewChildren",(function(){return yr})),n.d(t,"ViewContainerRef",(function(){return Pg})),n.d(t,"ViewEncapsulation",(function(){return oe})),n.d(t,"ViewRef",(function(){return rw})),n.d(t,"WrappedValue",(function(){return Kc})),n.d(t,"asNativeElements",(function(){return uw})),n.d(t,"assertPlatform",(function(){return Lb})),n.d(t,"createPlatform",(function(){return Vb})),n.d(t,"createPlatformFactory",(function(){return Rb})),n.d(t,"defineInjectable",(function(){return B})),n.d(t,"destroyPlatform",(function(){return Bb})),n.d(t,"enableProdMode",(function(){return Mb})),n.d(t,"forwardRef",(function(){return h})),n.d(t,"getDebugNode",(function(){return bw})),n.d(t,"getModuleFactory",(function(){return Jb})),n.d(t,"getPlatform",(function(){return Ub})),n.d(t,"inject",(function(){return Qr})),n.d(t,"isDevMode",(function(){return Ib})),n.d(t,"platformCore",(function(){return Sw})),n.d(t,"resolveForwardRef",(function(){return p})),n.d(t,"setTestabilityGetter",(function(){return Eb})),n.d(t,"ɵ0",(function(){return eo})),n.d(t,"ɵALLOW_MULTIPLE_PLATFORMS",(function(){return $b})),n.d(t,"ɵAPP_ID_RANDOM_PROVIDER",(function(){return L_})),n.d(t,"ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__",(function(){return dr})),n.d(t,"ɵChangeDetectorStatus",(function(){return re})),n.d(t,"ɵCodegenComponentFactoryResolver",(function(){return Tp})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__",(function(){return ub})),n.d(t,"ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__",(function(){return sb})),n.d(t,"ɵCompiler_compileModuleAsync__POST_R3__",(function(){return ob})),n.d(t,"ɵCompiler_compileModuleSync__POST_R3__",(function(){return nb})),n.d(t,"ɵComponentFactory",(function(){return kp})),n.d(t,"ɵConsole",(function(){return G_})),n.d(t,"ɵDEFAULT_LOCALE_ID",(function(){return uh})),n.d(t,"ɵEMPTY_ARRAY",(function(){return fe})),n.d(t,"ɵEMPTY_MAP",(function(){return jm})),n.d(t,"ɵINJECTOR_IMPL__POST_R3__",(function(){return rc})),n.d(t,"ɵINJECTOR_SCOPE",(function(){return zu})),n.d(t,"ɵLifecycleHooksFeature",(function(){return Nc})),n.d(t,"ɵLocaleDataIndex",(function(){return sh})),n.d(t,"ɵNG_COMP_DEF",(function(){return he})),n.d(t,"ɵNG_DIR_DEF",(function(){return pe})),n.d(t,"ɵNG_ELEMENT_ID",(function(){return _e})),n.d(t,"ɵNG_INJ_DEF",(function(){return W})),n.d(t,"ɵNG_MOD_DEF",(function(){return me})),n.d(t,"ɵNG_PIPE_DEF",(function(){return ge})),n.d(t,"ɵNG_PROV_DEF",(function(){return G})),n.d(t,"ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",(function(){return Ev})),n.d(t,"ɵNO_CHANGE",(function(){return Ys})),n.d(t,"ɵNgModuleFactory",(function(){return Hv})),n.d(t,"ɵNoopNgZone",(function(){return wb})),n.d(t,"ɵReflectionCapabilities",(function(){return Vr})),n.d(t,"ɵRender3ComponentFactory",(function(){return Nv})),n.d(t,"ɵRender3ComponentRef",(function(){return Tv})),n.d(t,"ɵRender3NgModuleRef",(function(){return Uv})),n.d(t,"ɵRuntimeError",(function(){return m})),n.d(t,"ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",(function(){return pg})),n.d(t,"ɵSWITCH_COMPILE_COMPONENT__POST_R3__",(function(){return A_})),n.d(t,"ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__",(function(){return O_})),n.d(t,"ɵSWITCH_COMPILE_INJECTABLE__POST_R3__",(function(){return jl})),n.d(t,"ɵSWITCH_COMPILE_NGMODULE__POST_R3__",(function(){return N_})),n.d(t,"ɵSWITCH_COMPILE_PIPE__POST_R3__",(function(){return I_})),n.d(t,"ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__",(function(){return Lp})),n.d(t,"ɵSWITCH_IVY_ENABLED__POST_R3__",(function(){return Y_})),n.d(t,"ɵSWITCH_RENDERER2_FACTORY__POST_R3__",(function(){return Gp})),n.d(t,"ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__",(function(){return Dg})),n.d(t,"ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",(function(){return kg})),n.d(t,"ɵ_sanitizeHtml",(function(){return hi})),n.d(t,"ɵ_sanitizeUrl",(function(){return qo})),n.d(t,"ɵallowSanitizationBypassAndThrow",(function(){return Po})),n.d(t,"ɵand",(function(){return Nw})),n.d(t,"ɵangular_packages_core_core_a",(function(){return g})),n.d(t,"ɵangular_packages_core_core_b",(function(){return Gr})),n.d(t,"ɵangular_packages_core_core_ba",(function(){return jw})),n.d(t,"ɵangular_packages_core_core_bb",(function(){return ch})),n.d(t,"ɵangular_packages_core_core_bc",(function(){return vv})),n.d(t,"ɵangular_packages_core_core_bd",(function(){return Zg})),n.d(t,"ɵangular_packages_core_core_be",(function(){return st})),n.d(t,"ɵangular_packages_core_core_bf",(function(){return Pv})),n.d(t,"ɵangular_packages_core_core_bg",(function(){return Hn})),n.d(t,"ɵangular_packages_core_core_bh",(function(){return Nt})),n.d(t,"ɵangular_packages_core_core_bi",(function(){return qt})),n.d(t,"ɵangular_packages_core_core_bj",(function(){return dn})),n.d(t,"ɵangular_packages_core_core_bl",(function(){return ty})),n.d(t,"ɵangular_packages_core_core_bm",(function(){return ny})),n.d(t,"ɵangular_packages_core_core_bn",(function(){return ry})),n.d(t,"ɵangular_packages_core_core_bo",(function(){return oy})),n.d(t,"ɵangular_packages_core_core_bp",(function(){return iy})),n.d(t,"ɵangular_packages_core_core_bq",(function(){return Ci})),n.d(t,"ɵangular_packages_core_core_br",(function(){return lr})),n.d(t,"ɵangular_packages_core_core_bs",(function(){return cr})),n.d(t,"ɵangular_packages_core_core_bv",(function(){return u})),n.d(t,"ɵangular_packages_core_core_bw",(function(){return Hu})),n.d(t,"ɵangular_packages_core_core_bx",(function(){return Y})),n.d(t,"ɵangular_packages_core_core_bz",(function(){return wt})),n.d(t,"ɵangular_packages_core_core_c",(function(){return Jr})),n.d(t,"ɵangular_packages_core_core_cb",(function(){return as})),n.d(t,"ɵangular_packages_core_core_cc",(function(){return pp})),n.d(t,"ɵangular_packages_core_core_d",(function(){return Xl})),n.d(t,"ɵangular_packages_core_core_e",(function(){return Bl})),n.d(t,"ɵangular_packages_core_core_f",(function(){return Wl})),n.d(t,"ɵangular_packages_core_core_g",(function(){return R_})),n.d(t,"ɵangular_packages_core_core_h",(function(){return Kp})),n.d(t,"ɵangular_packages_core_core_i",(function(){return Vp})),n.d(t,"ɵangular_packages_core_core_j",(function(){return Rp})),n.d(t,"ɵangular_packages_core_core_k",(function(){return Qb})),n.d(t,"ɵangular_packages_core_core_l",(function(){return Ag})),n.d(t,"ɵangular_packages_core_core_m",(function(){return Og})),n.d(t,"ɵangular_packages_core_core_n",(function(){return Ng})),n.d(t,"ɵangular_packages_core_core_o",(function(){return sw})),n.d(t,"ɵangular_packages_core_core_p",(function(){return aw})),n.d(t,"ɵangular_packages_core_core_q",(function(){return ww})),n.d(t,"ɵangular_packages_core_core_r",(function(){return vg})),n.d(t,"ɵangular_packages_core_core_s",(function(){return Yp})),n.d(t,"ɵangular_packages_core_core_t",(function(){return ig})),n.d(t,"ɵangular_packages_core_core_u",(function(){return ug})),n.d(t,"ɵangular_packages_core_core_v",(function(){return lg})),n.d(t,"ɵangular_packages_core_core_w",(function(){return Aw})),n.d(t,"ɵangular_packages_core_core_x",(function(){return Ow})),n.d(t,"ɵangular_packages_core_core_y",(function(){return Iw})),n.d(t,"ɵangular_packages_core_core_z",(function(){return kw})),n.d(t,"ɵbypassSanitizationTrustHtml",(function(){return To})),n.d(t,"ɵbypassSanitizationTrustResourceUrl",(function(){return Ro})),n.d(t,"ɵbypassSanitizationTrustScript",(function(){return Fo})),n.d(t,"ɵbypassSanitizationTrustStyle",(function(){return $o})),n.d(t,"ɵbypassSanitizationTrustUrl",(function(){return Vo})),n.d(t,"ɵccf",(function(){return Gm})),n.d(t,"ɵclearOverrides",(function(){return uC})),n.d(t,"ɵclearResolutionOfComponentResourcesQueue",(function(){return go})),n.d(t,"ɵcmf",(function(){return cC})),n.d(t,"ɵcompileComponent",(function(){return r_})),n.d(t,"ɵcompileDirective",(function(){return o_})),n.d(t,"ɵcompileNgModule",(function(){return Uy})),n.d(t,"ɵcompileNgModuleDefs",(function(){return Hy})),n.d(t,"ɵcompileNgModuleFactory__POST_R3__",(function(){return jb})),n.d(t,"ɵcompilePipe",(function(){return y_})),n.d(t,"ɵcreateInjector",(function(){return Qu})),n.d(t,"ɵcrt",(function(){return nm})),n.d(t,"ɵdefaultIterableDiffers",(function(){return bg})),n.d(t,"ɵdefaultKeyValueDiffers",(function(){return wg})),n.d(t,"ɵdetectChanges",(function(){return Lu})),n.d(t,"ɵdevModeEqual",(function(){return Wc})),n.d(t,"ɵdid",(function(){return pv})),n.d(t,"ɵeld",(function(){return Tw})),n.d(t,"ɵfindLocaleData",(function(){return th})),n.d(t,"ɵflushModuleScopingQueueAsMuchAsPossible",(function(){return Ly})),n.d(t,"ɵgetComponentViewDefinitionFactory",(function(){return Wm})),n.d(t,"ɵgetDebugNodeR2",(function(){return Dw})),n.d(t,"ɵgetDebugNode__POST_R3__",(function(){return _w})),n.d(t,"ɵgetDirectives",(function(){return bc})),n.d(t,"ɵgetHostElement",(function(){return Dc})),n.d(t,"ɵgetInjectableDef",(function(){return H})),n.d(t,"ɵgetLContext",(function(){return Si})),n.d(t,"ɵgetLocaleCurrencyCode",(function(){return nh})),n.d(t,"ɵgetLocalePluralCase",(function(){return rh})),n.d(t,"ɵgetModuleFactory__POST_R3__",(function(){return Zb})),n.d(t,"ɵgetSanitizationBypassType",(function(){return No})),n.d(t,"ɵglobal",(function(){return ce})),n.d(t,"ɵinitServicesIfNeeded",(function(){return CD})),n.d(t,"ɵinlineInterpolate",(function(){return Mm})),n.d(t,"ɵinterpolate",(function(){return Im})),n.d(t,"ɵisBoundToModule__POST_R3__",(function(){return Tb})),n.d(t,"ɵisDefaultChangeDetectionStrategy",(function(){return ie})),n.d(t,"ɵisListLikeIterable",(function(){return Qc})),n.d(t,"ɵisObservable",(function(){return pd})),n.d(t,"ɵisPromise",(function(){return fd})),n.d(t,"ɵisSubscribable",(function(){return hd})),n.d(t,"ɵivyEnabled",(function(){return X_})),n.d(t,"ɵmakeDecorator",(function(){return ar})),n.d(t,"ɵmarkDirty",(function(){return Bu})),n.d(t,"ɵmod",(function(){return Vm})),n.d(t,"ɵmpd",(function(){return Fm})),n.d(t,"ɵncd",(function(){return qw})),n.d(t,"ɵnoSideEffects",(function(){return te})),n.d(t,"ɵnov",(function(){return ov})),n.d(t,"ɵoverrideComponentView",(function(){return aC})),n.d(t,"ɵoverrideProvider",(function(){return sC})),n.d(t,"ɵpad",(function(){return Kw})),n.d(t,"ɵpatchComponentDefWithScope",(function(){return Yy})),n.d(t,"ɵpid",(function(){return gv})),n.d(t,"ɵpod",(function(){return Qw})),n.d(t,"ɵppd",(function(){return Ww})),n.d(t,"ɵprd",(function(){return mv})),n.d(t,"ɵpublishDefaultGlobalUtils",(function(){return Oc})),n.d(t,"ɵpublishGlobalUtil",(function(){return Ic})),n.d(t,"ɵqud",(function(){return Lw})),n.d(t,"ɵregisterLocaleData",(function(){return eh})),n.d(t,"ɵregisterModuleFactory",(function(){return Vv})),n.d(t,"ɵregisterNgModuleType",(function(){return Lv})),n.d(t,"ɵrenderComponent",(function(){return Mc})),n.d(t,"ɵresetCompiledComponents",(function(){return Qy})),n.d(t,"ɵresetJitOptions",(function(){return Fy})),n.d(t,"ɵresolveComponentResources",(function(){return lo})),n.d(t,"ɵsetClassMetadata",(function(){return $v})),n.d(t,"ɵsetCurrentInjector",(function(){return qr})),n.d(t,"ɵsetDocument",(function(){return pt})),n.d(t,"ɵsetLocaleId",(function(){return ph})),n.d(t,"ɵstore",(function(){return Cl})),n.d(t,"ɵstringify",(function(){return l})),n.d(t,"ɵted",(function(){return Jw})),n.d(t,"ɵtransitiveScopesFor",(function(){return Xy})),n.d(t,"ɵunregisterLocaleData",(function(){return ih})),n.d(t,"ɵunv",(function(){return tm})),n.d(t,"ɵunwrapSafeValue",(function(){return jo})),n.d(t,"ɵvid",(function(){return eD})),n.d(t,"ɵwhenRendered",(function(){return Tc})),n.d(t,"ɵɵCopyDefinitionFeature",(function(){return zc})),n.d(t,"ɵɵFactoryTarget",(function(){return br})),n.d(t,"ɵɵInheritDefinitionFeature",(function(){return Fc})),n.d(t,"ɵɵNgOnChangesFeature",(function(){return it})),n.d(t,"ɵɵProvidersFeature",(function(){return Ip})),n.d(t,"ɵɵadvance",(function(){return Xs})),n.d(t,"ɵɵattribute",(function(){return rl})),n.d(t,"ɵɵattributeInterpolate1",(function(){return hl})),n.d(t,"ɵɵattributeInterpolate2",(function(){return pl})),n.d(t,"ɵɵattributeInterpolate3",(function(){return gl})),n.d(t,"ɵɵattributeInterpolate4",(function(){return ml})),n.d(t,"ɵɵattributeInterpolate5",(function(){return vl})),n.d(t,"ɵɵattributeInterpolate6",(function(){return yl})),n.d(t,"ɵɵattributeInterpolate7",(function(){return _l})),n.d(t,"ɵɵattributeInterpolate8",(function(){return bl})),n.d(t,"ɵɵattributeInterpolateV",(function(){return wl})),n.d(t,"ɵɵclassMap",(function(){return Jd})),n.d(t,"ɵɵclassMapInterpolate1",(function(){return Df})),n.d(t,"ɵɵclassMapInterpolate2",(function(){return Cf})),n.d(t,"ɵɵclassMapInterpolate3",(function(){return Ef})),n.d(t,"ɵɵclassMapInterpolate4",(function(){return xf})),n.d(t,"ɵɵclassMapInterpolate5",(function(){return Sf})),n.d(t,"ɵɵclassMapInterpolate6",(function(){return Af})),n.d(t,"ɵɵclassMapInterpolate7",(function(){return Of})),n.d(t,"ɵɵclassMapInterpolate8",(function(){return If})),n.d(t,"ɵɵclassMapInterpolateV",(function(){return Mf})),n.d(t,"ɵɵclassProp",(function(){return Kd})),n.d(t,"ɵɵcontentQuery",(function(){return Iy})),n.d(t,"ɵɵdefineComponent",(function(){return we})),n.d(t,"ɵɵdefineDirective",(function(){return Ie})),n.d(t,"ɵɵdefineInjectable",(function(){return L})),n.d(t,"ɵɵdefineInjector",(function(){return U})),n.d(t,"ɵɵdefineNgModule",(function(){return Se})),n.d(t,"ɵɵdefinePipe",(function(){return Me})),n.d(t,"ɵɵdirectiveInject",(function(){return ed})),n.d(t,"ɵɵdisableBindings",(function(){return Pt})),n.d(t,"ɵɵelement",(function(){return ad})),n.d(t,"ɵɵelementContainer",(function(){return ld})),n.d(t,"ɵɵelementContainerEnd",(function(){return cd})),n.d(t,"ɵɵelementContainerStart",(function(){return ud})),n.d(t,"ɵɵelementEnd",(function(){return sd})),n.d(t,"ɵɵelementStart",(function(){return id})),n.d(t,"ɵɵenableBindings",(function(){return jt})),n.d(t,"ɵɵgetCurrentView",(function(){return dd})),n.d(t,"ɵɵgetInheritedFactory",(function(){return tr})),n.d(t,"ɵɵhostProperty",(function(){return Qf})),n.d(t,"ɵɵi18n",(function(){return vp})),n.d(t,"ɵɵi18nApply",(function(){return bp})),n.d(t,"ɵɵi18nAttributes",(function(){return yp})),n.d(t,"ɵɵi18nEnd",(function(){return mp})),n.d(t,"ɵɵi18nExp",(function(){return _p})),n.d(t,"ɵɵi18nPostprocess",(function(){return wp})),n.d(t,"ɵɵi18nStart",(function(){return gp})),n.d(t,"ɵɵinject",(function(){return Wr})),n.d(t,"ɵɵinjectAttribute",(function(){return rr})),n.d(t,"ɵɵinvalidFactory",(function(){return td})),n.d(t,"ɵɵinvalidFactoryDep",(function(){return Kr})),n.d(t,"ɵɵlistener",(function(){return gd})),n.d(t,"ɵɵloadQuery",(function(){return My})),n.d(t,"ɵɵnamespaceHTML",(function(){return vn})),n.d(t,"ɵɵnamespaceMathML",(function(){return mn})),n.d(t,"ɵɵnamespaceSVG",(function(){return gn})),n.d(t,"ɵɵnextContext",(function(){return bd})),n.d(t,"ɵɵngDeclareClassMetadata",(function(){return fC})),n.d(t,"ɵɵngDeclareComponent",(function(){return hC})),n.d(t,"ɵɵngDeclareDirective",(function(){return dC})),n.d(t,"ɵɵngDeclareFactory",(function(){return pC})),n.d(t,"ɵɵngDeclareInjectable",(function(){return mC})),n.d(t,"ɵɵngDeclareInjector",(function(){return vC})),n.d(t,"ɵɵngDeclareNgModule",(function(){return yC})),n.d(t,"ɵɵngDeclarePipe",(function(){return _C})),n.d(t,"ɵɵpipe",(function(){return sy})),n.d(t,"ɵɵpipeBind1",(function(){return ay})),n.d(t,"ɵɵpipeBind2",(function(){return uy})),n.d(t,"ɵɵpipeBind3",(function(){return cy})),n.d(t,"ɵɵpipeBind4",(function(){return ly})),n.d(t,"ɵɵpipeBindV",(function(){return dy})),n.d(t,"ɵɵprojection",(function(){return Cd})),n.d(t,"ɵɵprojectionDef",(function(){return Dd})),n.d(t,"ɵɵproperty",(function(){return nd})),n.d(t,"ɵɵpropertyInterpolate",(function(){return Ed})),n.d(t,"ɵɵpropertyInterpolate1",(function(){return xd})),n.d(t,"ɵɵpropertyInterpolate2",(function(){return Sd})),n.d(t,"ɵɵpropertyInterpolate3",(function(){return Ad})),n.d(t,"ɵɵpropertyInterpolate4",(function(){return Od})),n.d(t,"ɵɵpropertyInterpolate5",(function(){return Id})),n.d(t,"ɵɵpropertyInterpolate6",(function(){return Md})),n.d(t,"ɵɵpropertyInterpolate7",(function(){return kd})),n.d(t,"ɵɵpropertyInterpolate8",(function(){return jd})),n.d(t,"ɵɵpropertyInterpolateV",(function(){return Pd})),n.d(t,"ɵɵpureFunction0",(function(){return zv})),n.d(t,"ɵɵpureFunction1",(function(){return qv})),n.d(t,"ɵɵpureFunction2",(function(){return Gv})),n.d(t,"ɵɵpureFunction3",(function(){return Wv})),n.d(t,"ɵɵpureFunction4",(function(){return Kv})),n.d(t,"ɵɵpureFunction5",(function(){return Qv})),n.d(t,"ɵɵpureFunction6",(function(){return Zv})),n.d(t,"ɵɵpureFunction7",(function(){return Jv})),n.d(t,"ɵɵpureFunction8",(function(){return Yv})),n.d(t,"ɵɵpureFunctionV",(function(){return Xv})),n.d(t,"ɵɵqueryRefresh",(function(){return Ay})),n.d(t,"ɵɵreference",(function(){return El})),n.d(t,"ɵɵresolveBody",(function(){return Yi})),n.d(t,"ɵɵresolveDocument",(function(){return Ji})),n.d(t,"ɵɵresolveWindow",(function(){return Zi})),n.d(t,"ɵɵrestoreView",(function(){return $t})),n.d(t,"ɵɵsanitizeHtml",(function(){return mi})),n.d(t,"ɵɵsanitizeResourceUrl",(function(){return _i})),n.d(t,"ɵɵsanitizeScript",(function(){return bi})),n.d(t,"ɵɵsanitizeStyle",(function(){return vi})),n.d(t,"ɵɵsanitizeUrl",(function(){return yi})),n.d(t,"ɵɵsanitizeUrlOrResourceUrl",(function(){return Ei})),n.d(t,"ɵɵsetComponentScope",(function(){return De})),n.d(t,"ɵɵsetNgModuleScope",(function(){return Ae})),n.d(t,"ɵɵstyleMap",(function(){return Qd})),n.d(t,"ɵɵstyleMapInterpolate1",(function(){return kf})),n.d(t,"ɵɵstyleMapInterpolate2",(function(){return jf})),n.d(t,"ɵɵstyleMapInterpolate3",(function(){return Pf})),n.d(t,"ɵɵstyleMapInterpolate4",(function(){return Nf})),n.d(t,"ɵɵstyleMapInterpolate5",(function(){return Tf})),n.d(t,"ɵɵstyleMapInterpolate6",(function(){return $f})),n.d(t,"ɵɵstyleMapInterpolate7",(function(){return Ff})),n.d(t,"ɵɵstyleMapInterpolate8",(function(){return Vf})),n.d(t,"ɵɵstyleMapInterpolateV",(function(){return Rf})),n.d(t,"ɵɵstyleProp",(function(){return Wd})),n.d(t,"ɵɵstylePropInterpolate1",(function(){return Lf})),n.d(t,"ɵɵstylePropInterpolate2",(function(){return Bf})),n.d(t,"ɵɵstylePropInterpolate3",(function(){return Uf})),n.d(t,"ɵɵstylePropInterpolate4",(function(){return Hf})),n.d(t,"ɵɵstylePropInterpolate5",(function(){return zf})),n.d(t,"ɵɵstylePropInterpolate6",(function(){return qf})),n.d(t,"ɵɵstylePropInterpolate7",(function(){return Gf})),n.d(t,"ɵɵstylePropInterpolate8",(function(){return Wf})),n.d(t,"ɵɵstylePropInterpolateV",(function(){return Kf})),n.d(t,"ɵɵsyntheticHostListener",(function(){return md})),n.d(t,"ɵɵsyntheticHostProperty",(function(){return Zf})),n.d(t,"ɵɵtemplate",(function(){return Dl})),n.d(t,"ɵɵtemplateRefExtractor",(function(){return Ny})),n.d(t,"ɵɵtext",(function(){return df})),n.d(t,"ɵɵtextInterpolate",(function(){return ff})),n.d(t,"ɵɵtextInterpolate1",(function(){return hf})),n.d(t,"ɵɵtextInterpolate2",(function(){return pf})),n.d(t,"ɵɵtextInterpolate3",(function(){return gf})),n.d(t,"ɵɵtextInterpolate4",(function(){return mf})),n.d(t,"ɵɵtextInterpolate5",(function(){return vf})),n.d(t,"ɵɵtextInterpolate6",(function(){return yf})),n.d(t,"ɵɵtextInterpolate7",(function(){return _f})),n.d(t,"ɵɵtextInterpolate8",(function(){return bf})),n.d(t,"ɵɵtextInterpolateV",(function(){return wf})),n.d(t,"ɵɵtrustConstantHtml",(function(){return wi})),n.d(t,"ɵɵtrustConstantResourceUrl",(function(){return Di})),n.d(t,"ɵɵviewQuery",(function(){return Oy}));var r=n(9),o=n(5),i=n(2),s=n(82),a=n(271);
|
|
2
|
-
/**
|
|
3
|
-
* @license Angular v12.1.4
|
|
4
|
-
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
5
|
-
* License: MIT
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10
|
-
*
|
|
11
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
12
|
-
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/
|
|
14
|
-
function u(e){for(let t in e)if(e[t]===u)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
|
|
15
|
-
/**
|
|
16
|
-
* @license
|
|
17
|
-
* Copyright Google LLC All Rights Reserved.
|
|
18
|
-
*
|
|
19
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
20
|
-
* found in the LICENSE file at https://angular.io/license
|
|
21
|
-
*/function l(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(l).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}
|
|
22
|
-
/**
|
|
23
|
-
* @license
|
|
24
|
-
* Copyright Google LLC All Rights Reserved.
|
|
25
|
-
*
|
|
26
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
27
|
-
* found in the LICENSE file at https://angular.io/license
|
|
28
|
-
*/const f=u({__forward_ref__:u});function h(e){return e.__forward_ref__=h,e.toString=function(){return l(this())},e}function p(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(f)&&e.__forward_ref__===h}
|
|
29
|
-
/**
|
|
30
|
-
* @license
|
|
31
|
-
* Copyright Google LLC All Rights Reserved.
|
|
32
|
-
*
|
|
33
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
34
|
-
* found in the LICENSE file at https://angular.io/license
|
|
35
|
-
*/class m extends Error{constructor(e,t){super(y(e,t)),this.code=e}}const v=new Set(["100","200","201","300","301","302"]);function y(e,t){let n=`${e?`NG0${e}: `:""}${t}`;return ngDevMode&&v.has(e)&&(n=`${n}. Find more at https://angular.io/errors/NG0${e}`),n}
|
|
36
|
-
/**
|
|
37
|
-
* @license
|
|
38
|
-
* Copyright Google LLC All Rights Reserved.
|
|
39
|
-
*
|
|
40
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
41
|
-
* found in the LICENSE file at https://angular.io/license
|
|
42
|
-
*/function _(e){return"string"==typeof e?e:null==e?"":String(e)}function b(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_(e)}function w(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new m("200",`Circular dependency in DI detected for ${e}${n}`)}function D(){throw new Error("Cannot mix multi providers and regular providers")}function C(e,t){const n=t?" in "+t:"";throw new m("201",`No provider for ${b(e)} found${n}`)}
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright Google LLC All Rights Reserved.
|
|
46
|
-
*
|
|
47
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
48
|
-
* found in the LICENSE file at https://angular.io/license
|
|
49
|
-
*/function E(e,t){"number"!=typeof e&&$(t,typeof e,"number","===")}function x(e,t,n){E(e,"Expected a number"),j(e,n,"Expected number to be less than or equal to"),N(e,t,"Expected number to be greater than or equal to")}function S(e,t){"string"!=typeof e&&$(t,null===e?"null":typeof e,"string","===")}function A(e,t,n){e!=t&&$(n,e,t,"==")}function O(e,t,n){e==t&&$(n,e,t,"!=")}function I(e,t,n){e!==t&&$(n,e,t,"===")}function M(e,t,n){e===t&&$(n,e,t,"!==")}function k(e,t,n){e<t||$(n,e,t,"<")}function j(e,t,n){e<=t||$(n,e,t,"<=")}function P(e,t,n){e>t||$(n,e,t,">")}function N(e,t,n){e>=t||$(n,e,t,">=")}function T(e,t){null==e&&$(t,e,null,"!=")}function $(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function F(e){"undefined"!=typeof Node&&e instanceof Node||"object"==typeof e&&null!=e&&"WebWorkerRenderNode"===e.constructor.name||$("The provided value must be an instance of a DOM Node but got "+l(e))}function V(e,t){T(e,"Array must be defined.");const n=e.length;(t<0||t>=n)&&$(`Index expected to be less than ${n} but got ${t}`)}function R(e,...t){if(-1!==t.indexOf(e))return!0;$(`Expected value to be one of ${JSON.stringify(t)} but was ${JSON.stringify(e)}.`)}
|
|
50
|
-
/**
|
|
51
|
-
* @license
|
|
52
|
-
* Copyright Google LLC All Rights Reserved.
|
|
53
|
-
*
|
|
54
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
55
|
-
* found in the LICENSE file at https://angular.io/license
|
|
56
|
-
*/function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const B=L;function U(e){return{providers:e.providers||[],imports:e.imports||[]}}function H(e){return z(e,G)||z(e,K)}function z(e,t){return e.hasOwnProperty(t)?e[t]:null}function q(e){return e&&(e.hasOwnProperty(W)||e.hasOwnProperty(Q))?e[W]:null}const G=u({"ɵprov":u}),W=u({"ɵinj":u}),K=u({ngInjectableDef:u}),Q=u({ngInjectorDef:u});
|
|
57
|
-
/**
|
|
58
|
-
* @license
|
|
59
|
-
* Copyright Google LLC All Rights Reserved.
|
|
60
|
-
*
|
|
61
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
62
|
-
* found in the LICENSE file at https://angular.io/license
|
|
63
|
-
*/
|
|
64
|
-
var Z;
|
|
65
|
-
/**
|
|
66
|
-
* @license
|
|
67
|
-
* Copyright Google LLC All Rights Reserved.
|
|
68
|
-
*
|
|
69
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
70
|
-
* found in the LICENSE file at https://angular.io/license
|
|
71
|
-
*/
|
|
72
|
-
let J;function Y(){return J}function X(e){const t=J;return J=e,t}function ee(e,t,n){const r=H(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Z.Optional?null:void 0!==t?t:void C(l(e),"Injector")}
|
|
73
|
-
/**
|
|
74
|
-
* @license
|
|
75
|
-
* Copyright Google LLC All Rights Reserved.
|
|
76
|
-
*
|
|
77
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
78
|
-
* found in the LICENSE file at https://angular.io/license
|
|
79
|
-
*/
|
|
80
|
-
function te(e){return{toString:e}.toString()}
|
|
81
|
-
/**
|
|
82
|
-
* @license
|
|
83
|
-
* Copyright Google LLC All Rights Reserved.
|
|
84
|
-
*
|
|
85
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
86
|
-
* found in the LICENSE file at https://angular.io/license
|
|
87
|
-
*/var ne,re,oe;function ie(e){return null==e||e===ne.Default}
|
|
88
|
-
/**
|
|
89
|
-
* @license
|
|
90
|
-
* Copyright Google LLC All Rights Reserved.
|
|
91
|
-
*
|
|
92
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
93
|
-
* found in the LICENSE file at https://angular.io/license
|
|
94
|
-
*/!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(Z||(Z={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(ne||(ne={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(re||(re={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(oe||(oe={}));
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright Google LLC All Rights Reserved.
|
|
98
|
-
*
|
|
99
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
100
|
-
* found in the LICENSE file at https://angular.io/license
|
|
101
|
-
*/
|
|
102
|
-
const se="undefined"!=typeof globalThis&&globalThis,ae="undefined"!=typeof window&&window,ue="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ce=se||void 0!==e&&e||ae||ue;function le(){return!("undefined"!=typeof ngDevMode&&!ngDevMode)&&("object"!=typeof ngDevMode&&
|
|
103
|
-
/**
|
|
104
|
-
* @license
|
|
105
|
-
* Copyright Google LLC All Rights Reserved.
|
|
106
|
-
*
|
|
107
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
108
|
-
* found in the LICENSE file at https://angular.io/license
|
|
109
|
-
*/
|
|
110
|
-
function(){const e="undefined"!=typeof location?location.toString():"",t={namedConstructors:-1!=e.indexOf("ngDevMode=namedConstructors"),firstCreatePass:0,tNode:0,tView:0,rendererCreateTextNode:0,rendererSetText:0,rendererCreateElement:0,rendererAddEventListener:0,rendererSetAttribute:0,rendererRemoveAttribute:0,rendererSetProperty:0,rendererSetClassName:0,rendererAddClass:0,rendererRemoveClass:0,rendererSetStyle:0,rendererRemoveStyle:0,rendererDestroy:0,rendererDestroyNode:0,rendererMoveNode:0,rendererRemoveNode:0,rendererAppendChild:0,rendererInsertBefore:0,rendererCreateComment:0},n=-1===e.indexOf("ngDevMode=false");ce.ngDevMode=n&&t}(),"undefined"!=typeof ngDevMode&&!!ngDevMode)}
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright Google LLC All Rights Reserved.
|
|
114
|
-
*
|
|
115
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
116
|
-
* found in the LICENSE file at https://angular.io/license
|
|
117
|
-
*/const de={},fe=[];("undefined"==typeof ngDevMode||ngDevMode)&&le()&&(Object.freeze(de),Object.freeze(fe))
|
|
118
|
-
/**
|
|
119
|
-
* @license
|
|
120
|
-
* Copyright Google LLC All Rights Reserved.
|
|
121
|
-
*
|
|
122
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
123
|
-
* found in the LICENSE file at https://angular.io/license
|
|
124
|
-
*/;const he=u({"ɵcmp":u}),pe=u({"ɵdir":u}),ge=u({"ɵpipe":u}),me=u({"ɵmod":u}),ve=u({"ɵloc":u}),ye=u({"ɵfac":u}),_e=u({__NG_ELEMENT_ID__:u});
|
|
125
|
-
/**
|
|
126
|
-
* @license
|
|
127
|
-
* Copyright Google LLC All Rights Reserved.
|
|
128
|
-
*
|
|
129
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
130
|
-
* found in the LICENSE file at https://angular.io/license
|
|
131
|
-
*/
|
|
132
|
-
let be=0;function we(e){return te(()=>{("undefined"==typeof ngDevMode||ngDevMode)&&le();const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ne.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||fe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||oe.Emulated,id:"c",styles:e.styles||fe,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,i=e.pipes;return n.id+=be++,n.inputs=Oe(e.inputs,t),n.outputs=Oe(e.outputs),o&&o.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ce):null,n.pipeDefs=i?()=>("function"==typeof i?i():i).map(Ee):null,n})}function De(e,t,n){const r=e.ɵcmp;r.directiveDefs=()=>t.map(Ce),r.pipeDefs=()=>n.map(Ee)}function Ce(e){const t=ke(e)||je(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is neither 'ComponentType' or 'DirectiveType'.`);return t}function Ee(e){const t=Pe(e);if(ngDevMode&&!t)throw new Error(`'${e.name}' is not a 'PipeType'.`);return t}const xe={};function Se(e){return te(()=>{const t={type:e.type,bootstrap:e.bootstrap||fe,declarations:e.declarations||fe,imports:e.imports||fe,exports:e.exports||fe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(xe[e.id]=e.type),t})}function Ae(e,t){return te(()=>{const n=Ne(e,!0);n.declarations=t.declarations||fe,n.imports=t.imports||fe,n.exports=t.exports||fe})}function Oe(e,t){if(null==e)return de;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Ie=we;function Me(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ke(e){return e[he]||null}function je(e){return e[pe]||null}function Pe(e){return e[ge]||null}function Ne(e,t){const n=e[me]||null;if(!n&&!0===t)throw new Error(`Type ${l(e)} does not have 'ɵmod' property.`);return n}
|
|
133
|
-
/**
|
|
134
|
-
* @license
|
|
135
|
-
* Copyright Google LLC All Rights Reserved.
|
|
136
|
-
*
|
|
137
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
138
|
-
* found in the LICENSE file at https://angular.io/license
|
|
139
|
-
*/
|
|
140
|
-
const Te=["Root","Component","Embedded"];
|
|
141
|
-
/**
|
|
142
|
-
* @license
|
|
143
|
-
* Copyright Google LLC All Rights Reserved.
|
|
144
|
-
*
|
|
145
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
146
|
-
* found in the LICENSE file at https://angular.io/license
|
|
147
|
-
*/
|
|
148
|
-
function $e(e){return Array.isArray(e)&&"object"==typeof e[1]}function Fe(e){return Array.isArray(e)&&!0===e[1]}function Ve(e){return 0!=(8&e.flags)}function Re(e){return 2==(2&e.flags)}function Le(e){return 1==(1&e.flags)}function Be(e){return null!==e.template}
|
|
149
|
-
/**
|
|
150
|
-
* @license
|
|
151
|
-
* Copyright Google LLC All Rights Reserved.
|
|
152
|
-
*
|
|
153
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
154
|
-
* found in the LICENSE file at https://angular.io/license
|
|
155
|
-
*/
|
|
156
|
-
function Ue(e,t){He(e,t[1])}function He(e,t){ze(e),e.hasOwnProperty("tView_")&&A(e.tView_,t,"This TNode does not belong to this TView.")}function ze(e){T(e,"TNode must be defined"),e&&"object"==typeof e&&e.hasOwnProperty("directiveStylingLast")||$("Not of type TNode, got: "+e)}function qe(e){T(e,"Expected TIcu to be defined"),"number"!=typeof e.currentCaseLViewIndex&&$("Object is not of TIcu type.")}function Ge(e,t="Type passed in is not ComponentType, it does not have 'ɵcmp' property."){ke(e)||$(t)}function We(e){T(e,"currentTNode should exist!"),T(e.parent,"currentTNode should have a parent")}function Ke(e){T(e,"LContainer must be defined"),A(Fe(e),!0,"Expecting LContainer")}function Qe(e){e&&A($e(e),!0,"Expecting LView or undefined or null")}function Ze(e){T(e,"LView must be defined"),A($e(e),!0,"Expecting LView")}function Je(e,t){A(e.firstCreatePass,!0,t||"Should only be called in first create pass.")}function Ye(e,t){A(e.firstUpdatePass,!0,t||"Should only be called in first update pass.")}function Xe(e,t){et(e[1].expandoStartIndex,e.length,t)}function et(e,t,n){e<=n&&n<t||$(`Index out of range (expecting ${e} <= ${n} < ${t})`)}function tt(e,t){T(e,t||"Component views should always have a parent view (component's host view)")}function nt(e,t){Xe(e,t),Xe(e,t+8),E(e[t+0],"injectorIndex should point to a bloom filter"),E(e[t+1],"injectorIndex should point to a bloom filter"),E(e[t+2],"injectorIndex should point to a bloom filter"),E(e[t+3],"injectorIndex should point to a bloom filter"),E(e[t+4],"injectorIndex should point to a bloom filter"),E(e[t+5],"injectorIndex should point to a bloom filter"),E(e[t+6],"injectorIndex should point to a bloom filter"),E(e[t+7],"injectorIndex should point to a bloom filter"),E(e[t+8],"injectorIndex should point to parent injector")}
|
|
157
|
-
/**
|
|
158
|
-
* @license
|
|
159
|
-
* Copyright Google LLC All Rights Reserved.
|
|
160
|
-
*
|
|
161
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
162
|
-
* found in the LICENSE file at https://angular.io/license
|
|
163
|
-
*/function rt(e,t){const n=e.hasOwnProperty(ye);if(!n&&!0===t&&ngDevMode)throw new Error(`Type ${l(e)} does not have 'ɵfac' property.`);return n?e[ye]:null}
|
|
164
|
-
/**
|
|
165
|
-
* @license
|
|
166
|
-
* Copyright Google LLC All Rights Reserved.
|
|
167
|
-
*
|
|
168
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
169
|
-
* found in the LICENSE file at https://angular.io/license
|
|
170
|
-
*/class ot{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}
|
|
171
|
-
/**
|
|
172
|
-
* @license
|
|
173
|
-
* Copyright Google LLC All Rights Reserved.
|
|
174
|
-
*
|
|
175
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
176
|
-
* found in the LICENSE file at https://angular.io/license
|
|
177
|
-
*/function it(){return st}function st(e){return e.type.prototype.ngOnChanges&&(e.setInput=ut),at}function at(){const e=ct(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===de)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function ut(e,t,n,r){const o=ct(e)||function(e,t){return e.__ngSimpleChanges__=t}
|
|
178
|
-
/**
|
|
179
|
-
* @license
|
|
180
|
-
* Copyright Google LLC All Rights Reserved.
|
|
181
|
-
*
|
|
182
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
183
|
-
* found in the LICENSE file at https://angular.io/license
|
|
184
|
-
*/(e,{previous:de,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new ot(u&&u.currentValue,t,s===de),e[r]=t}it.ngInherit=!0;function ct(e){return e.__ngSimpleChanges__||null}let lt=null;const dt=e=>{lt=e},ft=function(e,t,n){null!=lt&<(e,t,n)};
|
|
185
|
-
/**
|
|
186
|
-
* @license
|
|
187
|
-
* Copyright Google LLC All Rights Reserved.
|
|
188
|
-
*
|
|
189
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
190
|
-
* found in the LICENSE file at https://angular.io/license
|
|
191
|
-
*/
|
|
192
|
-
let ht=void 0;function pt(e){ht=e}function gt(){return void 0!==ht?ht:"undefined"!=typeof document?document:void 0}
|
|
193
|
-
/**
|
|
194
|
-
* @license
|
|
195
|
-
* Copyright Google LLC All Rights Reserved.
|
|
196
|
-
*
|
|
197
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
198
|
-
* found in the LICENSE file at https://angular.io/license
|
|
199
|
-
*/var mt;function vt(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(mt||(mt={}));const yt={createRenderer:(e,t)=>gt()};
|
|
200
|
-
/**
|
|
201
|
-
* @license
|
|
202
|
-
* Copyright Google LLC All Rights Reserved.
|
|
203
|
-
*
|
|
204
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
205
|
-
* found in the LICENSE file at https://angular.io/license
|
|
206
|
-
*/
|
|
207
|
-
function _t(e){for(;Array.isArray(e);)e=e[0];return e}function bt(e,t){return ngDevMode&&V(t,e),ngDevMode&&N(e,20,"Expected to be past HEADER_OFFSET"),_t(t[e])}function wt(e,t){ngDevMode&&Ue(e,t),ngDevMode&&V(t,e.index);const n=_t(t[e.index]);return ngDevMode&&!vt(t[11])&&F(n),n}function Dt(e,t){ngDevMode&&P(t,-1,"wrong index for TNode"),ngDevMode&&k(t,e.data.length,"wrong index for TNode");const n=e.data[t];return ngDevMode&&null!==n&&ze(n),n}function Ct(e,t){return ngDevMode&&V(e,t),e[t]}function Et(e,t){ngDevMode&&V(t,e);const n=t[e];return $e(n)?n:n[0]}function xt(e){return 4==(4&e[2])}function St(e){return 128==(128&e[2])}function At(e,t){return null==t?null:(ngDevMode&&V(e,t),e[t])}function Ot(e){e[18]=0}function It(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}
|
|
208
|
-
/**
|
|
209
|
-
* @license
|
|
210
|
-
* Copyright Google LLC All Rights Reserved.
|
|
211
|
-
*
|
|
212
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
213
|
-
* found in the LICENSE file at https://angular.io/license
|
|
214
|
-
*/const Mt={lFrame:an(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function kt(){return Mt.bindingsEnabled}function jt(){Mt.bindingsEnabled=!0}function Pt(){Mt.bindingsEnabled=!1}function Nt(){return Mt.lFrame.lView}function Tt(){return Mt.lFrame.tView}function $t(e){return Mt.lFrame.contextLView=e,e[8]}function Ft(){let e=Vt();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vt(){return Mt.lFrame.currentTNode}function Rt(){const e=Mt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Lt(e,t){ngDevMode&&e&&He(e,Mt.lFrame.tView);const n=Mt.lFrame;n.currentTNode=e,n.isParent=t}function Bt(){return Mt.lFrame.isParent}function Ut(){Mt.lFrame.isParent=!1}function Ht(){return Mt.isInCheckNoChangesMode}function zt(e){Mt.isInCheckNoChangesMode=e}function qt(){const e=Mt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Gt(){return Mt.lFrame.bindingIndex}function Wt(e){return Mt.lFrame.bindingIndex=e}function Kt(){return Mt.lFrame.bindingIndex++}function Qt(e){const t=Mt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zt(e){Mt.lFrame.inI18n=e}function Jt(e,t){const n=Mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yt(t)}function Yt(e){Mt.lFrame.currentDirectiveIndex=e}function Xt(e){const t=Mt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function en(){return Mt.lFrame.currentQueryIndex}function tn(e){Mt.lFrame.currentQueryIndex=e}function nn(e){const t=e[1];return 2===t.type?(ngDevMode&&T(t.declTNode,"Embedded TNodes should have declaration parents."),t.declTNode):1===t.type?e[6]:null}function rn(e,t,n){if(ngDevMode&&Qe(e),n&Z.SkipSelf){ngDevMode&&He(t,e[1]);let r=t,o=e;for(;!(ngDevMode&&T(r,"Parent TNode should be defined"),r=r.parent,null!==r||n&Z.Host||(r=nn(o),null===r)||(ngDevMode&&T(o,"Parent LView should be defined"),o=o[15],10&r.type)););if(null===r)return!1;t=r,e=o}ngDevMode&&Ue(t,e);const r=Mt.lFrame=sn();return r.currentTNode=t,r.lView=e,!0}function on(e){ngDevMode&&O(e[0],e[1],"????"),ngDevMode&&Qe(e);const t=sn();ngDevMode&&(A(t.isParent,!0,"Expected clean LFrame"),A(t.lView,null,"Expected clean LFrame"),A(t.tView,null,"Expected clean LFrame"),A(t.selectedIndex,-1,"Expected clean LFrame"),A(t.elementDepthCount,0,"Expected clean LFrame"),A(t.currentDirectiveIndex,-1,"Expected clean LFrame"),A(t.currentNamespace,null,"Expected clean LFrame"),A(t.bindingRootIndex,-1,"Expected clean LFrame"),A(t.currentQueryIndex,0,"Expected clean LFrame"));const n=e[1];Mt.lFrame=t,ngDevMode&&n.firstChild&&He(n.firstChild,n),t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function sn(){const e=Mt.lFrame,t=null===e?null:e.child;return null===t?an(e):t}function an(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function un(){const e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const cn=un;function ln(){const e=un();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function dn(e){return(Mt.lFrame.contextLView=function(e,t){for(;e>0;)ngDevMode&&T(t[15],"Declaration view should be defined if nesting level is greater than 0."),t=t[15],e--;return t}(e,Mt.lFrame.contextLView))[8]}function fn(){return Mt.lFrame.selectedIndex}function hn(e){ngDevMode&&-1!==e&&N(e,20,"Index must be past HEADER_OFFSET (or -1)."),ngDevMode&&k(e,Mt.lFrame.lView.length,"Can't set index passed end of LView"),Mt.lFrame.selectedIndex=e}function pn(){const e=Mt.lFrame;return Dt(e.tView,e.selectedIndex)}function gn(){Mt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function mn(){Mt.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function vn(){Mt.lFrame.currentNamespace=null}function yn(e,t){ngDevMode&&Je(e);for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];ngDevMode&&T(t,"Expecting DirectiveDef");const r=t.type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:a,ngOnDestroy:u}=r;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),a&&((e.viewHooks||(e.viewHooks=[])).push(n,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function _n(e,t,n){Dn(e,t,3,n)}function bn(e,t,n,r){ngDevMode&&O(n,3,"Init pre-order hooks should not be called more than once"),(3&e[2])===n&&Dn(e,t,n,r)}function wn(e,t){ngDevMode&&O(t,3,"Init hooks phase should not be incremented after all init hooks have been run.");let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Dn(e,t,n,r){ngDevMode&&A(Ht(),!1,"Hooks should never be run when in check no changes mode.");const o=void 0!==r?65535&e[18]:0,i=null!=r?r:-1,s=t.length-1;let a=0;for(let u=o;u<s;u++){if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else{t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(Cn(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}}}function Cn(e,t,n,r){const o=n[r]<0,i=n[r+1],s=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,ft(4,s,i);try{i.call(s)}finally{ft(5,s,i)}}}else{ft(4,s,i);try{i.call(s)}finally{ft(5,s,i)}}}
|
|
215
|
-
/**
|
|
216
|
-
* @license
|
|
217
|
-
* Copyright Google LLC All Rights Reserved.
|
|
218
|
-
*
|
|
219
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
220
|
-
* found in the LICENSE file at https://angular.io/license
|
|
221
|
-
*/class En{constructor(e,t,n){this.factory=e,this.resolving=!1,ngDevMode&&T(e,"Factory not specified"),ngDevMode&&A(typeof e,"function","Expected factory function."),this.canSeeViewProviders=t,this.injectImpl=n}}function xn(e){let t="";return 1&e&&(t+="|Text"),2&e&&(t+="|Element"),4&e&&(t+="|Container"),8&e&&(t+="|ElementContainer"),16&e&&(t+="|Projection"),32&e&&(t+="|IcuContainer"),64&e&&(t+="|Placeholder"),t.length>0?t.substring(1):t}
|
|
222
|
-
/**
|
|
223
|
-
* @license
|
|
224
|
-
* Copyright Google LLC All Rights Reserved.
|
|
225
|
-
*
|
|
226
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
227
|
-
* found in the LICENSE file at https://angular.io/license
|
|
228
|
-
*/
|
|
229
|
-
function Sn(e,t,n){T(e,"should be called with a TNode"),0==(e.type&t)&&$(n||`Expected [${xn(t)}] but got ${xn(e.type)}.`)}function An(e,t,n){const r=vt(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],u=n[o++];ngDevMode&&ngDevMode.rendererSetAttribute++,r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=i,a=n[++o];ngDevMode&&ngDevMode.rendererSetAttribute++,In(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function On(e){return 3===e||4===e||6===e}function In(e){return 64===e.charCodeAt(0)}function Mn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||kn(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function kn(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const n=e[i++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=i-1;break}}}for(;i<e.length;){const t=e[i];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}
|
|
230
|
-
/**
|
|
231
|
-
* @license
|
|
232
|
-
* Copyright Google LLC All Rights Reserved.
|
|
233
|
-
*
|
|
234
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
235
|
-
* found in the LICENSE file at https://angular.io/license
|
|
236
|
-
*/function jn(e){return-1!==e}function Pn(e){ngDevMode&&E(e,"Number expected"),ngDevMode&&O(e,-1,"Not a valid state.");return ngDevMode&&P(32767&e,20,"Parent injector must be pointing past HEADER_OFFSET."),32767&e}function Nn(e,t){let n=e>>16;let r=t;for(;n>0;)r=r[15],n--;return r}
|
|
237
|
-
/**
|
|
238
|
-
* @license
|
|
239
|
-
* Copyright Google LLC All Rights Reserved.
|
|
240
|
-
*
|
|
241
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
242
|
-
* found in the LICENSE file at https://angular.io/license
|
|
243
|
-
*/let Tn=!0;function $n(e){const t=Tn;return Tn=e,t}let Fn=0;function Vn(e,t){const n=Ln(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Rn(r.data,e),Rn(t,null),Rn(r.blueprint,null));const o=Bn(e,t),i=e.injectorIndex;if(jn(o)){const e=Pn(o),n=Nn(o,t),r=n[1].data;for(let o=0;o<8;o++)t[i+o]=n[e+o]|r[e+o]}return t[i+8]=o,i}function Rn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ln(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:(ngDevMode&&V(t,e.injectorIndex),e.injectorIndex)}function Bn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const e=o[1],t=e.type;if(2===t?(ngDevMode&&T(e.declTNode,"Embedded TNodes should have declaration parents."),r=e.declTNode):1===t?r=o[6]:(ngDevMode&&A(e.type,0,"Root type expected"),r=null),null===r)return-1;if(ngDevMode&&r&&Ue(r,o[15]),n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Un(e,t,n){!function(e,t,n){let r;ngDevMode&&A(t.firstCreatePass,!0,"expected firstCreatePass to be true"),"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(_e)&&(r=n[_e]),null==r&&(r=n[_e]=Fn++);const o=255&r,i=1<<o;t.data[e+(o>>5)]|=i}(e,t,n)}function Hn(e,t){if(ngDevMode&&Sn(e,15),ngDevMode&&T(e,"expecting tNode"),"class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let r=0;for(;r<e;){const o=n[r];if(On(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<e&&"string"==typeof n[r];)r++;else{if(o===t)return n[r+1];r+=2}}}return null}function zn(e,t,n){if(n&Z.Optional)return e;C(t,"NodeInjector")}function qn(e,t,n,r){if(n&Z.Optional&&void 0===r&&(r=null),0==(n&(Z.Self|Z.Host))){const o=e[9],i=X(void 0);try{return o?o.get(t,r,n&Z.Optional):ee(t,r,n&Z.Optional)}finally{X(i)}}return zn(r,t,n)}function Gn(e,t,n,r=Z.Default,o){if(null!==e){const i=function(e){if(ngDevMode&&T(e,"token must be defined"),"string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(_e)?e[_e]:void 0;return"number"==typeof t?t>=0?255&t:(ngDevMode&&A(t,-1,"Expecting to get Special Injector Id"),Kn):t}(n);if("function"==typeof i){if(!rn(t,e,r))return r&Z.Host?zn(o,n,r):qn(t,n,r,o);try{const e=i(r);if(null!=e||r&Z.Optional)return e;C(n)}finally{cn()}}else if("number"==typeof i){let o=null,s=Ln(e,t),a=-1,u=r&Z.Host?t[16][6]:null;for((-1===s||r&Z.SkipSelf)&&(a=-1===s?Bn(e,t):t[s+8],-1!==a&&Xn(r,!1)?(o=t[1],s=Pn(a),t=Nn(a,t)):s=-1);-1!==s;){ngDevMode&&nt(t,s);const e=t[1];if(ngDevMode&&Ue(e.data[s+8],t),Yn(i,s,e.data)){const e=Qn(s,t,n,o,r,u);if(e!==Wn)return e}a=t[s+8],-1!==a&&Xn(r,t[1].data[s+8]===u)&&Yn(i,s,t)?(o=e,s=Pn(a),t=Nn(a,t)):s=-1}}}return qn(t,n,r,o)}const Wn={};function Kn(){return new er(Ft(),Nt())}function Qn(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],u=Zn(a,s,n,null==r?Re(a)&&Tn:r!=s&&0!=(3&a.type),o&Z.Host&&i===a);return null!==u?Jn(t,s,u,a):Wn}function Zn(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=o?a+l:c;for(let e=r?a:a+l;e<d;e++){const t=s[e];if(e<u&&n===t||e>=u&&t.type===n)return e}if(o){const e=s[u];if(e&&Be(e)&&e.type===n)return u}return null}function Jn(e,t,n,r){let o=e[n];const i=t.data;if(o instanceof En){const s=o;s.resolving&&w(b(i[n]));const a=$n(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?X(s.injectImpl):null,c=rn(e,r,Z.Default);ngDevMode&&A(c,!0,"Because flags do not contain `SkipSelf' we expect this to always succeed.");try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&(ngDevMode&&function(e){void 0!==e.type&&null!=e.selectors&&void 0!==e.inputs||$("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}(i[n]),
|
|
244
|
-
/**
|
|
245
|
-
* @license
|
|
246
|
-
* Copyright Google LLC All Rights Reserved.
|
|
247
|
-
*
|
|
248
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
249
|
-
* found in the LICENSE file at https://angular.io/license
|
|
250
|
-
*/
|
|
251
|
-
function(e,t,n){ngDevMode&&Je(n);const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const r=st(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t))}finally{null!==u&&X(u),$n(a),s.resolving=!1,cn()}}return o}function Yn(e,t,n){const r=1<<e;return!!(n[t+(e>>5)]&r)}function Xn(e,t){return!(e&Z.Self||e&Z.Host&&t)}class er{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return Gn(this._tNode,this._lView,e,void 0,t)}}function tr(e){return te(()=>{const t=e.prototype.constructor,n=t[ye]||nr(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const e=o[ye]||nr(o);if(e&&e!==n)return e;o=Object.getPrototypeOf(o)}return e=>new e})}function nr(e){return g(e)?()=>{const t=nr(p(e));return t&&t()}:rt(e)}
|
|
252
|
-
/**
|
|
253
|
-
* @license
|
|
254
|
-
* Copyright Google LLC All Rights Reserved.
|
|
255
|
-
*
|
|
256
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
257
|
-
* found in the LICENSE file at https://angular.io/license
|
|
258
|
-
*/function rr(e){return Hn(Ft(),e)}
|
|
259
|
-
/**
|
|
260
|
-
* @license
|
|
261
|
-
* Copyright Google LLC All Rights Reserved.
|
|
262
|
-
*
|
|
263
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
264
|
-
* found in the LICENSE file at https://angular.io/license
|
|
265
|
-
*/const or="__annotations__",ir="__parameters__",sr="__prop__metadata__";function ar(e,t,n,r,o){return te(()=>{const i=ur(t);function s(...e){if(this instanceof s)return i.call(this,...e),this;const t=new s(...e);return function(n){o&&o(n,...e);return(n.hasOwnProperty(or)?n[or]:Object.defineProperty(n,or,{value:[]})[or]).push(t),r&&r(n),n}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function ur(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function cr(e,t,n){return te(()=>{const r=ur(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty(ir)?e[ir]:Object.defineProperty(e,ir,{value:[]})[ir];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function lr(e,t,n,r){return te(()=>{const o=ur(t);function i(...e){if(this instanceof i)return o.apply(this,e),this;const t=new i(...e);return function(n,o){const i=n.constructor,s=i.hasOwnProperty(sr)?i[sr]:Object.defineProperty(i,sr,{value:{}})[sr];s[o]=s.hasOwnProperty(o)&&s[o]||[],s[o].unshift(t),r&&r(n,o,...e)}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}
|
|
266
|
-
/**
|
|
267
|
-
* @license
|
|
268
|
-
* Copyright Google LLC All Rights Reserved.
|
|
269
|
-
*
|
|
270
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
271
|
-
* found in the LICENSE file at https://angular.io/license
|
|
272
|
-
*/function dr(){return cr("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>rr(e)}))}const fr=function(){return cr("Attribute",e=>({attributeName:e}))}();
|
|
273
|
-
/**
|
|
274
|
-
* @license
|
|
275
|
-
* Copyright Google LLC All Rights Reserved.
|
|
276
|
-
*
|
|
277
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
278
|
-
* found in the LICENSE file at https://angular.io/license
|
|
279
|
-
*/
|
|
280
|
-
class hr{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?(("undefined"==typeof ngDevMode||ngDevMode)&&k(t,0,"Only negative numbers are supported here"),this.__NG_ELEMENT_ID__=t):void 0!==t&&(this.ɵprov=L({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}
|
|
281
|
-
/**
|
|
282
|
-
* @license
|
|
283
|
-
* Copyright Google LLC All Rights Reserved.
|
|
284
|
-
*
|
|
285
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
286
|
-
* found in the LICENSE file at https://angular.io/license
|
|
287
|
-
*/const pr=new hr("AnalyzeForEntryComponents");class gr{}const mr=lr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),gr),vr=lr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),gr),yr=lr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),gr),_r=lr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),gr);
|
|
288
|
-
/**
|
|
289
|
-
* @license
|
|
290
|
-
* Copyright Google LLC All Rights Reserved.
|
|
291
|
-
*
|
|
292
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
293
|
-
* found in the LICENSE file at https://angular.io/license
|
|
294
|
-
*/
|
|
295
|
-
var br,wr;
|
|
296
|
-
/**
|
|
297
|
-
* @license
|
|
298
|
-
* Copyright Google LLC All Rights Reserved.
|
|
299
|
-
*
|
|
300
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
301
|
-
* found in the LICENSE file at https://angular.io/license
|
|
302
|
-
*/
|
|
303
|
-
function Dr(e){const t=ce.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;if("undefined"==typeof ngDevMode||ngDevMode){console.error("JIT compilation failed for "+e.kind,e.type);let t=`The ${e.kind} '${e.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;throw 1===e.usage?(t+=`The ${e.kind} is part of a library that has been partially compiled.\n`,t+="However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n",t+="\n",t+="Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n"):t+="JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n",t+="Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n",t+="or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.",new Error(t)}throw new Error("JIT compiler unavailable")}
|
|
304
|
-
/**
|
|
305
|
-
* @license
|
|
306
|
-
* Copyright Google LLC All Rights Reserved.
|
|
307
|
-
*
|
|
308
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
309
|
-
* found in the LICENSE file at https://angular.io/license
|
|
310
|
-
*/!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(br||(br={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(wr||(wr={}));const Cr=Function;function Er(e){return"function"==typeof e}
|
|
311
|
-
/**
|
|
312
|
-
* @license
|
|
313
|
-
* Copyright Google LLC All Rights Reserved.
|
|
314
|
-
*
|
|
315
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
316
|
-
* found in the LICENSE file at https://angular.io/license
|
|
317
|
-
*/function xr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),xr(r,t)):t!==e&&t.push(r)}return t}function Sr(e,t){e.forEach(e=>Array.isArray(e)?Sr(e,t):t(e))}function Ar(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ir(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Mr(e,t,n){let r=jr(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){ngDevMode&&j(t,e.length,"Can't insert past array end.");let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){const t=o-2;e[o]=e[t],o--}e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function kr(e,t){const n=jr(e,t);if(n>=0)return e[1|n]}function jr(e,t){return Pr(e,t,1)}function Pr(e,t,n){ngDevMode&&A(Array.isArray(e),!0,"Expecting an array");let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}
|
|
318
|
-
/**
|
|
319
|
-
* @license
|
|
320
|
-
* Copyright Google LLC All Rights Reserved.
|
|
321
|
-
*
|
|
322
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
323
|
-
* found in the LICENSE file at https://angular.io/license
|
|
324
|
-
*/const Nr=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\))\)/,Tr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,$r=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Fr=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class Vr{constructor(e){this._reflect=e||ce.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Ir(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)void 0===e?n[r]=[]:e[r]&&e[r]!=Object?n[r]=[e[r]]:n[r]=[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(function(e){return Nr.test(e)||Fr.test(e)||Tr.test(e)&&!$r.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map(e=>e&&e.type),r=e.map(e=>e&&Rr(e.decorators));return this._zipTypesAndAnnotations(t,r)}const r=e.hasOwnProperty(ir)&&e[ir],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return o||r?this._zipTypesAndAnnotations(o,r):Ir(e.length)}parameters(e){if(!Er(e))return[];const t=Lr(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Rr(e.decorators):e.hasOwnProperty(or)?e[or]:null}annotations(e){if(!Er(e))return[];const t=Lr(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=Rr(t[e])}),n}return e.hasOwnProperty(sr)?e[sr]:null}propMetadata(e){if(!Er(e))return{};const t=Lr(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return Er(e)&&this._ownPropMetadata(e,Lr(e))||{}}hasLifecycleHook(e,t){return e instanceof Cr&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+l(e)}resourceUri(e){return"./"+l(e)}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function Rr(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Lr(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
325
|
-
/**
|
|
326
|
-
* @license
|
|
327
|
-
* Copyright Google LLC All Rights Reserved.
|
|
328
|
-
*
|
|
329
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
330
|
-
* found in the LICENSE file at https://angular.io/license
|
|
331
|
-
*/const Br={},Ur=/\n/gm,Hr=u({provide:String,useValue:u});let zr=void 0;function qr(e){const t=zr;return zr=e,t}function Gr(e,t=Z.Default){if(void 0===zr)throw new Error("inject() must be called from an injection context");return null===zr?ee(e,void 0,t):zr.get(e,t&Z.Optional?null:void 0,t)}function Wr(e,t=Z.Default){return(Y()||Gr)(p(e),t)}function Kr(e){const t=ngDevMode?`This constructor is not compatible with Angular Dependency Injection because its dependency at index ${e} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${e} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`:"invalid";throw new Error(t)}const Qr=Wr;function Zr(e){const t=[];for(let n=0;n<e.length;n++){const r=p(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=Z.Default;for(let t=0;t<r.length;t++){const o=r[t],i=o.__NG_DI_FLAG__;"number"==typeof i?-1===i?e=o.token:n|=i:e=o}t.push(Wr(e,n))}else t.push(Wr(r))}return t}function Jr(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function Yr(e,t,n,r){const o=e.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),e.message=Xr("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}function Xr(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;let o=l(t);if(Array.isArray(t))o=t.map(l).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):l(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ur,"\n ")}`}
|
|
332
|
-
/**
|
|
333
|
-
* @license
|
|
334
|
-
* Copyright Google LLC All Rights Reserved.
|
|
335
|
-
*
|
|
336
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
337
|
-
* found in the LICENSE file at https://angular.io/license
|
|
338
|
-
*/const eo=e=>({token:e}),to=Jr(cr("Inject",eo),-1),no=Jr(cr("Optional"),8),ro=Jr(cr("Self"),2),oo=Jr(cr("SkipSelf"),4),io=Jr(cr("Host"),1);
|
|
339
|
-
/**
|
|
340
|
-
* @license
|
|
341
|
-
* Copyright Google LLC All Rights Reserved.
|
|
342
|
-
*
|
|
343
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
344
|
-
* found in the LICENSE file at https://angular.io/license
|
|
345
|
-
*/
|
|
346
|
-
let so=null;function ao(){return so=so||new Vr}function uo(e){return co(ao().parameters(e))}function co(e){return e.map(e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const o=Object.getPrototypeOf(r);if(r instanceof no||"Optional"===o.ngMetadataName)t.optional=!0;else if(r instanceof oo||"SkipSelf"===o.ngMetadataName)t.skipSelf=!0;else if(r instanceof ro||"Self"===o.ngMetadataName)t.self=!0;else if(r instanceof io||"Host"===o.ngMetadataName)t.host=!0;else if(r instanceof to)t.token=r.token;else if(r instanceof fr){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}
|
|
347
|
-
/**
|
|
348
|
-
* @license
|
|
349
|
-
* Copyright Google LLC All Rights Reserved.
|
|
350
|
-
*
|
|
351
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
352
|
-
* found in the LICENSE file at https://angular.io/license
|
|
353
|
-
*/(e))}function lo(e){const t=[],n=new Map;function r(t){let r=n.get(t);if(!r){const o=e(t);n.set(t,r=o.then(mo))}return r}return fo.forEach((e,n)=>{const o=[];e.templateUrl&&o.push(r(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;i&&i.forEach((t,n)=>{s.push(""),o.push(r(t).then(r=>{s[a+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const u=Promise.all(o).then(()=>function(e){ho.delete(e)}
|
|
354
|
-
/**
|
|
355
|
-
* @license
|
|
356
|
-
* Copyright Google LLC All Rights Reserved.
|
|
357
|
-
*
|
|
358
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
359
|
-
* found in the LICENSE file at https://angular.io/license
|
|
360
|
-
*/(n));t.push(u)}),go(),Promise.all(t).then(()=>{})}let fo=new Map;const ho=new Set;function po(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function go(){const e=fo;return fo=new Map,e}function mo(e){return"string"==typeof e?e:e.text()}let vo,yo;function _o(){if(void 0===vo&&(vo=null,ce.trustedTypes))try{vo=ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return vo}function bo(e){var t;return(null===(t=_o())||void 0===t?void 0:t.createHTML(e))||e}function wo(...e){if("undefined"==typeof ngDevMode)throw new Error("newTrustedFunctionForDev should never be called in production");if(!ce.trustedTypes)return new Function(...e);const t=`(function anonymous(${e.slice(0,-1).join(",")}\n) { ${e[e.length-1]}\n})`,n=ce.eval((r=t,(null===(o=_o())||void 0===o?void 0:o.createScript(r))||r));var r,o;return void 0===n.bind?new Function(...e):(n.toString=()=>t,n.bind(ce))}
|
|
361
|
-
/**
|
|
362
|
-
* @license
|
|
363
|
-
* Copyright Google LLC All Rights Reserved.
|
|
364
|
-
*
|
|
365
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
366
|
-
* found in the LICENSE file at https://angular.io/license
|
|
367
|
-
*/function Do(){if(void 0===yo&&(yo=null,ce.trustedTypes))try{yo=ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return yo}function Co(e){var t;return(null===(t=Do())||void 0===t?void 0:t.createHTML(e))||e}function Eo(e){var t;return(null===(t=Do())||void 0===t?void 0:t.createScript(e))||e}function xo(e){var t;return(null===(t=Do())||void 0===t?void 0:t.createScriptURL(e))||e}
|
|
368
|
-
/**
|
|
369
|
-
* @license
|
|
370
|
-
* Copyright Google LLC All Rights Reserved.
|
|
371
|
-
*
|
|
372
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
373
|
-
* found in the LICENSE file at https://angular.io/license
|
|
374
|
-
*/class So{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class Ao extends So{getTypeName(){return"HTML"}}class Oo extends So{getTypeName(){return"Style"}}class Io extends So{getTypeName(){return"Script"}}class Mo extends So{getTypeName(){return"URL"}}class ko extends So{getTypeName(){return"ResourceURL"}}function jo(e){return e instanceof So?e.changingThisBreaksApplicationSecurity:e}function Po(e,t){const n=No(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function No(e){return e instanceof So&&e.getTypeName()||null}function To(e){return new Ao(e)}function $o(e){return new Oo(e)}function Fo(e){return new Io(e)}function Vo(e){return new Mo(e)}function Ro(e){return new ko(e)}
|
|
375
|
-
/**
|
|
376
|
-
* @license
|
|
377
|
-
* Copyright Google LLC All Rights Reserved.
|
|
378
|
-
*
|
|
379
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
380
|
-
* found in the LICENSE file at https://angular.io/license
|
|
381
|
-
*/function Lo(e){const t=new Uo(e);return function(){try{return!!(new window.DOMParser).parseFromString(bo(""),"text/html")}catch(e){return!1}}
|
|
382
|
-
/**
|
|
383
|
-
* @license
|
|
384
|
-
* Copyright Google LLC All Rights Reserved.
|
|
385
|
-
*
|
|
386
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
387
|
-
* found in the LICENSE file at https://angular.io/license
|
|
388
|
-
*/()?new Bo(t):t}class Bo{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(bo(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(e){return null}}}class Uo{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=bo(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=bo(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0<n;n--){const r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ho=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,zo=/^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 qo(e){return(e=String(e)).match(Ho)||e.match(zo)?e:(("undefined"==typeof ngDevMode||ngDevMode)&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see https://g.co/ng/security#xss)`),"unsafe:"+e)}function Go(e){return(e=String(e)).split(",").map(e=>qo(e.trim())).join(", ")}
|
|
389
|
-
/**
|
|
390
|
-
* @license
|
|
391
|
-
* Copyright Google LLC All Rights Reserved.
|
|
392
|
-
*
|
|
393
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
394
|
-
* found in the LICENSE file at https://angular.io/license
|
|
395
|
-
*/function Wo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ko(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Qo=Wo("area,br,col,hr,img,wbr"),Zo=Wo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jo=Wo("rp,rt"),Yo=Ko(Jo,Zo),Xo=Ko(Zo,Wo("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")),ei=Ko(Jo,Wo("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")),ti=Ko(Qo,Xo,ei,Yo),ni=Wo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ri=Wo("srcset"),oi=Wo("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"),ii=Wo("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"),si=Ko(ni,ri,oi,ii),ai=Wo("script,style,template");class ui{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!ti.hasOwnProperty(t))return this.sanitizedSomething=!0,!ai.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),r=t.name,o=r.toLowerCase();if(!si.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=t.value;ni[o]&&(i=qo(i)),ri[o]&&(i=Go(i)),this.buf.push(" ",r,'="',di(i),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ti.hasOwnProperty(t)&&!Qo.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(di(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,li=/([^\#-~ |!])/g;function di(e){return e.replace(/&/g,"&").replace(ci,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(li,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let fi;function hi(e,t){let n=null;try{fi=fi||Lo(e);let r=t?String(t):"";n=fi.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=fi.getInertBodyElement(r)}while(r!==i);const s=new ui,a=s.sanitizeChildren(pi(n)||n);return("undefined"==typeof ngDevMode||ngDevMode)&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss"),bo(a)}finally{if(n){const e=pi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function pi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
396
|
-
/**
|
|
397
|
-
* @license
|
|
398
|
-
* Copyright Google LLC All Rights Reserved.
|
|
399
|
-
*
|
|
400
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
401
|
-
* found in the LICENSE file at https://angular.io/license
|
|
402
|
-
*/(e)?e.content:null}var gi;
|
|
403
|
-
/**
|
|
404
|
-
* @license
|
|
405
|
-
* Copyright Google LLC All Rights Reserved.
|
|
406
|
-
*
|
|
407
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
408
|
-
* found in the LICENSE file at https://angular.io/license
|
|
409
|
-
*/
|
|
410
|
-
function mi(e){const t=xi();return t?Co(t.sanitize(gi.HTML,e)||""):Po(e,"HTML")?Co(jo(e)):hi(gt(),_(e))}function vi(e){const t=xi();return t?t.sanitize(gi.STYLE,e)||"":Po(e,"Style")?jo(e):_(e)}function yi(e){const t=xi();return t?t.sanitize(gi.URL,e)||"":Po(e,"URL")?jo(e):qo(_(e))}function _i(e){const t=xi();if(t)return xo(t.sanitize(gi.RESOURCE_URL,e)||"");if(Po(e,"ResourceURL"))return xo(jo(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function bi(e){const t=xi();if(t)return Eo(t.sanitize(gi.SCRIPT,e)||"");if(Po(e,"Script"))return Eo(jo(e));throw new Error("unsafe value used in a script context")}function wi(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted HTML constant: "+e.join("?"));return bo(e[0])}function Di(e){if(ngDevMode&&(!Array.isArray(e)||!Array.isArray(e.raw)||1!==e.length))throw new Error("Unexpected interpolation in trusted URL constant: "+e.join("?"));return function(e){var t;return(null===(t=_o())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Ci(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_i:yi}function Ei(e,t,n){return Ci(t,n)(e)}function xi(){const e=Nt();return e&&e[12]}
|
|
411
|
-
/**
|
|
412
|
-
* @license
|
|
413
|
-
* Copyright Google LLC All Rights Reserved.
|
|
414
|
-
*
|
|
415
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
416
|
-
* found in the LICENSE file at https://angular.io/license
|
|
417
|
-
*/function Si(e){let t=Mi(e);if(t){if(Array.isArray(t)){const r=t;let o,i=void 0,s=void 0;if((n=e)&&n.constructor&&n.constructor.ɵcmp){if(o=Ni(r,e),-1==o)throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(o=function(e,t){let n=e[1].firstChild;for(;n;){const r=n.directiveStart,o=n.directiveEnd;for(let i=r;i<o;i++)if(e[i]===t)return n.index;n=Pi(n)}return-1}(r,e),-1==o)throw new Error("The provided directive was not found in the application");s=Ti(o,r,!1)}else if(o=ji(r,e),-1==o)return null;const a=_t(r[o]),u=Mi(a),c=u&&!Array.isArray(u)?u:Ai(r,o,a);if(i&&void 0===c.component&&(c.component=i,Ii(c.component,c)),s&&void 0===c.directives){c.directives=s;for(let e=0;e<s.length;e++)Ii(s[e],c)}Ii(c.native,c),t=c}}else{const n=e;ngDevMode&&F(n);let r=n;for(;r=r.parentNode;){const e=Mi(r);if(e){let r;if(r=Array.isArray(e)?e:e.lView,!r)return null;const o=ji(r,n);if(o>=0){const e=_t(r[o]),n=Ai(r,o,e);Ii(e,n),t=n;break}}}}var n;return t||null}function Ai(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Oi(e){let t,n=Mi(e);if(Array.isArray(n)){const r=Ni(n,e);t=Et(r,n);const o=Ai(n,r,t[0]);o.component=e,Ii(e,o),Ii(o.native,o)}else{const e=n;t=Et(e.nodeIndex,e.lView)}return t}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(gi||(gi={}));function Ii(e,t){ngDevMode&&T(e,"Target expected"),e.__ngContext__=t}function Mi(e){return ngDevMode&&T(e,"Target expected"),e.__ngContext__||null}function ki(e){const t=Mi(e);return t?Array.isArray(t)?t:t.lView:null}function ji(e,t){const n=e[1];for(let r=20;r<n.bindingStartIndex;r++)if(_t(e[r])===t)return r;return-1}function Pi(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Ni(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const o=n[r];if(Et(o,e)[8]===t)return o}else{if(Et(20,e)[8]===t)return 20}return-1}function Ti(e,t,n){const r=t[1].data[e];let o=r.directiveStart;if(0==o)return fe;const i=r.directiveEnd;return!n&&2&r.flags&&o++,t.slice(o,i)}function $i(e){return e.ngDebugContext}function Fi(e){return e.ngOriginalError}function Vi(e,...t){e.error(...t)}
|
|
418
|
-
/**
|
|
419
|
-
* @license
|
|
420
|
-
* Copyright Google LLC All Rights Reserved.
|
|
421
|
-
*
|
|
422
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
423
|
-
* found in the LICENSE file at https://angular.io/license
|
|
424
|
-
*/class Ri{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e&&e.ngErrorLogger||Vi}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?$i(e)||this._findContext(Fi(e)):null}_findOriginalError(e){let t=e&&Fi(e);for(;t&&Fi(t);)t=Fi(t);return t||null}}
|
|
425
|
-
/**
|
|
426
|
-
* @license
|
|
427
|
-
* Copyright Google LLC All Rights Reserved.
|
|
428
|
-
*
|
|
429
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
430
|
-
* found in the LICENSE file at https://angular.io/license
|
|
431
|
-
*/const Li={name:"custom-elements"},Bi={name:"no-errors-schema"},Ui=/^>|^->|<!--|-->|--!>|<!-$/g,Hi=/(<|>)/;function zi(e){return e.replace(Ui,e=>e.replace(Hi,"$1"))}
|
|
432
|
-
/**
|
|
433
|
-
* @license
|
|
434
|
-
* Copyright Google LLC All Rights Reserved.
|
|
435
|
-
*
|
|
436
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
437
|
-
* found in the LICENSE file at https://angular.io/license
|
|
438
|
-
*/function qi(e){if(!ngDevMode)throw new Error("Looks like we are in 'prod mode', but we are creating a named Array type, which is wrong! Check your code");try{return wo("Array",`return class ${e} extends Array{}`)(Array)}catch(e){return Array}}
|
|
439
|
-
/**
|
|
440
|
-
* @license
|
|
441
|
-
* Copyright Google LLC All Rights Reserved.
|
|
442
|
-
*
|
|
443
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
444
|
-
* found in the LICENSE file at https://angular.io/license
|
|
445
|
-
*/function Gi(e){var t;return t=e.replace(/[$@]/g,"_"),"ng-reflect-"+(e=t.replace(Wi,(...e)=>"-"+e[1].toLowerCase()))}const Wi=/([A-Z])/g;function Ki(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
|
|
446
|
-
/**
|
|
447
|
-
* @license
|
|
448
|
-
* Copyright Google LLC All Rights Reserved.
|
|
449
|
-
*
|
|
450
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
451
|
-
* found in the LICENSE file at https://angular.io/license
|
|
452
|
-
*/const Qi=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ce);function Zi(e){return e.ownerDocument.defaultView}function Ji(e){return e.ownerDocument}function Yi(e){return e.ownerDocument.body}function Xi(e){return e instanceof Function?e():e}
|
|
453
|
-
/**
|
|
454
|
-
* @license
|
|
455
|
-
* Copyright Google LLC All Rights Reserved.
|
|
456
|
-
*
|
|
457
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
458
|
-
* found in the LICENSE file at https://angular.io/license
|
|
459
|
-
*/function es(e){throw new m("300","Multiple components match node with tagname "+e.value)}function ts(e,t,n,r,o){const[i,s,...a]=r.split("�");let u=s,c=s;for(let r=0;r<a.length;r++){const i=t+r;u+=`${e[i]}${a[r]}`,c+=`${i===n?o:e[i]}${a[r]}`}return{propName:i,oldValue:u,newValue:c}}
|
|
460
|
-
/**
|
|
461
|
-
* @license
|
|
462
|
-
* Copyright Google LLC All Rights Reserved.
|
|
463
|
-
*
|
|
464
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
465
|
-
* found in the LICENSE file at https://angular.io/license
|
|
466
|
-
*/
|
|
467
|
-
var ns;
|
|
468
|
-
/**
|
|
469
|
-
* @license
|
|
470
|
-
* Copyright Google LLC All Rights Reserved.
|
|
471
|
-
*
|
|
472
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
473
|
-
* found in the LICENSE file at https://angular.io/license
|
|
474
|
-
*/
|
|
475
|
-
let rs;function os(e,t){return rs(e,t)}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(ns||(ns={}));
|
|
476
|
-
/**
|
|
477
|
-
* @license
|
|
478
|
-
* Copyright Google LLC All Rights Reserved.
|
|
479
|
-
*
|
|
480
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
481
|
-
* found in the LICENSE file at https://angular.io/license
|
|
482
|
-
*/
|
|
483
|
-
function is(e){ngDevMode&&Ze(e);const t=e[3];return Fe(t)?t[3]:t}function ss(e){ngDevMode&&T(e,"component");let t=$e(e)?e:ki(e);for(;t&&!(512&t[2]);)t=is(t);return ngDevMode&&Ze(t),t}function as(e){const t=ss(e);return ngDevMode&&T(t[8],"RootView has no context. Perhaps it is disconnected?"),t[8]}function us(e){return ls(e[13])}function cs(e){return ls(e[4])}function ls(e){for(;null!==e&&!Fe(e);)e=e[4];return e}
|
|
484
|
-
/**
|
|
485
|
-
* @license
|
|
486
|
-
* Copyright Google LLC All Rights Reserved.
|
|
487
|
-
*
|
|
488
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
489
|
-
* found in the LICENSE file at https://angular.io/license
|
|
490
|
-
*/function ds(e,t,n,r,o){if(null!=r){let i,s=!1;Fe(r)?i=r:$e(r)&&(s=!0,ngDevMode&&T(r[0],"HOST must be defined for a component LView"),r=r[0]);const a=_t(r);ngDevMode&&!vt(t)&&F(a),0===e&&null!==n?null==o?Es(t,n,a):Cs(t,n,a,o||null,!0):1===e&&null!==n?Cs(t,n,a,o||null,!0):2===e?Ts(t,a,s):3===e&&(ngDevMode&&ngDevMode.rendererDestroyNode++,t.destroyNode(a)),null!=i&&function(e,t,n,r,o){ngDevMode&&Ke(n);const i=n[7],s=_t(n);i!==s&&ds(t,e,r,i,o);for(let o=10;o<n.length;o++){const s=n[o];Fs(s[1],s,e,t,r,i)}}(t,e,i,n,o)}}function fs(e,t){return ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.createText(t):e.createTextNode(t)}function hs(e,t,n){ngDevMode&&ngDevMode.rendererSetText++,vt(e)?e.setValue(t,n):t.textContent=n}function ps(e,t){return ngDevMode&&ngDevMode.rendererCreateComment++,e.createComment(zi(t))}function gs(e,t,n){return ngDevMode&&ngDevMode.rendererCreateElement++,vt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ms(e,t,n,r){ngDevMode&&Ze(t),ngDevMode&&Ke(n);const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Ar(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){ngDevMode&&T(t,"LView required"),ngDevMode&&Ke(e);const n=e[9],r=t[3];ngDevMode&&Ke(r);const o=r[3][16];ngDevMode&&T(o,"Missing insertedComponentLView");const i=t[16];ngDevMode&&T(i,"Missing declaredComponentLView"),i!==o&&(e[2]=!0);null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}function vs(e,t){ngDevMode&&Ke(e),ngDevMode&&T(e[9],"A projected view should belong to a non-empty projected views collection");const n=e[9],r=n.indexOf(t),o=t[3];ngDevMode&&Ke(o),1024&t[2]&&(t[2]&=-1025,It(o,-1)),n.splice(r,1)}function ys(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&vs(i,r),t>0&&(e[n-1][4]=r[4]);const s=Or(e,10+t);Fs(r[1],o=r,o[11],2,null,null),o[0]=null,o[6]=null;const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}var o;return r}function _s(e,t){if(!(256&t[2])){const n=t[11];vt(n)&&n.destroyNode&&Fs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return bs(e[1],e);for(;t;){let n=null;if($e(t))n=t[13];else{ngDevMode&&Ke(t);const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)$e(t)&&bs(t[1],t),t=t[3];null===t&&(t=e),$e(t)&&bs(t[1],t),n=t&&t[4]}t=n}}(t)}}function bs(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const r=t[n[e]];if(!(r instanceof En)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=r[t[e]],o=t[e+1];ft(4,n,o);try{o.call(n)}finally{ft(5,n,o)}}else{ft(4,r,t);try{t.call(r)}finally{ft(5,r,t)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const i=n[e+1],s="function"==typeof i?i(t):_t(t[i]),a=r[o=n[e+2]],u=n[e+3];"boolean"==typeof u?s.removeEventListener(n[e],a,u):u>=0?r[o=u]():r[o=-u].unsubscribe(),e+=2}else{const t=r[o=n[e+1]];n[e].call(t)}if(null!==r){for(let e=o+1;e<r.length;e++){const t=r[e];ngDevMode&&(s="Expecting instance cleanup function.","function"!=typeof(i=t)&&$(s,null===i?"null":typeof i,"function","===")),t()}t[7]=null}var i,s}(e,t),1===t[1].type&&vt(t[11])&&(ngDevMode&&ngDevMode.rendererDestroy++,t[11].destroy());const n=t[17];if(null!==n&&Fe(t[3])){n!==t[3]&&vs(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function ws(e,t,n){return Ds(e,t.parent,n)}function Ds(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ngDevMode&&Sn(r,7),2&r.flags){ngDevMode&&Ue(r,n);const t=e.data[r.directiveStart].encapsulation;if(t===oe.None||t===oe.Emulated)return null}return wt(r,n)}function Cs(e,t,n,r,o){ngDevMode&&ngDevMode.rendererInsertBefore++,vt(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function Es(e,t,n){ngDevMode&&ngDevMode.rendererAppendChild++,ngDevMode&&T(t,"parent node must be defined"),vt(e)?e.appendChild(t,n):t.appendChild(n)}function xs(e,t,n,r,o){null!==r?Cs(e,t,n,r,o):Es(e,t,n)}function Ss(e,t){return vt(e)?e.parentNode(t):t.parentNode}function As(e,t,n){return Ms(e,t,n)}function Os(e,t,n){return 40&e.type?wt(e,n):null}let Is,Ms=Os;function ks(e,t){Ms=e,Is=t}function js(e,t,n,r){const o=ws(e,r,t),i=t[11],s=As(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let e=0;e<n.length;e++)xs(i,o,n[e],s,!1);else xs(i,o,n,s,!1);void 0!==Is&&Is(i,r,t,n,o)}function Ps(e,t){if(null!==t){const n=e[16][6],r=t.projection;return ngDevMode&&function(e,t){T(e[16],"Component views should exist."),T(e[16][6].projection,t||"Components with projection nodes (<ng-content>) must have projection slots defined.")}(e),n.projection[r]}return null}function Ns(e,t){const n=10+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){ngDevMode&&Sn(n,63);const r=n.type;if(3&r)return wt(n,t);if(4&r)return Ns(-1,t[n.index]);if(8&r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return Fe(e)?Ns(-1,e):_t(e)}}if(32&r){return os(n,t)()||_t(t[n.index])}{const r=Ps(t,n);if(null!==r){if(Array.isArray(r))return r[0];const n=is(t[16]);return ngDevMode&&tt(n),e(n,r)}return e(t,n.next)}}return null}(e,r)}return t[7]}function Ts(e,t,n){ngDevMode&&ngDevMode.rendererRemoveNode++;const r=Ss(e,t);r&&function(e,t,n,r){vt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function $s(e,t,n,r,o,i,s){for(;null!=n;){ngDevMode&&Ue(n,r),ngDevMode&&Sn(n,63);const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ii(_t(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)$s(e,t,n.child,r,o,i,!1),ds(t,e,o,a,i);else if(32&u){const s=os(n,r);let u;for(;u=s();)ds(t,e,o,u,i);ds(t,e,o,a,i)}else 16&u?Vs(e,t,r,n,o,i):(ngDevMode&&Sn(n,7),ds(t,e,o,a,i));n=s?n.projectionNext:n.next}}function Fs(e,t,n,r,o,i){$s(n,r,e.firstChild,t,o,i,!1)}function Vs(e,t,n,r,o,i){const s=n[16],a=s[6];ngDevMode&&A(typeof r.projection,"number","expecting projection index");const u=a.projection[r.projection];if(Array.isArray(u))for(let n=0;n<u.length;n++){ds(t,e,o,u[n],i)}else{$s(e,t,u,s[3],o,i,!0)}}function Rs(e,t,n){ngDevMode&&S(n,"'newValue' should be a string"),vt(e)?e.setAttribute(t,"style",n):t.style.cssText=n,ngDevMode&&ngDevMode.rendererSetStyle++}function Ls(e,t,n){ngDevMode&&S(n,"'newValue' should be a string"),vt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n,ngDevMode&&ngDevMode.rendererSetClassName++}
|
|
491
|
-
/**
|
|
492
|
-
* @license
|
|
493
|
-
* Copyright Google LLC All Rights Reserved.
|
|
494
|
-
*
|
|
495
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
496
|
-
* found in the LICENSE file at https://angular.io/license
|
|
497
|
-
*/function Bs(e,t,n){ngDevMode&&O(t,"",'can not look for "" string.');let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const n=t.length;if(o+n===r||e.charCodeAt(o+n)<=32)return o}n=o+1}}
|
|
498
|
-
/**
|
|
499
|
-
* @license
|
|
500
|
-
* Copyright Google LLC All Rights Reserved.
|
|
501
|
-
*
|
|
502
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
503
|
-
* found in the LICENSE file at https://angular.io/license
|
|
504
|
-
*/function Us(e,t,n){ngDevMode&&A(t,t.toLowerCase(),"Class name expected to be lowercase.");let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Bs(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Hs(e){return 4===e.type&&"ng-template"!==e.value}function zs(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function qs(e,t,n){ngDevMode&&T(t[0],"Selector should have a tag name");let r=4;const o=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++){if(On(e[t]))return t}return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!zs(e,u,n)||""===u&&1===t.length){if(Gs(r))return!1;s=!0}}else{const c=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!Us(e.attrs,c,n)){if(Gs(r))return!1;s=!0}continue}const l=Ws(8&r?"class":u,o,Hs(e),n);if(-1===l){if(Gs(r))return!1;s=!0;continue}if(""!==c){let e;l>i?e="":(ngDevMode&&O(o[l],0,"We do not match directives on namespaced attributes"),e=o[l+1].toLowerCase());const t=8&r?e:null;if(t&&-1!==Bs(t,c,0)||2&r&&c!==e){if(Gs(r))return!1;s=!0}}}}else{if(!s&&!Gs(r)&&!Gs(u))return!1;if(s&&Gs(u))continue;s=!1,r=u|1&r}}return Gs(r)||s}function Gs(e){return 0==(1&e)}function Ws(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let n=!1;for(;o<t.length;){const r=t[o];if(r===e)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++o];for(;"string"==typeof e;)e=t[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ks(e,t,n=!1){for(let r=0;r<t.length;r++)if(qs(e,t[r],n))return!0;return!1}function Qs(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])continue e;return!0}}return!1}function Zs(e,t){return e?":not("+t.trim()+")":t}function Js(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];o+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""===o||Gs(s)||(t+=Zs(i,o),o=""),r=s,i=i||!Gs(r);n++}return""!==o&&(t+=Zs(i,o)),t}
|
|
505
|
-
/**
|
|
506
|
-
* @license
|
|
507
|
-
* Copyright Google LLC All Rights Reserved.
|
|
508
|
-
*
|
|
509
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
510
|
-
* found in the LICENSE file at https://angular.io/license
|
|
511
|
-
*/
|
|
512
|
-
const Ys="undefined"==typeof ngDevMode||ngDevMode?{__brand__:"NO_CHANGE"}:{};
|
|
513
|
-
/**
|
|
514
|
-
* @license
|
|
515
|
-
* Copyright Google LLC All Rights Reserved.
|
|
516
|
-
*
|
|
517
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
518
|
-
* found in the LICENSE file at https://angular.io/license
|
|
519
|
-
*/function Xs(e){ngDevMode&&P(e,0,"Can only advance forward"),ea(Tt(),Nt(),fn()+e,Ht())}function ea(e,t,n,r){if(ngDevMode&&function(e,t){et(20,e[1].bindingStartIndex,t)}(t,n),!r){if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&_n(t,r,n)}else{const r=e.preOrderHooks;null!==r&&bn(t,r,0,n)}}hn(n)}
|
|
520
|
-
/**
|
|
521
|
-
* @license
|
|
522
|
-
* Copyright Google LLC All Rights Reserved.
|
|
523
|
-
*
|
|
524
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
525
|
-
* found in the LICENSE file at https://angular.io/license
|
|
526
|
-
*/function ta(e,t){return ngDevMode&&x(e,0,32767),ngDevMode&&x(t,0,32767),e<<17|t<<2}function na(e){return ngDevMode&&E(e,"expected number"),e>>17&32767}function ra(e){return ngDevMode&&E(e,"expected number"),2==(2&e)}function oa(e){return ngDevMode&&E(e,"expected number"),2|e}function ia(e){return ngDevMode&&E(e,"expected number"),(131068&e)>>2}function sa(e,t){return ngDevMode&&E(e,"expected number"),ngDevMode&&x(t,0,32767),-131069&e|t<<2}function aa(e){return ngDevMode&&E(e,"expected number"),1==(1&e)}function ua(e){return ngDevMode&&E(e,"expected number"),1|e}
|
|
527
|
-
/**
|
|
528
|
-
* @license
|
|
529
|
-
* Copyright Google LLC All Rights Reserved.
|
|
530
|
-
*
|
|
531
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
532
|
-
* found in the LICENSE file at https://angular.io/license
|
|
533
|
-
*/
|
|
534
|
-
function ca(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{value:t,enumerable:!1})}function la(e,t){if(!ngDevMode)throw new Error("This method should be guarded with `ngDevMode` so that it can be tree shaken in production!");Object.defineProperty(e,"debug",{get:t,enumerable:!1})}
|
|
535
|
-
/**
|
|
536
|
-
* @license
|
|
537
|
-
* Copyright Google LLC All Rights Reserved.
|
|
538
|
-
*
|
|
539
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
540
|
-
* found in the LICENSE file at https://angular.io/license
|
|
541
|
-
*/const da=("undefined"==typeof ngDevMode||!!ngDevMode)&&le();let fa,ha,pa;function ga(e){return function(e,t){switch(e){case 0:return void 0===pa&&(pa=new(qi("LRootView"))),pa;case 1:void 0===fa&&(fa=new Map);let e=fa.get(t);return void 0===e&&(e=new(qi("LComponentView"+ma(t))),fa.set(t,e)),e;case 2:void 0===ha&&(ha=new Map);let n=ha.get(t);return void 0===n&&(n=new(qi("LEmbeddedView"+ma(t))),ha.set(t,n)),n}}(e.type,e.template&&e.template.name).concat(e.blueprint)}function ma(e){if(null==e)return"";const t=e.lastIndexOf("_Template");return"_"+(-1===t?e:e.substr(0,t))}const va=class{constructor(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y,_,b,w,D,C,E,x,S,A,O,I,M,k){this.tView_=e,this.type=t,this.index=n,this.insertBeforeIndex=r,this.injectorIndex=o,this.directiveStart=i,this.directiveEnd=s,this.directiveStylingLast=a,this.propertyBindings=u,this.flags=c,this.providerIndexes=l,this.value=d,this.attrs=f,this.mergedAttrs=h,this.localNames=p,this.initialInputs=g,this.inputs=m,this.outputs=v,this.tViews=y,this.next=_,this.projectionNext=b,this.child=w,this.parent=D,this.projection=C,this.styles=E,this.stylesWithoutHost=x,this.residualStyles=S,this.classes=A,this.classesWithoutHost=O,this.residualClasses=I,this.classBindings=M,this.styleBindings=k}debugNodeInjectorPath(e){const t=[];let n=Ln(this,e);if(-1===n){const t=Bn(this,e);-1!==t&&(n=Pn(t),e=Nn(t,e))}for(;-1!==n;){ngDevMode&&nt(e,n);const r=e[1].data[n+8];t.push(Ta(r,e));const o=e[n+8];-1===o?n=-1:(n=Pn(o),e=Nn(o,e))}return t}get type_(){return xn(this.type)||`TNodeType.?${this.type}?`}get flags_(){const e=[];return 16&this.flags&&e.push("TNodeFlags.hasClassInput"),8&this.flags&&e.push("TNodeFlags.hasContentQuery"),32&this.flags&&e.push("TNodeFlags.hasStyleInput"),128&this.flags&&e.push("TNodeFlags.hasHostBindings"),2&this.flags&&e.push("TNodeFlags.isComponentHost"),1&this.flags&&e.push("TNodeFlags.isDirectiveHost"),64&this.flags&&e.push("TNodeFlags.isDetached"),4&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")}get template_(){if(1&this.type)return this.value;const e=[],t="string"==typeof this.value&&this.value||this.type_;if(e.push("<",t),this.flags&&e.push(" ",this.flags_),this.attrs)for(let t=0;t<this.attrs.length;){const n=this.attrs[t++];if("number"==typeof n)break;const r=this.attrs[t++];e.push(" ",n,'="',r,'"')}return e.push(">"),_a(this.child,e),e.push("</",t,">"),e.join("")}get styleBindings_(){return ya(this,!1)}get classBindings_(){return ya(this,!0)}get providerIndexStart_(){return 1048575&this.providerIndexes}get providerIndexEnd_(){return this.providerIndexStart_+(this.providerIndexes>>>20)}};function ya(e,t){const n=e.tView_.data,r=[],o=t?e.classBindings:e.styleBindings,i=na(o),s=ia(o);let a=0!==s,u=a?s:i;for(;0!==u;){const e=n[u],t=n[u+1];r.unshift({key:e,index:u,isTemplate:a,prevDuplicate:ra(t),nextDuplicate:aa(t),nextIndex:ia(t),prevIndex:na(t)}),u===i&&(a=!1),u=na(t)}return r.push((t?e.residualClasses:e.residualStyles)||null),r}function _a(e,t){for(;e;)t.push(e.template_),e=e.next}const ba=da&&qi("TViewData")||null;let wa;const Da=da&&qi("LViewBlueprint")||null,Ca=da&&qi("MatchesArray")||null,Ea=da&&qi("TViewComponents")||null,xa=da&&qi("TNodeLocalNames")||null,Sa=da&&qi("TNodeInitialInputs")||null,Aa=(da&&qi("TNodeInitialData"),da&&qi("LCleanup")||null),Oa=da&&qi("TCleanup")||null;function Ia(e){if(e){const t=e.debug;return T(t,"Object does not have a debug representation."),t}return e}function Ma(e,t=!1){const n=_t(e);if(n)switch(n.nodeType){case Node.TEXT_NODE:return n.textContent;case Node.COMMENT_NODE:return`\x3c!--${n.textContent}--\x3e`;case Node.ELEMENT_NODE:const e=n.outerHTML;if(t)return e;{const t=">"+n.innerHTML+"<";return e.split(t)[0]+">"}}return null}class ka{constructor(e){this._raw_lView=e}get flags(){const e=this._raw_lView[2];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>11}}get parent(){return Ia(this._raw_lView[3])}get hostHTML(){return Ma(this._raw_lView[0],!0)}get html(){return(this.nodes||[]).map(ja).join("")}get context(){return this._raw_lView[8]}get nodes(){const e=this._raw_lView;return Na(e[1].firstChild,e)}get template(){return this.tView.template_}get tView(){return this._raw_lView[1]}get cleanup(){return this._raw_lView[7]}get injector(){return this._raw_lView[9]}get rendererFactory(){return this._raw_lView[10]}get renderer(){return this._raw_lView[11]}get sanitizer(){return this._raw_lView[12]}get childHead(){return Ia(this._raw_lView[13])}get next(){return Ia(this._raw_lView[4])}get childTail(){return Ia(this._raw_lView[14])}get declarationView(){return Ia(this._raw_lView[15])}get queries(){return this._raw_lView[19]}get tHost(){return this._raw_lView[6]}get decls(){return Pa(this.tView,this._raw_lView,20,this.tView.bindingStartIndex)}get vars(){return Pa(this.tView,this._raw_lView,this.tView.bindingStartIndex,this.tView.expandoStartIndex)}get expando(){return Pa(this.tView,this._raw_lView,this.tView.expandoStartIndex,this._raw_lView.length)}get childViews(){const e=[];let t=this.childHead;for(;t;)e.push(t),t=t.next;return e}}function ja(e){if("ElementContainer"===e.type)return(e.children||[]).map(ja).join("");if("IcuContainer"===e.type)throw new Error("Not implemented");return Ma(e.native,!0)||""}function Pa(e,t,n,r){let o=[];for(let i=n;i<r;i++)o.push({index:i,t:e.data[i],l:t[i]});return{start:n,end:r,length:r-n,content:o}}function Na(e,t){if(e){const n=[];let r=e;for(;r;)n.push(Ta(r,t)),r=r.next;return n}return[]}function Ta(e,t){const n=_t(t[e.index]),r=[],o=[],i=t[1];for(let n=e.directiveStart;n<e.directiveEnd;n++){const e=i.data[n];r.push(e.type),o.push(t[n])}return{html:Ma(n),type:xn(e.type),tNode:e,native:n,children:Na(e.child,t),factories:r,instances:o,injector:$a(e,i,t),get injectorResolutionPath(){return e.debugNodeInjectorPath(t)}}}function $a(e,t,n){const r=[];for(let n=e.providerIndexStart_;n<e.providerIndexEnd_;n++)r.push(t.data[n]);const o=[];for(let n=e.providerIndexEnd_;n<e.directiveEnd;n++)o.push(t.data[n]);return{bloom:Va(n,e.injectorIndex),cumulativeBloom:Va(t.data,e.injectorIndex),providers:o,viewProviders:r,parentInjectorIndex:n[e.providerIndexStart_-1]}}function Fa(e,t){const n=e[t];if("number"!=typeof n)return"????????";const r="00000000"+n.toString(2);return r.substring(r.length-8)}function Va(e,t){return t<0?"NO_NODE_INJECTOR":`${Fa(e,t+7)}_${Fa(e,t+6)}_${Fa(e,t+5)}_${Fa(e,t+4)}_${Fa(e,t+3)}_${Fa(e,t+2)}_${Fa(e,t+1)}_${Fa(e,t+0)}`}class Ra{constructor(e){this._raw_lContainer=e}get hasTransplantedViews(){return this._raw_lContainer[2]}get views(){return this._raw_lContainer.slice(10).map(Ia)}get parent(){return Ia(this._raw_lContainer[3])}get movedViews(){return this._raw_lContainer[9]}get host(){return this._raw_lContainer[0]}get native(){return this._raw_lContainer[7]}get next(){return Ia(this._raw_lContainer[4])}}const La=Promise.resolve(null);function Ba(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const n=e.data[i];ngDevMode&&T(n,"DirectiveDef not found."),ngDevMode&&T(n.contentQueries,"contentQueries function should be defined"),tn(o),n.contentQueries(2,t[i],i)}}}function Ua(e,t,n,r,o,i,s,a,u,c){const l=ngDevMode?ga(t):t.blueprint.slice();return l[0]=o,l[2]=140|r,Ot(l),ngDevMode&&t.declTNode&&e&&Ue(t.declTNode,e),l[3]=l[15]=e,l[8]=n,l[10]=s||e&&e[10],ngDevMode&&T(l[10],"RendererFactory is required"),l[11]=a||e&&e[11],ngDevMode&&T(l[11],"Renderer is required"),l[12]=u||e&&e[12]||null,l[9]=c||e&&e[9]||null,l[6]=i,ngDevMode&&A(2!=t.type||null!==e,!0,"Embedded views must have parentLView"),l[16]=2==t.type?e[16]:l,ngDevMode&&function(e){ca(e,new ka(e))}(l),l}function Ha(e,t,n,r,o){ngDevMode&&0!==t&&N(t,20,"TNodes can't be in the LView header."),ngDevMode&&function(e){2!==e&&1!==e&&4!==e&&8!==e&&32!==e&&16!==e&&64!==e&&$(`Expected TNodeType to have only a single type selected, but got ${xn(e)}.`)}(n);let i=e.data[t];if(null===i)i=za(e,t,n,r,o),Mt.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=Rt();i.injectorIndex=null===s?-1:s.injectorIndex,ngDevMode&&He(i,e),ngDevMode&&A(t,i.index,"Expecting same index")}return Lt(i,!0),i}function za(e,t,n,r,o){const i=Vt(),s=Bt(),a=s?i:i&&i.parent,u=e.data[t]=function(e,t,n,r,o,i){ngDevMode&&0!==r&&N(r,20,"TNodes can't be in the LView header."),ngDevMode&&M(i,void 0,"'undefined' is not valid value for 'attrs'"),ngDevMode&&ngDevMode.tNode++,ngDevMode&&t&&He(t,e);let s=t?t.injectorIndex:-1;const a=ngDevMode?new va(e,n,r,null,s,-1,-1,-1,null,0,0,o,i,null,null,void 0,null,null,null,null,null,null,t,null,null,null,void 0,null,null,void 0,0,0):{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};ngDevMode&&Object.seal(a);return a}(e,a,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}function qa(e,t,n,r){if(0===n)return-1;ngDevMode&&(Je(e),I(e,t[1],"`LView` must be associated with `TView`!"),A(e.data.length,t.length,"Expecting LView to be same size as TView"),A(e.data.length,e.blueprint.length,"Expecting Blueprint to be same size as TView"),Ye(e));const o=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Ga(e,t,n){ngDevMode&&A(xt(t),!0,"Should be run in creation mode"),on(t);try{const r=e.viewQuery;null!==r&&Mu(1,r,n);const o=e.template;null!==o&&Qa(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ba(e,t),e.staticViewQueries&&Mu(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)Eu(e,t[n])}(t,i)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),t}finally{t[2]&=-5,ln()}}function Wa(e,t,n,r){ngDevMode&&A(xt(t),!1,"Should be run in update mode");const o=t[2];if(256==(256&o))return;on(t);const i=Ht();try{Ot(t),Wt(e.bindingStartIndex),null!==n&&Qa(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const n=e.preOrderCheckHooks;null!==n&&_n(t,n,null)}else{const n=e.preOrderHooks;null!==n&&bn(t,n,0,null),wn(t,0)}if(function(e){for(let t=us(e);null!==t;t=cs(t)){if(!t[2])continue;const e=t[9];ngDevMode&&T(e,"Transplanted View flags set but missing MOVED_VIEWS");for(let t=0;t<e.length;t++){const n=e[t],r=n[3];ngDevMode&&Ke(r),0==(1024&n[2])&&It(r,1),n[2]|=1024}}}(t),function(e){for(let t=us(e);null!==t;t=cs(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];ngDevMode&&T(r,"TView must be allocated"),St(n)&&Wa(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&Ba(e,t),!i)if(s){const n=e.contentCheckHooks;null!==n&&_n(t,n)}else{const n=e.contentHooks;null!==n&&bn(t,n,1),wn(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const r=n[e];if(r<0)hn(~r);else{const o=r,i=n[++e],s=n[++e];Jt(i,o);s(2,t[o])}}}finally{hn(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)Cu(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Mu(2,u,r),!i)if(s){const n=e.viewCheckHooks;null!==n&&_n(t,n)}else{const n=e.viewHooks;null!==n&&bn(t,n,2),wn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,It(t[3],-1))}finally{ln()}}function Ka(e,t,n,r){const o=t[10],i=!Ht(),s=xt(t);try{i&&!s&&o.begin&&o.begin(),s&&Ga(e,t,r),Wa(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function Qa(e,t,n,r,o){const i=fn(),s=2&r;try{hn(-1),s&&t.length>20&&ea(e,t,20,Ht());ft(s?2:0,o),n(r,o)}finally{hn(i);ft(s?3:1,o)}}function Za(e,t,n){if(Ve(t)){const r=t.directiveStart,o=t.directiveEnd;for(let t=r;t<o;t++){const r=e.data[t];r.contentQueries&&r.contentQueries(1,n[t],t)}}}function Ja(e,t,n){kt()&&(function(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Vn(n,t);Ii(r,t);const s=n.initialInputs;for(let r=o;r<i;r++){const i=e.data[r],a=Be(i);a&&(ngDevMode&&Sn(n,3),mu(t,n,i));const u=Jn(t,e,r,n);if(Ii(u,t),null!==s&&_u(t,r-o,u,i,n,s),a){Et(n.index,t)[8]=u}}}(e,t,n,wt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=(e.firstCreatePass,n.index),s=Mt.lFrame.currentDirectiveIndex;try{hn(i);for(let n=r;n<o;n++){const r=e.data[n],o=t[n];Yt(n),null===r.hostBindings&&0===r.hostVars&&null===r.hostAttrs||du(r,o)}}finally{hn(-1),Yt(s)}}(e,t,n))}function Ya(e,t,n=wt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Xa(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=eu(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts)}return t}function eu(e,t,n,r,o,i,s,a,u,c){ngDevMode&&ngDevMode.tView++;const l=20+r,d=l+o,f=function(e,t){const n=ngDevMode?new Da:[];for(let r=0;r<t;r++)n.push(r<e?null:Ys);return n}(l,d),h="function"==typeof c?c():c,p=f[1]=ngDevMode?new class{constructor(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y,_,b,w,D,C,E,x,S,A,O,I,M,k){this.type=e,this.blueprint=t,this.template=n,this.queries=r,this.viewQuery=o,this.declTNode=i,this.data=s,this.bindingStartIndex=a,this.expandoStartIndex=u,this.hostBindingOpCodes=c,this.firstCreatePass=l,this.firstUpdatePass=d,this.staticViewQueries=f,this.staticContentQueries=h,this.preOrderHooks=p,this.preOrderCheckHooks=g,this.contentHooks=m,this.contentCheckHooks=v,this.viewHooks=y,this.viewCheckHooks=_,this.destroyHooks=b,this.cleanup=w,this.contentQueries=D,this.components=C,this.directiveRegistry=E,this.pipeRegistry=x,this.firstChild=S,this.schemas=A,this.consts=O,this.incompleteFirstPass=I,this._decls=M,this._vars=k}get template_(){const e=[];return _a(this.firstChild,e),e.join("")}get type_(){return Te[this.type]||`TViewType.?${this.type}?`}}(e,f,n,null,a,t,(g=f,void 0===wa&&(wa=new ba),wa.concat(g)).fill(null,l),l,d,null,!0,!0,!1,!1,null,null,null,null,null,null,null,null,null,null,"function"==typeof i?i():i,"function"==typeof s?s():s,null,u,h,!1,r,o):{type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1};var g;return ngDevMode&&Object.seal(p),p}function tu(e,t){return new Error(`Renderer: ${e} [${b(t)}]`)}function nu(e,t,n){if(vt(e)){const r=n===oe.ShadowDom;return e.selectRootElement(t,r)}let r="string"==typeof t?e.querySelector(t):t;return ngDevMode&&function(e,t){if(!e)throw tu("string"==typeof t?"Host node with selector not found:":"Host node is required:",t)}(r,t),r.textContent="",r}function ru(e,t,n,r){const o=Pu(t);null===n?(ngDevMode&&Object.freeze(Nu(e)),o.push(r)):(o.push(n),e.firstCreatePass&&Nu(e).push(r,o.length-1))}function ou(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){n=null===n?{}:n;const o=e[r];n.hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function iu(e,t,n,r,o,i,s,a){ngDevMode&&M(o,Ys,"Incoming value should never be NO_CHANGE.");const u=wt(t,n);let c,l=t.inputs;if(!a&&null!=l&&(c=l[r]))Fu(e,n,c,r,o),Re(t)&&function(e,t){ngDevMode&&Ze(e);const n=Et(t,e);16&n[2]||(n[2]|=64)}(n,t.index),ngDevMode&&function(e,t,n,r,o){if(7&n)for(let i=0;i<r.length;i+=2)su(e,t,n,r[i+1],o)}(n,u,t.type,c,o);else if(3&t.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(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`;throw new Error(t)}}(r),!function(e,t,n,r){if(null===e.schemas)return!0;if(au(e,r.value)||n in t||In(n))return!0;return"undefined"==typeof Node||null===Node||!(t instanceof Node)}(e,u,r,t))return void uu(r,t);ngDevMode.rendererSetProperty++}o=null!=s?s(o,t.value||"",r):o,vt(i)?i.setProperty(u,r,o):In(r)||(u.setProperty?u.setProperty(r,o):u[r]=o)}else 12&t.type&&ngDevMode&&!au(e,t.value)&&uu(r,t);var d}function su(e,t,n,r,o){const i=e[11];r=Gi(r);const s=Ki(o);if(3&n)null==o?vt(i)?i.removeAttribute(t,r):t.removeAttribute(r):vt(i)?i.setAttribute(t,r,s):t.setAttribute(r,s);else{const e=zi("bindings="+JSON.stringify({[r]:s},null,2));vt(i)?i.setValue(t,e):t.textContent=e}}function au(e,t){const n=e.schemas;if(null!==n)for(let e=0;e<n.length;e++){const r=n[e];if(r===Bi||r===Li&&t&&t.indexOf("-")>-1)return!0}return!1}function uu(e,t){let n=`Can't bind to '${e}' since it isn't a known property of '${t.value}'.`;console.error(y("303",n))}function cu(e,t,n,r){ngDevMode&&Je(e);let o=!1;if(kt()){const i=function(e,t,n){ngDevMode&&Je(e),ngDevMode&&Sn(n,15);const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Ks(n,s.selectors,!1)&&(o||(o=ngDevMode?new Ca:[]),Un(Vn(n,t),e,s.type),Be(s)?(ngDevMode&&(Sn(n,2,`"${n.value}" tags cannot be used as component hosts. Please use a different tag to activate the ${l(s.type)} component.`),2&n.flags&&es(n)),fu(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,pu(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let r=!1,a=!1,u=qa(e,t,i.length,null);ngDevMode&&I(u,n.directiveStart,"TNode.directiveStart should point to just allocated space");for(let o=0;o<i.length;o++){const c=i[o];n.mergedAttrs=Mn(n.mergedAttrs,c.hostAttrs),gu(e,n,t,u,c),hu(u,c,s),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const l=c.type.prototype;!r&&(l.ngOnChanges||l.ngOnInit||l.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),r=!0),a||!l.ngOnChanges&&!l.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),a=!0),u++}!function(e,t){ngDevMode&&Je(e);const n=t.directiveStart,r=t.directiveEnd,o=e.data,i=t.attrs,s=ngDevMode?new Sa:[];let a=null,u=null;for(let e=n;e<r;e++){const n=o[e],r=n.inputs,c=null===i||Hs(t)?null:bu(r,i);s.push(c),a=ou(r,e,a),u=ou(n.outputs,e,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=ngDevMode?new xa:[];for(let e=0;e<t.length;e+=2){const o=n[t[e+1]];if(null==o)throw new m("301",`Export of name '${t[e+1]}' not found!`);r.push(t[e],o)}}}(n,r,s)}return n.mergedAttrs=Mn(n.mergedAttrs,n.attrs),o}function lu(e,t,n,r,o,i){ngDevMode&&Je(e);const s=i.hostBindings;if(s){let n=e.hostBindingOpCodes;null===n&&(n=e.hostBindingOpCodes=[]);const i=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=i&&n.push(i),n.push(r,o,s)}}function du(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function fu(e,t){ngDevMode&&Je(e),t.flags|=2,(e.components||(e.components=ngDevMode?new Ea:[])).push(t.index)}function hu(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Be(t)&&(n[""]=e)}}function pu(e,t,n){ngDevMode&&O(n,e.directiveEnd-e.directiveStart,"Reached the max number of directives"),e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function gu(e,t,n,r,o){ngDevMode&&N(r,20,"Must be in Expando section"),e.data[r]=o;const i=o.factory||(o.factory=rt(o.type,!0)),s=new En(i,Be(o),null);e.blueprint[r]=s,n[r]=s,lu(e,t,0,r,qa(e,n,o.hostVars,Ys),o)}function mu(e,t,n){const r=wt(t,e),o=Xa(n),i=e[10],s=xu(e,Ua(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function vu(e,t,n,r,o,i){ngDevMode&&(M(r,Ys,"Incoming value should never be NO_CHANGE."),function(e){if(e.toLowerCase().startsWith("on")){const t=`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`;throw new Error(t)}}(n),Sn(e,2,`Attempted to set attribute \`${n}\` on a container node. Host bindings are not valid on ng-container or ng-template.`));const s=wt(e,t);yu(t[11],s,i,e.value,n,r,o)}function yu(e,t,n,r,o,i,s){if(null==i)ngDevMode&&ngDevMode.rendererRemoveAttribute++,vt(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{ngDevMode&&ngDevMode.rendererSetAttribute++;const a=null==s?_(i):s(i,r||"",o);vt(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}function _u(e,t,n,r,o,i){const s=i[t];if(null!==s){const t=r.setInput;for(let i=0;i<s.length;){const a=s[i++],u=s[i++],c=s[i++];if(null!==t?r.setInput(n,c,a,u):n[u]=c,ngDevMode){su(e,wt(o,e),o.type,u,c)}}}}function bu(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}const wu=("undefined"==typeof ngDevMode||ngDevMode)&&le()&&qi("LContainer");function Du(e,t,n,r){ngDevMode&&Ze(t),ngDevMode&&!vt(t[11])&&F(n);const o=new(ngDevMode?wu:Array)(e,!0,!1,t,null,0,r,n,null,null);return ngDevMode&&A(o.length,10,"Should allocate correct number of slots for LContainer header."),ngDevMode&&function(e){ca(e,new Ra(e))}(o),o}function Cu(e,t){ngDevMode&&A(xt(e),!1,"Should be run in update mode");const n=Et(t,e);if(St(n)){const e=n[1];80&n[2]?Wa(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let n=us(t);null!==n;n=cs(n))for(let t=10;t<n.length;t++){const r=n[t];if(1024&r[2]){const e=r[1];ngDevMode&&T(e,"TView must be allocated"),Wa(e,r,e.template,r[8])}else r[5]>0&&e(r)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Et(n[r],t);St(o)&&o[5]>0&&e(o)}}(n)}}function Eu(e,t){ngDevMode&&A(xt(e),!0,"Should be run in creation mode");const n=Et(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Ga(r,n,n[8])}function xu(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Su(e){for(;e;){e[2]|=64;const t=is(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function Au(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=ki(n),o=r[1];Ka(o,r,o.template,n)}}function Ou(e,t,n){const r=t[10];r.begin&&r.begin();try{Wa(e,t,e.template,n)}catch(e){throw $u(t,e),e}finally{r.end&&r.end()}}function Iu(e){Au(e[8])}function Mu(e,t,n){ngDevMode&&T(t,"View queries function to execute must be defined."),tn(0),t(e,n)}function ku(e,t,n,r,...o){if(null===e[r]&&(null==t.inputs||!t.inputs[n])){(t.propertyBindings||(t.propertyBindings=[])).push(r);let i=n;o.length>0&&(i+="�"+o.join("�")),e[r]=i}}const ju=La;function Pu(e){return e[7]||(e[7]=ngDevMode?new Aa:[])}function Nu(e){return e.cleanup||(e.cleanup=ngDevMode?new Oa:[])}function Tu(e,t,n){return(null===e||Be(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function $u(e,t){const n=e[9],r=n?n.get(Ri,null):null;r&&r.handleError(t)}function Fu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s];ngDevMode&&V(t,s);const c=e.data[s];null!==c.setInput?c.setInput(u,o,r,a):u[a]=o}}function Vu(e,t,n){ngDevMode&&S(n,"Value should be a string"),ngDevMode&&M(n,Ys,"value should not be NO_CHANGE"),ngDevMode&&V(e,t);const r=bt(t,e);ngDevMode&&T(r,"native element should exist"),hs(e[11],r,n)}
|
|
542
|
-
/**
|
|
543
|
-
* @license
|
|
544
|
-
* Copyright Google LLC All Rights Reserved.
|
|
545
|
-
*
|
|
546
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
547
|
-
* found in the LICENSE file at https://angular.io/license
|
|
548
|
-
*/function Ru(e,t,n){ngDevMode&&Je(Tt(),"Expecting to be called in first template pass only");let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];if("number"==typeof n)i=n;else if(1==i)o=d(o,n);else if(2==i){r=d(r,n+": "+t[++e]+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}
|
|
549
|
-
/**
|
|
550
|
-
* @license
|
|
551
|
-
* Copyright Google LLC All Rights Reserved.
|
|
552
|
-
*
|
|
553
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
554
|
-
* found in the LICENSE file at https://angular.io/license
|
|
555
|
-
*/function Lu(e){const t=Oi(e);Ou(t[1],t,e)}function Bu(e){ngDevMode&&T(e,"component");const t=Su(Oi(e));ngDevMode&&T(t[8],"rootContext should be defined"),function(e,t){if(0===e.flags&&e.clean==La){let n;e.flags|=t,e.clean=new Promise(e=>n=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Au(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=La,n(null)})}}(t[8],1)}
|
|
556
|
-
/**
|
|
557
|
-
* @license
|
|
558
|
-
* Copyright Google LLC All Rights Reserved.
|
|
559
|
-
*
|
|
560
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
561
|
-
* found in the LICENSE file at https://angular.io/license
|
|
562
|
-
*/
|
|
563
|
-
const Uu=new hr("INJECTOR",-1);
|
|
564
|
-
/**
|
|
565
|
-
* @license
|
|
566
|
-
* Copyright Google LLC All Rights Reserved.
|
|
567
|
-
*
|
|
568
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
569
|
-
* found in the LICENSE file at https://angular.io/license
|
|
570
|
-
*/class Hu{get(e,t=Br){if(t===Br){const t=new Error(`NullInjectorError: No provider for ${l(e)}!`);throw t.name="NullInjectorError",t}return t}}
|
|
571
|
-
/**
|
|
572
|
-
* @license
|
|
573
|
-
* Copyright Google LLC All Rights Reserved.
|
|
574
|
-
*
|
|
575
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
576
|
-
* found in the LICENSE file at https://angular.io/license
|
|
577
|
-
*/const zu=new hr("Set Injector scope."),qu={},Gu={};
|
|
578
|
-
/**
|
|
579
|
-
* @license
|
|
580
|
-
* Copyright Google LLC All Rights Reserved.
|
|
581
|
-
*
|
|
582
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
583
|
-
* found in the LICENSE file at https://angular.io/license
|
|
584
|
-
*/let Wu=void 0;function Ku(){return void 0===Wu&&(Wu=new Hu),Wu}function Qu(e,t=null,n=null,r){const o=Zu(e,t,n,r);return o._resolveInjectorDefTypes(),o}function Zu(e,t=null,n=null,r){return new Ju(e,n,t||Ku(),r)}class Ju{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];t&&Sr(t,n=>this.processProvider(n,e,t)),Sr([e],e=>this.processInjectorType(e,[],o)),this.records.set(Uu,ec(void 0,this));const i=this.records.get(zu);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:l(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Br,n=Z.Default){this.assertNotDestroyed();const r=qr(this),o=X(void 0);try{if(!(n&Z.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof hr)&&H(e);t=n&&this.injectableDefInScope(n)?ec(Yu(e),qu):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const s=n&Z.Self?Ku():this.parent;return t=n&Z.Optional&&t===Br?null:t,s.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t.ngTempTokenPath=t.ngTempTokenPath||[]).unshift(l(e)),r)throw t;return Yr(t,e,"R3InjectorError",this.source)}throw t}finally{X(o),qr(r)}var i;
|
|
585
|
-
/**
|
|
586
|
-
* @license
|
|
587
|
-
* Copyright Google LLC All Rights Reserved.
|
|
588
|
-
*
|
|
589
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
590
|
-
* found in the LICENSE file at https://angular.io/license
|
|
591
|
-
*/}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(l(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=p(e)))return!1;let r=q(e);const o=null==r&&e.ngModule||void 0,i=void 0===o?e:o;if(ngDevMode&&-1!==t.indexOf(i)){w(l(i),t.map(l))}const s=-1!==n.indexOf(i);if(void 0!==o&&(r=q(o)),null==r)return!1;if(null!=r.imports&&!s){let e;ngDevMode&&t.push(i),n.push(i);try{Sr(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{ngDevMode&&t.pop()}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Sr(r,e=>this.processProvider(e,n,r||fe))}}this.injectorDefTypes.add(i);const a=rt(i)||(()=>new i);this.records.set(i,ec(a,qu));const u=r.providers;if(null!=u&&!s){const t=e;Sr(u,e=>this.processProvider(e,t,u))}return void 0!==o&&void 0!==e.providers}processProvider(e,t,n){let r=nc(e=p(e))?e:p(e&&e.provide);const o=function(e,t,n){if(tc(e))return ec(void 0,e.useValue);return ec(Xu(e,t,n),qu)}(e,t,n);if(nc(e)||!0!==e.multi){const e=this.records.get(r);ngDevMode&&e&&void 0!==e.multi&&D()}else{let t=this.records.get(r);t?ngDevMode&&void 0===t.multi&&D():(t=ec(void 0,qu,!0),t.factory=()=>Zr(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,o)}hydrate(e,t){var n;return ngDevMode&&t.value===Gu?w(l(e)):t.value===qu&&(t.value=Gu,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=p(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Yu(e){const t=H(e),n=null!==t?t.factory:rt(e);if(null!==n)return n;if(e instanceof hr)throw new Error(`Token ${l(e)} is missing a ɵprov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=Ir(t,"?");throw new Error(`Can't resolve all parameters for ${l(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[G]||e[K]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Xu(e,t,n){let r=void 0;if(nc(e)){const t=p(e);return rt(t)||Yu(t)}if(tc(e))r=()=>p(e.useValue);else if((o=e)&&o.useFactory)r=()=>e.useFactory(...Zr(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Wr(p(e.useExisting));else{const o=p(e&&(e.useClass||e.provide));if(ngDevMode&&!o&&function(e,t,n){let r="";if(e&&t){r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`}throw new Error(`Invalid provider for the NgModule '${l(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return rt(o)||Yu(o);r=()=>new o(...Zr(e.deps))}var o;return r}function ec(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function tc(e){return null!==e&&"object"==typeof e&&Hr in e}function nc(e){return"function"==typeof e}function rc(e,t,n){return Qu({name:n},t,e,n)}const oc=function(e,t,n){return new lc(e,t,n)};class ic{static create(e,t){return Array.isArray(e)?oc(e,t,""):oc(e.providers,e.parent,e.name||"")}}ic.THROW_IF_NOT_FOUND=Br,ic.NULL=new Hu,ic.ɵprov=L({token:ic,providedIn:"any",factory:()=>Wr(Uu)}),ic.__NG_ELEMENT_ID__=-1;const sc=function(e){return e},ac=[],uc=sc,cc=function(){return Array.prototype.slice.call(arguments)};class lc{constructor(e,t=ic.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(ic,{token:ic,fn:sc,deps:ac,value:this,useNew:!1}),r.set(Uu,{token:Uu,fn:sc,deps:ac,value:this,useNew:!1}),this.scope=function e(t,n){let r=null;if(n)if(n=p(n),Array.isArray(n))for(let o=0;o<n.length;o++)r=e(t,n[o])||r;else{if("function"==typeof n)throw pc("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw pc("Unexpected provider",n);{let e=p(n.provide);const o=dc(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==cc)throw fc(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:cc,value:ac});e=n,r.deps.push({token:e,options:6})}const i=t.get(e);if(i&&i.fn==cc)throw fc(e);e===zu&&(r=o.value),t.set(e,o)}}return r}(r,e)}get(e,t,n=Z.Default){const r=this._records;let o=r.get(e);if(void 0===o){const t=H(e);if(t){const n=t&&p(t.providedIn);("any"===n||null!=n&&n===this.scope)&&r.set(e,o=dc({provide:e,useFactory:t.factory,deps:ac}))}void 0===o&&r.set(e,null)}let i=qr(this);try{return hc(e,o,r,this.parent,t,n)}catch(t){return Yr(t,e,"StaticInjectorError",this.source)}finally{qr(i)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(l(n))),`StaticInjector[${e.join(", ")}]`}}function dc(e){const t=function(e){let t=ac;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,o=p(n[e]);if(Array.isArray(o))for(let e=0,t=o;e<t.length;e++){const n=t[e];n instanceof no||n==no?r|=1:n instanceof oo||n==oo?r&=-3:n instanceof ro||n==ro?r&=-5:o=n instanceof to?n.token:p(n)}t.push({token:o,options:r})}}else if(e.useExisting){const n=p(e.useExisting);t=[{token:n,options:6}]}else if(!n&&!(Hr in e))throw pc("'deps' required",e);return t}(e);let n=sc,r=ac,o=!1,i=p(e.provide);if(Hr in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=p(e.useClass);else{if("function"!=typeof i)throw pc("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}function fc(e){return pc("Cannot mix multi providers and regular providers",e)}function hc(e,t,n,r,o,i){try{return function(e,t,n,r,o,i){let s;if(!t||i&Z.SkipSelf)s=i&Z.Self?i&Z.Optional?ic.NULL.get(e,void 0!==o?o:null):ic.NULL.get(e,o):r.get(e,o,Z.Default);else{if(s=t.value,s==uc)throw Error("ɵCircular dependency");if(s===ac){t.value=uc;let e=void 0,o=t.useNew,i=t.fn,a=t.deps,u=ac;if(a.length){u=[];for(let e=0;e<a.length;e++){const t=a[e],o=t.options,i=2&o?n.get(t.token):void 0;u.push(hc(t.token,i,n,i||4&o?r:ic.NULL,1&o?null:ic.THROW_IF_NOT_FOUND,Z.Default))}}t.value=s=o?new i(...u):i.apply(e,u)}}return s}(e,t,n,r,o,i)}catch(n){n instanceof Error||(n=new Error(n));throw(n.ngTempTokenPath=n.ngTempTokenPath||[]).unshift(e),t&&t.value==uc&&(t.value=ac),n}}function pc(e,t){return new Error(Xr(e,t,"StaticInjectorError"))}
|
|
592
|
-
/**
|
|
593
|
-
* @license
|
|
594
|
-
* Copyright Google LLC All Rights Reserved.
|
|
595
|
-
*
|
|
596
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
597
|
-
* found in the LICENSE file at https://angular.io/license
|
|
598
|
-
*/function gc(e){xc(e);const t=Si(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];let r=n.directiveStart;return 2&n.flags?t[r]:null}(t.nodeIndex,t.lView)),t.component)}function mc(e){xc(e);const t=Si(e);return null===t?null:t.lView[8]}function vc(e){const t=Si(e);if(null===t)return null;let n,r=t.lView;for(ngDevMode&&Ze(r);2===r[1].type&&(n=is(r));)r=n;return 512&r[2]?null:r[8]}function yc(e){return[...as(e).components]}function _c(e){const t=Si(e);if(null===t)return ic.NULL;const n=t.lView[1].data[t.nodeIndex];return new er(n,t.lView)}function bc(e){if(e instanceof Text)return[];const t=Si(e);if(null===t)return[];const n=t.lView,r=n[1],o=t.nodeIndex;return(null==r?void 0:r.data[o])?(void 0===t.directives&&(t.directives=Ti(o,n,!1)),null===t.directives?[]:[...t.directives]):[]}function wc(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=ke(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?ne.OnPush:ne.Default};const r=je(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function Dc(e){return Si(e).native}function Cc(e){xc(e);const t=Si(e);if(null===t)return[];const n=t.lView,r=n[1],o=n[7],i=r.cleanup,s=[];if(i&&o)for(let t=0;t<i.length;){const r=i[t++],a=i[t++];if("string"==typeof r){const u=r,c=_t(n[a]),l=o[i[t++]],d=i[t++],f="boolean"==typeof d||d>=0?"dom":"output",h="boolean"==typeof d&&d;e==c&&s.push({element:e,name:u,callback:l,useCapture:h,type:f})}}return s.sort(Ec),s}function Ec(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function xc(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}
|
|
599
|
-
/**
|
|
600
|
-
* @license
|
|
601
|
-
* Copyright Google LLC All Rights Reserved.
|
|
602
|
-
*
|
|
603
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
604
|
-
* found in the LICENSE file at https://angular.io/license
|
|
605
|
-
*/function Sc(e){Bu(e),yc(e).forEach(e=>Lu(e))}
|
|
606
|
-
/**
|
|
607
|
-
* @license
|
|
608
|
-
* Copyright Google LLC All Rights Reserved.
|
|
609
|
-
*
|
|
610
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
611
|
-
* found in the LICENSE file at https://angular.io/license
|
|
612
|
-
*/let Ac=!1;function Oc(){Ac||(Ac=!0,Ic("ɵsetProfiler",dt),Ic("getDirectiveMetadata",wc),Ic("getComponent",gc),Ic("getContext",mc),Ic("getListeners",Cc),Ic("getOwningComponent",vc),Ic("getHostElement",Dc),Ic("getInjector",_c),Ic("getRootComponents",yc),Ic("getDirectives",bc),Ic("applyChanges",Sc))}function Ic(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=ce;if(ngDevMode&&T(t,"function not defined"),n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}
|
|
613
|
-
/**
|
|
614
|
-
* @license
|
|
615
|
-
* Copyright Google LLC All Rights Reserved.
|
|
616
|
-
*
|
|
617
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
618
|
-
* found in the LICENSE file at https://angular.io/license
|
|
619
|
-
*/function Mc(e,t={}){ngDevMode&&Oc(),ngDevMode&&Ge(e);const n=t.rendererFactory||yt,r=t.sanitizer||null,o=ke(e);o.type!=e&&(o.type=e);const i=o.selectors[0][0],s=nu(n.createRenderer(null,null),t.host||i,o.encapsulation),a=o.onPush?576:528,u=Pc(t.scheduler,t.playerHandler),c=n.createRenderer(s,o),l=eu(0,null,null,1,0,null,null,null,null,null),d=Ua(null,l,u,a,null,null,n,c,null,t.injector||null);let f;on(d);try{n.begin&&n.begin();f=jc(kc(s,o,d,n,c,r),o,d,u,t.hostFeatures||null),Ga(l,d,null),Wa(l,d,null,null)}finally{ln(),n.end&&n.end()}return f}function kc(e,t,n,r,o,i){const s=n[1];ngDevMode&&V(n,20),n[20]=e;const a=Ha(s,20,2,"#host",null),u=a.mergedAttrs=t.hostAttrs;null!==u&&(Ru(a,u,!0),null!==e&&(An(o,e,u),null!==a.classes&&Ls(o,e,a.classes),null!==a.styles&&Rs(o,e,a.styles)));const c=r.createRenderer(e,t),l=Ua(n,Xa(t),null,t.onPush?64:16,n[20],a,r,c,i||null,null);return s.firstCreatePass&&(Un(Vn(a,n),s,t.type),fu(s,a),pu(a,n.length,1)),xu(n,l),n[20]=l}function jc(e,t,n,r,o){const i=n[1],s=function(e,t,n){const r=Ft();if(e.firstCreatePass){n.providersResolver&&n.providersResolver(n);const o=qa(e,t,1,null);ngDevMode&&A(o,r.directiveStart,"Because this is a root component the allocated expando should match the TNode component."),gu(e,r,t,o,n)}const o=Jn(t,e,r.directiveStart,r);Ii(o,t);const i=wt(r,t);return i&&Ii(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(e=>e(s,t)),t.contentQueries){const e=Ft();ngDevMode&&T(e,"TNode expected"),t.contentQueries(1,s,e.directiveStart)}const a=Ft();if(ngDevMode&&T(a,"tNode should have been already created"),i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){hn(a.index);lu(n[1],a,0,a.directiveStart,a.directiveEnd,t),du(t,s)}return s}function Pc(e,t){return{components:[],scheduler:e||Qi,clean:ju,playerHandler:t||null,flags:0}}function Nc(e,t){const n=ki(e);ngDevMode&&T(n,"LView is required");const r=n[1],o=Ft();ngDevMode&&T(o,"TNode is required"),yn(r,o)}function Tc(e){return as(e).clean}
|
|
620
|
-
/**
|
|
621
|
-
* @license
|
|
622
|
-
* Copyright Google LLC All Rights Reserved.
|
|
623
|
-
*
|
|
624
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
625
|
-
* found in the LICENSE file at https://angular.io/license
|
|
626
|
-
*/function $c(e){return Object.getPrototypeOf(e.prototype).constructor}function Fc(e){let t=$c(e.type),n=!0;const r=[e];for(;t;){let o=void 0;if(Be(e))o=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Error("Directives cannot inherit Components");o=t.ɵdir}if(o){if(n){r.push(o);const t=e;t.inputs=Vc(e.inputs),t.declaredInputs=Vc(e.declaredInputs),t.outputs=Vc(e.outputs);const n=o.hostBindings;n&&Bc(e,n);const i=o.viewQuery,s=o.contentQueries;if(i&&Rc(e,i),s&&Lc(e,s),c(e.inputs,o.inputs),c(e.declaredInputs,o.declaredInputs),c(e.outputs,o.outputs),Be(o)&&o.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(o.data.animation)}}const t=o.features;if(t)for(let r=0;r<t.length;r++){const o=t[r];o&&o.ngInherit&&o(e),o===Fc&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Mn(o.hostAttrs,n=Mn(n,o.hostAttrs))}}(r)}function Vc(e){return e===de?{}:e===fe?[]:e}function Rc(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Lc(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,o)=>{t(e,r,o),n(e,r,o)}:t}function Bc(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}
|
|
627
|
-
/**
|
|
628
|
-
* @license
|
|
629
|
-
* Copyright Google LLC All Rights Reserved.
|
|
630
|
-
*
|
|
631
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
632
|
-
* found in the LICENSE file at https://angular.io/license
|
|
633
|
-
*/const Uc=["providersResolver"],Hc=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function zc(e){let t=$c(e.type),n=void 0;n=Be(e)?t.ɵcmp:t.ɵdir;const r=e;for(const e of Uc)r[e]=n[e];if(Be(n))for(const e of Hc)r[e]=n[e]}
|
|
634
|
-
/**
|
|
635
|
-
* @license
|
|
636
|
-
* Copyright Google LLC All Rights Reserved.
|
|
637
|
-
*
|
|
638
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
639
|
-
* found in the LICENSE file at https://angular.io/license
|
|
640
|
-
*/let qc=null;function Gc(){if(!qc){const e=ce.Symbol;if(e&&e.iterator)qc=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(qc=n)}}}return qc}
|
|
641
|
-
/**
|
|
642
|
-
* @license
|
|
643
|
-
* Copyright Google LLC All Rights Reserved.
|
|
644
|
-
*
|
|
645
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
646
|
-
* found in the LICENSE file at https://angular.io/license
|
|
647
|
-
*/function Wc(e,t){const n=Qc(e),r=Qc(t);if(n&&r)return function(e,t,n){const r=e[Gc()](),o=t[Gc()]();for(;;){const e=r.next(),t=o.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Wc);{const o=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!o||r||!i)||Object.is(e,t)}}class Kc{constructor(e){this.wrapped=e}static wrap(e){return new Kc(e)}static unwrap(e){return Kc.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Kc}}function Qc(e){return!!Zc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Gc()in e)}function Zc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
648
|
-
/**
|
|
649
|
-
* @license
|
|
650
|
-
* Copyright Google LLC All Rights Reserved.
|
|
651
|
-
*
|
|
652
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
653
|
-
* found in the LICENSE file at https://angular.io/license
|
|
654
|
-
*/function Jc(e,t,n){return e[t]=n}function Yc(e,t){return ngDevMode&&V(e,t),ngDevMode&&M(e[t],Ys,"Stored value should never be NO_CHANGE."),e[t]}function Xc(e,t,n){ngDevMode&&M(n,Ys,"Incoming value should never be NO_CHANGE."),ngDevMode&&k(t,e.length,"Slot should have been initialized to NO_CHANGE");const r=e[t];if(Object.is(r,n))return!1;if(ngDevMode&&Ht()){const o=r!==Ys?r:void 0;if(!Wc(o,n)){const i=function(e,t,n,r){const o=e[1].data,i=o[t];if("string"==typeof i)return i.indexOf("�")>-1?ts(e,t,t,i,r):{propName:i,oldValue:n,newValue:r};if(null===i){let n=t-1;for(;"string"!=typeof o[n]&&null===o[n+1];)n--;const i=o[n];if("string"==typeof i){const o=i.match(new RegExp("�","g"));if(o&&o.length-1>t-n)return ts(e,n,t,i,r)}}return{propName:void 0,oldValue:n,newValue:r}}(e,t,o,n);!function(e,t,n,r){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${r?` for '${r}'`:""}: '${t}'. Current value: '${n}'.`;throw e&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?"),new m("100",o)}(r===Ys,i.oldValue,i.newValue,i.propName)}return!1}return e[t]=n,!0}function el(e,t,n,r){const o=Xc(e,t,n);return Xc(e,t+1,r)||o}function tl(e,t,n,r,o){const i=el(e,t,n,r);return Xc(e,t+2,o)||i}function nl(e,t,n,r,o,i){const s=el(e,t,n,r);return el(e,t+2,o,i)||s}
|
|
655
|
-
/**
|
|
656
|
-
* @license
|
|
657
|
-
* Copyright Google LLC All Rights Reserved.
|
|
658
|
-
*
|
|
659
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
660
|
-
* found in the LICENSE file at https://angular.io/license
|
|
661
|
-
*/function rl(e,t,n,r){const o=Nt(),i=Kt();if(Xc(o,i,t)){const s=Tt(),a=pn();vu(a,o,e,t,n,r),ngDevMode&&ku(s.data,a,"attr."+e,i)}return rl}
|
|
662
|
-
/**
|
|
663
|
-
* @license
|
|
664
|
-
* Copyright Google LLC All Rights Reserved.
|
|
665
|
-
*
|
|
666
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
667
|
-
* found in the LICENSE file at https://angular.io/license
|
|
668
|
-
*/function ol(e,t){ngDevMode&&k(2,t.length,"should have at least 3 values"),ngDevMode&&A(t.length%2,1,"should have an odd number of values");let n=!1,r=Gt();for(let o=1;o<t.length;o+=2)n=Xc(e,r++,t[o])||n;if(Wt(r),!n)return Ys;let o=t[0];for(let e=1;e<t.length;e+=2)o+=_(t[e])+t[e+1];return o}function il(e,t,n,r){return Xc(e,Kt(),n)?t+_(n)+r:Ys}function sl(e,t,n,r,o,i){const s=el(e,Gt(),n,o);return Qt(2),s?t+_(n)+r+_(o)+i:Ys}function al(e,t,n,r,o,i,s,a){const u=tl(e,Gt(),n,o,s);return Qt(3),u?t+_(n)+r+_(o)+i+_(s)+a:Ys}function ul(e,t,n,r,o,i,s,a,u,c){const l=nl(e,Gt(),n,o,s,u);return Qt(4),l?t+_(n)+r+_(o)+i+_(s)+a+_(u)+c:Ys}function cl(e,t,n,r,o,i,s,a,u,c,l,d){const f=Gt();let h=nl(e,f,n,o,s,u);return h=Xc(e,f+4,l)||h,Qt(5),h?t+_(n)+r+_(o)+i+_(s)+a+_(u)+c+_(l)+d:Ys}function ll(e,t,n,r,o,i,s,a,u,c,l,d,f,h){const p=Gt();let g=nl(e,p,n,o,s,u);return g=el(e,p+4,l,f)||g,Qt(6),g?t+_(n)+r+_(o)+i+_(s)+a+_(u)+c+_(l)+d+_(f)+h:Ys}function dl(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g){const m=Gt();let v=nl(e,m,n,o,s,u);return v=tl(e,m+4,l,f,p)||v,Qt(7),v?t+_(n)+r+_(o)+i+_(s)+a+_(u)+c+_(l)+d+_(f)+h+_(p)+g:Ys}function fl(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v){const y=Gt();let b=nl(e,y,n,o,s,u);return b=nl(e,y+4,l,f,p,m)||b,Qt(8),b?t+_(n)+r+_(o)+i+_(s)+a+_(u)+c+_(l)+d+_(f)+h+_(p)+g+_(m)+v:Ys}function hl(e,t,n,r,o,i){const s=Nt(),a=il(s,t,n,r);if(a!==Ys){const n=pn();vu(n,s,e,a,o,i),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-1,t,r)}return hl}function pl(e,t,n,r,o,i,s,a){const u=Nt(),c=sl(u,t,n,r,o,i);if(c!==Ys){const n=pn();vu(n,u,e,c,s,a),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-2,t,r,i)}return pl}function gl(e,t,n,r,o,i,s,a,u,c){const l=Nt(),d=al(l,t,n,r,o,i,s,a);if(d!==Ys){const n=pn();vu(n,l,e,d,u,c),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-3,t,r,i,a)}return gl}function ml(e,t,n,r,o,i,s,a,u,c,l,d){const f=Nt(),h=ul(f,t,n,r,o,i,s,a,u,c);if(h!==Ys){const n=pn();vu(n,f,e,h,l,d),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-4,t,r,i,a,c)}return ml}function vl(e,t,n,r,o,i,s,a,u,c,l,d,f,h){const p=Nt(),g=cl(p,t,n,r,o,i,s,a,u,c,l,d);if(g!==Ys){const n=pn();vu(n,p,e,g,f,h),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-5,t,r,i,a,c,d)}return vl}function yl(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g){const m=Nt(),v=ll(m,t,n,r,o,i,s,a,u,c,l,d,f,h);if(v!==Ys){const n=pn();vu(n,m,e,v,p,g),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-6,t,r,i,a,c,d,h)}return yl}function _l(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v){const y=Nt(),_=dl(y,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g);if(_!==Ys){const n=pn();vu(n,y,e,_,m,v),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-7,t,r,i,a,c,d,h,g)}return _l}function bl(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y,_){const b=Nt(),w=fl(b,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v);if(w!==Ys){const n=pn();vu(n,b,e,w,y,_),ngDevMode&&ku(Tt().data,n,"attr."+e,Gt()-8,t,r,i,a,c,d,h,g,v)}return bl}function wl(e,t,n,r){const o=Nt(),i=ol(o,t);if(i!==Ys){const s=pn();if(vu(s,o,e,i,n,r),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);ku(Tt().data,s,"attr."+e,Gt()-n.length+1,...n)}}return wl}
|
|
669
|
-
/**
|
|
670
|
-
* @license
|
|
671
|
-
* Copyright Google LLC All Rights Reserved.
|
|
672
|
-
*
|
|
673
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
674
|
-
* found in the LICENSE file at https://angular.io/license
|
|
675
|
-
*/function Dl(e,t,n,r,o,i,s,a){const u=Nt(),c=Tt(),l=e+20,d=c.firstCreatePass?function(e,t,n,r,o,i,s,a,u){ngDevMode&&Je(t),ngDevMode&&ngDevMode.firstCreatePass++;const c=t.consts,l=Ha(t,e,4,s||null,At(c,a));cu(t,n,l,At(c,u)),yn(t,l);const d=l.tViews=eu(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];Lt(d,!1);const f=u[11].createComment(ngDevMode?"container":"");js(c,u,f,d),Ii(f,u),xu(u,u[l]=Du(f,u,f,d)),Le(d)&&Ja(c,u,d),null!=s&&Ya(u,d,a)}
|
|
676
|
-
/**
|
|
677
|
-
* @license
|
|
678
|
-
* Copyright Google LLC All Rights Reserved.
|
|
679
|
-
*
|
|
680
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
681
|
-
* found in the LICENSE file at https://angular.io/license
|
|
682
|
-
*/function Cl(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function El(e){return Ct(Mt.lFrame.contextLView,20+e)}
|
|
683
|
-
/**
|
|
684
|
-
* @license
|
|
685
|
-
* Copyright Google LLC All Rights Reserved.
|
|
686
|
-
*
|
|
687
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
688
|
-
* found in the LICENSE file at https://angular.io/license
|
|
689
|
-
*/const xl={"ɵɵdefineInjectable":L,"ɵɵdefineInjector":U,"ɵɵinject":Wr,"ɵɵinvalidFactoryDep":Kr,resolveForwardRef:p};
|
|
690
|
-
/**
|
|
691
|
-
* @license
|
|
692
|
-
* Copyright Google LLC All Rights Reserved.
|
|
693
|
-
*
|
|
694
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
695
|
-
* found in the LICENSE file at https://angular.io/license
|
|
696
|
-
*/const Sl=u({provide:String,useValue:u});function Al(e){return void 0!==e.useClass}function Ol(e){return void 0!==e.useFactory}
|
|
697
|
-
/**
|
|
698
|
-
* @license
|
|
699
|
-
* Copyright Google LLC All Rights Reserved.
|
|
700
|
-
*
|
|
701
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
702
|
-
* found in the LICENSE file at https://angular.io/license
|
|
703
|
-
*/
|
|
704
|
-
const Il=u({provide:String,useValue:u});function Ml(e,t){if(!t){const t=(new Vr).parameters(e);return()=>new e(...Zr(t))}if(Il in t){const e=t;return()=>e.useValue}if(t.useExisting){const e=t;return()=>Wr(p(e.useExisting))}if(t.useFactory){const e=t;return()=>e.useFactory(...Zr(e.deps||fe))}if(t.useClass){const n=t;let r=t.deps;if(!r){const t=new Vr;r=t.parameters(e)}return()=>new(p(n.useClass))(...Zr(r))}{let n=t.deps;if(!n){const t=new Vr;n=t.parameters(e)}return()=>new e(...Zr(n))}}
|
|
705
|
-
/**
|
|
706
|
-
* @license
|
|
707
|
-
* Copyright Google LLC All Rights Reserved.
|
|
708
|
-
*
|
|
709
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
710
|
-
* found in the LICENSE file at https://angular.io/license
|
|
711
|
-
*/const kl=ar("Injectable",void 0,void 0,void 0,(e,t)=>Pl(e,t));const jl=function(e,t){let n=null,r=null;e.hasOwnProperty(G)||Object.defineProperty(e,G,{get:()=>{if(null===n){const r=Dr({usage:0,kind:"injectable",type:e});n=r.compileInjectable(xl,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};(Al(n)||Ol(n))&&void 0!==n.deps&&(r.deps=co(n.deps));Al(n)?r.useClass=n.useClass:!function(e){return Sl in e}(n)?Ol(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting):r.useValue=n.useValue;return r}(e,t))}return n}}),e.hasOwnProperty(ye)||Object.defineProperty(e,ye,{get:()=>{if(null===r){const t=Dr({usage:0,kind:"injectable",type:e});r=t.compileFactory(xl,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:uo(e),target:t.FactoryTarget.Injectable})}return r},configurable:!0})},Pl=function(e,t){t&&void 0!==t.providedIn&&!H(e)&&(e.ɵprov=L({token:e,providedIn:t.providedIn,factory:Ml(e,t)}))};function Nl(e){if(e.length>1){return" ("+
|
|
712
|
-
/**
|
|
713
|
-
* @license
|
|
714
|
-
* Copyright Google LLC All Rights Reserved.
|
|
715
|
-
*
|
|
716
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
717
|
-
* found in the LICENSE file at https://angular.io/license
|
|
718
|
-
*/
|
|
719
|
-
function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(e=>l(e.token)).join(" -> ")+")"}return""}function Tl(e,t,n,r){const o=[t],i=n(o),s=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r.ngOriginalError=t,r}
|
|
720
|
-
/**
|
|
721
|
-
* @license
|
|
722
|
-
* Copyright Google LLC All Rights Reserved.
|
|
723
|
-
*
|
|
724
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
725
|
-
* found in the LICENSE file at https://angular.io/license
|
|
726
|
-
*/(i,r):Error(i);return s.addKey=$l,s.keys=o,s.injectors=[e],s.constructResolvingMessage=n,s.ngOriginalError=r,s}function $l(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Fl(e,t){const n=[];for(let e=0,r=t.length;e<r;e++){const r=t[e];r&&0!=r.length?n.push(r.map(l).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+l(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+l(e)+"' is decorated with Injectable.")}
|
|
727
|
-
/**
|
|
728
|
-
* @license
|
|
729
|
-
* Copyright Google LLC All Rights Reserved.
|
|
730
|
-
*
|
|
731
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
732
|
-
* found in the LICENSE file at https://angular.io/license
|
|
733
|
-
*/
|
|
734
|
-
class Vl{constructor(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=l(this.token)}static get(e){return Rl.get(p(e))}static get numberOfKeys(){return Rl.numberOfKeys}}const Rl=new class{constructor(){this._allKeys=new Map}get(e){if(e instanceof Vl)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new Vl(e,Vl.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};
|
|
735
|
-
/**
|
|
736
|
-
* @license
|
|
737
|
-
* Copyright Google LLC All Rights Reserved.
|
|
738
|
-
*
|
|
739
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
740
|
-
* found in the LICENSE file at https://angular.io/license
|
|
741
|
-
*/
|
|
742
|
-
/**
|
|
743
|
-
* @license
|
|
744
|
-
* Copyright Google LLC All Rights Reserved.
|
|
745
|
-
*
|
|
746
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
747
|
-
* found in the LICENSE file at https://angular.io/license
|
|
748
|
-
*/
|
|
749
|
-
const Ll=new class{constructor(e){this.reflectionCapabilities=e}updateCapabilities(e){this.reflectionCapabilities=e}factory(e){return this.reflectionCapabilities.factory(e)}parameters(e){return this.reflectionCapabilities.parameters(e)}annotations(e){return this.reflectionCapabilities.annotations(e)}propMetadata(e){return this.reflectionCapabilities.propMetadata(e)}hasLifecycleHook(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}getter(e){return this.reflectionCapabilities.getter(e)}setter(e){return this.reflectionCapabilities.setter(e)}method(e){return this.reflectionCapabilities.method(e)}importUri(e){return this.reflectionCapabilities.importUri(e)}resourceUri(e){return this.reflectionCapabilities.resourceUri(e)}resolveIdentifier(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}resolveEnum(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}(new Vr);
|
|
750
|
-
/**
|
|
751
|
-
* @license
|
|
752
|
-
* Copyright Google LLC All Rights Reserved.
|
|
753
|
-
*
|
|
754
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
755
|
-
* found in the LICENSE file at https://angular.io/license
|
|
756
|
-
*/class Bl{constructor(e,t,n){this.key=e,this.optional=t,this.visibility=n}static fromKey(e){return new Bl(e,!1,null)}}const Ul=[];class Hl{constructor(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}class zl{constructor(e,t){this.factory=e,this.dependencies=t}}function ql(e){let t,n;if(e.useClass){const r=p(e.useClass);t=Ll.factory(r),n=Kl(r)}else e.useExisting?(t=e=>e,n=[Bl.fromKey(Vl.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(e=>[e]);return t.map(t=>Ql(e,t,n))}return Kl(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=Ul);return new zl(t,n)}function Gl(e){return new Hl(Vl.get(e.provide),[ql(e)],e.multi||!1)}function Wl(e){const t=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error(`Cannot mix multi providers and regular providers, got: ${o} ${r}`);if(r.multiProvider)for(let e=0;e<r.resolvedFactories.length;e++)o.resolvedFactories.push(r.resolvedFactories[e]);else t.set(r.key.id,r)}else{let e;e=r.multiProvider?new Hl(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,e)}}return t}(function e(t,n){return t.forEach(t=>{if(t instanceof Cr)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}}),n}(e,[]).map(Gl),new Map);return Array.from(t.values())}function Kl(e){const t=Ll.parameters(e);if(!t)return[];if(t.some(e=>null==e))throw Fl(e,t);return t.map(n=>Ql(e,n,t))}function Ql(e,t,n){let r=null,o=!1;if(!Array.isArray(t))return Zl(t instanceof to?t.token:t,o,null);let i=null;for(let e=0;e<t.length;++e){const n=t[e];n instanceof Cr?r=n:n instanceof to?r=n.token:n instanceof no?o=!0:n instanceof ro||n instanceof oo?i=n:n instanceof hr&&(r=n)}if(r=p(r),null!=r)return Zl(r,o,i);throw Fl(e,n)}function Zl(e,t,n){return new Bl(Vl.get(e),t,n)}
|
|
757
|
-
/**
|
|
758
|
-
* @license
|
|
759
|
-
* Copyright Google LLC All Rights Reserved.
|
|
760
|
-
*
|
|
761
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
762
|
-
* found in the LICENSE file at https://angular.io/license
|
|
763
|
-
*/const Jl={};class Yl{static resolve(e){return Wl(e)}static resolveAndCreate(e,t){const n=Yl.resolve(e);return Yl.fromResolvedProviders(n,t)}static fromResolvedProviders(e,t){return new Xl(e,t)}}class Xl{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const n=e.length;this.keyIds=[],this.objs=[];for(let t=0;t<n;t++)this.keyIds[t]=e[t].key.id,this.objs[t]=Jl}get(e,t=Br){return this._getByKey(Vl.get(e),null,t)}resolveAndCreateChild(e){const t=Yl.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new Xl(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(Yl.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw t=this,n=e.key,Tl(t,n,(function(e){return"Cannot instantiate cyclic dependency!"+Nl(e)}));var t,n;return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const n=t.factory;let r,o;try{r=t.dependencies.map(e=>this._getByReflectiveDependency(e))}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{o=n(...r)}catch(t){throw i=this,s=t,t.stack,a=e.key,Tl(i,a,(function(e){const t=l(e[0].token);return`${s.message}: Error during instantiation of ${t}!${Nl(e)}.`}),s)}var i,s,a;return o}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:Br)}_getByKey(e,t,n){return e===Xl.INJECTOR_KEY?this:t instanceof ro?this._getByKeySelf(e,n):this._getByKeyDefault(e,n,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Jl&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Jl}_throwOrNull(e,t){if(t!==Br)return t;throw function(e,t){return Tl(e,t,(function(e){return`No provider for ${l(e[0].token)}!${Nl(e)}`}))}(this,e)}_getByKeySelf(e,t){const n=this._getObjByKeyId(e.id);return n!==Jl?n:this._throwOrNull(e,t)}_getByKeyDefault(e,t,n){let r;for(r=n instanceof oo?this.parent:this;r instanceof Xl;){const t=r,n=t._getObjByKeyId(e.id);if(n!==Jl)return n;r=t.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}
|
|
764
|
-
/**
|
|
765
|
-
* @license
|
|
766
|
-
* Copyright Google LLC All Rights Reserved.
|
|
767
|
-
*
|
|
768
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
769
|
-
* found in the LICENSE file at https://angular.io/license
|
|
770
|
-
*/
|
|
771
|
-
/**
|
|
772
|
-
* @license
|
|
773
|
-
* Copyright Google LLC All Rights Reserved.
|
|
774
|
-
*
|
|
775
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
776
|
-
* found in the LICENSE file at https://angular.io/license
|
|
777
|
-
*/
|
|
778
|
-
/**
|
|
779
|
-
* @license
|
|
780
|
-
* Copyright Google LLC All Rights Reserved.
|
|
781
|
-
*
|
|
782
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
783
|
-
* found in the LICENSE file at https://angular.io/license
|
|
784
|
-
*/(this,e=>' "'+e.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function ed(e,t=Z.Default){const n=Nt();if(null===n)return ngDevMode&&(r=ed,ngDevMode&&O(J,r,"Calling ɵɵinject would cause infinite recursion")),Wr(e,t);var r;return Gn(Ft(),n,p(e),t)}function td(){const e=ngDevMode?"This constructor was not compatible with Dependency Injection.":"invalid";throw new Error(e)}
|
|
785
|
-
/**
|
|
786
|
-
* @license
|
|
787
|
-
* Copyright Google LLC All Rights Reserved.
|
|
788
|
-
*
|
|
789
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
790
|
-
* found in the LICENSE file at https://angular.io/license
|
|
791
|
-
*/function nd(e,t,n){const r=Nt(),o=Kt();if(Xc(r,o,t)){const i=Tt(),s=pn();iu(i,s,r,e,t,r[11],n,!1),ngDevMode&&ku(i.data,s,e,o)}return nd}function rd(e,t,n,r,o){const i=o?"class":"style";Fu(e,n,t.inputs[i],i,r)}
|
|
792
|
-
/**
|
|
793
|
-
* @license
|
|
794
|
-
* Copyright Google LLC All Rights Reserved.
|
|
795
|
-
*
|
|
796
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
797
|
-
* found in the LICENSE file at https://angular.io/license
|
|
798
|
-
*/function od(e,t,n,r,o,i,s){ngDevMode&&Je(t),ngDevMode&&ngDevMode.firstCreatePass++;const a=t.consts,u=Ha(t,e,2,o,At(a,i)),c=cu(t,n,u,At(a,s));return ngDevMode&&function(e,t,n,r){if(null===e.schemas)return;const o=n.value;if(!r&&null!==o){if(("undefined"!=typeof HTMLUnknownElement&&HTMLUnknownElement&&t instanceof HTMLUnknownElement||"undefined"!=typeof customElements&&o.indexOf("-")>-1&&!customElements.get(o))&&!au(e,o)){let e=`'${o}' is not a known element:\n`;e+=`1. If '${o}' is an Angular component, then verify that it is part of this module.\n`,o&&o.indexOf("-")>-1?e+=`2. If '${o}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.`:e+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",console.error(y("304",e))}}}
|
|
799
|
-
/**
|
|
800
|
-
* @license
|
|
801
|
-
* Copyright Google LLC All Rights Reserved.
|
|
802
|
-
*
|
|
803
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
804
|
-
* found in the LICENSE file at https://angular.io/license
|
|
805
|
-
*/(t,r,u,c),null!==u.attrs&&Ru(u,u.attrs,!1),null!==u.mergedAttrs&&Ru(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}function id(e,t,n,r){const o=Nt(),i=Tt(),s=20+e;ngDevMode&&A(Gt(),i.bindingStartIndex,"elements should be created before any bindings"),ngDevMode&&V(o,s);const a=o[11],u=o[s]=gs(a,t,Mt.lFrame.currentNamespace),c=i.firstCreatePass?od(s,i,o,u,t,n,r):i.data[s];Lt(c,!0);const l=c.mergedAttrs;null!==l&&An(a,u,l);const d=c.classes;null!==d&&Ls(a,u,d);const f=c.styles;null!==f&&Rs(a,u,f),64!=(64&c.flags)&&js(i,o,u,c),0===Mt.lFrame.elementDepthCount&&Ii(u,o),Mt.lFrame.elementDepthCount++,Le(c)&&(Ja(i,o,c),Za(i,c,o)),null!==r&&Ya(o,c)}function sd(){let e=Ft();ngDevMode&&T(e,"No parent node to close."),Bt()?Ut():(ngDevMode&&We(Ft()),e=e.parent,Lt(e,!1));const t=e;ngDevMode&&Sn(t,3),Mt.lFrame.elementDepthCount--;const n=Tt();n.firstCreatePass&&(yn(n,e),Ve(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&rd(n,t,Nt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&rd(n,t,Nt(),t.stylesWithoutHost,!1)}function ad(e,t,n,r){id(e,t,n,r),sd()}function ud(e,t,n){const r=Nt(),o=Tt(),i=e+20;ngDevMode&&V(r,i),ngDevMode&&A(Gt(),o.bindingStartIndex,"element containers should be created before any bindings");const s=o.firstCreatePass?function(e,t,n,r,o){ngDevMode&&ngDevMode.firstCreatePass++;const i=t.consts,s=At(i,r),a=Ha(t,e,8,"ng-container",s);return null!==s&&Ru(a,s,!0),cu(t,n,a,At(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];Lt(s,!0),ngDevMode&&ngDevMode.rendererCreateComment++;const a=r[i]=r[11].createComment(ngDevMode?"ng-container":"");js(o,r,a,s),Ii(a,r),Le(s)&&(Ja(o,r,s),Za(o,s,r)),null!=n&&Ya(r,s)}function cd(){let e=Ft();const t=Tt();Bt()?Ut():(ngDevMode&&We(e),e=e.parent,Lt(e,!1)),ngDevMode&&Sn(e,8),t.firstCreatePass&&(yn(t,e),Ve(e)&&t.queries.elementEnd(e))}function ld(e,t,n){ud(e,t,n),cd()}function dd(){return Nt()}
|
|
806
|
-
/**
|
|
807
|
-
* @license
|
|
808
|
-
* Copyright Google LLC All Rights Reserved.
|
|
809
|
-
*
|
|
810
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
811
|
-
* found in the LICENSE file at https://angular.io/license
|
|
812
|
-
*/function fd(e){return!!e&&"function"==typeof e.then}function hd(e){return!!e&&"function"==typeof e.subscribe}Xl.INJECTOR_KEY=Vl.get(ic);const pd=hd;
|
|
813
|
-
/**
|
|
814
|
-
* @license
|
|
815
|
-
* Copyright Google LLC All Rights Reserved.
|
|
816
|
-
*
|
|
817
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
818
|
-
* found in the LICENSE file at https://angular.io/license
|
|
819
|
-
*/function gd(e,t,n,r){const o=Nt(),i=Tt(),s=Ft();return vd(i,o,o[11],s,e,t,!!n,r),gd}function md(e,t){const n=Ft(),r=Nt(),o=Tt();return vd(o,r,Tu(Xt(o.data),n,r),n,e,t,!1),md}function vd(e,t,n,r,o,i,s,a){const u=Le(r),c=e.firstCreatePass&&Nu(e),l=t[8],d=Pu(t);ngDevMode&&Sn(r,15);let f=!0;if(3&r.type||a){const h=wt(r,t),p=a?a(h):h,g=d.length,m=a?e=>a(_t(e[r.index])):r.index;if(vt(n)){let s=null;if(!a&&u&&(s=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let e=0;e<o.length-1;e+=2){const i=o[e];if(i===n&&o[e+1]===r){const n=t[7],r=o[e+2];return n.length>r?n[r]:null}"string"==typeof i&&(e+=2)}return null}(e,t,o,r.index)),null!==s){(s.__ngLastListenerFn__||s).__ngNextListenerFn__=i,s.__ngLastListenerFn__=i,f=!1}else{i=_d(r,t,l,i,!1);const e=n.listen(p,o,i);ngDevMode&&ngDevMode.rendererAddEventListener++,d.push(i,e),c&&c.push(o,m,g,g+1)}}else i=_d(r,t,l,i,!0),p.addEventListener(o,i,s),ngDevMode&&ngDevMode.rendererAddEventListener++,d.push(i),c&&c.push(o,m,g,s)}else i=_d(r,t,l,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=p[n];ngDevMode&&V(t,e);const s=p[n+1],a=t[e],u=a[s];if(ngDevMode&&!pd(u))throw new Error(`@Output ${s} not initialized in '${a.constructor.name}'.`);const l=u.subscribe(i),f=d.length;d.push(i,l),c&&c.push(o,r.index,f,-(f+1))}}}function yd(e,t,n,r){try{return ft(6,t,n),!1!==n(r)}catch(t){return $u(e,t),!1}finally{ft(7,t,n)}}function _d(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?Et(e.index,t):t;0==(32&t[2])&&Su(a);let u=yd(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=yd(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}
|
|
820
|
-
/**
|
|
821
|
-
* @license
|
|
822
|
-
* Copyright Google LLC All Rights Reserved.
|
|
823
|
-
*
|
|
824
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
825
|
-
* found in the LICENSE file at https://angular.io/license
|
|
826
|
-
*/
|
|
827
|
-
/**
|
|
828
|
-
* @license
|
|
829
|
-
* Copyright Google LLC All Rights Reserved.
|
|
830
|
-
*
|
|
831
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
832
|
-
* found in the LICENSE file at https://angular.io/license
|
|
833
|
-
*/function bd(e=1){return dn(e)}
|
|
834
|
-
/**
|
|
835
|
-
* @license
|
|
836
|
-
* Copyright Google LLC All Rights Reserved.
|
|
837
|
-
*
|
|
838
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
839
|
-
* found in the LICENSE file at https://angular.io/license
|
|
840
|
-
*/function wd(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let o=0;o<t.length;o++){const i=t[o];if("*"!==i){if(null===r?Ks(e,i,!0):Qs(r,i))return o}else n=o}return n}function Dd(e){const t=Nt()[16][6];if(!t.projection){const n=e?e.length:1,r=t.projection=Ir(n,null),o=r.slice();let i=t.child;for(;null!==i;){const t=e?wd(i,e):0;null!==t&&(o[t]?o[t].projectionNext=i:r[t]=i,o[t]=i),i=i.next}}}function Cd(e,t=0,n){const r=Nt(),o=Tt(),i=Ha(o,20+e,16,null,n||null);null===i.projection&&(i.projection=t),Ut(),64!=(64&i.flags)&&function(e,t,n){Vs(t[11],0,t,n,ws(e,n,t),As(n.parent||t[6],n,t))}(o,r,i)}function Ed(e,t,n){return xd(e,"",t,"",n),Ed}function xd(e,t,n,r,o){const i=Nt(),s=il(i,t,n,r);if(s!==Ys){const n=Tt(),a=pn();iu(n,a,i,e,s,i[11],o,!1),ngDevMode&&ku(n.data,a,e,Gt()-1,t,r)}return xd}function Sd(e,t,n,r,o,i,s){const a=Nt(),u=sl(a,t,n,r,o,i);if(u!==Ys){const n=Tt(),o=pn();iu(n,o,a,e,u,a[11],s,!1),ngDevMode&&ku(n.data,o,e,Gt()-2,t,r,i)}return Sd}function Ad(e,t,n,r,o,i,s,a,u){const c=Nt(),l=al(c,t,n,r,o,i,s,a);if(l!==Ys){const n=Tt(),o=pn();iu(n,o,c,e,l,c[11],u,!1),ngDevMode&&ku(n.data,o,e,Gt()-3,t,r,i,a)}return Ad}function Od(e,t,n,r,o,i,s,a,u,c,l){const d=Nt(),f=ul(d,t,n,r,o,i,s,a,u,c);if(f!==Ys){const n=Tt(),o=pn();iu(n,o,d,e,f,d[11],l,!1),ngDevMode&&ku(n.data,o,e,Gt()-4,t,r,i,a,c)}return Od}function Id(e,t,n,r,o,i,s,a,u,c,l,d,f){const h=Nt(),p=cl(h,t,n,r,o,i,s,a,u,c,l,d);if(p!==Ys){const n=Tt(),o=pn();iu(n,o,h,e,p,h[11],f,!1),ngDevMode&&ku(n.data,o,e,Gt()-5,t,r,i,a,c,d)}return Id}function Md(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p){const g=Nt(),m=ll(g,t,n,r,o,i,s,a,u,c,l,d,f,h);if(m!==Ys){const n=Tt(),o=pn();iu(n,o,g,e,m,g[11],p,!1),ngDevMode&&ku(n.data,o,e,Gt()-6,t,r,i,a,c,d,h)}return Md}function kd(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m){const v=Nt(),y=dl(v,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g);if(y!==Ys){const n=Tt(),o=pn();iu(n,o,v,e,y,v[11],m,!1),ngDevMode&&ku(n.data,o,e,Gt()-7,t,r,i,a,c,d,h,g)}return kd}function jd(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y){const _=Nt(),b=fl(_,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v);if(b!==Ys){const n=Tt(),o=pn();iu(n,o,_,e,b,_[11],y,!1),ngDevMode&&ku(n.data,o,e,Gt()-8,t,r,i,a,c,d,h,g,v)}return jd}function Pd(e,t,n){const r=Nt(),o=ol(r,t);if(o!==Ys){const i=Tt(),s=pn();if(iu(i,s,r,e,o,r[11],n,!1),ngDevMode){const n=[t[0]];for(let e=2;e<t.length;e+=2)n.push(t[e]);ku(i.data,s,e,Gt()-n.length+1,...n)}}return Pd}
|
|
841
|
-
/**
|
|
842
|
-
* @license
|
|
843
|
-
* Copyright Google LLC All Rights Reserved.
|
|
844
|
-
*
|
|
845
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
846
|
-
* found in the LICENSE file at https://angular.io/license
|
|
847
|
-
*/function Nd(e,t,n,r,o,i){ngDevMode&&Ye(Tt());let s=i?t.classBindings:t.styleBindings,a=na(s),u=ia(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||jr(e,c)>0)&&(l=!0)}else c=n;if(o){if(0!==u){const t=na(e[a+1]);e[r+1]=ta(t,a),0!==t&&(e[t+1]=sa(e[t+1],r)),e[a+1]=(d=e[a+1],f=r,ngDevMode&&E(d,"expected number"),ngDevMode&&x(f,0,32767),131071&d|f<<17)}else e[r+1]=ta(a,0),0!==a&&(e[a+1]=sa(e[a+1],r)),a=r}else e[r+1]=ta(u,0),ngDevMode&&A(0!==a&&0===u,!1,"Adding template bindings after hostBindings is not allowed."),0===a?a=r:e[u+1]=sa(e[u+1],r),u=r;var d,f;l&&(e[r+1]=oa(e[r+1])),Td(e,c,r,!0,i),Td(e,c,r,!1,i),function(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&jr(i,t)>=0&&(n[r+1]=ua(n[r+1]))}(t,c,e,r,i),s=ta(a,u),i?t.classBindings=s:t.styleBindings=s}function Td(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?na(i):ia(i),u=!1;for(;0!==a&&(!1===u||s);){ngDevMode&&V(e,a);const n=e[a],o=e[a+1];$d(n,t)&&(u=!0,e[a+1]=r?ua(o):oa(o)),a=r?na(o):ia(o)}u&&(e[n+1]=r?oa(i):ua(i))}function $d(e,t){return ngDevMode&&O(Array.isArray(t),!0,"Expected that 'tStylingKey' has been unwrapped"),null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&jr(e,t)>=0}
|
|
848
|
-
/**
|
|
849
|
-
* @license
|
|
850
|
-
* Copyright Google LLC All Rights Reserved.
|
|
851
|
-
*
|
|
852
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
853
|
-
* found in the LICENSE file at https://angular.io/license
|
|
854
|
-
*/const Fd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Vd(e){return e.substring(Fd.key,Fd.keyEnd)}function Rd(e){return e.substring(Fd.value,Fd.valueEnd)}function Ld(e,t){const n=Fd.textEnd;return n===t?-1:(t=Fd.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Fd.key=t,n),Hd(e,t,n))}function Bd(e,t){const n=Fd.textEnd;let r=Fd.key=Hd(e,t,n);return n===r?-1:(r=Fd.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=zd(e,r,n,58),r=Fd.value=Hd(e,r,n),r=Fd.valueEnd=function(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){const u=e.charCodeAt(s++);if(59===u)return a;34===u||39===u?a=s=qd(e,u,s,n):t===s-4&&85===i&&82===o&&76===r&&40===u?a=s=qd(e,41,s,n):u>32&&(a=s),i=o,o=r,r=-33&u}return a}(e,r,n),zd(e,r,n,59))}function Ud(e){Fd.key=0,Fd.keyEnd=0,Fd.value=0,Fd.valueEnd=0,Fd.textEnd=e.length}function Hd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zd(e,t,n,r){return(t=Hd(e,t,n))<n&&(ngDevMode&&e.charCodeAt(t)!==r&&Gd(e,String.fromCharCode(r),t),t++),t}function qd(e,t,n,r){let o=-1,i=n;for(;i<r;){const n=e.charCodeAt(i++);if(n==t&&92!==o)return i;o=92==n&&92===o?0:n}throw ngDevMode?Gd(e,String.fromCharCode(t),r):new Error}function Gd(e,t,n){throw ngDevMode&&A("string"==typeof e,!0,"String expected here"),$(`Malformed style at location ${n} in string '`+e.substring(0,n)+"[>>"+e.substring(n,n+1)+"<<]"+e.substr(n+1)+`'. Expecting '${t}'.`)}
|
|
855
|
-
/**
|
|
856
|
-
* @license
|
|
857
|
-
* Copyright Google LLC All Rights Reserved.
|
|
858
|
-
*
|
|
859
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
860
|
-
* found in the LICENSE file at https://angular.io/license
|
|
861
|
-
*/function Wd(e,t,n){return Xd(e,t,n,!1),Wd}function Kd(e,t){return Xd(e,t,null,!0),Kd}function Qd(e){ef(sf,Zd,e,!1)}function Zd(e,t){for(let n=function(e){return Ud(e),Bd(e,Hd(e,0,Fd.textEnd))}(t);n>=0;n=Bd(t,n))sf(e,Vd(t),Rd(t))}function Jd(e){ef(Mr,Yd,e,!0)}function Yd(e,t){for(let n=function(e){return Ud(e),Ld(e,Hd(e,0,Fd.textEnd))}(t);n>=0;n=Ld(t,n))Mr(e,Vd(t),!0)}function Xd(e,t,n,r){const o=Nt(),i=Tt(),s=Qt(2);if(i.firstUpdatePass&&nf(i,e,s,r),t!==Ys&&Xc(o,s,t)){af(i,i.data[fn()],o,o[11],e,o[s+1]=function(e,t){null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=l(jo(e))));return e}(t,n),r,s)}}function ef(e,t,n,r){const o=Tt(),i=Qt(2);o.firstUpdatePass&&nf(o,null,i,r);const s=Nt();if(n!==Ys&&Xc(s,i,n)){const a=o.data[fn()];if(lf(a,r)&&!tf(o,i)){if(ngDevMode){const e=o.data[i];A(Array.isArray(e)?e[1]:e,!1,"Styling linked list shadow input should be marked as 'false'")}let e=r?a.classesWithoutHost:a.stylesWithoutHost;ngDevMode&&!1===r&&null!==e&&A(e.endsWith(";"),!0,"Expecting static portion to end with ';'"),null!==e&&(n=d(e,n||"")),rd(o,a,s,n,r)}else!function(e,t,n,r,o,i,s,a){o===Ys&&(o=fe);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;null!==l||null!==d;){ngDevMode&&k(u,999,"Are we stuck in infinite loop?"),ngDevMode&&k(c,999,"Are we stuck in infinite loop?");const f=u<o.length?o[u+1]:void 0,h=c<i.length?i[c+1]:void 0;let p=null,g=void 0;l===d?(u+=2,c+=2,f!==h&&(p=d,g=h)):null===d||null!==l&&l<d?(u+=2,p=l):(ngDevMode&&T(d,"Expecting to have a valid key"),c+=2,p=d,g=h),null!==p&&af(e,t,n,r,p,g,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}(o,a,s,s[11],s[i+1],s[i+1]=function(e,t,n){if(null==n||""===n)return fe;const r=[],o=jo(n);if(Array.isArray(o))for(let t=0;t<o.length;t++)e(r,o[t],!0);else if("object"==typeof o)for(const t in o)o.hasOwnProperty(t)&&e(r,t,o[t]);else"string"==typeof o?t(r,o):ngDevMode&&$("Unsupported styling type "+typeof o+": "+o);return r}(e,t,n),r,i)}}function tf(e,t){return t>=e.expandoStartIndex}function nf(e,t,n,r){ngDevMode&&Ye(e);const o=e.data;if(null===o[n+1]){const i=o[fn()];ngDevMode&&T(i,"TNode expected");const s=tf(e,n);lf(i,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){const o=Xt(e);let i=r?t.residualClasses:t.residualStyles;if(null===o){0===(r?t.classBindings:t.styleBindings)&&(n=of(n=rf(null,e,t,n,r),t.attrs,r),i=null)}else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=rf(o,e,t,n,r),null===i){let n=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0===ia(r))return;return e[na(r)]}(e,t,r);void 0!==n&&Array.isArray(n)&&(n=rf(null,e,t,n[1],r),n=of(n,t.attrs,r),function(e,t,n,r){const o=n?t.classBindings:t.styleBindings;ngDevMode&&O(ia(o),0,"Expecting to have at least one template styling binding."),e[na(o)]=r}(e,t,r,n))}else i=function(e,t,n){let r=void 0;const o=t.directiveEnd;ngDevMode&&O(t.directiveStylingLast,-1,"By the time this function gets called at least one hostBindings-node styling instruction must have executed.");for(let i=1+t.directiveStylingLast;i<o;i++){const t=e[i].hostAttrs;r=of(r,t,n)}return of(r,t.attrs,n)}(e,t,r)}void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i);return n}(o,i,t,r),Nd(o,i,t,n,s,r)}}function rf(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],ngDevMode&&T(i,"expected to be defined"),r=of(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function of(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Mr(e,s,!!n||t[++i]))}return void 0===e?null:e}function sf(e,t,n){Mr(e,t,jo(n))}function af(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,c=u[a+1];if(!cf(aa(c)?uf(u,t,n,o,ia(c),s):void 0)){cf(i)||ra(c)&&(i=uf(u,null,n,o,a,s));!function(e,t,n,r,o){const i=vt(e);if(t)o?(ngDevMode&&ngDevMode.rendererAddClass++,i?e.addClass(n,r):(ngDevMode&&T(n.classList,"HTMLElement expected"),n.classList.add(r))):(ngDevMode&&ngDevMode.rendererRemoveClass++,i?e.removeClass(n,r):n.classList.remove(r));else{let t=-1===r.indexOf("-")?void 0:ns.DashCase;if(null==o)ngDevMode&&ngDevMode.rendererRemoveStyle++,i?e.removeStyle(n,r,t):n.style.removeProperty(r);else{const s="string"==typeof o&&o.endsWith("!important");s&&(o=o.slice(0,-10),t|=ns.Important),ngDevMode&&ngDevMode.rendererSetStyle++,i?e.setStyle(n,r,o,t):(ngDevMode&&T(n.style,"HTMLElement expected"),n.style.setProperty(r,o,s?"important":""))}}}(r,s,bt(fn(),n),o,i)}}function uf(e,t,n,r,o,i){const s=null===t;let a=void 0;for(;o>0;){const t=e[o],i=Array.isArray(t),u=i?t[1]:t,c=null===u;let l=n[o+1];l===Ys&&(l=c?fe:void 0);let d=c?kr(l,r):u===r?l:void 0;if(i&&!cf(d)&&(d=kr(t,r)),cf(d)&&(a=d,s))return a;const f=e[o+1];o=s?na(f):ia(f)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=kr(e,r))}return a}function cf(e){return void 0!==e}function lf(e,t){return 0!=(e.flags&(t?16:32))}
|
|
862
|
-
/**
|
|
863
|
-
* @license
|
|
864
|
-
* Copyright Google LLC All Rights Reserved.
|
|
865
|
-
*
|
|
866
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
867
|
-
* found in the LICENSE file at https://angular.io/license
|
|
868
|
-
*/function df(e,t=""){const n=Nt(),r=Tt(),o=e+20;ngDevMode&&A(Gt(),r.bindingStartIndex,"text nodes should be created before any bindings"),ngDevMode&&V(n,o);const i=r.firstCreatePass?Ha(r,o,1,t,null):r.data[o],s=n[o]=fs(n[11],t);js(r,n,s,i),Lt(i,!1)}
|
|
869
|
-
/**
|
|
870
|
-
* @license
|
|
871
|
-
* Copyright Google LLC All Rights Reserved.
|
|
872
|
-
*
|
|
873
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
874
|
-
* found in the LICENSE file at https://angular.io/license
|
|
875
|
-
*/function ff(e){return hf("",e,""),ff}function hf(e,t,n){const r=Nt(),o=il(r,e,t,n);return o!==Ys&&Vu(r,fn(),o),hf}function pf(e,t,n,r,o){const i=Nt(),s=sl(i,e,t,n,r,o);return s!==Ys&&Vu(i,fn(),s),pf}function gf(e,t,n,r,o,i,s){const a=Nt(),u=al(a,e,t,n,r,o,i,s);return u!==Ys&&Vu(a,fn(),u),gf}function mf(e,t,n,r,o,i,s,a,u){const c=Nt(),l=ul(c,e,t,n,r,o,i,s,a,u);return l!==Ys&&Vu(c,fn(),l),mf}function vf(e,t,n,r,o,i,s,a,u,c,l){const d=Nt(),f=cl(d,e,t,n,r,o,i,s,a,u,c,l);return f!==Ys&&Vu(d,fn(),f),vf}function yf(e,t,n,r,o,i,s,a,u,c,l,d,f){const h=Nt(),p=ll(h,e,t,n,r,o,i,s,a,u,c,l,d,f);return p!==Ys&&Vu(h,fn(),p),yf}function _f(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p){const g=Nt(),m=dl(g,e,t,n,r,o,i,s,a,u,c,l,d,f,h,p);return m!==Ys&&Vu(g,fn(),m),_f}function bf(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m){const v=Nt(),y=fl(v,e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m);return y!==Ys&&Vu(v,fn(),y),bf}function wf(e){const t=Nt(),n=ol(t,e);return n!==Ys&&Vu(t,fn(),n),wf}
|
|
876
|
-
/**
|
|
877
|
-
* @license
|
|
878
|
-
* Copyright Google LLC All Rights Reserved.
|
|
879
|
-
*
|
|
880
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
881
|
-
* found in the LICENSE file at https://angular.io/license
|
|
882
|
-
*/function Df(e,t,n){ef(Mr,Yd,il(Nt(),e,t,n),!0)}function Cf(e,t,n,r,o){ef(Mr,Yd,sl(Nt(),e,t,n,r,o),!0)}function Ef(e,t,n,r,o,i,s){ef(Mr,Yd,al(Nt(),e,t,n,r,o,i,s),!0)}function xf(e,t,n,r,o,i,s,a,u){ef(Mr,Yd,ul(Nt(),e,t,n,r,o,i,s,a,u),!0)}function Sf(e,t,n,r,o,i,s,a,u,c,l){ef(Mr,Yd,cl(Nt(),e,t,n,r,o,i,s,a,u,c,l),!0)}function Af(e,t,n,r,o,i,s,a,u,c,l,d,f){ef(Mr,Yd,ll(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f),!0)}function Of(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p){ef(Mr,Yd,dl(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f,h,p),!0)}function If(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m){ef(Mr,Yd,fl(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m),!0)}function Mf(e){ef(Mr,Yd,ol(Nt(),e),!0)}
|
|
883
|
-
/**
|
|
884
|
-
* @license
|
|
885
|
-
* Copyright Google LLC All Rights Reserved.
|
|
886
|
-
*
|
|
887
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
888
|
-
* found in the LICENSE file at https://angular.io/license
|
|
889
|
-
*/function kf(e,t,n){Qd(il(Nt(),e,t,n))}function jf(e,t,n,r,o){Qd(sl(Nt(),e,t,n,r,o))}function Pf(e,t,n,r,o,i,s){Qd(al(Nt(),e,t,n,r,o,i,s))}function Nf(e,t,n,r,o,i,s,a,u){Qd(ul(Nt(),e,t,n,r,o,i,s,a,u))}function Tf(e,t,n,r,o,i,s,a,u,c,l){Qd(cl(Nt(),e,t,n,r,o,i,s,a,u,c,l))}function $f(e,t,n,r,o,i,s,a,u,c,l,d,f){Qd(ll(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f))}function Ff(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p){Qd(dl(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f,h,p))}function Vf(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m){Qd(fl(Nt(),e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m))}function Rf(e){Qd(ol(Nt(),e))}
|
|
890
|
-
/**
|
|
891
|
-
* @license
|
|
892
|
-
* Copyright Google LLC All Rights Reserved.
|
|
893
|
-
*
|
|
894
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
895
|
-
* found in the LICENSE file at https://angular.io/license
|
|
896
|
-
*/function Lf(e,t,n,r,o){return Xd(e,il(Nt(),t,n,r),o,!1),Lf}function Bf(e,t,n,r,o,i,s){return Xd(e,sl(Nt(),t,n,r,o,i),s,!1),Bf}function Uf(e,t,n,r,o,i,s,a,u){return Xd(e,al(Nt(),t,n,r,o,i,s,a),u,!1),Uf}function Hf(e,t,n,r,o,i,s,a,u,c,l){return Xd(e,ul(Nt(),t,n,r,o,i,s,a,u,c),l,!1),Hf}function zf(e,t,n,r,o,i,s,a,u,c,l,d,f){return Xd(e,cl(Nt(),t,n,r,o,i,s,a,u,c,l,d),f,!1),zf}function qf(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p){return Xd(e,ll(Nt(),t,n,r,o,i,s,a,u,c,l,d,f,h),p,!1),qf}function Gf(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m){return Xd(e,dl(Nt(),t,n,r,o,i,s,a,u,c,l,d,f,h,p,g),m,!1),Gf}function Wf(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y){return Xd(e,fl(Nt(),t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v),y,!1),Wf}function Kf(e,t,n){return Xd(e,ol(Nt(),t),n,!1),Kf}
|
|
897
|
-
/**
|
|
898
|
-
* @license
|
|
899
|
-
* Copyright Google LLC All Rights Reserved.
|
|
900
|
-
*
|
|
901
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
902
|
-
* found in the LICENSE file at https://angular.io/license
|
|
903
|
-
*/function Qf(e,t,n){const r=Nt(),o=Kt();if(Xc(r,o,t)){const i=Tt(),s=pn();iu(i,s,r,e,t,r[11],n,!0),ngDevMode&&ku(i.data,s,e,o)}return Qf}function Zf(e,t,n){const r=Nt(),o=Kt();if(Xc(r,o,t)){const i=Tt(),s=pn();iu(i,s,r,e,t,Tu(Xt(i.data),s,r),n,!0),ngDevMode&&ku(i.data,s,e,o)}return Zf}
|
|
904
|
-
/**
|
|
905
|
-
* @license
|
|
906
|
-
* Copyright Google LLC All Rights Reserved.
|
|
907
|
-
*
|
|
908
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
909
|
-
* found in the LICENSE file at https://angular.io/license
|
|
910
|
-
*/"undefined"==typeof ngI18nClosureMode&&(ce.ngI18nClosureMode="undefined"!=typeof goog&&"function"==typeof goog.getMsg);
|
|
911
|
-
/**
|
|
912
|
-
* @license
|
|
913
|
-
* Copyright Google LLC All Rights Reserved.
|
|
914
|
-
*
|
|
915
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
916
|
-
* found in the LICENSE file at https://angular.io/license
|
|
917
|
-
*/const Jf=void 0;var Yf=["en",[["a","p"],["AM","PM"],Jf],[["AM","PM"],Jf,Jf],[["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"]],Jf,[["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"]],Jf,[["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}",Jf,"{1} 'at' {0}",Jf],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];
|
|
918
|
-
/**
|
|
919
|
-
* @license
|
|
920
|
-
* Copyright Google LLC All Rights Reserved.
|
|
921
|
-
*
|
|
922
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
923
|
-
* found in the LICENSE file at https://angular.io/license
|
|
924
|
-
*/let Xf={};function eh(e,t,n){"string"!=typeof t&&(n=t,t=e[sh.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Xf[t]=e,n&&(Xf[t][sh.ExtraData]=n)}function th(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}
|
|
925
|
-
/**
|
|
926
|
-
* @license
|
|
927
|
-
* Copyright Google LLC All Rights Reserved.
|
|
928
|
-
*
|
|
929
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
930
|
-
* found in the LICENSE file at https://angular.io/license
|
|
931
|
-
*/(e);let n=oh(t);if(n)return n;const r=t.split("-")[0];if(n=oh(r),n)return n;if("en"===r)return Yf;throw new Error(`Missing locale data for the locale "${e}".`)}function nh(e){return th(e)[sh.CurrencyCode]||null}function rh(e){return th(e)[sh.PluralCase]}function oh(e){return e in Xf||(Xf[e]=ce.ng&&ce.ng.common&&ce.ng.common.locales&&ce.ng.common.locales[e]),Xf[e]}function ih(){Xf={}}var sh;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(sh||(sh={}));const ah=["zero","one","two","few","many"];const uh="en-US",ch="USD",lh={marker:"element"},dh={marker:"ICU"};var fh;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(fh||(fh={}));
|
|
932
|
-
/**
|
|
933
|
-
* @license
|
|
934
|
-
* Copyright Google LLC All Rights Reserved.
|
|
935
|
-
*
|
|
936
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
937
|
-
* found in the LICENSE file at https://angular.io/license
|
|
938
|
-
*/
|
|
939
|
-
let hh=uh;function ph(e){T(e,"Expected localeId to be defined"),"string"==typeof e&&(hh=e.toLowerCase().replace(/_/g,"-"))}
|
|
940
|
-
/**
|
|
941
|
-
* @license
|
|
942
|
-
* Copyright Google LLC All Rights Reserved.
|
|
943
|
-
*
|
|
944
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
945
|
-
* found in the LICENSE file at https://angular.io/license
|
|
946
|
-
*/
|
|
947
|
-
function gh(e,t,n){const r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return null===o?Os(e,0,n):(ngDevMode&&V(n,o),_t(n[o]))}function mh(e,t,n,r,o){const i=t.insertBeforeIndex;if(Array.isArray(i)){ngDevMode&&F(r);let s=r,a=null;if(3&t.type||(a=s,s=o),null!==s&&0==(2&t.flags))for(let t=1;t<i.length;t++){Cs(e,s,n[i[t]],a,!1)}}}
|
|
948
|
-
/**
|
|
949
|
-
* @license
|
|
950
|
-
* Copyright Google LLC All Rights Reserved.
|
|
951
|
-
*
|
|
952
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
953
|
-
* found in the LICENSE file at https://angular.io/license
|
|
954
|
-
*/function vh(e,t){if(ngDevMode&&A(t.insertBeforeIndex,null,"We expect that insertBeforeIndex is not set"),e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];yh(r)||_h(r,t)&&null===bh(r)&&wh(r,t.index)}}function yh(e){return!(64&e.type)}function _h(e,t){return yh(t)||e.index>t.index}function bh(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function wh(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ks(gh,mh),e.insertBeforeIndex=t)}
|
|
955
|
-
/**
|
|
956
|
-
* @license
|
|
957
|
-
* Copyright Google LLC All Rights Reserved.
|
|
958
|
-
*
|
|
959
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
960
|
-
* found in the LICENSE file at https://angular.io/license
|
|
961
|
-
*/function Dh(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;!ngDevMode||n.hasOwnProperty("tViews")||n.hasOwnProperty("currentCaseLViewIndex")||$("We expect to get 'null'|'TIcu'|'TIcuContainer', but got: "+n);const r=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return ngDevMode&&qe(r),r}function Ch(e,t,n){const r=za(e,n,64,null,null);return vh(t,r),r}function Eh(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function xh(e){return e>>>17}function Sh(e){return(131070&e)>>>1}function Ah(e){return 1&e}
|
|
962
|
-
/**
|
|
963
|
-
* @license
|
|
964
|
-
* Copyright Google LLC All Rights Reserved.
|
|
965
|
-
*
|
|
966
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
967
|
-
* found in the LICENSE file at https://angular.io/license
|
|
968
|
-
*/
|
|
969
|
-
let Oh=0,Ih=0;function Mh(e,t,n,r,o){for(let i=0;i<n.length;i++){const s=n[i],a=n[++i];if(s&o){let o="";for(let s=i+1;s<=i+a;s++){const i=n[s];if("string"==typeof i)o+=i;else if("number"==typeof i)if(i<0)o+=_(t[r-i]);else{const a=i>>>2;switch(3&i){case 1:const i=n[++s],u=n[++s],c=e.data[a];ngDevMode&&T(c,"Experting TNode or string"),"string"==typeof c?yu(t[11],t[a],null,c,i,o,u):iu(e,c,t,i,o,t[11],u,!1);break;case 0:const l=t[a];null!==l&&hs(t[11],l,o);break;case 2:jh(e,Dh(e,a),t,o);break;case 3:kh(e,Dh(e,a),r,t)}}}}else{const o=n[i+1];if(o>0&&3==(3&o)){const n=Dh(e,o>>>2);t[n.currentCaseLViewIndex]<0&&kh(e,n,r,t)}}i+=a}}function kh(e,t,n,r){ngDevMode&&V(r,t.currentCaseLViewIndex);let o=r[t.currentCaseLViewIndex];if(null!==o){let i=Oh;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Mh(e,r,t.update[o],n,i)}}function jh(e,t,n,r){const o=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=rh(t)(parseInt(e,10)),r=ah[n];return void 0!==r?r:"other"}(t,hh);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}
|
|
970
|
-
/**
|
|
971
|
-
* @license
|
|
972
|
-
* Copyright Google LLC All Rights Reserved.
|
|
973
|
-
*
|
|
974
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
975
|
-
* found in the LICENSE file at https://angular.io/license
|
|
976
|
-
*/(t,r);if(Eh(t,n)!==o&&(function e(t,n,r){let o=Eh(n,r);if(null!==o){const i=n.remove[o];for(let n=0;n<i.length;n++){const o=i[n];if(o>0){const e=bt(o,r);null!==e&&Ts(r[11],e)}else e(t,Dh(t,~o),r)}}}(e,t,n),n[t.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const r=n[t.anchorIdx];r&&(ngDevMode&&F(r),function e(t,n,r,o){ngDevMode&&F(o);const i=r[11];let s,a=null;for(let u=0;u<n.length;u++){const c=n[u];if("string"==typeof c){const e=n[++u];null===r[e]&&(ngDevMode&&ngDevMode.rendererCreateTextNode++,ngDevMode&&V(r,e),r[e]=fs(i,c))}else if("number"==typeof c)switch(1&c){case 0:const l=xh(c);let d,f;if(null===a&&(a=l,s=Ss(i,o)),l===a?(d=o,f=s):(d=null,f=_t(r[l])),null!==f){ngDevMode&&F(f);const n=Sh(c);ngDevMode&&P(n,20,"Missing ref");const o=r[n];ngDevMode&&F(o),Cs(i,f,o,d,!1);const s=Dh(t,n);if(null!==s&&"object"==typeof s){ngDevMode&&qe(s);const n=Eh(s,r);null!==n&&e(t,s.create[n],r,r[s.anchorIdx])}}break;case 1:const h=c>>>1,p=n[++u],g=n[++u];yu(i,bt(h,r),null,null,p,g,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case dh:const e=n[++u],t=n[++u];if(null===r[t]){ngDevMode&&A(typeof e,"string",`Expected "${e}" to be a comment node value`),ngDevMode&&ngDevMode.rendererCreateComment++,ngDevMode&&Xe(r,t);Ii(r[t]=ps(i,e),r)}break;case lh:const o=n[++u],s=n[++u];if(null===r[s]){ngDevMode&&A(typeof o,"string",`Expected "${o}" to be an element node tag name`),ngDevMode&&ngDevMode.rendererCreateElement++,ngDevMode&&Xe(r,s);Ii(r[s]=gs(i,o,null),r)}break;default:ngDevMode&&$(`Unable to determine the type of mutate operation for "${c}"`)}}}(e,t.create[o],n,r))}}function Ph(){const e=[];let t,n,r=-1;function o(e,t){r=0;const o=Eh(e,t);null!==o?(ngDevMode&&x(o,0,e.cases.length-1),n=e.remove[o]):n=fe}function i(){if(r<n.length){const s=n[r++];if(ngDevMode&&E(s,"Expecting OpCode number"),s>0){const e=t[s];return ngDevMode&&F(e),e}{e.push(r,n);const a=~s,u=t[1].data[a];return ngDevMode&&qe(u),o(u,t),i()}}return 0===e.length?null:(n=e.pop(),r=e.pop(),i())}return function(n,r){for(t=r;e.length;)e.pop();return ngDevMode&&Ue(n,r),o(n.value,r),i}}
|
|
977
|
-
/**
|
|
978
|
-
* @license
|
|
979
|
-
* Copyright Google LLC All Rights Reserved.
|
|
980
|
-
*
|
|
981
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
982
|
-
* found in the LICENSE file at https://angular.io/license
|
|
983
|
-
*/function Nh(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e++],o=t[e],i=(r&fh.COMMENT)===fh.COMMENT,s=(r&fh.APPEND_EAGERLY)===fh.APPEND_EAGERLY,a=r>>>fh.SHIFT;n.push(`lView[${a}] = document.${i?"createComment":"createText"}(${JSON.stringify(o)});`),s&&n.push(`parent.appendChild(lView[${a}]);`)}return n}function Th(e){const t=new Vh(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=e>>>2;switch(3&e){case 0:return`(lView[${n}] as Text).textContent = $$$`;case 1:const e=t.consumeString(),r=t.consumeFunction();return`(lView[${n}] as Element).setAttribute('${e}', ${r?`(${r})($$$)`:"$$$"})`;case 2:return`icuSwitchCase(${n}, $$$)`;case 3:return`icuUpdateCase(${n})`}throw new Error("unexpected OpCode")}for(;t.hasMore();){let e=t.consumeNumber(),o=t.consumeNumber();const i=t.i+o,s=[];let a="";for(;t.i<i;){let e=t.consumeNumberOrString();if("string"==typeof e)a+=e;else if(e<0)a+="${lView[i"+e+"]}";else{const t=r(e);s.push(t.replace("$$$","`"+a+"`")+";"),a=""}}n.push(`if (mask & 0b${e.toString(2)}) { ${s.join(" ")} }`)}return n}function $h(e){const t=new Vh(e||(Array.isArray(this)?this:[]));let n=[];function r(e){const n=xh(e),r=Sh(e);switch(Ah(e)){case 0:return`(lView[${n}] as Element).appendChild(lView[${o}])`;case 1:return`(lView[${r}] as Element).setAttribute("${t.consumeString()}", "${t.consumeString()}")`}throw new Error("Unexpected OpCode: "+Ah(e))}let o=-1;for(;t.hasMore();){let e=t.consumeNumberStringOrMarker();if(e===dh){const e=t.consumeString();o=t.consumeNumber(),n.push(`lView[${o}] = document.createComment("${e}")`)}else if(e===lh){const e=t.consumeString();o=t.consumeNumber(),n.push(`lView[${o}] = document.createElement("${e}")`)}else if("string"==typeof e)o=t.consumeNumber(),n.push(`lView[${o}] = document.createTextNode("${e}")`);else{if("number"!=typeof e)throw new Error("Unexpected value");{const t=r(e);t&&n.push(t)}}}return n}function Fh(e){const t=e||(Array.isArray(this)?this:[]);let n=[];for(let e=0;e<t.length;e++){const r=t[e];r>0?n.push(`remove(lView[${r}])`):n.push(`removeNestedICU(${~r})`)}return n}class Vh{constructor(e){this.i=0,this.codes=e}hasMore(){return this.i<this.codes.length}consumeNumber(){let e=this.codes[this.i++];return E(e,"expecting number in OpCode"),e}consumeString(){let e=this.codes[this.i++];return S(e,"expecting string in OpCode"),e}consumeFunction(){let e=this.codes[this.i++];if(null===e||"function"==typeof e)return e;throw new Error("expecting function in OpCode")}consumeNumberOrString(){let e=this.codes[this.i++];return"string"==typeof e||E(e,"expecting number or string in OpCode"),e}consumeNumberStringOrMarker(){let e=this.codes[this.i++];return"string"==typeof e||"number"==typeof e||e==dh||e==lh||E(e,"expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode"),e}}
|
|
984
|
-
/**
|
|
985
|
-
* @license
|
|
986
|
-
* Copyright Google LLC All Rights Reserved.
|
|
987
|
-
*
|
|
988
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
989
|
-
* found in the LICENSE file at https://angular.io/license
|
|
990
|
-
*/const Rh=/�(\d+):?\d*�/gi,Lh=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,Bh=/�(\d+)�/,Uh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Hh=/�\/?\*(\d+:\d+)�/gi,zh=/�(\/?[#*]\d+):?\d*�/gi,qh=/\uE500/g;function Gh(e,t,n,r,o,i){const s=Rt(),a=[],u=[],c=[[]];ngDevMode&&(la(a,Nh),la(u,Th)),o=function(e,t){if(function(e){return-1===e}(t))return Yh(e);{const n=e.indexOf(`:${t}�`)+2+t.toString().length,r=e.search(new RegExp(`�\\/\\*\\d+:${t}�`));return Yh(e.substring(n,r))}}(o,i);const l=(d=o,d.replace(qh," ")).split(zh);var d;for(let i=0;i<l.length;i++){let d=l[i];if(0==(1&i)){const i=tp(d);for(let l=0;l<i.length;l++){let d=i[l];if(0==(1&l)){const t=d;ngDevMode&&S(t,"Parsed ICU part should be string"),""!==t&&Kh(e,s,c[0],a,u,n,t)}else{const i=d;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${o}" message.`);const l=Wh(e,s,c[0],n,a,ngDevMode?`ICU ${r}:${i.mainBinding}`:"",!0).index;ngDevMode&&N(l,20,"Index must be in absolute LView offset"),Xh(e,n,u,t,i,l)}}}else{const t=47===d.charCodeAt(0),n=d.charCodeAt(t?1:0);ngDevMode&&R(n,42,35);const r=20+Number.parseInt(d.substring(t?2:1));if(t)c.shift(),Lt(Rt(),!1);else{const t=Ch(e,c[0],r);c.unshift([]),Lt(t,!0)}}}e.data[r]={create:a,update:u}}function Wh(e,t,n,r,o,i,s){const a=qa(e,r,1,null);let u=a<<fh.SHIFT,c=Rt();var l;
|
|
991
|
-
/**
|
|
992
|
-
* @license
|
|
993
|
-
* Copyright Google LLC All Rights Reserved.
|
|
994
|
-
*
|
|
995
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
996
|
-
* found in the LICENSE file at https://angular.io/license
|
|
997
|
-
*/t===c&&(c=null),null===c&&(u|=fh.APPEND_EAGERLY),s&&(u|=fh.COMMENT,l=Ph,void 0===rs&&(rs=l())),o.push(u,null===i?"":i);const d=za(e,a,s?32:1,null===i?ngDevMode?"{{?}}":"":i,null);vh(n,d);const f=d.index;return Lt(d,!1),null!==c&&t!==c&&function(e,t){ngDevMode&&ze(e);let n=e.insertBeforeIndex;null===n?(ks(gh,mh),n=e.insertBeforeIndex=[null,t]):(A(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,f),d}function Kh(e,t,n,r,o,i,s){const a=s.match(Rh),u=Wh(e,t,n,i,r,a?null:s,!1);a&&Qh(o,s,u.index,null,0,null)}function Qh(e,t,n,r,o,i){ngDevMode&&N(n,20,"Index must be in absolute LView offset");const s=e.length,a=s+1;e.push(null,null);const u=s+2;ngDevMode&&la(e,Th);const c=t.split(Rh);let l=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=o+parseInt(n,10);e.push(-1-t),l|=Jh(t)}else""!==n&&e.push(n)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=l,e[a]=e.length-u,l}function Zh(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Jh(e){return 1<<Math.min(e,31)}function Yh(e){let t,n,r="",o=0,i=!1;for(;null!==(t=Hh.exec(e));)i?t[0]===`�/*${n}�`&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return ngDevMode&&A(i,!1,`Tag mismatch: unable to find the end of the sub-template in the translation "${e}"`),r+=e.substr(o),r}function Xh(e,t,n,r,o,i){ngDevMode&&T(o,"ICU expression must be defined");let s=0;const a={type:o.type,currentCaseLViewIndex:qa(e,t,1,null),anchorIdx:i,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(Jh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,o,i),function(e,t,n){const r=e.data[t];ngDevMode&&A(null===r||r.hasOwnProperty("tViews"),!0,"We expect to get 'null'|'TIcuContainer'"),null===r?e.data[t]=n:(ngDevMode&&Sn(r,32),r.value=n)}(e,i,a);const u=o.values;for(let i=0;i<u.length;i++){const c=u[i],l=[];for(let e=0;e<c.length;e++){const t=c[e];if("string"!=typeof t){const n=l.push(t)-1;c[e]=`\x3c!--�${n}�--\x3e`}}s=np(e,a,t,n,r,o.cases[i],c.join(""),l)|s}s&&function(e,t,n){e.push(t,1,n<<2|3)}(n,s,i)}function ep(e){const t=[],n=[];let r=1,o=0;const i=tp(e=e.replace(Uh,(function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})));for(let e=0;e<i.length;){let o=i[e++].trim();1===r&&(o=o.replace(/\s*(?:=)?(\w+)\s*/,"$1")),o.length&&t.push(o);const s=tp(i[e++]);t.length>n.length&&n.push(s)}return{type:r,mainBinding:o,cases:t,values:n}}function tp(e){if(!e)return[];let t=0;const n=[],r=[],o=/[{}]/g;let i;for(o.lastIndex=0;i=o.exec(e);){const o=i.index;if("}"==i[0]){if(n.pop(),0==n.length){const n=e.substring(t,o);Uh.test(n)?r.push(ep(n)):r.push(n),t=o+1}}else{if(0==n.length){const n=e.substring(t,o);r.push(n),t=o+1}n.push("{")}}const s=e.substring(t);return r.push(s),r}function np(e,t,n,r,o,i,s,a){const u=[],c=[],l=[];ngDevMode&&(la(u,$h),la(c,Fh),la(l,Th)),t.cases.push(i),t.create.push(u),t.remove.push(c),t.update.push(l);const d=Lo(gt()).getInertBodyElement(s);ngDevMode&&T(d,"Unable to generate inert body element");const f=pi(d)||d;return f?function e(t,n,r,o,i,s,a,u,c,l,d){let f=0,h=u.firstChild;for(;h;){const u=qa(t,r,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,g=p.tagName.toLowerCase();if(ti.hasOwnProperty(g)){ip(i,lh,g,c,u),t.data[u]=g;const m=p.attributes;for(let e=0;e<m.length;e++){const t=m.item(e),n=t.name.toLowerCase();!!t.value.match(Rh)?si.hasOwnProperty(n)?ni[n]?Qh(a,t.value,u,t.name,0,qo):ri[n]?Qh(a,t.value,u,t.name,0,Go):Qh(a,t.value,u,t.name,0,null):ngDevMode&&console.warn(`WARNING: ignoring unsafe attribute value ${n} on element ${g} (see https://g.co/ng/security#xss)`):sp(i,u,t)}f=e(t,n,r,o,i,s,a,h,u,l,d+1)|f,rp(s,u,d)}break;case Node.TEXT_NODE:const m=h.textContent||"",v=m.match(Rh);ip(i,null,v?"":m,c,u),rp(s,u,d),v&&(f=Qh(a,m,u,null,0,null)|f);break;case Node.COMMENT_NODE:const y=Bh.exec(h.textContent||"");if(y){const e=parseInt(y[1],10),n=l[e];ip(i,dh,ngDevMode?"nested ICU "+e:"",c,u),Xh(t,r,o,c,n,u),op(s,u,d)}}h=h.nextSibling}return f}(e,t,n,r,u,c,l,f,o,a,0):0}function rp(e,t,n){0===n&&e.push(t)}function op(e,t,n){0===n&&(e.push(~t),e.push(t))}function ip(e,t,n,r,o){var i,s,a;null!==t&&e.push(t),e.push(n,o,(i=0,s=r,a=o,ngDevMode&&N(s,0,"Missing parent index"),ngDevMode&&P(a,0,"Missing ref index"),i|s<<17|a<<1))}function sp(e,t,n){e.push(t<<1|1,n.name,n.value)}
|
|
998
|
-
/**
|
|
999
|
-
* @license
|
|
1000
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1001
|
-
*
|
|
1002
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1003
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1004
|
-
*/const ap=/\[(�.+?�?)\]/,up=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,cp=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,lp=/{([A-Z0-9_]+)}/g,dp=/�I18N_EXP_(ICU(_\d+)?)�/g,fp=/\/\*/,hp=/\d+\:(\d+)/;function pp(e,t={}){let n=e;if(ap.test(e)){const e={},t=[0];n=n.replace(up,(n,r,o)=>{const i=r||o,s=e[i]||[];if(s.length||(i.split("|").forEach(e=>{const t=e.match(hp),n=t?parseInt(t[1],10):0,r=fp.test(e);s.push([n,r,e])}),e[i]=s),!s.length)throw new Error("i18n postprocess: unmatched placeholder - "+i);const a=t[t.length-1];let u=0;for(let e=0;e<s.length;e++)if(s[e][0]===a){u=e;break}const[c,l,d]=s[u];return l?t.pop():a!==c&&t.push(c),s.splice(u,1),d})}return Object.keys(t).length?(n=n.replace(cp,(e,n,r,o,i,s)=>t.hasOwnProperty(r)?`${n}${t[r]}${s}`:e),n=n.replace(lp,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(dp,(e,n)=>{if(t.hasOwnProperty(n)){const r=t[n];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return r.shift()}return e}),n):n}
|
|
1005
|
-
/**
|
|
1006
|
-
* @license
|
|
1007
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1008
|
-
*
|
|
1009
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1010
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1011
|
-
*/function gp(e,t,n=-1){const r=Tt(),o=Nt(),i=20+e;ngDevMode&&T(r,"tView should be defined");const s=At(r.consts,t),a=Rt();r.firstCreatePass&&Gh(r,null===a?0:a.index,o,i,s,n);const u=r.data[i],c=Ds(r,a===o[6]?null:a,o),l=a&&8&a.type?o[a.index]:null;!function(e,t,n,r){const o=e[11];for(let i=0;i<t.length;i++){const s=t[i++],a=t[i],u=(s&fh.COMMENT)===fh.COMMENT,c=(s&fh.APPEND_EAGERLY)===fh.APPEND_EAGERLY,l=s>>>fh.SHIFT;let d=e[l];null===d&&(d=e[l]=u?o.createComment(a):fs(o,a)),c&&null!==n&&Cs(o,n,d,r,!1)}}(o,u.create,c,l),Zt(!0)}function mp(){Zt(!1)}function vp(e,t,n){gp(e,t,n),mp()}function yp(e,t){const n=Tt();ngDevMode&&T(n,"tView should be defined");!function(e,t,n){const r=Ft().index,o=[];if(ngDevMode&&la(o,Th),e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],i=n[e+1];if(""!==i){if(Lh.test(i))throw new Error(`ICU expressions are not supported in attributes. Message: "${i}".`);Qh(o,i,r,t,Zh(o),null)}}e.data[t]=o}}(n,e+20,At(n.consts,t))}function _p(e){const t=Nt();return Xc(t,Kt(),e)&&(Oh|=1<<Math.min(Ih,31)),Ih++,_p}function bp(e){!function(e,t,n){if(Ih>0){ngDevMode&&T(e,"tView should be defined");const r=e.data[n];Mh(e,t,Array.isArray(r)?r:r.update,Gt()-Ih-1,Oh)}Oh=0,Ih=0}(Tt(),Nt(),e+20)}function wp(e,t={}){return pp(e,t)}
|
|
1012
|
-
/**
|
|
1013
|
-
* @license
|
|
1014
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1015
|
-
*
|
|
1016
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1017
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1018
|
-
*/
|
|
1019
|
-
/**
|
|
1020
|
-
* @license
|
|
1021
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1022
|
-
*
|
|
1023
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1024
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1025
|
-
*/function Dp(e,t,n,r,o){if(e=p(e),Array.isArray(e))for(let i=0;i<e.length;i++)Dp(e[i],t,n,r,o);else{const i=Tt(),s=Nt();let a=nc(e)?e:p(e.provide),u=Xu(e);const c=Ft(),l=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(nc(e)||!e.multi){const r=new En(u,o,ed),h=xp(a,t,o?l:l+f,d);-1===h?(Un(Vn(c,s),i,a),Cp(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(r),s.push(r)):(n[h]=r,s[h]=r)}else{const h=xp(a,t,l+f,d),p=xp(a,t,l,l+f),g=h>=0&&n[h],m=p>=0&&n[p];if(o&&!m||!o&&!g){Un(Vn(c,s),i,a);const l=function(e,t,n,r,o){const i=new En(e,n,ed);return i.multi=[],i.index=t,i.componentProviders=0,Ep(i,o,r&&!n),i}(o?Ap:Sp,n.length,o,r,u);!o&&m&&(n[p].providerFactory=l),Cp(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(l),s.push(l)}else{Cp(i,e,h>-1?h:p,Ep(n[o?p:h],u,!o&&r))}!o&&r&&m&&n[p].componentProviders++}}}function Cp(e,t,n,r){const o=nc(t);if(o||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const s=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){ngDevMode&&T(r,"indexInFactory when registering multi factory destroy hook");const e=s.indexOf(n);-1===e?s.push(n,[r,i]):s[e+1].push(r,i)}else s.push(n,i)}}}function Ep(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function xp(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Sp(e,t,n,r){return Op(this.multi,[])}function Ap(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Jn(n,n[1],this.providerFactory.index,r);i=t.slice(0,e),Op(o,i);for(let n=e;n<t.length;n++)i.push(t[n])}else i=[],Op(o,i);return i}function Op(e,t){for(let n=0;n<e.length;n++){const r=e[n];t.push(r())}return t}function Ip(e,t=[]){return n=>{n.providersResolver=(n,r)=>function(e,t,n){const r=Tt();if(r.firstCreatePass){const o=Be(e);Dp(n,r.data,r.blueprint,o,!0),Dp(t,r.data,r.blueprint,o,!1)}}(n,r?r(e):e,t)}}
|
|
1026
|
-
/**
|
|
1027
|
-
* @license
|
|
1028
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1029
|
-
*
|
|
1030
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1031
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1032
|
-
*/class Mp{}class kp{}
|
|
1033
|
-
/**
|
|
1034
|
-
* @license
|
|
1035
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1036
|
-
*
|
|
1037
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1038
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1039
|
-
*/function jp(e){const t=Error(`No component factory found for ${l(e)}. Did you add it to @NgModule.entryComponents?`);return t[Pp]=e,t}const Pp="ngComponent";class Np{}Np.NULL=new class{resolveComponentFactory(e){throw jp(e)}};class Tp{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let t=0;t<e.length;t++){const n=e[t];this._factories.set(n.componentType,n)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw jp(e);return new $p(t,this._ngModule)}}class $p extends kp{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}
|
|
1040
|
-
/**
|
|
1041
|
-
* @license
|
|
1042
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1043
|
-
*
|
|
1044
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1045
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1046
|
-
*/function Fp(...e){}
|
|
1047
|
-
/**
|
|
1048
|
-
* @license
|
|
1049
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1050
|
-
*
|
|
1051
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1052
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1053
|
-
*/function Vp(){return Rp(Ft(),Nt())}function Rp(e,t){return new Up(wt(e,t))}const Lp=Vp,Bp=Fp;class Up{constructor(e){this.nativeElement=e}}function Hp(e){return e instanceof Up?e.nativeElement:e}
|
|
1054
|
-
/**
|
|
1055
|
-
* @license
|
|
1056
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1057
|
-
*
|
|
1058
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1059
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1060
|
-
*/Up.__NG_ELEMENT_ID__=Bp;new hr("Renderer2Interceptor");class zp{}class qp{}qp.__NG_ELEMENT_ID__=()=>Wp();const Gp=Kp,Wp=Fp;function Kp(){const e=Nt(),t=Et(Ft().index,e);return function(e){const t=e[11];if(ngDevMode&&!vt(t))throw new Error("Cannot inject Renderer2 when the application uses Renderer3!");return t}($e(t)?t:e)}
|
|
1061
|
-
/**
|
|
1062
|
-
* @license
|
|
1063
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1064
|
-
*
|
|
1065
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1066
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1067
|
-
*/class Qp{}Qp.ɵprov=L({token:Qp,providedIn:"root",factory:()=>null});
|
|
1068
|
-
/**
|
|
1069
|
-
* @license
|
|
1070
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1071
|
-
*
|
|
1072
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1073
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1074
|
-
*/
|
|
1075
|
-
class Zp{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Jp=new Zp("12.1.4");
|
|
1076
|
-
/**
|
|
1077
|
-
* @license
|
|
1078
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1079
|
-
*
|
|
1080
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1081
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1082
|
-
*/class Yp{constructor(){}supports(e){return Qc(e)}create(e){return new eg(e)}}const Xp=(e,t)=>t;class eg{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Xp}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;){const i=!n||t&&t.currentIndex<og(n,r,o)?t:n,s=og(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<o.length?o[n]:o[n]=0,i=r+n;t<=i&&i<e&&(o[n]=r+1)}o[i.previousIndex]=t-e}}s!==a&&e(i,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Qc(e))throw new Error(`Error trying to diff '${l(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,o=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==o&&Object.is(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,n,r,t)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,t),i=!0),o=o._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Gc()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==o&&Object.is(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,e,r,t)),Object.is(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),i=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new tg(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rg),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rg),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class tg{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class ng{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class rg{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new ng,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function og(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
|
|
1083
|
-
/**
|
|
1084
|
-
* @license
|
|
1085
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1086
|
-
*
|
|
1087
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1088
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1089
|
-
*/class ig{constructor(){}supports(e){return e instanceof Map||Zc(e)}create(){return new sg}}class sg{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Zc(e)))throw new Error(`Error trying to diff '${l(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new ag(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class ag{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}
|
|
1090
|
-
/**
|
|
1091
|
-
* @license
|
|
1092
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1093
|
-
*
|
|
1094
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1095
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1096
|
-
*/function ug(){return new cg([new Yp])}class cg{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new cg(e)}static extend(e){return{provide:cg,useFactory:t=>cg.create(e,t||ug()),deps:[[cg,new oo,new no]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n;
|
|
1097
|
-
/**
|
|
1098
|
-
* @license
|
|
1099
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1100
|
-
*
|
|
1101
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1102
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1103
|
-
*/}}function lg(){return new dg([new ig])}cg.ɵprov=L({token:cg,providedIn:"root",factory:ug});class dg{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new dg(e)}static extend(e){return{provide:dg,useFactory:t=>dg.create(e,t||lg()),deps:[[dg,new oo,new no]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}dg.ɵprov=L({token:dg,providedIn:"root",factory:lg});
|
|
1104
|
-
/**
|
|
1105
|
-
* @license
|
|
1106
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1107
|
-
*
|
|
1108
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1109
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1110
|
-
*/
|
|
1111
|
-
class fg{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];
|
|
1112
|
-
/**
|
|
1113
|
-
* @license
|
|
1114
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1115
|
-
*
|
|
1116
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1117
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1118
|
-
*/
|
|
1119
|
-
return function e(t,n,r,o,i=!1){for(;null!==r;){ngDevMode&&Sn(r,63);const s=n[r.index];if(null!==s&&o.push(_t(s)),Fe(s))for(let t=10;t<s.length;t++){const n=s[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,o)}const a=r.type;if(8&a)e(t,n,r.child,o);else if(32&a){const e=os(r,n);let t;for(;t=e();)o.push(t)}else if(16&a){const t=Ps(n,r);if(Array.isArray(t))o.push(...t);else{const r=is(n[16]);ngDevMode&&tt(r),e(r[1],r,t,o,!0)}}r=i?r.projectionNext:r.next}return o}(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(Fe(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(ngDevMode&&A(n,e.indexOf(this._lView)-10,"An attached view should be in the same position within its container as its ViewRef in the VIEW_REFS array."),ys(e,n),Or(t,n))}this._attachedToViewContainer=!1}_s(this._lView[1],this._lView)}onDestroy(e){ru(this._lView[1],this._lView,null,e)}markForCheck(){Su(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ou(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){zt(!0);try{Ou(e,t,n)}finally{zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e,t;this._appRef=null,e=this._lView[1],t=this._lView,Fs(e,t,t[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class hg extends fg{constructor(e){super(e),this._view=e}detectChanges(){Iu(this._view)}checkNoChanges(){!function(e){zt(!0);try{Iu(e)}finally{zt(!1)}}(this._view)}get context(){return null}}
|
|
1120
|
-
/**
|
|
1121
|
-
* @license
|
|
1122
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1123
|
-
*
|
|
1124
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1125
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1126
|
-
*/const pg=vg,gg=Fp;class mg{}function vg(e){return function(e,t,n){if(Re(e)&&!n){const n=Et(e.index,t);return new fg(n,n)}if(47&e.type){const e=t[16];return new fg(e,t)}return null}
|
|
1127
|
-
/**
|
|
1128
|
-
* @license
|
|
1129
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1130
|
-
*
|
|
1131
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1132
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1133
|
-
*/(Ft(),Nt(),16==(16&e))}mg.__NG_ELEMENT_ID__=gg;const yg=[new ig],_g=[new Yp],bg=new cg(_g),wg=new dg(yg),Dg=Ag,Cg=Fp;class Eg{}Eg.__NG_ELEMENT_ID__=Cg;const xg=Eg,Sg=class extends xg{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Ua(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null),r=this._declarationLView[this._declarationTContainer.index];ngDevMode&&Ke(r),n[17]=r;const o=this._declarationLView[19];return null!==o&&(n[19]=o.createEmbeddedView(t)),Ga(t,n,e),new fg(n)}};function Ag(){return Og(Ft(),Nt())}function Og(e,t){return 4&e.type?(ngDevMode&&T(e.tViews,"TView must be allocated"),new Sg(t,e,Rp(e,t))):null}
|
|
1134
|
-
/**
|
|
1135
|
-
* @license
|
|
1136
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1137
|
-
*
|
|
1138
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1139
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1140
|
-
*/class Ig{}class Mg{}
|
|
1141
|
-
/**
|
|
1142
|
-
* @license
|
|
1143
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1144
|
-
*
|
|
1145
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1146
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1147
|
-
*/const kg=Ng,jg=Fp;class Pg{}function Ng(){return Rg(Ft(),Nt())}Pg.__NG_ELEMENT_ID__=jg;const Tg=Pg,$g=class extends Tg{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Rp(this._hostTNode,this._hostLView)}get injector(){return new er(this._hostTNode,this._hostLView)}get parentInjector(){const e=Bn(this._hostTNode,this._hostLView);if(jn(e)){const t=Nn(e,this._hostLView),n=Pn(e);ngDevMode&&nt(t,n);const r=t[1].data[n+8];return new er(r,t)}return new er(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Fg(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){const e=i.get(Ig,null);e&&(o=e)}const s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(ngDevMode&&e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(Fe(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3];ngDevMode&&A(Fe(t),!0,"An attached view should have its PARENT point to a container.");const r=new $g(t,t[6],t[3]);r.detach(r.indexOf(e))}}const o=this._adjustIndex(t),i=this._lContainer;ms(r,n,i,o);const s=Ns(o,i),a=n[11],u=Ss(a,i[7]);return null!==u&&function(e,t,n,r,o,i){r[0]=o,r[6]=t,Fs(e,r,n,1,o,i)}(r,i[6],a,n,u,s),e.attachToViewContainerRef(),Ar(Vg(i),o,e),e}move(e,t){if(ngDevMode&&e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=Fg(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=ys(this._lContainer,t);n&&(Or(Vg(this._lContainer),t),_s(n[1],n))}detach(e){const t=this._adjustIndex(e,-1),n=ys(this._lContainer,t);return n&&null!=Or(Vg(this._lContainer),t)?new fg(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:(ngDevMode&&(P(e,-1,"ViewRef index must be positive, got "+e),k(e,this.length+1+t,"index")),e)}};function Fg(e){return e[8]}function Vg(e){return e[8]||(e[8]=[])}function Rg(e,t){let n;ngDevMode&&Sn(e,15);const r=t[e.index];if(Fe(r))n=r;else{let o;if(8&e.type)o=_t(r);else{const n=t[11];ngDevMode&&ngDevMode.rendererCreateComment++,o=n.createComment(ngDevMode?"container":"");const r=wt(e,t);Cs(n,Ss(n,r),o,function(e,t){return vt(e)?e.nextSibling(t):t.nextSibling}(n,r),!1)}t[e.index]=n=Du(r,t,o,e),xu(t,n)}return new $g(n,e,t)}
|
|
1148
|
-
/**
|
|
1149
|
-
* @license
|
|
1150
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1151
|
-
*
|
|
1152
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1153
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1154
|
-
*/function Lg(e,t,n,r){let o=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return Bg(n,t),n}(o,e)}function Bg(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function Ug(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
1155
|
-
/**
|
|
1156
|
-
* @license
|
|
1157
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1158
|
-
*
|
|
1159
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1160
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1161
|
-
*/function Hg(e,t,n){const r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function zg(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function qg(e,t){return e.nodes[t]}function Gg(e,t){return e.nodes[t]}function Wg(e,t){return e.nodes[t]}function Kg(e,t){return e.nodes[t]}function Qg(e,t){return e.nodes[t]}class Zg{}const Jg={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},Yg=()=>{},Xg=new Map;
|
|
1162
|
-
/**
|
|
1163
|
-
* @license
|
|
1164
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1165
|
-
*
|
|
1166
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1167
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1168
|
-
*/function em(e){let t=Xg.get(e);return t||(t=l(e)+"_"+Xg.size,Xg.set(e,t)),t}function tm(e,t,n,r){if(Kc.isWrapped(r)){r=Kc.unwrap(r);const o=e.def.nodes[t].bindingIndex+n,i=Kc.unwrap(e.oldValues[o]);e.oldValues[o]=new Kc(i)}return r}function nm(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let rm=0;function om(e,t,n,r){const o=e.oldValues;return!(!(2&e.state)&&Object.is(o[t.bindingIndex+n],r))}function im(e,t,n,r){return!!om(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function sm(e,t,n,r){const o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Wc(o,r)){const i=t.bindings[n].name;throw Lg(Jg.createDebugContext(e,t.nodeIndex),`${i}: ${o}`,`${i}: ${r}`,0!=(1&e.state))}}function am(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function um(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function cm(e,t,n,r){try{const o=e.def.nodes[t];return am(33554432&o.flags?Gg(e,t).componentView:e),Jg.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function lm(e){if(e.parent){return Gg(e.parent,e.parentNodeDef.nodeIndex)}return null}function dm(e){return e.parent?e.parentNodeDef.parent:null}function fm(e,t){switch(201347067&t.flags){case 1:return Gg(e,t.nodeIndex).renderElement;case 2:return qg(e,t.nodeIndex).renderText}}function hm(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function pm(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function gm(e){return 1<<e%32}function mm(e){const t={};let n=0;const r={};return e&&e.forEach(([e,o])=>{"number"==typeof e?(t[e]=o,n|=gm(e)):r[e]=o}),{matchedQueries:t,references:r,matchedQueryIds:n}}function vm(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:r,token:n,tokenKey:em(n)}})}function ym(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&(r.element.componentRendererType.encapsulation===oe.ShadowDom||1===r.element.componentRendererType.encapsulation)?Gg(e,n.renderParent.nodeIndex).renderElement:void 0:t}const _m=new WeakMap;function bm(e){let t=_m.get(e);return t||(t=e(()=>Yg),t.factory=e,_m.set(e,t)),t}function wm(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(fm(e,e.def.lastRenderRootNode))),Dm(e,t,0,e.def.nodes.length-1,n,r,o)}function Dm(e,t,n,r,o,i,s){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Em(e,n,t,o,i,s),a+=n.childCount}}function Cm(e,t,n,r,o,i){let s=e;for(;s&&!hm(s);)s=s.parent;const a=s.parent,u=dm(s),c=u.nodeIndex+1,l=u.nodeIndex+u.childCount;for(let e=c;e<=l;e++){const s=a.def.nodes[e];s.ngContentIndex===t&&Em(a,s,n,r,o,i),e+=s.childCount}if(!a.parent){const s=e.root.projectableNodes[t];if(s)for(let t=0;t<s.length;t++)xm(e,s[t],n,r,o,i)}}function Em(e,t,n,r,o,i){if(8&t.flags)Cm(e,t.ngContent.index,n,r,o,i);else{const s=fm(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&xm(e,s,n,r,o,i),32&t.bindingFlags){xm(Gg(e,t.nodeIndex).componentView,s,n,r,o,i)}}else xm(e,s,n,r,o,i);if(16777216&t.flags){const s=Gg(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<s.length;e++)wm(s[e],n,r,o,i)}1&t.flags&&!t.element.name&&Dm(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function xm(e,t,n,r,o,i){const s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,o);break;case 3:s.removeChild(r,t);break;case 0:i.push(t)}}const Sm=/^:([^:]+):(.+)$/;function Am(e){if(":"===e[0]){const t=e.match(Sm);return[t[1],t[2]]}return["",e]}function Om(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Im(e,t){let n="";for(let r=0;r<2*e;r+=2)n=n+t[r]+km(t[r+1]);return n+t[2*e]}function Mm(e,t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y,_){switch(e){case 1:return t+km(n)+r;case 2:return t+km(n)+r+km(o)+i;case 3:return t+km(n)+r+km(o)+i+km(s)+a;case 4:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c;case 5:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c+km(l)+d;case 6:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c+km(l)+d+km(f)+h;case 7:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c+km(l)+d+km(f)+h+km(p)+g;case 8:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c+km(l)+d+km(f)+h+km(p)+g+km(m)+v;case 9:return t+km(n)+r+km(o)+i+km(s)+a+km(u)+c+km(l)+d+km(f)+h+km(p)+g+km(m)+v+km(y)+_;default:throw new Error("Does not support more than 9 expressions")}}function km(e){return null!=e?e.toString():""}const jm={},Pm={},Nm=em(ic),Tm=em(Uu),$m=em(Ig);
|
|
1169
|
-
/**
|
|
1170
|
-
* @license
|
|
1171
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1172
|
-
*
|
|
1173
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1174
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1175
|
-
*/function Fm(e,t,n,r){n=p(n);return{index:-1,deps:vm(r,l(t)),flags:e,token:t,value:n}}function Vm(e){const t={},n=[];let r=null;for(let o=0;o<e.length;o++){const i=e[o];i.token===zu&&(r=i.value),1073741824&i.flags&&n.push(i.token),i.index=o,t[em(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,scope:r}}function Rm(e,t,n=ic.THROW_IF_NOT_FOUND){const r=qr(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const o=t.tokenKey;switch(o){case Nm:case Tm:case $m:return e}const i=e._def.providersByKey[o];let s;if(i){let t=e._providers[i.index];return void 0===t&&(t=e._providers[i.index]=Lm(e,i)),t===Pm?void 0:t}if((s=H(t.token))&&function(e,t){const n=p(t.providedIn);return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}(e,s)){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:n,token:t.token},e._providers[n]=Pm,e._providers[n]=Lm(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{qr(r)}}function Lm(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(Rm(e,n[0]));case 2:return new t(Rm(e,n[0]),Rm(e,n[1]));case 3:return new t(Rm(e,n[0]),Rm(e,n[1]),Rm(e,n[2]));default:const o=[];for(let t=0;t<r;t++)o[t]=Rm(e,n[t]);return new t(...o)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(Rm(e,n[0]));case 2:return t(Rm(e,n[0]),Rm(e,n[1]));case 3:return t(Rm(e,n[0]),Rm(e,n[1]),Rm(e,n[2]));default:const o=[];for(let t=0;t<r;t++)o[t]=Rm(e,n[t]);return t(...o)}}(e,t.value,t.deps);break;case 2048:n=Rm(e,t.deps[0]);break;case 256:n=t.value}return n===Pm||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Pm:n}
|
|
1176
|
-
/**
|
|
1177
|
-
* @license
|
|
1178
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1179
|
-
*
|
|
1180
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1181
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1182
|
-
*/
|
|
1183
|
-
function Bm(e,t,n,r){let o=t.viewContainer._embeddedViews;null==n&&(n=o.length),r.viewContainerParent=e,Ar(o,n,r),function(e,t){const n=lm(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Jg.dirtyParentQueries(r);Hm(t,n>0?o[n-1]:null,r)}function Um(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Or(n,t),Jg.dirtyParentQueries(r),zm(r),r}function Hm(e,t,n){const r=t?fm(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);wm(n,2,o,i,void 0)}function zm(e){wm(e,3,null,null,void 0)}
|
|
1184
|
-
/**
|
|
1185
|
-
* @license
|
|
1186
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1187
|
-
*
|
|
1188
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1189
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1190
|
-
*/const qm={};function Gm(e,t,n,r,o,i){return new Km(e,t,n,r,o,i)}function Wm(e){return e.viewDefFactory}class Km extends kp{constructor(e,t,n,r,o,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=o,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t){const r=t[n];e.push({propName:n,templateName:r})}return e}get outputs(){const e=[];for(let t in this._outputs){const n=this._outputs[t];e.push({propName:t,templateName:n})}return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const o=bm(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,s=Jg.createRootView(e,t||[],n,o,r,qm),a=Wg(s,i).instance;return n&&s.renderer.setAttribute(Gg(s,0).renderElement,"ng-version",Jp.full),new Qm(s,new Xm(s),a)}}class Qm extends Mp{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Up(Gg(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new rv(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Zm(e,t,n){return new Jm(e,t,n)}class Jm{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Up(this._data.renderElement)}get injector(){return new rv(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=dm(e),e=e.parent;return e?new rv(e,t):new rv(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Um(this._data,e);Jg.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Xm(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;o||e instanceof $p||(o=i.get(Ig));const s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e,r=n._view;return Bm(this._view,this._data,t,r),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,o=r[t];Or(r,t),null==n&&(n=r.length),Ar(r,n,o),Jg.dirtyParentQueries(o),zm(o),Hm(e,n>0?r[n-1]:null,o)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Um(this._data,e);t&&Jg.destroyView(t)}detach(e){const t=Um(this._data,e);return t?new Xm(t):null}}function Ym(e){return new Xm(e)}class Xm{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return wm(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}set context(e){this._view.context=e}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){am(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Jg.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Jg.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Jg.destroyView(this._view)}detachFromAppRef(){this._appRef=null,zm(this._view),Jg.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function ev(e,t){return new tv(e,t)}class tv extends Eg{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Xm(Jg.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Up(Gg(this._parentView,this._def.nodeIndex).renderElement)}}function nv(e,t){return new rv(e,t)}class rv{constructor(e,t){this.view=e,this.elDef=t}get(e,t=ic.THROW_IF_NOT_FOUND){const n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Jg.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:em(e)},t)}}function ov(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=Gg(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return qg(e,n.nodeIndex).renderText;if(20240&n.flags)return Wg(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function iv(e,t,n,r){return new sv(e,t,n,r)}class sv{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=Ir(t.providers.length);for(let r=0;r<t.providers.length;r++){const o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Lm(e,o))}}(this)}get(e,t=ic.THROW_IF_NOT_FOUND,n=Z.Default){let r=0;return n&Z.SkipSelf?r|=1:n&Z.Self&&(r|=4),Rm(this,{token:e,tokenKey:em(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Np)}destroy(){if(this._destroyed)throw new Error(`The ng module ${l(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let t=0;t<n.providers.length;t++){if(131072&n.providers[t].flags){const n=e._providers[t];if(n&&n!==Pm){const e=n.ngOnDestroy;"function"!=typeof e||r.has(n)||(e.apply(n),r.add(n))}}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}
|
|
1191
|
-
/**
|
|
1192
|
-
* @license
|
|
1193
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1194
|
-
*
|
|
1195
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1196
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1197
|
-
*/const av=em(qp),uv=em(Up),cv=em(Pg),lv=em(Eg),dv=em(mg),fv=em(ic),hv=em(Uu);function pv(e,t,n,r,o,i,s,a){const u=[];if(s)for(let e in s){const[t,n]=s[e];u[t]={flags:8,name:e,nonMinifiedName:n,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let e in a)c.push({type:1,propName:e,target:null,eventName:a[e]});return vv(e,t|=16384,n,r,o,o,i,u,c)}function gv(e,t,n){return vv(-1,e|=16,null,0,t,t,n)}function mv(e,t,n,r,o){return vv(-1,e,t,0,n,r,o)}function vv(e,t,n,r,o,i,s,a,u){const{matchedQueries:c,references:d,matchedQueryIds:f}=mm(n);u||(u=[]),a||(a=[]),i=p(i);const h=vm(s,l(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:f,references:d,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Om(a),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function yv(e,t){return Dv(e,t)}function _v(e,t){let n=e;for(;n.parent&&!hm(n);)n=n.parent;return Cv(n.parent,dm(n),!0,t.provider.value,t.provider.deps)}function bv(e,t){const n=(32768&t.flags)>0,r=Cv(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(let n=0;n<t.outputs.length;n++){const o=t.outputs[n],i=r[o.propName];if(!pd(i))throw new Error(`@Output ${o.propName} not initialized in '${r.constructor.name}'.`);{const r=i.subscribe(wv(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+n]=r.unsubscribe.bind(r)}}return r}function wv(e,t,n){return r=>cm(e,t,n,r)}function Dv(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Cv(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){const i=o.length;switch(i){case 0:return r();case 1:return r(xv(e,t,n,o[0]));case 2:return r(xv(e,t,n,o[0]),xv(e,t,n,o[1]));case 3:return r(xv(e,t,n,o[0]),xv(e,t,n,o[1]),xv(e,t,n,o[2]));default:const s=[];for(let r=0;r<i;r++)s.push(xv(e,t,n,o[r]));return r(...s)}}(e,t.parent,n,r.value,r.deps);case 2048:return xv(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Cv(e,t,n,r,o){const i=o.length;switch(i){case 0:return new r;case 1:return new r(xv(e,t,n,o[0]));case 2:return new r(xv(e,t,n,o[0]),xv(e,t,n,o[1]));case 3:return new r(xv(e,t,n,o[0]),xv(e,t,n,o[1]),xv(e,t,n,o[2]));default:const s=[];for(let r=0;r<i;r++)s.push(xv(e,t,n,o[r]));return new r(...s)}}const Ev={};function xv(e,t,n,r,o=ic.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(o=null);const s=r.tokenKey;s===dv&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(s){case av:return Sv(a,t,n).renderer;case uv:return new Up(Gg(a,t.nodeIndex).renderElement);case cv:return Gg(a,t.nodeIndex).viewContainer;case lv:if(t.element.template)return Gg(a,t.nodeIndex).template;break;case dv:return Ym(Sv(a,t,n));case fv:case hv:return nv(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[s];if(e){let t=Wg(a,e.nodeIndex);return t||(t={instance:Dv(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=hm(a),t=dm(a),a=a.parent,4&r.flags&&(a=null)}const u=i.root.injector.get(r.token,Ev);return u!==Ev||o===Ev?u:i.root.ngModule.injector.get(r.token,o)}function Sv(e,t,n){let r;if(n)r=Gg(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!hm(r);)r=r.parent;return r}function Av(e,t,n,r,o,i){if(32768&n.flags){const t=Gg(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}const s=n.bindings[r].name;if(t.instance[s]=o,524288&n.flags){i=i||{};const t=Kc.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new ot(t,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function Ov(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let o=0;o<n.length;o++){const i=n[o];let s=i.parent;for(!s&&i.flags&t&&Mv(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);s&&1&s.flags&&o===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=Iv(e,s,t,r)),s=s.parent}}function Iv(e,t,n,r){for(let o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){const t=e.def.nodes[o];t.flags&n&&Mv(e,o,t.flags&n,r++),o+=t.childCount}return r}function Mv(e,t,n,r){const o=Wg(e,t);if(!o)return;const i=o.instance;i&&(Jg.setCurrentNode(e,t),1048576&n&&zg(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&zg(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}
|
|
1198
|
-
/**
|
|
1199
|
-
* @license
|
|
1200
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1201
|
-
*
|
|
1202
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1203
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1204
|
-
*/class kv extends Np{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){ngDevMode&&Ge(e);const t=ke(e);return new Nv(t,this.ngModule)}}function jv(e){const t=[];for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t.push({propName:r,templateName:n})}return t}const Pv=new hr("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Qi});class Nv extends kp{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Js).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return jv(this.componentDef.inputs)}get outputs(){return jv(this.componentDef.outputs)}create(e,t,n,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const i=e.get(n,Ev,o);return i!==Ev||r===Ev?i:t.get(n,r,o)}}}(e,r.injector):e,i=o.get(zp,yt),s=o.get(Qp,null),a=i.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=n?nu(a,n,this.componentDef.encapsulation):gs(i.createRenderer(null,this.componentDef),u,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),l=this.componentDef.onPush?576:528,d=Pc(),f=eu(0,null,null,1,0,null,null,null,null,null),h=Ua(null,f,d,l,null,null,i,a,s,o);let p,g;on(h);try{const e=kc(c,this.componentDef,h,i,a);if(c)if(n)An(a,c,["ng-version",Jp.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Gs(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&An(a,c,e),t&&t.length>0&&Ls(a,c,t.join(" "))}if(g=Dt(f,20),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=jc(e,this.componentDef,h,d,[Nc]),Ga(f,h,null)}finally{ln()}return new Tv(this.componentType,p,Rp(g,h),h,g)}}new kv;class Tv extends Mp{constructor(e,t,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new hg(r),this.componentType=e}get injector(){return new er(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}
|
|
1205
|
-
/**
|
|
1206
|
-
* @license
|
|
1207
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1208
|
-
*
|
|
1209
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1210
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1211
|
-
*/function $v(e,t,n,r){return te(()=>{const o=e;null!==t&&(o.hasOwnProperty("decorators")&&void 0!==o.decorators?o.decorators.push(...t):o.decorators=t),null!==n&&(o.ctorParameters=n),null!==r&&(o.hasOwnProperty("propDecorators")&&void 0!==o.propDecorators?o.propDecorators=Object.assign(Object.assign({},o.propDecorators),r):o.propDecorators=r)})}
|
|
1212
|
-
/**
|
|
1213
|
-
* @license
|
|
1214
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1215
|
-
*
|
|
1216
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1217
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1218
|
-
*/const Fv=new Map;function Vv(e,t){const n=Fv.get(e);Rv(e,n&&n.moduleType,t.moduleType),Fv.set(e,t)}function Rv(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${l(t)} vs ${l(t.name)}`)}function Lv(e){const t=new Set;!function e(n){const r=Ne(n,!0),o=r.id;if(null!==o){const e=Fv.get(o);Rv(o,e,n),Fv.set(o,n)}const i=Xi(r.imports);for(const n of i)t.has(n)||(t.add(n),e(n))}(e)}function Bv(e){return Fv.get(e)||xe[e]}
|
|
1219
|
-
/**
|
|
1220
|
-
* @license
|
|
1221
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1222
|
-
*
|
|
1223
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1224
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1225
|
-
*/class Uv extends Ig{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new kv(this);const n=Ne(e);ngDevMode&&T(n,`NgModule '${l(e)}' is not a subtype of 'NgModuleType'.`);const r=e[ve]||null;r&&ph(r),this._bootstrapComponents=Xi(n.bootstrap),this._r3Injector=Zu(e,t,[{provide:Ig,useValue:this},{provide:Np,useValue:this.componentFactoryResolver}],l(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ic.THROW_IF_NOT_FOUND,n=Z.Default){return e===ic||e===Ig||e===Uu?this:this._r3Injector.get(e,t,n)}destroy(){ngDevMode&&T(this.destroyCbs,"NgModule already destroyed");const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){ngDevMode&&T(this.destroyCbs,"NgModule already destroyed"),this.destroyCbs.push(e)}}class Hv extends Mg{constructor(e){super(),this.moduleType=e;null!==Ne(e)&&Lv(e)}create(e){return new Uv(this.moduleType,e)}}
|
|
1226
|
-
/**
|
|
1227
|
-
* @license
|
|
1228
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1229
|
-
*
|
|
1230
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1231
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1232
|
-
*/function zv(e,t,n){const r=qt()+e,o=Nt();return o[r]===Ys?Jc(o,r,n?t.call(n):t()):Yc(o,r)}function qv(e,t,n,r){return ty(Nt(),qt(),e,t,n,r)}function Gv(e,t,n,r,o){return ny(Nt(),qt(),e,t,n,r,o)}function Wv(e,t,n,r,o,i){return ry(Nt(),qt(),e,t,n,r,o,i)}function Kv(e,t,n,r,o,i,s){return oy(Nt(),qt(),e,t,n,r,o,i,s)}function Qv(e,t,n,r,o,i,s,a){const u=qt()+e,c=Nt(),l=nl(c,u,n,r,o,i);return Xc(c,u+4,s)||l?Jc(c,u+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):Yc(c,u+5)}function Zv(e,t,n,r,o,i,s,a,u){const c=qt()+e,l=Nt(),d=nl(l,c,n,r,o,i);return el(l,c+4,s,a)||d?Jc(l,c+6,u?t.call(u,n,r,o,i,s,a):t(n,r,o,i,s,a)):Yc(l,c+6)}function Jv(e,t,n,r,o,i,s,a,u,c){const l=qt()+e,d=Nt();let f=nl(d,l,n,r,o,i);return tl(d,l+4,s,a,u)||f?Jc(d,l+7,c?t.call(c,n,r,o,i,s,a,u):t(n,r,o,i,s,a,u)):Yc(d,l+7)}function Yv(e,t,n,r,o,i,s,a,u,c,l){const d=qt()+e,f=Nt(),h=nl(f,d,n,r,o,i);return nl(f,d+4,s,a,u,c)||h?Jc(f,d+8,l?t.call(l,n,r,o,i,s,a,u,c):t(n,r,o,i,s,a,u,c)):Yc(f,d+8)}function Xv(e,t,n,r){return iy(Nt(),qt(),e,t,n,r)}function ey(e,t){ngDevMode&&V(e,t);const n=e[t];return n===Ys?void 0:n}function ty(e,t,n,r,o,i){const s=t+n;return Xc(e,s,o)?Jc(e,s+1,i?r.call(i,o):r(o)):ey(e,s+1)}function ny(e,t,n,r,o,i,s){const a=t+n;return el(e,a,o,i)?Jc(e,a+2,s?r.call(s,o,i):r(o,i)):ey(e,a+2)}function ry(e,t,n,r,o,i,s,a){const u=t+n;return tl(e,u,o,i,s)?Jc(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):ey(e,u+3)}function oy(e,t,n,r,o,i,s,a,u){const c=t+n;return nl(e,c,o,i,s,a)?Jc(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):ey(e,c+4)}function iy(e,t,n,r,o,i){let s=t+n,a=!1;for(let t=0;t<o.length;t++)Xc(e,s++,o[t])&&(a=!0);return a?Jc(e,s,r.apply(i,o)):ey(e,s)}
|
|
1233
|
-
/**
|
|
1234
|
-
* @license
|
|
1235
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1236
|
-
*
|
|
1237
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1238
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1239
|
-
*/function sy(e,t){const n=Tt();let r;const o=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new m("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=rt(r.type,!0)),s=X(ed);try{const e=$n(!1),t=i();return $n(e),Cl(n,Nt(),o,t),t}finally{X(s)}}function ay(e,t,n){const r=e+20,o=Nt(),i=Ct(o,r);return hy(o,fy(o,r)?ty(o,qt(),t,i.transform,n,i):i.transform(n))}function uy(e,t,n,r){const o=e+20,i=Nt(),s=Ct(i,o);return hy(i,fy(i,o)?ny(i,qt(),t,s.transform,n,r,s):s.transform(n,r))}function cy(e,t,n,r,o){const i=e+20,s=Nt(),a=Ct(s,i);return hy(s,fy(s,i)?ry(s,qt(),t,a.transform,n,r,o,a):a.transform(n,r,o))}function ly(e,t,n,r,o,i){const s=e+20,a=Nt(),u=Ct(a,s);return hy(a,fy(a,s)?oy(a,qt(),t,u.transform,n,r,o,i,u):u.transform(n,r,o,i))}function dy(e,t,n){const r=e+20,o=Nt(),i=Ct(o,r);return hy(o,fy(o,r)?iy(o,qt(),t,i.transform,n,i):i.transform.apply(i,n))}function fy(e,t){return e[1].data[t].pure}function hy(e,t){if(Kc.isWrapped(t)){t=Kc.unwrap(t);e[Gt()]=Ys}return t}
|
|
1240
|
-
/**
|
|
1241
|
-
* @license
|
|
1242
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1243
|
-
*
|
|
1244
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1245
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1246
|
-
*/class py extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var r,i,s;let a=e,u=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;a=null===(r=t.next)||void 0===r?void 0:r.bind(t),u=null===(i=t.error)||void 0===i?void 0:i.bind(t),c=null===(s=t.complete)||void 0===s?void 0:s.bind(t)}this.__isAsync&&(u=gy(u),a&&(a=gy(a)),c&&(c=gy(c)));const l=super.subscribe({next:a,error:u,complete:c});return e instanceof o.a&&e.add(l),l}}function gy(e){return t=>{setTimeout(e,void 0,t)}}const my=py;
|
|
1247
|
-
/**
|
|
1248
|
-
* @license
|
|
1249
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1250
|
-
*
|
|
1251
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1252
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1253
|
-
*/function vy(){return this._results[Gc()]()}class yy{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Gc(),n=yy.prototype;n[t]||(n[t]=vy)}get changes(){return this._changes||(this._changes=new my)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const r=xr(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(n._results,r,t))&&(n._results=r,n.length=r.length,n.last=r[this.length-1],n.first=r[0])}notifyOnChanges(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol.iterator;class _y{constructor(e){this.queryList=e,this.matches=null}clone(){return new _y(this.queryList)}setDirty(){this.queryList.setDirty()}}class by{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),o=this.queries[n.indexInDeclarationView];r.push(o.clone())}return new by(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Py(e,t).matches&&this.queries[t].setDirty()}}class wy{constructor(e,t,n=null){this.predicate=e,this.flags=t,this.read=n}}class Dy{constructor(e=[]){this.queries=e}elementStart(e,t){ngDevMode&&Je(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,null!==t?t.push(o):t=[o])}return null!==t?new Dy(t):null}template(e,t){ngDevMode&&Je(e,"Queries should collect results on the first template pass only");for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return ngDevMode&&V(this.queries,e),this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Cy{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Cy(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const o=n[r];this.matchTNodeWithReadOption(e,t,Ey(t,o)),this.matchTNodeWithReadOption(e,t,Zn(t,e,o,!1,!1))}else n===Eg?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Zn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Up||r===Pg||r===Eg&&4&t.type)this.addMatch(t.index,-2);else{const n=Zn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Ey(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function xy(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Rp(e,t):4&e.type?Og(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Up)return Rp(t,e);if(n===Eg)return Og(t,e);if(n===Pg)return ngDevMode&&Sn(t,15),Rg(t,e);ngDevMode&&$(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${l(n)}.`)}(e,t,r):Jn(e,e[1],n,t)}function Sy(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const r=e.data,i=n.matches,s=[];for(let e=0;e<i.length;e+=2){const o=i[e];if(o<0)s.push(null);else{ngDevMode&&V(r,o);const a=r[o];s.push(xy(t,a,i[e+1],n.metadata.read))}}o.matches=s}return o.matches}function Ay(e){const t=Nt(),n=Tt(),r=en();tn(r+1);const o=Py(n,r);if(e.dirty&&xt(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?function e(t,n,r,o){const i=t.queries.getByIndex(r),s=i.matches;if(null!==s){const a=Sy(t,n,i,r);for(let t=0;t<s.length;t+=2){const r=s[t];if(r>0)o.push(a[t/2]);else{const i=s[t+1],a=n[-r];ngDevMode&&Ke(a);for(let t=10;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,i,o)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,i,o)}}}}}return o}(n,t,r,[]):Sy(n,t,o,r);e.reset(i,Hp),e.notifyOnChanges()}return!0}return!1}function Oy(e,t,n){ngDevMode&&E(t,"Expecting flags");const r=Tt();r.firstCreatePass&&(jy(r,new wy(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),ky(r,Nt(),t)}function Iy(e,t,n,r){ngDevMode&&E(n,"Expecting flags");const o=Tt();if(o.firstCreatePass){const i=Ft();jy(o,new wy(t,n,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}ky(o,Nt(),n)}function My(){return e=Nt(),t=en(),ngDevMode&&T(e[19],"LQueries should be defined when trying to load a query"),ngDevMode&&V(e[19].queries,t),e[19].queries[t].queryList;var e,t}function ky(e,t,n){const r=new yy(4==(4&n));ru(e,t,r,r.destroy),null===t[19]&&(t[19]=new by),t[19].queries.push(new _y(r))}function jy(e,t,n){null===e.queries&&(e.queries=new Dy),e.queries.track(new Cy(t,n))}function Py(e,t){return ngDevMode&&T(e.queries,"TQueries must be defined to retrieve a TQuery"),e.queries.getByIndex(t)}
|
|
1254
|
-
/**
|
|
1255
|
-
* @license
|
|
1256
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1257
|
-
*
|
|
1258
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1259
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1260
|
-
*/function Ny(e,t){return Og(e,t)}
|
|
1261
|
-
/**
|
|
1262
|
-
* @license
|
|
1263
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1264
|
-
*
|
|
1265
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1266
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1267
|
-
*/
|
|
1268
|
-
/**
|
|
1269
|
-
* @license
|
|
1270
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1271
|
-
*
|
|
1272
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1273
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1274
|
-
*/const Ty={"ɵɵattribute":rl,"ɵɵattributeInterpolate1":hl,"ɵɵattributeInterpolate2":pl,"ɵɵattributeInterpolate3":gl,"ɵɵattributeInterpolate4":ml,"ɵɵattributeInterpolate5":vl,"ɵɵattributeInterpolate6":yl,"ɵɵattributeInterpolate7":_l,"ɵɵattributeInterpolate8":bl,"ɵɵattributeInterpolateV":wl,"ɵɵdefineComponent":we,"ɵɵdefineDirective":Ie,"ɵɵdefineInjectable":L,"ɵɵdefineInjector":U,"ɵɵdefineNgModule":Se,"ɵɵdefinePipe":Me,"ɵɵdirectiveInject":ed,"ɵɵgetInheritedFactory":tr,"ɵɵinject":Wr,"ɵɵinjectAttribute":rr,"ɵɵinvalidFactory":td,"ɵɵinvalidFactoryDep":Kr,"ɵɵtemplateRefExtractor":Ny,"ɵɵNgOnChangesFeature":it,"ɵɵProvidersFeature":Ip,"ɵɵCopyDefinitionFeature":zc,"ɵɵInheritDefinitionFeature":Fc,"ɵɵnextContext":bd,"ɵɵnamespaceHTML":vn,"ɵɵnamespaceMathML":mn,"ɵɵnamespaceSVG":gn,"ɵɵenableBindings":jt,"ɵɵdisableBindings":Pt,"ɵɵelementStart":id,"ɵɵelementEnd":sd,"ɵɵelement":ad,"ɵɵelementContainerStart":ud,"ɵɵelementContainerEnd":cd,"ɵɵelementContainer":ld,"ɵɵpureFunction0":zv,"ɵɵpureFunction1":qv,"ɵɵpureFunction2":Gv,"ɵɵpureFunction3":Wv,"ɵɵpureFunction4":Kv,"ɵɵpureFunction5":Qv,"ɵɵpureFunction6":Zv,"ɵɵpureFunction7":Jv,"ɵɵpureFunction8":Yv,"ɵɵpureFunctionV":Xv,"ɵɵgetCurrentView":dd,"ɵɵrestoreView":$t,"ɵɵlistener":gd,"ɵɵprojection":Cd,"ɵɵsyntheticHostProperty":Zf,"ɵɵsyntheticHostListener":md,"ɵɵpipeBind1":ay,"ɵɵpipeBind2":uy,"ɵɵpipeBind3":cy,"ɵɵpipeBind4":ly,"ɵɵpipeBindV":dy,"ɵɵprojectionDef":Dd,"ɵɵhostProperty":Qf,"ɵɵproperty":nd,"ɵɵpropertyInterpolate":Ed,"ɵɵpropertyInterpolate1":xd,"ɵɵpropertyInterpolate2":Sd,"ɵɵpropertyInterpolate3":Ad,"ɵɵpropertyInterpolate4":Od,"ɵɵpropertyInterpolate5":Id,"ɵɵpropertyInterpolate6":Md,"ɵɵpropertyInterpolate7":kd,"ɵɵpropertyInterpolate8":jd,"ɵɵpropertyInterpolateV":Pd,"ɵɵpipe":sy,"ɵɵqueryRefresh":Ay,"ɵɵviewQuery":Oy,"ɵɵloadQuery":My,"ɵɵcontentQuery":Iy,"ɵɵreference":El,"ɵɵclassMap":Jd,"ɵɵclassMapInterpolate1":Df,"ɵɵclassMapInterpolate2":Cf,"ɵɵclassMapInterpolate3":Ef,"ɵɵclassMapInterpolate4":xf,"ɵɵclassMapInterpolate5":Sf,"ɵɵclassMapInterpolate6":Af,"ɵɵclassMapInterpolate7":Of,"ɵɵclassMapInterpolate8":If,"ɵɵclassMapInterpolateV":Mf,"ɵɵstyleMap":Qd,"ɵɵstyleMapInterpolate1":kf,"ɵɵstyleMapInterpolate2":jf,"ɵɵstyleMapInterpolate3":Pf,"ɵɵstyleMapInterpolate4":Nf,"ɵɵstyleMapInterpolate5":Tf,"ɵɵstyleMapInterpolate6":$f,"ɵɵstyleMapInterpolate7":Ff,"ɵɵstyleMapInterpolate8":Vf,"ɵɵstyleMapInterpolateV":Rf,"ɵɵstyleProp":Wd,"ɵɵstylePropInterpolate1":Lf,"ɵɵstylePropInterpolate2":Bf,"ɵɵstylePropInterpolate3":Uf,"ɵɵstylePropInterpolate4":Hf,"ɵɵstylePropInterpolate5":zf,"ɵɵstylePropInterpolate6":qf,"ɵɵstylePropInterpolate7":Gf,"ɵɵstylePropInterpolate8":Wf,"ɵɵstylePropInterpolateV":Kf,"ɵɵclassProp":Kd,"ɵɵadvance":Xs,"ɵɵtemplate":Dl,"ɵɵtext":df,"ɵɵtextInterpolate":ff,"ɵɵtextInterpolate1":hf,"ɵɵtextInterpolate2":pf,"ɵɵtextInterpolate3":gf,"ɵɵtextInterpolate4":mf,"ɵɵtextInterpolate5":vf,"ɵɵtextInterpolate6":yf,"ɵɵtextInterpolate7":_f,"ɵɵtextInterpolate8":bf,"ɵɵtextInterpolateV":wf,"ɵɵi18n":vp,"ɵɵi18nAttributes":yp,"ɵɵi18nExp":_p,"ɵɵi18nStart":gp,"ɵɵi18nEnd":mp,"ɵɵi18nApply":bp,"ɵɵi18nPostprocess":wp,"ɵɵresolveWindow":Zi,"ɵɵresolveDocument":Ji,"ɵɵresolveBody":Yi,"ɵɵsetComponentScope":De,"ɵɵsetNgModuleScope":Ae,"ɵɵsanitizeHtml":mi,"ɵɵsanitizeStyle":vi,"ɵɵsanitizeResourceUrl":_i,"ɵɵsanitizeScript":bi,"ɵɵsanitizeUrl":yi,"ɵɵsanitizeUrlOrResourceUrl":Ei,"ɵɵtrustConstantHtml":wi,"ɵɵtrustConstantResourceUrl":Di,forwardRef:h,resolveForwardRef:p};let $y=null;function Fy(){$y=null}
|
|
1275
|
-
/**
|
|
1276
|
-
* @license
|
|
1277
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1278
|
-
*
|
|
1279
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1280
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1281
|
-
*/const Vy=[];let Ry=!1;function Ly(){if(!Ry){Ry=!0;try{for(let e=Vy.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Vy[e];n.declarations&&n.declarations.every(By)&&(Vy.splice(e,1),Jy(t,n))}}finally{Ry=!1}}}function By(e){return Array.isArray(e)?e.every(By):!!p(e)}function Uy(e,t={}){Hy(e,t),function(e,t){Vy.push({moduleType:e,ngModule:t})}(e,t)}function Hy(e,t,n=!1){ngDevMode&&T(e,"Required value moduleType"),ngDevMode&&T(t,"Required value ngModule");const r=xr(t.declarations||fe);let o=null;Object.defineProperty(e,me,{configurable:!0,get:()=>{if(null===o){if(ngDevMode&&t.imports&&t.imports.indexOf(e)>-1)throw new Error(`'${b(e)}' module can't import itself`);const n=Dr({usage:0,kind:"NgModule",type:e});o=n.compileNgModule(Ty,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:xr(t.bootstrap||fe).map(p),declarations:r.map(p),imports:xr(t.imports||fe).map(p).map(e_),exports:xr(t.exports||fe).map(p).map(e_),schemas:t.schemas?xr(t.schemas):null,id:t.id||null}),o.schemas||(o.schemas=[])}return o}});let i=null;Object.defineProperty(e,ye,{get:()=>{if(null===i){const t=Dr({usage:0,kind:"NgModule",type:e});i=t.compileFactory(Ty,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:uo(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return i},configurable:!!ngDevMode});let s=null;Object.defineProperty(e,W,{get:()=>{if(null===s){ngDevMode&&zy(e,n);const r={name:e.name,type:e,providers:t.providers||fe,imports:[(t.imports||fe).map(p),(t.exports||fe).map(p)]},o=Dr({usage:0,kind:"NgModule",type:e});s=o.compileInjector(Ty,`ng:///${e.name}/ɵinj.js`,r)}return s},configurable:!!ngDevMode})}function zy(e,t,n){if(Ky.get(e))return;let r;if(Ky.set(e,!0),e=p(e),n){if(r=Ne(e),!r)throw new Error(`Unexpected value '${e.name}' imported by the module '${n.name}'. Please add an @NgModule annotation.`)}else r=Ne(e,!0);const o=[],i=Xi(r.declarations),s=Xi(r.imports);xr(s).map(qy).forEach(t=>{d(t,e),zy(t,!1,e)});const a=Xi(r.exports);i.forEach((function(t){t=p(t);ke(t)||je(t)||Pe(t)||o.push(`Unexpected value '${b(t)}' declared by the module '${b(e)}'. Please add a @Pipe/@Directive/@Component annotation.`)})),i.forEach((function(e){const t=je(e=p(e));!ke(e)&&t&&0==t.selectors.length&&o.push(`Directive ${b(e)} has no selector, please add it!`)}));const u=[...i.map(p),...xr(s.map(Zy)).map(p)];a.forEach((function(t){const n=(ke(t=p(t))?"component":je(t)&&"directive")||Pe(t)&&"pipe";n&&-1===u.lastIndexOf(t)&&o.push(`Can't export ${n} ${b(t)} from ${b(e)} as it was neither declared nor imported!`)})),i.forEach(n=>function(t,n){t=p(t);const r=Wy.get(t);if(r&&r!==e){if(!n){const n=[r,e].map(b).sort();o.push(`Type ${b(t)} is part of the declarations of 2 modules: ${n[0]} and ${n[1]}! Please consider moving ${b(t)} to a higher module that imports ${n[0]} and ${n[1]}. You can also create a new NgModule that exports and includes ${b(t)} then import that NgModule in ${n[0]} and ${n[1]}.`)}}else Wy.set(t,e)}(n,t)),i.forEach((function(e){if(ke(e=p(e))){const t=Gy(e,"Component");t&&t.entryComponents&&Sr(t.entryComponents,l)}}));const c=Gy(e,"NgModule");if(c&&(c.imports&&xr(c.imports).map(qy).forEach(t=>{d(t,e),zy(t,!1,e)}),c.bootstrap&&Sr(c.bootstrap,(function(e){ke(e=p(e))||o.push(b(e)+" cannot be used as an entry component.")})),c.bootstrap&&Sr(c.bootstrap,l),c.entryComponents&&Sr(c.entryComponents,l)),o.length)throw new Error(o.join("\n"));function l(e){e=p(e);Wy.get(e)||o.push(`Component ${b(e)} is not part of any NgModule or the module has not been imported into your module.`)}function d(e,t){if(ke(e=p(e))||je(e))throw new Error(`Unexpected directive '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`);if(Pe(e))throw new Error(`Unexpected pipe '${e.name}' imported by the module '${t.name}'. Please add an @NgModule annotation.`)}}function qy(e){return(e=p(e)).ngModule||e}function Gy(e,t){let n=null;return r(e.__annotations__),r(e.decorators),n;function r(e){e&&e.forEach(o)}function o(e){if(!n){if(Object.getPrototypeOf(e).ngMetadataName==t)n=e;else if(e.type){Object.getPrototypeOf(e.type).ngMetadataName==t&&(n=e.args[0])}}}}let Wy=new WeakMap,Ky=new WeakMap;function Qy(){Wy=new WeakMap,Ky=new WeakMap,Vy.length=0}function Zy(e){return[...xr(Xi(Ne(e=p(e),!0).exports).map(e=>Ne(e)?(zy(e,!1),Zy(e)):e))]}function Jy(e,t){const n=xr(t.declarations||fe),r=Xy(e);n.forEach(t=>{if(t.hasOwnProperty(he)){Yy(ke(t),r)}else t.hasOwnProperty(pe)||t.hasOwnProperty(ge)||(t.ngSelectorScope=e)})}function Yy(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(e=>e.hasOwnProperty(he)?ke(e):je(e)).filter(e=>!!e),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(e=>Pe(e)),e.schemas=t.schemas,e.tView=null}function Xy(e){if(!t_(e))throw new Error(e.name+" does not have a module def (ɵmod property)");const t=Ne(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Xi(t.imports).forEach(e=>{const t=e;if(!t_(t))throw new Error(`Importing ${t.name} which does not have a ɵmod property`);const r=Xy(t);r.exported.directives.forEach(e=>n.compilation.directives.add(e)),r.exported.pipes.forEach(e=>n.compilation.pipes.add(e))}),Xi(t.declarations).forEach(e=>{Pe(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),Xi(t.exports).forEach(e=>{const t=e;if(t_(t)){const e=Xy(t);e.exported.directives.forEach(e=>{n.compilation.directives.add(e),n.exported.directives.add(e)}),e.exported.pipes.forEach(e=>{n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Pe(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function e_(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function t_(e){return!!Ne(e)}
|
|
1282
|
-
/**
|
|
1283
|
-
* @license
|
|
1284
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1285
|
-
*
|
|
1286
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1287
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1288
|
-
*/let n_=0;function r_(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&le();let n=null;!function(e,t){po(t)&&(fo.set(e,t),ho.add(e))}(e,t),s_(e,t),Object.defineProperty(e,he,{get:()=>{if(null===n){const r=Dr({usage:0,kind:"component",type:e});if(po(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(" - templateUrl: "+t.templateUrl),t.styleUrls&&t.styleUrls.length&&n.push(" - styleUrls: "+JSON.stringify(t.styleUrls)),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const o=$y;let i=t.preserveWhitespaces;void 0===i&&(i=null!==o&&void 0!==o.preserveWhitespaces&&o.preserveWhitespaces);let s=t.encapsulation;void 0===s&&(s=null!==o&&void 0!==o.defaultEncapsulation?o.defaultEncapsulation:oe.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,u=Object.assign(Object.assign({},u_(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:i,styles:t.styles||fe,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:s,interpolation:t.interpolation,viewProviders:t.viewProviders||null});n_++;try{u.usesInheritance&&c_(e),n=r.compileComponent(Ty,a,u)}finally{n_--}if(0===n_&&Ly(),void 0!==e.ngSelectorScope){const t=Xy(e.ngSelectorScope);Yy(n,t)}}return n},configurable:!!ngDevMode})}function o_(e,t){let n=null;s_(e,t||{}),Object.defineProperty(e,pe,{get:()=>{if(null===n){const r=i_(e,t||{}),o=Dr({usage:0,kind:"directive",type:e});n=o.compileDirective(Ty,r.sourceMapUrl,r.metadata)}return n},configurable:!!ngDevMode})}function i_(e,t){const n=e&&e.name,r=`ng:///${n}/ɵdir.js`,o=Dr({usage:0,kind:"directive",type:e}),i=u_(e,t);return i.typeSourceSpan=o.createParseSourceSpan("Directive",n,r),i.usesInheritance&&c_(e),{metadata:i,sourceMapUrl:r}}function s_(e,t){let n=null;Object.defineProperty(e,ye,{get:()=>{if(null===n){const r=i_(e,t),o=Dr({usage:0,kind:"directive",type:e});n=o.compileFactory(Ty,`ng:///${e.name}/ɵfac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:uo(e),target:o.FactoryTarget.Directive})}return n},configurable:!!ngDevMode})}function a_(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function u_(e,t){const n=ao(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||de,propMetadata:r,inputs:t.inputs||fe,outputs:t.outputs||fe,queries:d_(e,r,f_),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!a_(e),exportAs:(o=t.exportAs,void 0===o?null:g_(o)),providers:t.providers||null,viewQueries:d_(e,r,h_)};var o}function c_(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)je(n)||ke(n)||!v_(n)||o_(n,null),n=Object.getPrototypeOf(n)}function l_(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?g_(n):p(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}function d_(e,t,n){const r=[];for(const o in t)if(t.hasOwnProperty(o)){const i=t[o];i.forEach(t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${o}" of "${b(e)}" since the query selector wasn't defined.`);if(i.some(p_))throw new Error("Cannot combine @Input decorators with query decorators");r.push(l_(o,t))}})}return r}function f_(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function h_(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function p_(e){return"Input"===e.ngMetadataName}function g_(e){return e.split(",").map(e=>e.trim())}const m_=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function v_(e){const t=ao();if(m_.some(n=>t.hasLifecycleHook(e,n)))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],r=n.ngMetadataName;if(p_(n)||f_(n)||h_(n)||"Output"===r||"HostBinding"===r||"HostListener"===r)return!0}}return!1}
|
|
1289
|
-
/**
|
|
1290
|
-
* @license
|
|
1291
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1292
|
-
*
|
|
1293
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1294
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1295
|
-
*/function y_(e,t){let n=null,r=null;Object.defineProperty(e,ye,{get:()=>{if(null===r){const n=__(e,t),o=Dr({usage:0,kind:"pipe",type:n.type});r=o.compileFactory(Ty,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:uo(e),target:o.FactoryTarget.Pipe})}return r},configurable:!!ngDevMode}),Object.defineProperty(e,ge,{get:()=>{if(null===n){const r=__(e,t),o=Dr({usage:0,kind:"pipe",type:r.type});n=o.compilePipe(Ty,`ng:///${r.name}/ɵpipe.js`,r)}return n},configurable:!!ngDevMode})}function __(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}
|
|
1296
|
-
/**
|
|
1297
|
-
* @license
|
|
1298
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1299
|
-
*
|
|
1300
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1301
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1302
|
-
*/const b_=ar("Directive",(e={})=>e,void 0,void 0,(e,t)=>k_(e,t)),w_=ar("Component",(e={})=>Object.assign({changeDetection:ne.Default},e),b_,void 0,(e,t)=>M_(e,t)),D_=ar("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>j_(e,t)),C_=lr("Input",e=>({bindingPropertyName:e})),E_=lr("Output",e=>({bindingPropertyName:e})),x_=lr("HostBinding",e=>({hostPropertyName:e})),S_=lr("HostListener",(e,t)=>({eventName:e,args:t})),A_=r_,O_=o_,I_=y_,M_=Fp,k_=Fp,j_=Fp,P_=ar("NgModule",e=>e,void 0,void 0,(e,t)=>T_(e,t));const N_=Uy,T_=function(e,t){let n=t&&t.imports||[];t&&t.exports&&(n=[...n,t.exports]);const r=e;r.ɵfac=Ml(e,{useClass:e}),r.ɵinj=U({providers:t&&t.providers,imports:n})},$_=new hr("Application Initializer");class F_{constructor(e){this.appInits=e,this.resolve=Fp,this.reject=Fp,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let t=0;t<this.appInits.length;t++){const n=this.appInits[t]();if(fd(n))e.push(n);else if(pd(n)){const t=new Promise((e,t)=>{n.subscribe({complete:e,error:t})});e.push(t)}}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}F_.decorators=[{type:kl}],F_.ctorParameters=()=>[{type:void 0,decorators:[{type:to,args:[$_]},{type:no}]}]
|
|
1303
|
-
/**
|
|
1304
|
-
* @license
|
|
1305
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1306
|
-
*
|
|
1307
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1308
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1309
|
-
*/;const V_=new hr("AppId");function R_(){return`${B_()}${B_()}${B_()}`}const L_={provide:V_,useFactory:R_,deps:[]};function B_(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const U_=new hr("Platform Initializer"),H_=new hr("Platform ID"),z_=new hr("appBootstrapListener"),q_=new hr("Application Packages Root URL");
|
|
1310
|
-
/**
|
|
1311
|
-
* @license
|
|
1312
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1313
|
-
*
|
|
1314
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1315
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1316
|
-
*/
|
|
1317
|
-
class G_{log(e){console.log(e)}warn(e){console.warn(e)}}G_.decorators=[{type:kl}];
|
|
1318
|
-
/**
|
|
1319
|
-
* @license
|
|
1320
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1321
|
-
*
|
|
1322
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1323
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1324
|
-
*/
|
|
1325
|
-
const W_=new hr("LocaleId"),K_=new hr("DefaultCurrencyCode"),Q_=new hr("Translations"),Z_=new hr("TranslationsFormat");var J_;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(J_||(J_={}));
|
|
1326
|
-
/**
|
|
1327
|
-
* @license
|
|
1328
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1329
|
-
*
|
|
1330
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1331
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1332
|
-
*/
|
|
1333
|
-
const Y_=!0,X_=!1;
|
|
1334
|
-
/**
|
|
1335
|
-
* @license
|
|
1336
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1337
|
-
*
|
|
1338
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1339
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1340
|
-
*/
|
|
1341
|
-
class eb{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}function tb(){throw new Error("Runtime compiler is not loaded")}const nb=function(e){return new Hv(e)},rb=tb,ob=function(e){return Promise.resolve(nb(e))},ib=tb,sb=function(e){const t=nb(e),n=Xi(Ne(e).declarations).reduce((e,t)=>{const n=ke(t);return n&&e.push(new Nv(n)),e},[]);return new eb(t,n)},ab=tb,ub=function(e){return Promise.resolve(sb(e))},cb=tb;class lb{constructor(){this.compileModuleSync=rb,this.compileModuleAsync=ib,this.compileModuleAndAllComponentsSync=ab,this.compileModuleAndAllComponentsAsync=cb}clearCache(){}clearCacheFor(e){}getModuleId(e){}}lb.decorators=[{type:kl}];const db=new hr("compilerOptions");class fb{}
|
|
1342
|
-
/**
|
|
1343
|
-
* @license
|
|
1344
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1345
|
-
*
|
|
1346
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1347
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1348
|
-
*/const hb=Promise.resolve(0);function pb(e){"undefined"==typeof Zone?hb.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}
|
|
1349
|
-
/**
|
|
1350
|
-
* @license
|
|
1351
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1352
|
-
*
|
|
1353
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1354
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1355
|
-
*/
|
|
1356
|
-
/**
|
|
1357
|
-
* @license
|
|
1358
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1359
|
-
*
|
|
1360
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1361
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1362
|
-
*/
|
|
1363
|
-
class gb{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new my(!1),this.onMicrotaskEmpty=new my(!1),this.onStable=new my(!1),this.onError=new my(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&t,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=ce.requestAnimationFrame,t=ce.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){if(e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ce,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,yb(e),e.isCheckStableRunning=!0,vb(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),yb(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return _b(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),bb(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return _b(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),bb(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,yb(e),vb(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gb.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(gb.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,mb,Fp,Fp);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const mb={};function vb(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function yb(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function _b(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bb(e){e._nesting--,vb(e)}class wb{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new my,this.onMicrotaskEmpty=new my,this.onStable=new my,this.onError=new my}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}
|
|
1364
|
-
/**
|
|
1365
|
-
* @license
|
|
1366
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1367
|
-
*
|
|
1368
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1369
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1370
|
-
*/class Db{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gb.assertNotInAngularZone(),pb(()=>{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())pb(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}Db.decorators=[{type:kl}],Db.ctorParameters=()=>[{type:gb}];class Cb{constructor(){this._applications=new Map,Sb.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Sb.findTestabilityInTree(this,e,t)}}Cb.decorators=[{type:kl}],Cb.ctorParameters=()=>[];function Eb(e){Sb=e}let xb,Sb=new class{addToWindow(e){}findTestabilityInTree(e,t,n){return null}},Ab=!0,Ob=!1;
|
|
1371
|
-
/**
|
|
1372
|
-
* @license
|
|
1373
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1374
|
-
*
|
|
1375
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1376
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1377
|
-
*/function Ib(){return Ob=!0,Ab}function Mb(){if(Ob)throw new Error("Cannot enable prod mode after platform setup.");(void 0===typeof ngDevMode||ngDevMode)&&(ce.ngDevMode=!1),Ab=!1}
|
|
1378
|
-
/**
|
|
1379
|
-
* @license
|
|
1380
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1381
|
-
*
|
|
1382
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1383
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1384
|
-
*/let kb=function(e,t,n){const r=e.get(fb);return r.createCompiler([t]).compileModuleAsync(n)};function jb(e,t,n){ngDevMode&&function(e,t="Type passed in is not NgModuleType, it does not have 'ɵmod' property."){Ne(e)||$(t)}(n);const r=new Hv(n);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(r);const o=e.get(db,[]).concat(t);if(function(e){if(null!==$y){if(e.defaultEncapsulation!==$y.defaultEncapsulation)return void(ngDevMode&&console.error("Provided value for `defaultEncapsulation` can not be changed once it has been set."));if(e.preserveWhitespaces!==$y.preserveWhitespaces)return void(ngDevMode&&console.error("Provided value for `preserveWhitespaces` can not be changed once it has been set."))}$y=e}({defaultEncapsulation:Wb(o.map(e=>e.defaultEncapsulation)),preserveWhitespaces:Wb(o.map(e=>e.preserveWhitespaces))}),0===fo.size)return Promise.resolve(r);const i=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}
|
|
1385
|
-
/**
|
|
1386
|
-
* @license
|
|
1387
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1388
|
-
*
|
|
1389
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1390
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1391
|
-
*/
|
|
1392
|
-
/**
|
|
1393
|
-
* @license
|
|
1394
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1395
|
-
*
|
|
1396
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1397
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1398
|
-
*/
|
|
1399
|
-
/**
|
|
1400
|
-
* @license
|
|
1401
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1402
|
-
*
|
|
1403
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1404
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1405
|
-
*/(o.map(e=>e.providers));if(0===i.length)return Promise.resolve(r);const s=Dr({usage:0,kind:"NgModule",type:n}),a=ic.create({providers:i}).get(s.ResourceLoader);return lo(e=>Promise.resolve(a.get(e))).then(()=>r)}let Pb=function(){},Nb=function(e){return e instanceof $p};function Tb(e){return e.isBoundToModule}const $b=new hr("AllowMultipleToken");class Fb{constructor(e,t){this.name=e,this.token=t}}function Vb(e){if(xb&&!xb.destroyed&&!xb.injector.get($b,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Pb(),xb=e.get(Hb);const t=e.get(U_,null);return t&&t.forEach(e=>e()),xb}function Rb(e,t,n=[]){const r="Platform: "+t,o=new hr(r);return(t=[])=>{let i=Ub();if(!i||i.injector.get($b,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0},{provide:zu,useValue:"platform"});Vb(ic.create({providers:e,name:r}))}return Lb(o)}}function Lb(e){const t=Ub();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Bb(){xb&&!xb.destroyed&&xb.destroy()}function Ub(){return xb&&!xb.destroyed?xb:null}class Hb{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;n="noop"===e?new wb:("zone.js"===e?void 0:e)||new gb({enableLongStackTrace:Ib(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)});return n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),r=[{provide:gb,useValue:n}];return n.run(()=>{const t=ic.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),i=o.injector.get(Ri,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{i.handleError(e)}});o.onDestroy(()=>{Gb(this._modules,o),e.unsubscribe()})}),function(e,t,n){try{const r=n();return fd(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(i,n,()=>{const e=o.injector.get(F_);return e.runInitializers(),e.donePromise.then(()=>{if(X_){ph(o.injector.get(W_,uh)||uh)}return this._moduleDoBootstrap(o),o})})})}bootstrapModule(e,t=[]){const n=zb({},t);return kb(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(qb);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${l(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function zb(e,t){return e=Array.isArray(t)?t.reduce(zb,e):Object.assign(Object.assign({},e),t)}Hb.decorators=[{type:kl}],Hb.ctorParameters=()=>[{type:ic}];class qb{constructor(e,t,n,r,o){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{gb.assertNotInAngularZone(),pb(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{gb.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(u,c.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof kp?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Nb(n)?void 0:this._injector.get(Ig),o=t||n.selector,i=n.create(ic.NULL,[],o,r),s=i.location.nativeElement,a=i.injector.get(Db,null),u=a&&i.injector.get(Cb);if(a&&u&&u.registerApplication(s,a),i.onDestroy(()=>{this.detachView(i.hostView),Gb(this.components,i),u&&u.unregisterApplication(s)}),this._loadComponent(i),("undefined"==typeof ngDevMode||ngDevMode)&&Ib()){this._injector.get(G_).log("Angular is running in development mode. Call enableProdMode() to enable production mode.")}return i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(("undefined"==typeof ngDevMode||ngDevMode)&&Ib())for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Gb(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);this._injector.get(z_,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}function Gb(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Wb(e){for(let t=e.length-1;t>=0;t--)if(void 0!==e[t])return e[t]}qb.decorators=[{type:kl}],qb.ctorParameters=()=>[{type:gb},{type:ic},{type:Ri},{type:Np},{type:F_}];class Kb{}function Qb(e){const t=Bv(e);if(!t)throw Yb(e);return t}function Zb(e){const t=Bv(e);if(!t)throw Yb(e);return new Hv(t)}const Jb=Qb;function Yb(e){return new Error(`No module with ID ${e} loaded`)}
|
|
1406
|
-
/**
|
|
1407
|
-
* @license
|
|
1408
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1409
|
-
*
|
|
1410
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1411
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1412
|
-
*/class Xb{}const ew={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class tw{constructor(e,t){this._compiler=e,this._config=t||ew}load(e){return!X_&&this._compiler instanceof lb?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n(83)(t).then(e=>e[r]).then(e=>nw(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),o="NgFactory";return void 0===r&&(r="default",o=""),n(83)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+o]).then(e=>nw(e,t,r))}}function nw(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}
|
|
1413
|
-
/**
|
|
1414
|
-
* @license
|
|
1415
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1416
|
-
*
|
|
1417
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1418
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1419
|
-
*/tw.decorators=[{type:kl}],tw.ctorParameters=()=>[{type:lb},{type:Xb,decorators:[{type:no}]}];class rw extends mg{}class ow extends rw{}
|
|
1420
|
-
/**
|
|
1421
|
-
* @license
|
|
1422
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1423
|
-
*
|
|
1424
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1425
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1426
|
-
*/
|
|
1427
|
-
/**
|
|
1428
|
-
* @license
|
|
1429
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1430
|
-
*
|
|
1431
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1432
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1433
|
-
*/class iw{constructor(e,t){this.name=e,this.callback=t}}class sw{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof aw&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class aw extends sw{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof aw&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof aw&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof aw&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof aw)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}function uw(e){return e.map(e=>e.nativeElement)}class cw{constructor(e){this.nativeNode=e}get parent(){const e=this.nativeNode.parentNode;return e?new lw(e):null}get injector(){return _c(this.nativeNode)}get componentInstance(){const e=this.nativeNode;return e&&(gc(e)||vc(e))}get context(){return gc(this.nativeNode)||mc(this.nativeNode)}get listeners(){return Cc(this.nativeNode).filter(e=>"dom"===e.type)}get references(){return function(e){const t=Si(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const t={};let r=n.index+1;for(let o=0;o<n.localNames.length;o+=2)t[n.localNames[o]]=e[r],r++;return t}return null}
|
|
1434
|
-
/**
|
|
1435
|
-
* @license
|
|
1436
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1437
|
-
*
|
|
1438
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1439
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1440
|
-
*/(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=Si(e);if(null===t)return[];const n=t.lView[1],r=n.data[t.nodeIndex],o=[],i=1048575&r.providerIndexes,s=r.directiveEnd;for(let e=i;e<s;e++){let t=n.data[e];void 0!==(a=t).type&&void 0!==a.template&&void 0!==a.declaredInputs&&(t=t.type),o.push(t)}var a;return o}(this.nativeNode)}}class lw extends cw{constructor(e){ngDevMode&&F(e),super(e)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const e=Si(this.nativeNode);if(null!==e){return e.lView[1].data[e.nodeIndex].value}return this.nativeNode.nodeName}get properties(){const e=Si(this.nativeNode);if(null===e)return{};const t=e.lView,n=t[1].data,r=n[e.nodeIndex],o={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const r=Object.getOwnPropertyDescriptors(n);for(let n in r)if(!n.startsWith("__")&&!n.startsWith("on")){const r=e[n];dw(r)&&(t[n]=r)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,o),function(e,t,n,r){let o=t.propertyBindings;if(null!==o)for(let t=0;t<o.length;t++){const i=o[t],s=r[i].split("�"),a=s[0];if(s.length>1){let t=s[1];for(let e=1;e<s.length-1;e++)t+=_(n[i+e-1])+s[e+1];e[a]=t}else e[a]=n[i]}}(o,r,t,n),o}get attributes(){const e={},t=this.nativeElement;if(!t)return e;const n=Si(t);if(null===n)return{};const r=n.lView[1].data[n.nodeIndex].attrs,o=[];if(r){let t=0;for(;t<r.length;){const n=r[t];if("string"!=typeof n)break;const i=r[t+1];e[n]=i,o.push(n.toLowerCase()),t+=2}}const i=t.attributes;for(let t=0;t<i.length;t++){const n=i[t],r=n.name.toLowerCase();-1===o.indexOf(r)&&(e[r]=n.value)}return e}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(t=>e[t]=!0),e}get childNodes(){const e=this.nativeNode.childNodes,t=[];for(let n=0;n<e.length;n++){const r=e[n];t.push(_w(r))}return t}get children(){const e=this.nativeElement;if(!e)return[];const t=e.children,n=[];for(let e=0;e<t.length;e++){const r=t[e];n.push(_w(r))}return n}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return fw(this,e,t,!0),t}queryAllNodes(e){const t=[];return fw(this,e,t,!1),t}triggerEventHandler(e,t){const n=this.nativeNode,r=[];this.listeners.forEach(o=>{if(o.name===e){const e=o.callback;e.call(n,t),r.push(e)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(e=>{if(-1!==e.toString().indexOf("__ngUnwrap__")){const o=e("__ngUnwrap__");return-1===r.indexOf(o)&&o.call(n,t)}})}}function dw(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function fw(e,t,n,r){const o=Si(e.nativeNode);if(null!==o){hw(o.lView[1].data[o.nodeIndex],o.lView,t,n,r,e.nativeNode)}else mw(e.nativeNode,t,n,r)}function hw(e,t,n,r,o,i){ngDevMode&&Ue(e,t);const s=function(e,t){const n=null===e?-1:e.index;if(-1!==n){ngDevMode&&Ue(e,t);const r=_t(t[n]);return ngDevMode&&null!==r&&!vt(t[11])&&F(r),r}return null}(e,t);if(11&e.type){if(gw(s,n,r,o,i),Re(e)){const s=Et(e.index,t);s&&s[1].firstChild&&hw(s[1].firstChild,s,n,r,o,i)}else e.child&&hw(e.child,t,n,r,o,i),s&&mw(s,n,r,o);const a=t[e.index];Fe(a)&&pw(a,n,r,o,i)}else if(4&e.type){const s=t[e.index];gw(s[7],n,r,o,i),pw(s,n,r,o,i)}else if(16&e.type){const s=t[16],a=s[6].projection[e.projection];if(Array.isArray(a))for(let e of a)gw(e,n,r,o,i);else if(a){const e=s[3];hw(e[1].data[a.index],e,n,r,o,i)}}else e.child&&hw(e.child,t,n,r,o,i);if(i!==s){const s=4&e.flags?e.projectionNext:e.next;s&&hw(s,t,n,r,o,i)}}function pw(e,t,n,r,o){for(let i=10;i<e.length;i++){const s=e[i],a=s[1].firstChild;a&&hw(a,s,t,n,r,o)}}function gw(e,t,n,r,o){if(o!==e){const o=bw(e);if(!o)return;(r&&o instanceof lw&&t(o)&&-1===n.indexOf(o)||!r&&t(o)&&-1===n.indexOf(o))&&n.push(o)}}function mw(e,t,n,r){const o=e.childNodes,i=o.length;for(let e=0;e<i;e++){const i=o[e],s=bw(i);s&&((r&&s instanceof lw&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s),mw(i,t,n,r))}}const vw=new Map;function yw(e){return vw.get(e)||null}function _w(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new lw(e):new cw(e)),e.__ng_debug__):null}const bw=yw;function ww(e){return yw(e)}const Dw=ww;function Cw(e){vw.set(e.nativeNode,e)}const Ew=sw,xw=aw,Sw=Rb(null,"core",[{provide:H_,useValue:"unknown"},{provide:Hb,deps:[ic]},{provide:Cb,deps:[]},{provide:G_,deps:[]}]);
|
|
1441
|
-
/**
|
|
1442
|
-
* @license
|
|
1443
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1444
|
-
*
|
|
1445
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1446
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1447
|
-
*/
|
|
1448
|
-
function Aw(){return bg}function Ow(){return wg}function Iw(e){return e=e||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:X_&&"undefined"!=typeof $localize&&$localize.locale||uh),X_&&ph(e),e}const Mw=ch,kw=[{provide:qb,useClass:qb,deps:[gb,ic,Ri,Np,F_]},{provide:Pv,deps:[gb],useFactory:jw},{provide:F_,useClass:F_,deps:[[new no,$_]]},{provide:lb,useClass:lb,deps:[]},L_,{provide:cg,useFactory:Aw,deps:[]},{provide:dg,useFactory:Ow,deps:[]},{provide:W_,useFactory:Iw,deps:[[new to(W_),new no,new oo]]},{provide:K_,useValue:Mw}];function jw(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class Pw{constructor(e){}}
|
|
1449
|
-
/**
|
|
1450
|
-
* @license
|
|
1451
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1452
|
-
*
|
|
1453
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1454
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1455
|
-
*/
|
|
1456
|
-
function Nw(e,t,n,r,o,i){e|=1;const{matchedQueries:s,references:a,matchedQueryIds:u}=mm(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:u,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?bm(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Yg},provider:null,text:null,query:null,ngContent:null}}function Tw(e,t,n,r,o,i,s=[],a,u,c,l,d){c||(c=Yg);const{matchedQueries:f,references:h,matchedQueryIds:p}=mm(n);let g=null,m=null;i&&([g,m]=Am(i)),a=a||[];const v=[];for(let e=0;e<a.length;e++){const[t,n,r]=a[e],[o,i]=Am(n);let s=void 0,u=void 0;switch(15&t){case 4:u=r;break;case 1:case 8:s=r}v[e]={flags:t,ns:o,name:i,nonMinifiedName:i,securityContext:s,suffix:u}}u=u||[];const y=[];for(let e=0;e<u.length;e++){const[t,n]=u[e];y[e]={type:0,target:t,eventName:n,propName:null}}const _=(s=s||[]).map(([e,t])=>{const[n,r]=Am(e);return[n,r,t]});return d=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==oe.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+rm++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),l&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:p,references:h,ngContentIndex:r,childCount:o,bindings:v,bindingFlags:Om(v),outputs:y,element:{ns:g,name:m,attrs:_,template:null,componentProvider:null,componentView:l||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Yg},provider:null,text:null,query:null,ngContent:null}}function $w(e,t,n){const r=n.element,o=e.root.selectorOrNode,i=e.renderer;let s;if(e.parent||!o){s=r.name?i.createElement(r.name,r.ns):i.createComment("");const o=ym(e,t,n);o&&i.appendChild(o,s)}else{const e=!!r.componentRendererType&&r.componentRendererType.encapsulation===oe.ShadowDom;s=i.selectRootElement(o,e)}if(r.attrs)for(let e=0;e<r.attrs.length;e++){const[t,n,o]=r.attrs[e];i.setAttribute(s,n,o,t)}return s}function Fw(e,t,n,r){for(let s=0;s<n.outputs.length;s++){const a=n.outputs[s],u=Vw(e,n.nodeIndex,(o=a.target,i=a.eventName,o?`${o}:${i}`:i));let c=a.target,l=e;"component"===a.target&&(c=null,l=t);const d=l.renderer.listen(c||r,a.eventName,u);e.disposables[n.outputIndex+s]=d}var o,i}function Vw(e,t,n){return r=>cm(e,t,n,r)}function Rw(e,t,n,r){if(!im(e,t,n,r))return!1;const o=t.bindings[n],i=Gg(e,t.nodeIndex),s=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){const s=t.securityContext;let a=s?e.root.sanitizer.sanitize(s,i):i;a=null!=a?a.toString():null;const u=e.renderer;null!=i?u.setAttribute(n,o,a,r):u.removeAttribute(n,o,r)}(e,o,s,o.ns,a,r);break;case 2:!function(e,t,n,r){const o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,o){let i=e.root.sanitizer.sanitize(gi.STYLE,o);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,s,a,r);break;case 8:!function(e,t,n,r,o){const i=t.securityContext;let s=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,s)}
|
|
1457
|
-
/**
|
|
1458
|
-
* @license
|
|
1459
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1460
|
-
*
|
|
1461
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1462
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1463
|
-
*/(33554432&t.flags&&32&o.flags?i.componentView:e,o,s,a,r)}return!0}function Lw(e,t,n){let r=[];for(let e in n){const t=n[e];r.push({propName:e,bindingType:t})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:gm(t),bindings:r},ngContent:null}}function Bw(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&pm(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let o=0;o<=r;o++){const r=e.def.nodes[o];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Qg(e,o).setDirty(),!(1&r.flags&&o+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(o+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let t=0;t<e.def.nodes.length;t++){const n=e.def.nodes[t];134217728&n.flags&&536870912&n.flags&&Qg(e,t).setDirty(),t+=n.childCount}}function Uw(e,t){const n=Qg(e,t.nodeIndex);if(!n.dirty)return;let r,o=void 0;if(67108864&t.flags){const n=t.parent.parent;o=Hw(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Wg(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=Hw(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o,Hp);const i=t.query.bindings;let s=!1;for(let e=0;e<i.length;e++){const t=i[e];let o;switch(t.bindingType){case 0:o=n.first;break;case 1:o=n,s=!0}r[t.propName]=o}s&&n.notifyOnChanges()}function Hw(e,t,n,r,o){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&o.push(zw(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Gg(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Hw(e,i+1,i+t.childCount,r,o),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],s=lm(i);s&&s===n&&Hw(i,0,i.def.nodes.length-1,r,o)}}const s=n.template._projectedViews;if(s)for(let e=0;e<s.length;e++){const t=s[e];Hw(t,0,t.def.nodes.length-1,r,o)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return o}function zw(e,t,n){if(null!=n)switch(n){case 1:return Gg(e,t.nodeIndex).renderElement;case 0:return new Up(Gg(e,t.nodeIndex).renderElement);case 2:return Gg(e,t.nodeIndex).template;case 3:return Gg(e,t.nodeIndex).viewContainer;case 4:return Wg(e,t.nodeIndex).instance}}
|
|
1464
|
-
/**
|
|
1465
|
-
* @license
|
|
1466
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1467
|
-
*
|
|
1468
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1469
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1470
|
-
*/function qw(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Gw(e,t,n){const r=ym(e,t,n);if(!r)return;Cm(e,n.ngContent.index,1,r,null,void 0)}
|
|
1471
|
-
/**
|
|
1472
|
-
* @license
|
|
1473
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1474
|
-
*
|
|
1475
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1476
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1477
|
-
*/function Ww(e,t){return Zw(128,e,Ir(t+1))}function Kw(e,t){return Zw(32,e,Ir(t))}function Qw(e,t){const n=Object.keys(t),r=n.length,o=[];for(let e=0;e<r;e++){const r=n[e];t[r];o.push(r)}return Zw(64,e,o)}function Zw(e,t,n){const r=[];for(let e=0;e<n.length;e++){const t=n[e];r.push({flags:8,name:t,ns:null,nonMinifiedName:t,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Om(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}
|
|
1478
|
-
/**
|
|
1479
|
-
* @license
|
|
1480
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1481
|
-
*
|
|
1482
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1483
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1484
|
-
*/
|
|
1485
|
-
function Jw(e,t,n){const r=[];for(let e=1;e<n.length;e++)r[e-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[e]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Yw(e,t,n){let r;const o=e.renderer;r=o.createText(n.text.prefix);const i=ym(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Xw(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
1486
|
-
/**
|
|
1487
|
-
* @license
|
|
1488
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1489
|
-
*
|
|
1490
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1491
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1492
|
-
*/function eD(e,t,n,r){let o=0,i=0,s=0,a=0,u=0,c=null,l=null,d=!1,f=!1,h=null;for(let e=0;e<t.length;e++){const n=t[e];if(n.nodeIndex=e,n.parent=c,n.bindingIndex=o,n.outputIndex=i,n.renderParent=l,s|=n.flags,u|=n.matchedQueryIds,n.element){const e=n.element;e.publicProviders=c?c.element.publicProviders:Object.create(null),e.allProviders=e.publicProviders,d=!1,f=!1,n.element.template&&(u|=n.element.template.nodeMatchedQueries)}if(nD(c,n,t.length),o+=n.bindings.length,i+=n.outputs.length,!l&&3&n.flags&&(h=n),20224&n.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const e=0!=(8192&n.flags),t=0!=(32768&n.flags);!e||t?c.element.publicProviders[em(n.provider.token)]=n:(f||(f=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[em(n.provider.token)]=n),t&&(c.element.componentProvider=n)}if(c?(c.childFlags|=n.flags,c.directChildFlags|=n.flags,c.childMatchedQueries|=n.matchedQueryIds,n.element&&n.element.template&&(c.childMatchedQueries|=n.element.template.nodeMatchedQueries)):a|=n.flags,n.childCount>0)c=n,tD(n)||(l=n);else for(;c&&e===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),c=e,l=c&&tD(c)?c.renderParent:c}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Yg,updateRenderer:r||Yg,handleEvent:(e,n,r,o)=>t[n].element.handleEvent(e,r,o),bindingCount:o,outputCount:i,lastRenderRootNode:h}}function tD(e){return 0!=(1&e.flags)&&null===e.element.name}function nD(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags){if(0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`)}if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function rD(e,t,n,r){const o=sD(e.root,e.renderer,e,t,n);return aD(o,e.component,r),uD(o),o}function oD(e,t,n){const r=sD(e,e.renderer,null,null,t);return aD(r,n,n),uD(r),r}function iD(e,t,n,r){const o=t.element.componentRendererType;let i;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,sD(e.root,i,e,t.element.componentProvider,n)}function sD(e,t,n,r,o){const i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:s,initIndex:-1}}function aD(e,t,n){e.component=t,e.context=n}function uD(e){let t;if(hm(e)){const n=e.parentNodeDef;t=Gg(e.parent,n.parent.nodeIndex).renderElement}const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const s=n.nodes[i];let a;switch(Jg.setCurrentNode(e,i),201347067&s.flags){case 1:const n=$w(e,t,s);let u=void 0;if(33554432&s.flags){const t=bm(s.element.componentView);u=Jg.createComponentView(e,s,t,n)}Fw(e,u,s,n),a={renderElement:n,componentView:u,viewContainer:null,template:s.element.template?ev(e,s):void 0},16777216&s.flags&&(a.viewContainer=Zm(e,s,a));break;case 2:a=Yw(e,t,s);break;case 512:case 1024:case 2048:case 256:if(a=r[i],!(a||4096&s.flags)){a={instance:yv(e,s)}}break;case 16:a={instance:_v(e,s)};break;case 16384:if(a=r[i],!a){a={instance:bv(e,s)}}if(32768&s.flags){aD(Gg(e,s.parent.nodeIndex).componentView,a.instance,a.instance)}break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:o=-2147483648==(-2147483648&s.flags),a=new yy(o);break;case 8:Gw(e,t,s),a=void 0}r[i]=a}var o;vD(e,mD.CreateViewNodes),wD(e,201326592,268435456,0)}function cD(e){fD(e),Jg.updateDirectives(e,1),yD(e,mD.CheckNoChanges),Jg.updateRenderer(e,1),vD(e,mD.CheckNoChanges),e.state&=-97}function lD(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Hg(e,0,256),fD(e),Jg.updateDirectives(e,0),yD(e,mD.CheckAndUpdate),wD(e,67108864,536870912,0);let t=Hg(e,256,512);Ov(e,2097152|(t?1048576:0)),Jg.updateRenderer(e,0),vD(e,mD.CheckAndUpdate),wD(e,134217728,536870912,0),t=Hg(e,512,768),Ov(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Hg(e,768,1024)}function dD(e,t,n,r,o,i,s,a,u,c,l,d,f){return 0===n?function(e,t,n,r,o,i,s,a,u,c,l,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,s,a,u,c,l,d){const f=t.bindings.length;let h=!1;return f>0&&Rw(e,t,0,n)&&(h=!0),f>1&&Rw(e,t,1,r)&&(h=!0),f>2&&Rw(e,t,2,o)&&(h=!0),f>3&&Rw(e,t,3,i)&&(h=!0),f>4&&Rw(e,t,4,s)&&(h=!0),f>5&&Rw(e,t,5,a)&&(h=!0),f>6&&Rw(e,t,6,u)&&(h=!0),f>7&&Rw(e,t,7,c)&&(h=!0),f>8&&Rw(e,t,8,l)&&(h=!0),f>9&&Rw(e,t,9,d)&&(h=!0),h}(e,t,n,r,o,i,s,a,u,c,l,d);case 2:return function(e,t,n,r,o,i,s,a,u,c,l,d){let f=!1;const h=t.bindings,p=h.length;if(p>0&&im(e,t,0,n)&&(f=!0),p>1&&im(e,t,1,r)&&(f=!0),p>2&&im(e,t,2,o)&&(f=!0),p>3&&im(e,t,3,i)&&(f=!0),p>4&&im(e,t,4,s)&&(f=!0),p>5&&im(e,t,5,a)&&(f=!0),p>6&&im(e,t,6,u)&&(f=!0),p>7&&im(e,t,7,c)&&(f=!0),p>8&&im(e,t,8,l)&&(f=!0),p>9&&im(e,t,9,d)&&(f=!0),f){let f=t.text.prefix;p>0&&(f+=Xw(n,h[0])),p>1&&(f+=Xw(r,h[1])),p>2&&(f+=Xw(o,h[2])),p>3&&(f+=Xw(i,h[3])),p>4&&(f+=Xw(s,h[4])),p>5&&(f+=Xw(a,h[5])),p>6&&(f+=Xw(u,h[6])),p>7&&(f+=Xw(c,h[7])),p>8&&(f+=Xw(l,h[8])),p>9&&(f+=Xw(d,h[9]));const g=qg(e,t.nodeIndex).renderText;e.renderer.setValue(g,f)}return f}(e,t,n,r,o,i,s,a,u,c,l,d);case 16384:return function(e,t,n,r,o,i,s,a,u,c,l,d){const f=Wg(e,t.nodeIndex),h=f.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&om(e,t,0,n)&&(p=!0,g=Av(e,f,t,0,n,g)),m>1&&om(e,t,1,r)&&(p=!0,g=Av(e,f,t,1,r,g)),m>2&&om(e,t,2,o)&&(p=!0,g=Av(e,f,t,2,o,g)),m>3&&om(e,t,3,i)&&(p=!0,g=Av(e,f,t,3,i,g)),m>4&&om(e,t,4,s)&&(p=!0,g=Av(e,f,t,4,s,g)),m>5&&om(e,t,5,a)&&(p=!0,g=Av(e,f,t,5,a,g)),m>6&&om(e,t,6,u)&&(p=!0,g=Av(e,f,t,6,u,g)),m>7&&om(e,t,7,c)&&(p=!0,g=Av(e,f,t,7,c,g)),m>8&&om(e,t,8,l)&&(p=!0,g=Av(e,f,t,8,l,g)),m>9&&om(e,t,9,d)&&(p=!0,g=Av(e,f,t,9,d,g)),g&&h.ngOnChanges(g),65536&t.flags&&zg(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),p}(e,t,n,r,o,i,s,a,u,c,l,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,s,a,u,c,l,d){const f=t.bindings;let h=!1;const p=f.length;if(p>0&&im(e,t,0,n)&&(h=!0),p>1&&im(e,t,1,r)&&(h=!0),p>2&&im(e,t,2,o)&&(h=!0),p>3&&im(e,t,3,i)&&(h=!0),p>4&&im(e,t,4,s)&&(h=!0),p>5&&im(e,t,5,a)&&(h=!0),p>6&&im(e,t,6,u)&&(h=!0),p>7&&im(e,t,7,c)&&(h=!0),p>8&&im(e,t,8,l)&&(h=!0),p>9&&im(e,t,9,d)&&(h=!0),h){const h=Kg(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=[],p>0&&g.push(n),p>1&&g.push(r),p>2&&g.push(o),p>3&&g.push(i),p>4&&g.push(s),p>5&&g.push(a),p>6&&g.push(u),p>7&&g.push(c),p>8&&g.push(l),p>9&&g.push(d);break;case 64:g={},p>0&&(g[f[0].name]=n),p>1&&(g[f[1].name]=r),p>2&&(g[f[2].name]=o),p>3&&(g[f[3].name]=i),p>4&&(g[f[4].name]=s),p>5&&(g[f[5].name]=a),p>6&&(g[f[6].name]=u),p>7&&(g[f[7].name]=c),p>8&&(g[f[8].name]=l),p>9&&(g[f[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,o);break;case 4:g=e.transform(r,o,i);break;case 5:g=e.transform(r,o,i,s);break;case 6:g=e.transform(r,o,i,s,a);break;case 7:g=e.transform(r,o,i,s,a,u);break;case 8:g=e.transform(r,o,i,s,a,u,c);break;case 9:g=e.transform(r,o,i,s,a,u,c,l);break;case 10:g=e.transform(r,o,i,s,a,u,c,l,d)}}h.value=g}return h}(e,t,n,r,o,i,s,a,u,c,l,d);default:throw"unreachable"}}(e,t,r,o,i,s,a,u,c,l,d,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let o=0;o<n.length;o++)Rw(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let o=!1;for(let r=0;r<n.length;r++)im(e,t,r,n[r])&&(o=!0);if(o){let o="";for(let e=0;e<n.length;e++)o+=Xw(n[e],r[e]);o=t.text.prefix+o;const i=qg(e,t.nodeIndex).renderText;e.renderer.setValue(i,o)}return o}(e,t,n);case 16384:return function(e,t,n){const r=Wg(e,t.nodeIndex),o=r.instance;let i=!1,s=void 0;for(let o=0;o<n.length;o++)om(e,t,o,n[o])&&(i=!0,s=Av(e,r,t,o,n[o],s));return s&&o.ngOnChanges(s),65536&t.flags&&zg(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let o=!1;for(let r=0;r<n.length;r++)im(e,t,r,n[r])&&(o=!0);if(o){const o=Kg(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let e=0;e<n.length;e++)i[r[e].name]=n[e];break;case 128:const e=n[0],t=n.slice(1);i=e.transform(...t)}o.value=i}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function fD(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Gg(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,um(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function hD(e,t,n,r,o,i,s,a,u,c,l,d,f){return 0===n?function(e,t,n,r,o,i,s,a,u,c,l,d){const f=t.bindings.length;f>0&&sm(e,t,0,n);f>1&&sm(e,t,1,r);f>2&&sm(e,t,2,o);f>3&&sm(e,t,3,i);f>4&&sm(e,t,4,s);f>5&&sm(e,t,5,a);f>6&&sm(e,t,6,u);f>7&&sm(e,t,7,c);f>8&&sm(e,t,8,l);f>9&&sm(e,t,9,d)}(e,t,r,o,i,s,a,u,c,l,d,f):function(e,t,n){for(let r=0;r<n.length;r++)sm(e,t,r,n[r])}(e,t,r),!1}function pD(e,t){if(Qg(e,t.nodeIndex).dirty)throw Lg(Jg.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function gD(e){if(!(128&e.state)){if(yD(e,mD.Destroy),vD(e,mD.Destroy),Ov(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=lm(e);if(t){const n=t.template._projectedViews;n&&(Or(n,n.indexOf(e)),Jg.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Gg(e,n).renderElement):2&t.flags?e.renderer.destroyNode(qg(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Qg(e,n).destroy()}}(e),hm(e)&&e.renderer.destroy(),e.state|=128}}var mD;function vD(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];33554432&o.flags?_D(Gg(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function yD(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const o=n.nodes[r];if(16777216&o.flags){const n=Gg(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)_D(n[e],t)}else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function _D(e,t){const n=e.state;switch(t){case mD.CheckNoChanges:0==(128&n)&&(12==(12&n)?cD(e):64&n&&bD(e,mD.CheckNoChangesProjectedViews));break;case mD.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?cD(e):64&n&&bD(e,t));break;case mD.CheckAndUpdate:0==(128&n)&&(12==(12&n)?lD(e):64&n&&bD(e,mD.CheckAndUpdateProjectedViews));break;case mD.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?lD(e):64&n&&bD(e,t));break;case mD.Destroy:gD(e);break;case mD.CreateViewNodes:uD(e)}}function bD(e,t){yD(e,t),vD(e,t)}function wD(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const o=e.def.nodes.length;for(let i=0;i<o;i++){const o=e.def.nodes[i];if(o.flags&t&&o.flags&n)switch(Jg.setCurrentNode(e,o.nodeIndex),r){case 0:Uw(e,o);break;case 1:pD(e,o)}o.childFlags&t&&o.childFlags&n||(i+=o.childCount)}}
|
|
1493
|
-
/**
|
|
1494
|
-
* @license
|
|
1495
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1496
|
-
*
|
|
1497
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1498
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1499
|
-
*/Pw.decorators=[{type:P_,args:[{providers:kw}]}],Pw.ctorParameters=()=>[{type:qb}],function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(mD||(mD={}));let DD=!1;function CD(){if(DD)return;DD=!0;const e=Ib()?{setCurrentNode:GD,createRootView:xD,createEmbeddedView:AD,createComponentView:OD,createNgModuleRef:ID,overrideProvider:PD,overrideComponentView:ND,clearOverrides:TD,checkAndUpdateView:RD,checkNoChangesView:LD,destroyView:BD,createDebugContext:(e,t)=>new eC(e,t),handleEvent:WD,updateDirectives:KD,updateRenderer:QD}:{setCurrentNode:()=>{},createRootView:ED,createEmbeddedView:rD,createComponentView:iD,createNgModuleRef:iv,overrideProvider:Yg,overrideComponentView:Yg,clearOverrides:Yg,checkAndUpdateView:lD,checkNoChangesView:cD,destroyView:gD,createDebugContext:(e,t)=>new eC(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?FD:VD,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?FD:VD,e)};Jg.setCurrentNode=e.setCurrentNode,Jg.createRootView=e.createRootView,Jg.createEmbeddedView=e.createEmbeddedView,Jg.createComponentView=e.createComponentView,Jg.createNgModuleRef=e.createNgModuleRef,Jg.overrideProvider=e.overrideProvider,Jg.overrideComponentView=e.overrideComponentView,Jg.clearOverrides=e.clearOverrides,Jg.checkAndUpdateView=e.checkAndUpdateView,Jg.checkNoChangesView=e.checkNoChangesView,Jg.destroyView=e.destroyView,Jg.resolveDep=xv,Jg.createDebugContext=e.createDebugContext,Jg.handleEvent=e.handleEvent,Jg.updateDirectives=e.updateDirectives,Jg.updateRenderer=e.updateRenderer,Jg.dirtyParentQueries=Bw}function ED(e,t,n,r,o,i){const s=o.injector.get(zp);return oD(SD(e,o,s,t,n),r,i)}function xD(e,t,n,r,o,i){const s=o.injector.get(zp),a=SD(e,o,new oC(s),t,n),u=$D(r);return nC(UD.create,oD,null,[a,u,i])}function SD(e,t,n,r,o){const i=t.injector.get(Qp),s=t.injector.get(Ri),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:s}}function AD(e,t,n,r){const o=$D(n);return nC(UD.create,rD,null,[e,t,o,r])}function OD(e,t,n,r){const o=jD.get(t.element.componentProvider.provider.token);return n=o||$D(n),nC(UD.create,iD,null,[e,t,n,r])}function ID(e,t,n,r){return iv(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;if(0===MD.size)return{hasOverrides:t,hasDeprecatedOverrides:n};return e.providers.forEach(e=>{const r=MD.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{kD.forEach((r,o)=>{p(H(o).providedIn)===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);if(!t)return e;return function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const o=MD.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=vm(o.deps),r.value=o.value)}if(kD.size>0){let t=new Set(e.modules);kD.forEach((r,o)=>{if(t.has(p(H(o).providedIn))){let t={token:o,flags:r.flags|(n?4096:0),deps:vm(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[em(o)]=t}})}}(e=e.factory(()=>Yg)),e}(r))}const MD=new Map,kD=new Map,jD=new Map;function PD(e){let t;MD.set(e.token,e),"function"==typeof e.token&&(t=H(e.token))&&"function"==typeof t.providedIn&&kD.set(e.token,e)}function ND(e,t){const n=bm(Wm(t)),r=bm(n.nodes[0].element.componentView);jD.set(e,r)}function TD(){MD.clear(),kD.clear(),jD.clear()}function $D(e){if(0===MD.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&MD.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Yg);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=MD.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=vm(n.deps),e.value=n.value)}}}}function FD(e,t,n,r,o,i,s,a,u,c,l,d,f){const h=e.def.nodes[t];return dD(e,h,n,r,o,i,s,a,u,c,l,d,f),224&h.flags?Kg(e,t).value:void 0}function VD(e,t,n,r,o,i,s,a,u,c,l,d,f){const h=e.def.nodes[t];return hD(e,h,n,r,o,i,s,a,u,c,l,d,f),224&h.flags?Kg(e,t).value:void 0}function RD(e){return nC(UD.detectChanges,lD,null,[e])}function LD(e){return nC(UD.checkNoChanges,cD,null,[e])}function BD(e){return nC(UD.destroy,gD,null,[e])}var UD;let HD,zD,qD;function GD(e,t){zD=e,qD=t}function WD(e,t,n,r){return GD(e,t),nC(UD.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function KD(e,t){if(128&e.state)throw Ug(UD[HD]);return GD(e,YD(e,0)),e.def.updateDirectives((function(e,n,r,...o){const i=e.def.nodes[n];0===t?ZD(e,i,r,o):JD(e,i,r,o);16384&i.flags&&GD(e,YD(e,n));return 224&i.flags?Kg(e,i.nodeIndex).value:void 0}),e)}function QD(e,t){if(128&e.state)throw Ug(UD[HD]);return GD(e,XD(e,0)),e.def.updateRenderer((function(e,n,r,...o){const i=e.def.nodes[n];0===t?ZD(e,i,r,o):JD(e,i,r,o);3&i.flags&&GD(e,XD(e,n));return 224&i.flags?Kg(e,i.nodeIndex).value:void 0}),e)}function ZD(e,t,n,r){if(dD(e,t,n,...r)){const o=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],i=o[e];8&r.flags&&(n[Gi(r.nonMinifiedName)]=Ki(i))}const r=t.parent,i=Gg(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(i,t,r):e.renderer.removeAttribute(i,t)}else e.renderer.setValue(i,zi("bindings="+JSON.stringify(n,null,2)))}}}function JD(e,t,n,r){hD(e,t,n,...r)}function YD(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function XD(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(UD||(UD={}));class eC{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=dm(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Gg(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return nv(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){tC(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&tC(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!hm(e);)e=e.parent;if(e.parent)return Gg(e.parent,dm(e).nodeIndex);return null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?fm(this.view,this.nodeDef):fm(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const o=function(e,t){let n=-1;for(let r=0;r<=t;r++){3&e.nodes[r].flags&&n++}return n}(n,r);let i=-1;n.factory(()=>(i++,i===o?e.error.bind(e,...t):Yg)),i<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function tC(e,t,n){for(let r in t.references)n[r]=zw(e,t,t.references[r])}function nC(e,t,n,r){const o=HD,i=zD,s=qD;try{HD=e;const a=t.apply(n,r);return zD=i,qD=s,HD=o,a}catch(e){if($i(e)||!zD)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Bg(e,t),e}(e,rC())}}function rC(){return zD?new eC(zD,qD):null}class oC{constructor(e){this.delegate=e}createRenderer(e,t){return new iC(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class iC{constructor(e){this.delegate=e,this.debugContextFactory=rC,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=bw(e);t&&(!function(e){vw.delete(e.nativeNode)}(t),t instanceof sw&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new aw(n,null,r);t.name=e,Cw(t)}return n}createComment(e){const t=this.delegate.createComment(zi(e)),n=this.createDebugContext(t);return n&&Cw(new sw(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Cw(new sw(t,null,n)),t}appendChild(e,t){const n=bw(e),r=bw(t);n&&r&&n instanceof aw&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n,r){const o=bw(e),i=bw(t),s=bw(n);o&&i&&o instanceof aw&&o.insertBefore(s,i),this.delegate.insertBefore(e,t,n,r)}removeChild(e,t){const n=bw(e),r=bw(t);n&&r&&n instanceof aw&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=rC();return r&&Cw(new aw(n,null,r)),n}setAttribute(e,t,n,r){const o=bw(e);if(o&&o instanceof aw){const e=r?r+":"+t:t;o.attributes[e]=n}this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=bw(e);if(r&&r instanceof aw){const e=n?n+":"+t:t;r.attributes[e]=null}this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=bw(e);n&&n instanceof aw&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=bw(e);n&&n instanceof aw&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const o=bw(e);o&&o instanceof aw&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=bw(e);r&&r instanceof aw&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=bw(e);r&&r instanceof aw&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=bw(e);r&&r.listeners.push(new iw(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}
|
|
1500
|
-
/**
|
|
1501
|
-
* @license
|
|
1502
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1503
|
-
*
|
|
1504
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1505
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1506
|
-
*/function sC(e){return CD(),Jg.overrideProvider(e)}function aC(e,t){return CD(),Jg.overrideComponentView(e,t)}function uC(){return CD(),Jg.clearOverrides()}function cC(e,t,n){return new lC(e,t,n)}class lC extends Mg{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){CD();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const t in e.providersByKey)r[t]=e.providersByKey[t];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:r}}(bm(this._ngModuleDefFactory));return Jg.createNgModuleRef(this.moduleType,e||ic.NULL,this._bootstrapComponents,t)}}
|
|
1507
|
-
/**
|
|
1508
|
-
* @license
|
|
1509
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1510
|
-
*
|
|
1511
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1512
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1513
|
-
*/
|
|
1514
|
-
/**
|
|
1515
|
-
* @license
|
|
1516
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1517
|
-
*
|
|
1518
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1519
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1520
|
-
*/
|
|
1521
|
-
/**
|
|
1522
|
-
* @license
|
|
1523
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1524
|
-
*
|
|
1525
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1526
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1527
|
-
*/function dC(e){return Dr({usage:1,kind:"directive",type:e.type}).compileDirectiveDeclaration(Ty,`ng:///${e.type.name}/ɵfac.js`,e)}function fC(e){var t,n;$v(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function hC(e){return Dr({usage:1,kind:"component",type:e.type}).compileComponentDeclaration(Ty,`ng:///${e.type.name}/ɵcmp.js`,e)}function pC(e){return Dr({usage:1,kind:gC(e.target),type:e.type}).compileFactoryDeclaration(Ty,`ng:///${e.type.name}/ɵfac.js`,e)}function gC(e){switch(e){case br.Directive:return"directive";case br.Component:return"component";case br.Injectable:return"injectable";case br.Pipe:return"pipe";case br.NgModule:return"NgModule"}}function mC(e){return Dr({usage:1,kind:"injectable",type:e.type}).compileInjectableDeclaration(Ty,`ng:///${e.type.name}/ɵprov.js`,e)}function vC(e){return Dr({usage:1,kind:"NgModule",type:e.type}).compileInjectorDeclaration(Ty,`ng:///${e.type.name}/ɵinj.js`,e)}function yC(e){return Dr({usage:1,kind:"NgModule",type:e.type}).compileNgModuleDeclaration(Ty,`ng:///${e.type.name}/ɵmod.js`,e)}function _C(e){return Dr({usage:1,kind:"pipe",type:e.type}).compilePipeDeclaration(Ty,`ng:///${e.type.name}/ɵpipe.js`,e)}
|
|
1528
|
-
/**
|
|
1529
|
-
* @license
|
|
1530
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1531
|
-
*
|
|
1532
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1533
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1534
|
-
*/
|
|
1535
|
-
/**
|
|
1536
|
-
* @license
|
|
1537
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1538
|
-
*
|
|
1539
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1540
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1541
|
-
*/
|
|
1542
|
-
/**
|
|
1543
|
-
* @license
|
|
1544
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1545
|
-
*
|
|
1546
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1547
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1548
|
-
*/"undefined"!=typeof ngDevMode&&ngDevMode&&(ce.$localize=ce.$localize||function(){throw new Error("It looks like your application or one of its dependencies is using i18n.\nAngular 9 introduced a global `$localize()` function that needs to be loaded.\nPlease run `ng add @angular/localize` from the Angular CLI.\n(For non-CLI projects, add `import '@angular/localize/init';` to your `polyfills.ts` file.\nFor server-side rendering applications add the import to your `main.server.ts` file.)")});
|
|
1549
|
-
/**
|
|
1550
|
-
* @license
|
|
1551
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1552
|
-
*
|
|
1553
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1554
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1555
|
-
*/
|
|
1556
|
-
/**
|
|
1557
|
-
* @license
|
|
1558
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1559
|
-
*
|
|
1560
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1561
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1562
|
-
*/}.call(this,n(64))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));
|
|
1563
|
-
/*! *****************************************************************************
|
|
1564
|
-
Copyright (c) Microsoft Corporation.
|
|
1565
|
-
|
|
1566
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
1567
|
-
purpose with or without fee is hereby granted.
|
|
1568
|
-
|
|
1569
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1570
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1571
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1572
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1573
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1574
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1575
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
1576
|
-
***************************************************************************** */
|
|
1577
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(35),o=n(4),i=n(30),s=n(37);var a=n(12),u=n(54),c=n(8),l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,a=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new o.a(e,t,n):new o.a(s.a)}(e,t,n);if(r?a.add(r.call(a,this.source)):a.add(this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(r.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=d(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[a.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Object(u.b)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=d(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function d(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(51),o=n(106);var i=n(51);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var s=n(106);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return s.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return s.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return s.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return s.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class a{optimizeNodes(){return this}optimizeNames(e,t){return this}}class u extends a{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":" = "+this.rhs;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends a{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,t),this}get names(){return M(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class l extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return this.label+":"+e}}class f extends a{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?" "+this.label:""};`+e}}class h extends a{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class p extends a{constructor(e){super(),this.code=e}render({_n:e}){return this.code+";"+e}optimizeNodes(){return""+this.code?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class g extends a{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(j(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>I(e,t.names),{})}}class m extends g{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class v extends g{}class y extends m{}y.kind="else";class _ extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof _?t:t.nodes:this.nodes.length?this:new _(P(e),t instanceof _?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return M(e,this.condition),this.else&&I(e,this.else.names),e}}_.kind="if";class b extends m{}b.kind="for";class w extends b{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return I(super.names,this.iteration.names)}}class D extends b{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=M(super.names,this.from);return M(e,this.to)}}class C extends b{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return I(super.names,this.iterable.names)}}class E extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}E.kind="func";class x extends g{render(e){return"return "+super.render(e)}}x.kind="return";class S extends m{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&I(e,this.catch.names),this.finally&&I(e,this.finally.names),e}}class A extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}A.kind="catch";class O extends m{render(e){return"finally"+super.render(e)}}O.kind="finally";function I(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function M(e,t){return t instanceof r._CodeOrName?I(e,t.names):e}function k(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some(e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str])?new r._Code(e._items.reduce((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function j(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function P(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${F(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new l(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new p(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),r.addCodeArg(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new _(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new _(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(_,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const s=this._scope.toName(e);return this._for(new D(i,s,t,n),()=>r(s))}forOf(e,t,n,i=o.varKinds.const){const s=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,t=>{this.var(s,r._`${e}[${t}]`),n(s)})}return this._for(new C("of",i,s,t),()=>n(s))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const s=this._scope.toName(e);return this._for(new C("in",i,s,t),()=>n(s))}endFor(){return this._endBlockNode(b)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new x;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(x)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new S;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new A(e),t(e)}return n&&(this._currNode=r.finally=new O,this.code(n)),this._endBlockNode(A,O)}throw(e){return this._leafNode(new h(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new E(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(E)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof _))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=P;const N=$(t.operators.AND);t.and=function(...e){return e.reduce(N)};const T=$(t.operators.OR);function $(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${F(t)} ${e} ${F(n)}`}function F(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(T)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),o=n(22),i=n(37),s=n(5),a=n(30),u=n(8),c=n(24),l=function(e){function t(n,r,o){var s=e.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=i.a;break;case 1:if(!n){s.destination=i.a;break}if("object"==typeof n){n instanceof t?(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,o)}return s}return r.a(t,e),t.prototype[a.a]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(s.a),d=function(e){function t(t,n,r,s){var a,u=e.call(this)||this;u._parentSubscriber=t;var c=u;return Object(o.a)(n)?a=n:n&&(a=n.next,r=n.error,s=n.complete,n!==i.a&&(c=Object.create(n),Object(o.a)(c.unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(u))),u._context=c,u._next=a,u._error=r,u._complete=s,u}return r.a(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=u.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};u.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw e;Object(c.a)(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return u.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(c.a)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(7),o=n(34),i=n(22),s=n(31),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,a=this._ctorUnsubscribe,c=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var d=0;d<n.length;++d){n[d].remove(this)}if(Object(i.a)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(e){t=e instanceof s.a?u(e.errors):[e]}}if(Object(r.a)(l)){d=-1;for(var f=l.length;++d<f;){var h=l[d];if(Object(o.a)(h))try{h.unsubscribe()}catch(e){t=t||[],e instanceof s.a?t=t.concat(u(e.errors)):t.push(e)}}}if(t)throw new s.a(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){return e.reduce((function(e,t){return e.concat(t instanceof s.a?t.errors:t)}),[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(3),o=n(51);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||p(e,`unknown keyword: "${n}"`)}function s(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function a(e){return"number"==typeof e?""+e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function u(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,s,a,u)=>{const c=void 0===a?s:a instanceof r.Name?(s instanceof r.Name?e(i,s,a):t(i,s,a),a):s instanceof r.Name?(t(i,a,s),s):n(s,a);return u!==r.Name||c instanceof r.Name?c:o(i,c)}}function l(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}function d(e,t,n){Object.keys(n).forEach(n=>e.assign(r._`${t}${r.getProperty(n)}`,!0))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!s(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=s,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${r.getProperty(o)}`},t.unescapeFragment=function(e){return u(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(a(e))},t.escapeJsonPointer=a,t.unescapeJsonPointer=u,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,()=>{e.if(r._`${t} === true`,()=>e.assign(n,!0),()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`))}),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))}),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:l}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`)),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`)),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=l,t.setEvaluated=d;const f={};var h;function p(e,t,n=e.opts.strictSchema){if(n){if(t="strict mode: "+t,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(h=t.Type||(t.Type={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===h.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?r.getProperty(e).toString():"/"+a(e)},t.checkStrictMode=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return d}));var r=n(1),o=n(2),i=n(4),s=n(5),a=n(15),u=n(57),c=n(30),l=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r.a(t,e),t}(i.a),d=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return r.a(t,e),t.prototype[c.a]=function(){return new l(this)},t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.a;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new u.a(this,e))},t.prototype.asObservable=function(){var e=new o.a;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(o.a),f=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return r.a(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):s.a.EMPTY},t}(d)},function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return o}));var o=r()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),o=n(23),i=n(56);function s(e,t){return t?Object(i.a)(e,t):e instanceof r.a?e:new r.a(Object(o.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=n(4);function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(e,t))}}var s=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}(),a=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.a(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(3),o=n(6),i=n(26);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function a(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function u(e,t,n,o){const i=r._`${t}${r.getProperty(n)} === undefined`;return o?r.or(i,r.not(a(e,t,n))):i}function c(e){return e?Object.keys(e).filter(e=>"__proto__"!==e):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(u(n,o,t,i.opts.ownProperties),()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()})},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return r.or(...o.map(o=>r.and(u(e,t,o,n.ownProperties),r._`${i} = ${o}`)))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=a,t.propertyInData=function(e,t,n,o){const i=r._`${t}${r.getProperty(n)} !== undefined`;return o?r._`${i} && ${a(e,t,n)}`:i},t.noPropertyInData=u,t.allSchemaProperties=c,t.schemaProperties=function(e,t){return c(t).filter(n=>!o.alwaysValidSchema(e,t[n]))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:s,errorPath:a},it:u},c,l,d){const f=d?r._`${e}, ${t}, ${o}${s}`:t,h=[[i.default.instancePath,r.strConcat(i.default.instancePath,a)],[i.default.parentData,u.parentData],[i.default.parentDataProperty,u.parentDataProperty],[i.default.rootData,i.default.rootData]];u.opts.dynamicRef&&h.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const p=r._`${f}, ${n.object(...h)}`;return l!==r.nil?r._`${c}.call(${l}, ${p})`:r._`${c}(${p})`},t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"";return e.scopeValue("pattern",{key:n,ref:new RegExp(n,o),code:r._`new RegExp(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:s}=e,a=t.name("valid");if(s.allErrors){const e=t.let("valid",!0);return u(()=>t.assign(e,!1)),e}return t.var(a,!0),u(()=>t.break()),a;function u(s){const u=t.const("len",r._`${n}.length`);t.forRange("i",0,u,n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},a),t.if(r.not(a),s)})}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some(e=>o.alwaysValidSchema(s,e))&&!s.opts.unevaluated)return;const a=t.let("valid",!1),u=t.name("_valid");t.block(()=>n.forEach((n,o)=>{const s=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},u);t.assign(a,r._`${a} || ${u}`);e.mergeValidEvaluated(s,u)||t.if(r.not(a))})),e.result(a,()=>e.reset(),()=>e.error(!0))}},function(e,t,n){var r=n(87),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),o=n(59),i=n(36);function s(e,t){return t?Object(i.a)(e,t):new r.a(Object(o.a)(e))}},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return s})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return c})),n.d(t,"__awaiter",(function(){return l})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return f})),n.d(t,"__exportStar",(function(){return h})),n.d(t,"__values",(function(){return p})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__spreadArray",(function(){return y})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return b})),n.d(t,"__asyncDelegator",(function(){return w})),n.d(t,"__asyncValues",(function(){return D})),n.d(t,"__makeTemplateObject",(function(){return C})),n.d(t,"__importStar",(function(){return x})),n.d(t,"__importDefault",(function(){return S})),n.d(t,"__classPrivateFieldGet",(function(){return A})),n.d(t,"__classPrivateFieldSet",(function(){return O}));
|
|
1578
|
-
/*! *****************************************************************************
|
|
1579
|
-
Copyright (c) Microsoft Corporation.
|
|
1580
|
-
|
|
1581
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
1582
|
-
purpose with or without fee is hereby granted.
|
|
1583
|
-
|
|
1584
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1585
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1586
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1587
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1588
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1589
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1590
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
1591
|
-
***************************************************************************** */
|
|
1592
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var f=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function h(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||f(t,e,n)}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function D(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&f(t,e,n);return E(t,e),t}function S(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(59),o=n(24),i=n(11),s=n(12),a=n(58),u=n(60),c=n(34),l=function(e){if(e&&"function"==typeof e[s.a])return l=e,function(e){var t=l[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(u.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,o.a),e};if(e&&"function"==typeof e[i.a])return t=e,function(e){for(var n=t[i.a]();;){var r=void 0;try{r=n.next()}catch(t){return e.error(t),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,l,d=Object(c.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+d+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c}));var r=n(1),o=n(4),i=n(2),s=n(23),a=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,n}return r.a(t,e),t.prototype._next=function(e){this.parent.notifyNext(e)},t.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},t}(o.a),u=(o.a,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.a(t,e),t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.destination.complete()},t}(o.a));o.a;function c(e,t){if(!t.closed){if(e instanceof i.a)return e.subscribe(t);var n;try{n=Object(s.a)(e)(t)}catch(e){t.error(e)}return n}}},function(e,t,n){var r=n(131),o=n(136);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},function(t,n){t.exports=e},function(e,t,n){var r=n(43),o=n(132),i=n(133),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4);function o(e){for(;e;){var t=e,n=t.closed,o=t.destination,i=t.isStopped;if(n||i)return!1;e=o&&o instanceof r.a?o:null}return!0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),o=n(5);function i(e,t){return new r.a((function(n){var r=new o.a,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(8),o=n(24),i={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(o.a)(e)},complete:function(){}}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsAngularService=t.USE_STATE_VALUE=void 0;var r=n(32),o=n(81),i=n(86);t.USE_STATE_VALUE=Symbol("Marker to use state value");var s=function(){function e(){}return e.prototype.init=function(e){var t,n,i,s,a;void 0===e&&(e={core:{data:void 0,schema:void 0,uischema:void 0,validationMode:"ValidateAndShow"}}),this._state=e,this._state.config=r.configReducer(void 0,r.setConfig(this._state.config)),this._state.i18n=r.i18nReducer(this._state.i18n,r.updateI18n(null===(t=this._state.i18n)||void 0===t?void 0:t.locale,null===(n=this._state.i18n)||void 0===n?void 0:n.translate,null===(i=this._state.i18n)||void 0===i?void 0:i.translateError)),this.state=new o.BehaviorSubject({jsonforms:this._state});var u=e.core.data,c=null!==(s=e.core.schema)&&void 0!==s?s:r.generateJsonSchema(u),l=null!==(a=e.core.uischema)&&void 0!==a?a:r.generateDefaultUISchema(c);this.updateCore(r.Actions.init(u,c,l))},Object.defineProperty(e.prototype,"$state",{get:function(){if(!this.state)throw new Error("Please call init first!");return this.state.asObservable()},enumerable:!1,configurable:!0}),e.prototype.registerRenderer=function(e,t){this.addRenderer(e,t)},e.prototype.addRenderer=function(e,t){this._state.renderers.push({renderer:e,tester:t}),this.updateSubject()},e.prototype.registerRenderers=function(e){this.setRenderers(e)},e.prototype.setRenderers=function(e){this._state.renderers=e,this.updateSubject()},e.prototype.unregisterRenderer=function(e){this.removeRenderer(e)},e.prototype.removeRenderer=function(e){if(-1!==this._state.renderers.findIndex((function(t){return t.tester===e}))){var t=this._state.renderers.filter((function(t){return t.tester!==e}));this._state.renderers=t,this.updateSubject()}},e.prototype.updateValidationMode=function(e){var t=r.coreReducer(this._state.core,r.Actions.setValidationMode(e));this._state.core=t,this.updateSubject()},e.prototype.updateI18n=function(e){var t=r.i18nReducer(this._state.i18n,e);return t!==this._state.i18n&&(this._state.i18n=t,this.updateSubject()),e},e.prototype.updateCore=function(e){var t=r.coreReducer(this._state.core,e);return t!==this._state.core&&(this._state.core=t,this.updateSubject()),e},e.prototype.updateUiSchema=function(e){var t=r.uischemaRegistryReducer(this._state.uischemas,e);return this._state.uischemas=t,this.updateSubject(),e},e.prototype.setUiSchemas=function(e){this._state.uischemas=e,this.updateSubject()},e.prototype.updateConfig=function(e){var t=r.configReducer(this._state.config,e);return this._state.config=t,this.updateSubject(),e},e.prototype.setUiSchema=function(e){var t=null!=e?e:r.generateDefaultUISchema(this._state.core.schema),n=r.coreReducer(this._state.core,r.Actions.updateCore(this._state.core.data,this._state.core.schema,t));n!==this._state.core&&(this._state.core=n,this.updateSubject())},e.prototype.setSchema=function(e){var t=r.coreReducer(this._state.core,r.Actions.updateCore(this._state.core.data,null!=e?e:r.generateJsonSchema(this._state.core.data),this._state.core.uischema));t!==this._state.core&&(this._state.core=t,this.updateSubject())},e.prototype.setData=function(e){var t=r.coreReducer(this._state.core,r.Actions.updateCore(e,this._state.core.schema,this._state.core.uischema));t!==this._state.core&&(this._state.core=t,this.updateSubject())},e.prototype.setLocale=function(e){this._state.i18n.locale=e,this.updateSubject()},e.prototype.setReadonly=function(e){this._state.readonly=e,this.updateSubject()},e.prototype.getState=function(){return i.cloneDeep({jsonforms:this._state})},e.prototype.refresh=function(){this.updateSubject()},e.prototype.updateCoreState=function(e,n,o,i,s){var a=e===t.USE_STATE_VALUE?this._state.core.data:e,u=n===t.USE_STATE_VALUE?this._state.core.schema:null!=n?n:r.generateJsonSchema(a),c=o===t.USE_STATE_VALUE?this._state.core.uischema:null!=o?o:r.generateDefaultUISchema(u),l=i===t.USE_STATE_VALUE?this._state.core.ajv:i,d=s===t.USE_STATE_VALUE?this._state.core.validationMode:s;this.updateCore(r.Actions.updateCore(a,u,c,{ajv:l,validationMode:d}))},e.prototype.updateSubject=function(){this.state.next({jsonforms:this._state})},e}();t.JsonFormsAngularService=s},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],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}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(121),o=n(122),i=n(123),s=n(124),a=n(125);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(38);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(17).Symbol;e.exports=r},function(e,t,n){var r=n(28)(Object,"create");e.exports=r},function(e,t,n){var r=n(145);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(68),o=n(73);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(33),o=n(29);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(47);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(228),o=n(52),i=n(108),s=n(52),a=n(229),u=n(230),c=n(231),l=n(3),d=n(26),f=n(53),h=n(6),p=n(50);function g({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,l._`${d.default.data}, ${d.default.valCxt}`,r.$async,()=>{e.code(l._`"use strict"; ${m(n,o)}`),function(e,t){e.if(d.default.valCxt,()=>{e.var(d.default.instancePath,l._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,l._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,l._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,l._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,l._`${d.default.valCxt}.${d.default.dynamicAnchors}`)},()=>{e.var(d.default.instancePath,l._`""`),e.var(d.default.parentData,l._`undefined`),e.var(d.default.parentDataProperty,l._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,l._`{}`)})}(e,o),e.code(i)}):e.func(t,l._`${d.default.data}, ${function(e){return l._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?l._`, ${d.default.dynamicAnchors}={}`:l.nil}}={}`}(o)}`,r.$async,()=>e.code(m(n,o)).code(i))}function m(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?l._`/*# sourceURL=${n} */`:l.nil}function v(e,t){_(e)&&(b(e),y(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&D(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=f.resolveUrl(e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",d.default.errors);w(e,i),r.var(t,l._`${i} === ${d.default.errors}`)}(e,t):r.boolOrEmptySchema(e,t)}function y({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function _(e){return"boolean"!=typeof e.schema}function b(e){h.checkUnknownRules(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&h.schemaHasRulesButRef(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return C(e,[],!1,t);const n=o.getSchemaTypes(e.schema);C(e,n,!o.coerceAndCheckDataType(e,n),t)}function D({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(l._`${d.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=l.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(l._`${d.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function C(e,t,n,r){const{gen:o,schema:a,data:u,allErrors:c,opts:f,self:p}=e,{RULES:g}=p;function m(h){i.shouldUseGroup(a,h)&&(h.type?(o.if(s.checkDataType(h.type,u,f.strictNumbers)),E(e,h),1===t.length&&t[0]===h.type&&n&&(o.else(),s.reportTypeError(e)),o.endIf()):E(e,h),c||o.if(l._`${d.default.errors} === ${r||0}`))}!a.$ref||!f.ignoreKeywordsWithRef&&h.schemaHasRulesButRef(a,g)?(f.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach(t=>{x(e.dataTypes,t)||S(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)}),e.dataTypes=e.dataTypes.filter(e=>x(t,e))})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&S(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&i.shouldUseRule(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some(e=>{return r=e,(n=t).includes(r)||"number"===r&&n.includes("integer");var n,r})&&S(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block(()=>{for(const e of g.rules)m(e);m(g.post)})):o.block(()=>O(e,"$ref",g.all.$ref.definition))}function E(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&a.assignDefaults(e,t.type),n.block(()=>{for(const n of t.rules)i.shouldUseRule(r,n)&&O(e,n.keyword,n.definition,t.type)})}function x(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function S(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,h.checkStrictMode(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){_(e)&&(b(e),y(e))?function(e){const{schema:t,opts:n,gen:r}=e;g(e,()=>{n.$comment&&t.$comment&&D(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&h.checkStrictMode(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",l._`${n}.evaluated`),t.if(l._`${e.evaluated}.dynamicProps`,()=>t.assign(l._`${e.evaluated}.props`,l._`undefined`)),t.if(l._`${e.evaluated}.dynamicItems`,()=>t.assign(l._`${e.evaluated}.items`,l._`undefined`))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(l._`${d.default.errors} === 0`,()=>t.return(d.default.data),()=>t.throw(l._`new ${o}(${d.default.vErrors})`)):(t.assign(l._`${r}.errors`,d.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof l.Name&&e.assign(l._`${t}.props`,n);r instanceof l.Name&&e.assign(l._`${t}.items`,r)}(e),t.return(l._`${d.default.errors} === 0`))}(e)})}(e):g(e,()=>r.topBoolOrEmptySchema(e))};class A{constructor(e,t,n){if(u.validateKeywordUsage(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=h.schemaRefOrVal(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",k(this.$data,e));else if(this.schemaCode=this.schemaValue,!u.validSchemaType(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult(l.not(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult(l.not(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(l._`${t} !== undefined && (${l.or(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?p.reportExtraError:p.reportError)(this,this.def.error,t)}$dataError(){p.reportError(this,this.def.$dataError||p.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');p.resetErrorsCount(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=l.nil){this.gen.block(()=>{this.check$data(e,n),t()})}check$data(e=l.nil,t=l.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if(l.or(l._`${r} === undefined`,t)),e!==l.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==l.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return l.or(function(){if(n.length){if(!(t instanceof l.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return l._`${s.checkDataTypes(e,t,o.opts.strictNumbers,s.DataType.Wrong)}`}return l.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return l._`!${n}(${t})`}return l.nil}())}subschema(e,t){const n=c.getSubschema(this.it,e);c.extendSubschemaData(n,this.it,e),c.extendSubschemaMode(n,e);const r={...this.it,...n,items:void 0,props:void 0};return v(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=h.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=h.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,()=>this.mergeEvaluated(e,l.Name)),!0}}function O(e,t,n,r){const o=new A(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?u.funcKeywordCode(o,n):"macro"in n?u.macroKeywordCode(o,n):(n.compile||n.validate)&&u.funcKeywordCode(o,n)}t.KeywordCxt=A;const I=/^\/(?:[^~]|~0|~1)*$/,M=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function k(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return d.default.rootData;if("/"===e[0]){if(!I.test(e))throw new Error("Invalid JSON-pointer: "+e);o=e,i=d.default.rootData}else{const s=M.exec(e);if(!s)throw new Error("Invalid JSON-pointer: "+e);const a=+s[1];if(o=s[2],"#"===o){if(a>=t)throw new Error(u("property/index",a));return r[t-a]}if(a>t)throw new Error(u("data",a));if(i=n[t-a],!o)return i}let s=i;const a=o.split("/");for(const e of a)e&&(i=l._`${i}${l.getProperty(h.unescapeJsonPointer(e))}`,s=l._`${s} && ${i}`);return s;function u(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(3),o=n(6),i=n(26);function s(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,()=>e.assign(i.default.vErrors,r._`[${n}]`),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function a(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:u}=e,{gen:l,compositeRule:d,allErrors:f}=u,h=c(e,n,o);(null!=i?i:d||f)?s(l,h):a(u,r._`[${h}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:u,compositeRule:l,allErrors:d}=o;s(u,c(e,n,r)),l||d||a(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,()=>e.if(t,()=>e.assign(r._`${i.default.vErrors}.length`,t),()=>e.assign(i.default.vErrors,null)))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:s,it:a}){if(void 0===s)throw new Error("ajv implementation error");const u=e.name("err");e.forRange("i",s,i.default.errors,s=>{e.const(u,r._`${i.default.vErrors}[${s}]`),e.if(r._`${u}.instancePath === undefined`,()=>e.assign(r._`${u}.instancePath`,r.strConcat(i.default.instancePath,a.errorPath))),e.assign(r._`${u}.schemaPath`,r.str`${a.errSchemaPath}/${t}`),a.opts.verbose&&(e.assign(r._`${u}.schema`,n),e.assign(r._`${u}.data`,o))})};const u={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:s}=e,a=[l(s,n),d(e,n)];return function(e,{params:t,message:n},o){const{keyword:s,data:a,schemaValue:c,it:l}=e,{opts:d,propertyName:f,topSchemaRef:h,schemaPath:p}=l;o.push([u.keyword,s],[u.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&o.push([u.message,"function"==typeof n?n(e):n]);d.verbose&&o.push([u.schema,c],[u.parentSchema,r._`${h}${p}`],[i.default.data,a]);f&&o.push([u.propertyName,f])}(e,t,a),o.object(...a)}(e,t,n)}function l({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${o.getErrorPath(t,o.Type.Str)}`:e;return[i.default.instancePath,r.strConcat(i.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let s=i?t:r.str`${t}/${e}`;return n&&(s=r.str`${s}${o.getErrorPath(n,o.Type.Str)}`),[u.schemaPath,s]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=o;class i extends r{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce((e,t)=>`${e}${t}`,"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce((e,t)=>(t instanceof o&&(e[t.str]=(e[t.str]||0)+1),e),{})}}function s(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)c(n,t[r]),n.push(e[++r]);return new i(n)}t._Code=i,t.nil=new i(""),t._=s;const a=new i("+");function u(e,...t){const n=[d(e[0])];let r=0;for(;r<t.length;)n.push(a),c(n,t[r]),n.push(a,d(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===a){const n=l(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new i(n)}function c(e,t){var n;t instanceof i?e.push(...t._items):t instanceof o?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:d(Array.isArray(n)?n.join(","):n))}function l(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof o||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof o?void 0:`"${e}${t.slice(1)}`}function d(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=u,t.addCodeArg=c,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:u`${e}${t}`},t.stringify=function(e){return new i(d(e))},t.safeStringify=d,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new i("."+e):s`[${e}]`},t.regexpCode=function(e){return new i(e.toString())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(107),o=n(108),i=n(50),s=n(3),a=n(6);var u;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(u=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,a=function(e,t){return t?e.filter(e=>l.has(e)||"array"===t&&"array"===e):[]}(t,i.coerceTypes),c=t.length>0&&!(0===a.length&&1===t.length&&o.schemaHasRulesForType(e,t[0]));if(c){const o=f(t,r,i.strictNumbers,u.Wrong);n.if(o,()=>{a.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,a=r.let("dataType",s._`typeof ${o}`),u=r.let("coerced",s._`undefined`);"array"===i.coerceTypes&&r.if(s._`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>r.assign(o,s._`${o}[0]`).assign(a,s._`typeof ${o}`).if(f(t,o,i.strictNumbers),()=>r.assign(u,o)));r.if(s._`${u} !== undefined`);for(const e of n)(l.has(e)||"array"===e&&"array"===i.coerceTypes)&&c(e);function c(e){switch(e){case"string":return void r.elseIf(s._`${a} == "number" || ${a} == "boolean"`).assign(u,s._`"" + ${o}`).elseIf(s._`${o} === null`).assign(u,s._`""`);case"number":return void r.elseIf(s._`${a} == "boolean" || ${o} === null
|
|
1593
|
-
|| (${a} == "string" && ${o} && ${o} == +${o})`).assign(u,s._`+${o}`);case"integer":return void r.elseIf(s._`${a} === "boolean" || ${o} === null
|
|
1594
|
-
|| (${a} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(u,s._`+${o}`);case"boolean":return void r.elseIf(s._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(u,!1).elseIf(s._`${o} === "true" || ${o} === 1`).assign(u,!0);case"null":return r.elseIf(s._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(u,null);case"array":r.elseIf(s._`${a} === "string" || ${a} === "number"
|
|
1595
|
-
|| ${a} === "boolean" || ${o} === null`).assign(u,s._`[${o}]`)}}r.else(),p(e),r.endIf(),r.if(s._`${u} !== undefined`,()=>{r.assign(o,u),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(s._`${t} !== undefined`,()=>e.assign(s._`${t}[${n}]`,r))}(e,u)})}(e,t,a):p(e)})}return c};const l=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=u.Correct){const o=r===u.Correct?s.operators.EQ:s.operators.NEQ;let i;switch(e){case"null":return s._`${t} ${o} null`;case"array":i=s._`Array.isArray(${t})`;break;case"object":i=s._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=a(s._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=a();break;default:return s._`typeof ${t} ${o} ${e}`}return r===u.Correct?i:s.not(i);function a(e=s.nil){return s.and(s._`typeof ${t} == "number"`,e,n?s._`isFinite(${t})`:s.nil)}}function f(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let o;const i=a.toHash(e);if(i.array&&i.object){const e=s._`typeof ${t} != "object"`;o=i.null?e:s._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=s.nil;i.number&&delete i.integer;for(const e in i)o=s.and(o,d(e,t,n,r));return o}t.checkDataType=d,t.checkDataTypes=f;const h={message:({schema:e})=>"must be "+e,params:({schema:e,schemaValue:t})=>"string"==typeof e?s._`{type: ${e}}`:s._`{type: ${t}}`};function p(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=a.schemaRefOrVal(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);i.reportError(t,h)}t.reportTypeError=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(6),o=n(109),i=n(232),s=n(110),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!c(e):!!t&&function e(t){let n=0;for(const o in t){if("$ref"===o)return 1/0;if(n++,!a.has(o)&&("object"==typeof t[o]&&r.eachItem(t[o],t=>n+=e(t)),n===1/0))return 1/0}return n}(e)<=t)};const u=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function c(e){for(const t in e){if(u.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(c))return!0;if("object"==typeof n&&c(n))return!0}return!1}function l(e="",t){!1!==t&&(e=h(e));return d(s.parse(e))}function d(e){return s.serialize(e).split("#")[0]+"#"}t.getFullPath=l,t._getFullPath=d;const f=/#\/?$/;function h(e){return e?e.replace(f,""):""}t.normalizeId=h,t.resolveUrl=function(e,t){return t=h(t),s.resolve(e,t)};const p=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e){if("boolean"==typeof e)return{};const{schemaId:t}=this.opts,n=h(e[t]),r={"":n},a=l(n,!1),u={},c=new Set;return i(e,{allKeys:!0},(e,n,o,i)=>{if(void 0===i)return;const l=a+n;let g=r[i];function m(t){if(t=h(g?s.resolve(g,t):t),c.has(t))throw f(t);c.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?d(e,n.schema,t):t!==h(l)&&("#"===t[0]?(d(e,u[t],t),u[t]=e):this.refs[t]=l),t}function v(e){if("string"==typeof e){if(!p.test(e))throw new Error(`invalid anchor "${e}"`);m.call(this,"#"+e)}}"string"==typeof e[t]&&(g=m.call(this,e[t])),v.call(this,e.$anchor),v.call(this,e.$dynamicAnchor),r[n]=g}),u;function d(e,t,n){if(void 0!==t&&!o(e,t))throw f(n)}function f(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n(21);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)}function i(e){return 0===e.length?r.a:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n(1),o=n(9),i=n(2),s=n(4),a=n(5),u=n(61),c=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.a(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e},t.prototype.refCount=function(){return Object(u.a)()(this)},t}(i.a),l=function(){var e=c.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.a(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);s.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),o=n(5),i=n(12);var s=n(36),a=n(11);var u=n(60),c=n(58);function l(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[i.a]}(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){var o=e[i.a]();r.add(o.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Object(u.a)(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Object(c.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[a.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[a.a](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return r.a(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(n(5).a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}}},function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=n(4);function i(){return function(e){return e.lift(new s(e))}}var s=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new a(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),a=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.a(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(1),o=n(14),i=n(13),s=n(27);function a(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(a((function(n,r){return Object(i.a)(e(n,r)).pipe(Object(o.a)((function(e,o){return t(n,e,r,o)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.project,this.concurrent))},e}(),c=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.a(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)},t.prototype._innerSub=function(e){var t=new s.a(this),n=this.destination;n.add(t);var r=Object(s.c)(e,t);r!==t&&n.add(r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e){this.destination.next(e)},t.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(s.b),l=n(21);function d(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),a(l.a,e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsBaseRenderer=void 0;var r=n(19),o=n(0),i=function(){function e(){}return e.prototype.getOwnProps=function(){return{uischema:this.uischema,schema:this.schema,path:this.path}},r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"uischema",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"schema",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"path",void 0),e=r.__decorate([o.Directive()],e)}();t.JsonFormsBaseRenderer=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsAbstractControl=void 0;var r=n(19),o=n(32),i=n(0),s=n(270),a=n(63),u=n(39),c=r.__importDefault(n(119)),l=function(e){function t(t){var n=e.call(this)||this;return n.jsonFormsService=t,n.getEventValue=function(e){return e.value},n.validator=function(e){return n.error?{error:n.error}:null},n.form=new s.FormControl({value:"",disabled:!0},{updateOn:"change",validators:n.validator.bind(n)}),n}return r.__extends(t,e),t.prototype.onChange=function(e){var t=this;this.jsonFormsService.updateCore(o.Actions.update(this.propsPath,(function(){return t.getEventValue(e)}))),this.triggerValidation()},t.prototype.shouldShowUnfocusedDescription=function(){var e=this.jsonFormsService.getState().jsonforms.config;return!!c.default({},e,this.uischema.options).showUnfocusedDescription},t.prototype.ngOnInit=function(){var e=this;this.jsonFormsService.$state.subscribe({next:function(t){var n=e.mapToProps(t),r=n.data,i=n.enabled,s=n.errors,a=n.label,u=n.required,c=n.schema,l=n.rootSchema,d=n.visible,f=n.path,h=n.config;e.label=o.computeLabel(a,u,!!h&&h.hideRequiredAsterisk),e.data=r,e.error=s,e.enabled=i,e.isEnabled()?e.form.enable():e.form.disable(),e.hidden=!d,e.scopedSchema=c,e.rootSchema=l,e.description=void 0!==e.scopedSchema?e.scopedSchema.description:"",e.id=n.id,e.form.setValue(r),e.propsPath=f,e.mapAdditionalProps(n)}}),this.triggerValidation()},t.prototype.mapAdditionalProps=function(e){},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.isEnabled=function(){return this.enabled},t.prototype.getOwnProps=function(){var e={uischema:this.uischema,schema:this.schema,path:this.path,id:this.id};return void 0!==this.disabled&&(e.enabled=!this.disabled),void 0!==this.visible&&(e.visible=this.visible),e},t.prototype.triggerValidation=function(){this.form.markAsTouched(),this.form.updateValueAndValidity()},r.__decorate([i.Input(),r.__metadata("design:type",String)],t.prototype,"id",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],t.prototype,"disabled",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],t.prototype,"visible",void 0),t=r.__decorate([i.Component({template:""}),r.__metadata("design:paramtypes",[u.JsonFormsAngularService])],t)}(a.JsonFormsBaseRenderer);t.JsonFormsAbstractControl=l},function(e,t,n){var r=n(41),o=n(126),i=n(127),s=n(128),a=n(129),u=n(130);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=u,e.exports=c},function(e,t,n){var r=n(28)(n(17),"Map");e.exports=r},function(e,t,n){var r=n(33),o=n(25);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){var r=n(137),o=n(144),i=n(146),s=n(147),a=n(148);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(90);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(158),o=n(29),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=u},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){(function(e){var r=n(17),o=n(160),i=t&&!t.nodeType&&t,s=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===i?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||o;e.exports=u}).call(this,n(40)(e))},function(e,t,n){var r=n(162),o=n(163),i=n(164),s=i&&i.isTypedArray,a=s?o(s):r;e.exports=a},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(20),o=n(47),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownRenderer=void 0;var r=n(19),o=n(0),i=function(){function e(){}return e=r.__decorate([o.Component({selector:"unknown.renderer",template:"No applicable renderer found!"})],e)}();t.UnknownRenderer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(109);r.code='require("ajv/dist/runtime/equal").default',t.default=r},function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",(function(){return r.a})),n.d(t,"ConnectableObservable",(function(){return o.a})),n.d(t,"GroupedObservable",(function(){return l})),n.d(t,"observable",(function(){return f.a})),n.d(t,"Subject",(function(){return u.a})),n.d(t,"BehaviorSubject",(function(){return p})),n.d(t,"ReplaySubject",(function(){return N})),n.d(t,"AsyncSubject",(function(){return $})),n.d(t,"asap",(function(){return q})),n.d(t,"asapScheduler",(function(){return z})),n.d(t,"async",(function(){return W})),n.d(t,"asyncScheduler",(function(){return G})),n.d(t,"queue",(function(){return b})),n.d(t,"queueScheduler",(function(){return _})),n.d(t,"animationFrame",(function(){return Z})),n.d(t,"animationFrameScheduler",(function(){return Q})),n.d(t,"VirtualTimeScheduler",(function(){return J})),n.d(t,"VirtualAction",(function(){return Y})),n.d(t,"Scheduler",(function(){return v})),n.d(t,"Subscription",(function(){return a.a})),n.d(t,"Subscriber",(function(){return s.a})),n.d(t,"Notification",(function(){return M})),n.d(t,"NotificationKind",(function(){return C})),n.d(t,"pipe",(function(){return X.a})),n.d(t,"noop",(function(){return ee})),n.d(t,"identity",(function(){return te.a})),n.d(t,"isObservable",(function(){return ne})),n.d(t,"ArgumentOutOfRangeError",(function(){return re})),n.d(t,"EmptyError",(function(){return oe})),n.d(t,"ObjectUnsubscribedError",(function(){return h.a})),n.d(t,"UnsubscriptionError",(function(){return ie.a})),n.d(t,"TimeoutError",(function(){return se})),n.d(t,"bindCallback",(function(){return le})),n.d(t,"bindNodeCallback",(function(){return he})),n.d(t,"combineLatest",(function(){return De})),n.d(t,"concat",(function(){return Ae})),n.d(t,"defer",(function(){return Ie})),n.d(t,"empty",(function(){return D})),n.d(t,"forkJoin",(function(){return Me.a})),n.d(t,"from",(function(){return Oe.a})),n.d(t,"fromEvent",(function(){return je})),n.d(t,"fromEventPattern",(function(){return Pe})),n.d(t,"generate",(function(){return Ne})),n.d(t,"iif",(function(){return $e})),n.d(t,"interval",(function(){return Ve})),n.d(t,"merge",(function(){return Le.a})),n.d(t,"never",(function(){return Ue})),n.d(t,"of",(function(){return A})),n.d(t,"onErrorResumeNext",(function(){return He})),n.d(t,"pairs",(function(){return ze})),n.d(t,"partition",(function(){return Ze})),n.d(t,"race",(function(){return Je})),n.d(t,"range",(function(){return et})),n.d(t,"throwError",(function(){return O})),n.d(t,"timer",(function(){return nt})),n.d(t,"using",(function(){return ot})),n.d(t,"zip",(function(){return at})),n.d(t,"scheduled",(function(){return ht.a})),n.d(t,"EMPTY",(function(){return w})),n.d(t,"NEVER",(function(){return Be})),n.d(t,"config",(function(){return pt.a}));var r=n(2),o=n(55),i=n(1),s=n(4),a=n(5),u=n(9);s.a;var c=function(e){function t(t,n,r){var o=e.call(this,n)||this;return o.key=t,o.group=n,o.parent=r,o}return i.a(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(s.a),l=function(e){function t(t,n,r){var o=e.call(this)||this;return o.key=t,o.groupSubject=n,o.refCountSubscription=r,o}return i.a(t,e),t.prototype._subscribe=function(e){var t=new a.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new d(n)),t.add(r.subscribe(e)),t},t}(r.a),d=function(e){function t(t){var n=e.call(this)||this;return n.parent=t,t.count++,n}return i.a(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(a.a),f=n(12),h=n(15),p=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return i.a(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new h.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(u.a),g=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return i.a(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(e){n=!0,r=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){return e.call(this)||this}return i.a(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(a.a)),m=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i.a(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,r):t.flush(this)},t}(g),v=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),y=function(e){function t(n,r){void 0===r&&(r=v.now);var o=e.call(this,n,(function(){return t.delegate&&t.delegate!==o?t.delegate.now():r()}))||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return i.a(t,e),t.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,o):e.prototype.schedule.call(this,n,r,o)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(v),_=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t}(y))(m),b=_,w=new r.a((function(e){return e.complete()}));function D(e){return e?function(e){return new r.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):w}var C,E=n(10),x=n(18),S=n(36);function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return Object(E.a)(n)?(e.pop(),Object(S.a)(e,n)):Object(x.a)(e)}function O(e,t){return t?new r.a((function(n){return t.schedule(I,0,{error:e,subscriber:n})})):new r.a((function(t){return t.error(e)}))}function I(e){var t=e.error;e.subscriber.error(t)}C||(C={});var M=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return A(this.value);case"E":return O(this.error);case"C":return D()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();var k=function(e){function t(t,n,r){void 0===r&&(r=0);var o=e.call(this,t)||this;return o.scheduler=n,o.delay=r,o}return i.a(t,e),t.dispatch=function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new j(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(M.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(M.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(M.createComplete()),this.unsubscribe()},t}(s.a),j=function(){return function(e,t){this.notification=e,this.destination=t}}(),P=n(57),N=function(e){function t(t,n,r){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var o=e.call(this)||this;return o.scheduler=r,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=t<1?1:t,o._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return i.a(t,e),t.prototype.nextInfiniteTimeWindow=function(t){if(!this.isStopped){var n=this._events;n.push(t),n.length>this._bufferSize&&n.shift()}e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this.isStopped||(this._events.push(new T(this._getNow(),t)),this._trimBufferThenGetEvents()),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=r.length;if(this.closed)throw new h.a;if(this.isStopped||this.hasError?t=a.a.EMPTY:(this.observers.push(e),t=new P.a(this,e)),o&&e.add(e=new k(e,o)),n)for(var s=0;s<i&&!e.closed;s++)e.next(r[s]);else for(s=0;s<i&&!e.closed;s++)e.next(r[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||b).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,o=r.length,i=0;i<o&&!(e-r[i].time<n);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&r.splice(0,i),r},t}(u.a),T=function(){return function(e,t){this.time=e,this.value=t}}(),$=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return i.a(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),a.a.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(u.a),F=1,V=function(){return Promise.resolve()}(),R={};function L(e){return e in R&&(delete R[e],!0)}var B=function(e){var t=F++;return R[t]=!0,V.then((function(){return L(t)&&e()})),t},U=function(e){L(e)},H=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i.a(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=B(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(U(n),t.scheduled=void 0)},t}(g),z=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}},t}(y))(H),q=z,G=new y(g),W=G,K=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i.a(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(cancelAnimationFrame(n),t.scheduled=void 0)},t}(g),Q=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}},t}(y))(K),Z=Q,J=function(e){function t(t,n){void 0===t&&(t=Y),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this,t,(function(){return r.frame}))||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return i.a(t,e),t.prototype.flush=function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n[0])&&t.delay<=r&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(y),Y=function(e){function t(t,n,r){void 0===r&&(r=t.index+=1);var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.index=r,o.active=!0,o.index=t.index=r,o}return i.a(t,e),t.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return e.prototype.schedule.call(this,n,r);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(n,r)},t.prototype.requestAsyncId=function(e,n,r){void 0===r&&(r=0),this.delay=e.frame+r;var o=e.actions;return o.push(this),o.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,n){void 0===n&&(n=0)},t.prototype._execute=function(t,n){if(!0===this.active)return e.prototype._execute.call(this,t,n)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(g),X=n(54);function ee(){}var te=n(21);function ne(e){return!!e&&(e instanceof r.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var re=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),oe=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),ie=n(31),se=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),ae=n(14),ue=n(35),ce=n(7);function le(e,t,n){if(t){if(!Object(E.a)(t))return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return le(e,n).apply(void 0,r).pipe(Object(ae.a)((function(e){return Object(ce.a)(e)?t.apply(void 0,e):t(e)})))};n=t}return function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i,s=this,a={context:s,subject:i,callbackFunc:e,scheduler:n};return new r.a((function(r){if(n){var o={args:t,subscriber:r,params:a};return n.schedule(de,0,o)}if(!i){i=new $;try{e.apply(s,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i.next(e.length<=1?e[0]:e),i.complete()}]))}catch(e){Object(ue.a)(i)?i.error(e):console.warn(e)}}return i.subscribe(r)}))}}function de(e){var t=this,n=e.args,r=e.subscriber,o=e.params,i=o.callbackFunc,s=o.context,a=o.scheduler,u=o.subject;if(!u){u=o.subject=new $;try{i.apply(s,n.concat([function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length<=1?e[0]:e;t.add(a.schedule(fe,0,{value:r,subject:u}))}]))}catch(e){u.error(e)}}this.add(u.subscribe(r))}function fe(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function he(e,t,n){if(t){if(!Object(E.a)(t))return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return he(e,n).apply(void 0,r).pipe(Object(ae.a)((function(e){return Object(ce.a)(e)?t.apply(void 0,e):t(e)})))};n=t}return function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var i={subject:void 0,args:t,callbackFunc:e,scheduler:n,context:this};return new r.a((function(r){var o=i.context,s=i.subject;if(n)return n.schedule(pe,0,{params:i,subscriber:r,context:o});if(!s){s=i.subject=new $;try{e.apply(o,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.shift();n?s.error(n):(s.next(e.length<=1?e[0]:e),s.complete())}]))}catch(e){Object(ue.a)(s)?s.error(e):console.warn(e)}}return s.subscribe(r)}))}}function pe(e){var t=this,n=e.params,r=e.subscriber,o=e.context,i=n.callbackFunc,s=n.args,a=n.scheduler,u=n.subject;if(!u){u=n.subject=new $;try{i.apply(o,s.concat([function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.shift();if(r)t.add(a.schedule(me,0,{err:r,subject:u}));else{var o=e.length<=1?e[0]:e;t.add(a.schedule(ge,0,{value:o,subject:u}))}}]))}catch(e){this.add(a.schedule(me,0,{err:e,subject:u}))}}this.add(u.subscribe(r))}function ge(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function me(e){var t=e.err;e.subject.error(t)}var ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.a(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(s.a),ye=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return i.a(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(s.a),_e=n(23);function be(e,t,n,o,i){if(void 0===i&&(i=new ye(e,n,o)),!i.closed)return t instanceof r.a?t.subscribe(i):Object(_e.a)(t)(i)}var we={};function De(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=void 0,r=void 0;return Object(E.a)(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&Object(ce.a)(e[0])&&(e=e[0]),Object(x.a)(e,r).lift(new Ce(n))}var Ce=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Ee(e,this.resultSelector))},e}(),Ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i.a(t,e),t.prototype._next=function(e){this.values.push(we),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(be(this,r,void 0,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n){var r=this.values,o=r[n],i=this.toRespond?o===we?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(ve),xe=n(62);function Se(){return Object(xe.a)(1)}function Ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Se()(A.apply(void 0,e))}var Oe=n(13);function Ie(e){return new r.a((function(t){var n;try{n=e()}catch(e){return void t.error(e)}return(n?Object(Oe.a)(n):D()).subscribe(t)}))}var Me=n(85),ke=n(22);function je(e,t,n,o){return Object(ke.a)(n)&&(o=n,n=void 0),o?je(e,t,n).pipe(Object(ae.a)((function(e){return Object(ce.a)(e)?o.apply(void 0,e):o(e)}))):new r.a((function(r){!function e(t,n,r,o,i){var s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(n,r,i),s=function(){return a.removeEventListener(n,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var u=t;t.on(n,r),s=function(){return u.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var c=t;t.addListener(n,r),s=function(){return c.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,d=t.length;l<d;l++)e(t[l],n,r,o,i)}o.add(s)}(e,t,(function(e){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(e)}),r,n)}))}function Pe(e,t,n){return n?Pe(e,t).pipe(Object(ae.a)((function(e){return Object(ce.a)(e)?n.apply(void 0,e):n(e)}))):new r.a((function(n){var r,o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.next(1===e.length?e[0]:e)};try{r=e(o)}catch(e){return void n.error(e)}if(Object(ke.a)(t))return function(){return t(o,r)}}))}function Ne(e,t,n,o,i){var s,a;if(1==arguments.length){var u=e;a=u.initialState,t=u.condition,n=u.iterate,s=u.resultSelector||te.a,i=u.scheduler}else void 0===o||Object(E.a)(o)?(a=e,s=te.a,i=o):(a=e,s=o);return new r.a((function(e){var r=a;if(i)return i.schedule(Te,0,{subscriber:e,iterate:n,condition:t,resultSelector:s,state:r});for(;;){if(t){var o=void 0;try{o=t(r)}catch(t){return void e.error(t)}if(!o){e.complete();break}}var u=void 0;try{u=s(r)}catch(t){return void e.error(t)}if(e.next(u),e.closed)break;try{r=n(r)}catch(t){return void e.error(t)}}}))}function Te(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(n){var r=void 0;try{r=n(e.state)}catch(e){return void t.error(e)}if(!r)return void t.complete();if(t.closed)return}var o;try{o=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(o),!t.closed))return this.schedule(e)}}function $e(e,t,n){return void 0===t&&(t=w),void 0===n&&(n=w),Ie((function(){return e()?t:n}))}function Fe(e){return!Object(ce.a)(e)&&e-parseFloat(e)+1>=0}function Ve(e,t){return void 0===e&&(e=0),void 0===t&&(t=W),(!Fe(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=W),new r.a((function(n){return n.add(t.schedule(Re,e,{subscriber:n,counter:0,period:e})),n}))}function Re(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}var Le=n(82),Be=new r.a(ee);function Ue(){return Be}function He(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return w;var n=e[0],o=e.slice(1);return 1===e.length&&Object(ce.a)(n)?He.apply(void 0,n):new r.a((function(e){var t=function(){return e.add(He.apply(void 0,o).subscribe(e))};return Object(Oe.a)(n).subscribe({next:function(t){e.next(t)},error:t,complete:t})}))}function ze(e,t){return t?new r.a((function(n){var r=Object.keys(e),o=new a.a;return o.add(t.schedule(qe,0,{keys:r,index:0,subscriber:n,subscription:o,obj:e})),o})):new r.a((function(t){for(var n=Object.keys(e),r=0;r<n.length&&!t.closed;r++){var o=n[r];e.hasOwnProperty(o)&&t.next([o,e[o]])}t.complete()}))}function qe(e){var t=e.keys,n=e.index,r=e.subscriber,o=e.subscription,i=e.obj;if(!r.closed)if(n<t.length){var s=t[n];r.next([s,i[s]]),o.add(this.schedule({keys:t,index:n+1,subscriber:r,subscription:o,obj:i}))}else r.complete()}function Ge(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}function We(e,t){return function(n){return n.lift(new Ke(e,t))}}var Ke=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Qe(e,this.predicate,this.thisArg))},e}(),Qe=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return i.a(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(s.a);function Ze(e,t,n){return[We(t,n)(new r.a(Object(_e.a)(e))),We(Ge(t,n))(new r.a(Object(_e.a)(e)))]}function Je(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){if(!Object(ce.a)(e[0]))return e[0];e=e[0]}return Object(x.a)(e,void 0).lift(new Ye)}var Ye=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new Xe(e))},e}(),Xe=function(e){function t(t){var n=e.call(this,t)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return i.a(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=be(this,e[n],void 0,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}},t.prototype.notifyNext=function(e,t,n){if(!this.hasFirst){this.hasFirst=!0;for(var r=0;r<this.subscriptions.length;r++)if(r!==n){var o=this.subscriptions[r];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(t)},t}(ve);function et(e,t,n){return void 0===e&&(e=0),new r.a((function(r){void 0===t&&(t=e,e=0);var o=0,i=e;if(n)return n.schedule(tt,0,{index:o,count:t,start:e,subscriber:r});for(;;){if(o++>=t){r.complete();break}if(r.next(i++),r.closed)break}}))}function tt(e){var t=e.start,n=e.index,r=e.count,o=e.subscriber;n>=r?o.complete():(o.next(t),o.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}function nt(e,t,n){void 0===e&&(e=0);var o=-1;return Fe(t)?o=Number(t)<1?1:Number(t):Object(E.a)(t)&&(n=t),Object(E.a)(n)||(n=W),new r.a((function(t){var r=Fe(e)?e:+e-n.now();return n.schedule(rt,r,{index:0,period:o,subscriber:t})}))}function rt(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function ot(e,t){return new r.a((function(n){var r,o;try{r=e()}catch(e){return void n.error(e)}try{o=t(r)}catch(e){return void n.error(e)}var i=(o?Object(Oe.a)(o):w).subscribe(n);return function(){i.unsubscribe(),r&&r.unsubscribe()}}))}var it=n(11),st=n(27);function at(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return"function"==typeof n&&e.pop(),Object(x.a)(e,void 0).lift(new ut(n))}var ut=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new ct(e,this.resultSelector))},e}(),ct=function(e){function t(t,n,r){void 0===r&&(r=Object.create(null));var o=e.call(this,t)||this;return o.resultSelector=n,o.iterators=[],o.active=0,o.resultSelector="function"==typeof n?n:void 0,o}return i.a(t,e),t.prototype._next=function(e){var t=this.iterators;Object(ce.a)(e)?t.push(new dt(e)):"function"==typeof e[it.a]?t.push(new lt(e[it.a]())):t.push(new ft(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var n=0;n<t;n++){var r=e[n];if(r.stillUnsubscribed)this.destination.add(r.subscribe());else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,n=this.destination,r=0;r<t;r++){if("function"==typeof(s=e[r]).hasValue&&!s.hasValue())return}var o=!1,i=[];for(r=0;r<t;r++){var s,a=(s=e[r]).next();if(s.hasCompleted()&&(o=!0),a.done)return void n.complete();i.push(a.value)}this.resultSelector?this._tryresultSelector(i):n.next(i),o&&n.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(s.a),lt=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),dt=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[it.a]=function(){return this},e.prototype.next=function(e){var t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),ft=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.parent=n,o.observable=r,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return i.a(t,e),t.prototype[it.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},t.prototype.subscribe=function(){return Object(st.c)(this.observable,new st.a(this))},t}(st.b),ht=n(56),pt=n(8)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(10),i=n(62),s=n(18);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,a=null,u=e[e.length-1];return Object(o.a)(u)?(a=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof u&&(n=e.pop()),null===a&&1===e.length&&e[0]instanceof r.a?e[0]:Object(i.a)(n)(Object(s.a)(e,a))}},function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=83},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsControlWithDetail=t.JsonFormsControl=void 0;var r=n(19),o=n(32),i=n(65),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.mapToProps=function(e){var t=o.mapStateToControlProps(e,this.getOwnProps());return r.__assign({},t)},t}(i.JsonFormsAbstractControl);t.JsonFormsControl=s;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.mapToProps=function(e){var t=o.mapStateToControlWithDetailProps(e,this.getOwnProps());return r.__assign({},t)},t}(i.JsonFormsAbstractControl);t.JsonFormsControlWithDetail=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),o=n(7),i=n(14),s=n(34),a=n(13);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(Object(o.a)(n))return c(n,null);if(Object(s.a)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return c(r.map((function(e){return n[e]})),r)}}if("function"==typeof e[e.length-1]){var a=e.pop();return c(e=1===e.length&&Object(o.a)(e[0])?e[0]:e,null).pipe(Object(i.a)((function(e){return a.apply(void 0,e)})))}return c(e,null)}function c(e,t){return new r.a((function(n){var r=e.length;if(0!==r)for(var o=new Array(r),i=0,s=0,u=function(u){var c=Object(a.a)(e[u]),l=!1;n.add(c.subscribe({next:function(e){l||(l=!0,s++),o[u]=e},error:function(e){return n.error(e)},complete:function(){++i!==r&&l||(s===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=o[n],e}),{}):o),n.complete())}}))},c=0;c<r;c++)u(c);else n.complete()}))}},function(e,t,n){(function(e,r){var o;
|
|
1596
|
-
/**
|
|
1597
|
-
* @license
|
|
1598
|
-
* Lodash <https://lodash.com/>
|
|
1599
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
1600
|
-
* Released under MIT license <https://lodash.com/license>
|
|
1601
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
1602
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
1603
|
-
*/(function(){var i="Expected a function",s="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],u="[object Arguments]",c="[object Array]",l="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",p="[object GeneratorFunction]",g="[object Map]",m="[object Number]",v="[object Object]",y="[object RegExp]",_="[object Set]",b="[object String]",w="[object Symbol]",D="[object WeakMap]",C="[object ArrayBuffer]",E="[object DataView]",x="[object Float32Array]",S="[object Float64Array]",A="[object Int8Array]",O="[object Int16Array]",I="[object Int32Array]",M="[object Uint8Array]",k="[object Uint16Array]",j="[object Uint32Array]",P=/\b__p \+= '';/g,N=/\b(__p \+=) '' \+/g,T=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$=/&(?:amp|lt|gt|quot|#39);/g,F=/[&<>"']/g,V=RegExp($.source),R=RegExp(F.source),L=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/,q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,W=RegExp(G.source),K=/^\s+/,Q=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,J=/\{\n\/\* \[wrapped with (.+)\] \*/,Y=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/[()=,{}\[\]\/\s]/,te=/\\(\\)?/g,ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,re=/\w*$/,oe=/^[-+]0x[0-9a-f]+$/i,ie=/^0b[01]+$/i,se=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,ue=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,de=/['\n\r\u2028\u2029\\]/g,fe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",he="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",ge="["+he+"]",me="["+fe+"]",ve="\\d+",ye="[\\u2700-\\u27bf]",_e="[a-z\\xdf-\\xf6\\xf8-\\xff]",be="[^\\ud800-\\udfff"+he+ve+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",we="\\ud83c[\\udffb-\\udfff]",De="[^\\ud800-\\udfff]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Ee="[\\ud800-\\udbff][\\udc00-\\udfff]",xe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Se="(?:"+_e+"|"+be+")",Ae="(?:"+xe+"|"+be+")",Oe="(?:"+me+"|"+we+")"+"?",Ie="[\\ufe0e\\ufe0f]?"+Oe+("(?:\\u200d(?:"+[De,Ce,Ee].join("|")+")[\\ufe0e\\ufe0f]?"+Oe+")*"),Me="(?:"+[ye,Ce,Ee].join("|")+")"+Ie,ke="(?:"+[De+me+"?",me,Ce,Ee,pe].join("|")+")",je=RegExp("['’]","g"),Pe=RegExp(me,"g"),Ne=RegExp(we+"(?="+we+")|"+ke+Ie,"g"),Te=RegExp([xe+"?"+_e+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ge,xe,"$"].join("|")+")",Ae+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ge,xe+Se,"$"].join("|")+")",xe+"?"+Se+"+(?:['’](?:d|ll|m|re|s|t|ve))?",xe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ve,Me].join("|"),"g"),$e=RegExp("[\\u200d\\ud800-\\udfff"+fe+"\\ufe0e\\ufe0f]"),Fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ve=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Re=-1,Le={};Le[x]=Le[S]=Le[A]=Le[O]=Le[I]=Le[M]=Le["[object Uint8ClampedArray]"]=Le[k]=Le[j]=!0,Le[u]=Le[c]=Le[C]=Le[l]=Le[E]=Le[d]=Le[f]=Le[h]=Le[g]=Le[m]=Le[v]=Le[y]=Le[_]=Le[b]=Le[D]=!1;var Be={};Be[u]=Be[c]=Be[C]=Be[E]=Be[l]=Be[d]=Be[x]=Be[S]=Be[A]=Be[O]=Be[I]=Be[g]=Be[m]=Be[v]=Be[y]=Be[_]=Be[b]=Be[w]=Be[M]=Be["[object Uint8ClampedArray]"]=Be[k]=Be[j]=!0,Be[f]=Be[h]=Be[D]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},He=parseFloat,ze=parseInt,qe="object"==typeof e&&e&&e.Object===Object&&e,Ge="object"==typeof self&&self&&self.Object===Object&&self,We=qe||Ge||Function("return this")(),Ke=t&&!t.nodeType&&t,Qe=Ke&&"object"==typeof r&&r&&!r.nodeType&&r,Ze=Qe&&Qe.exports===Ke,Je=Ze&&qe.process,Ye=function(){try{var e=Qe&&Qe.require&&Qe.require("util").types;return e||Je&&Je.binding&&Je.binding("util")}catch(e){}}(),Xe=Ye&&Ye.isArrayBuffer,et=Ye&&Ye.isDate,tt=Ye&&Ye.isMap,nt=Ye&&Ye.isRegExp,rt=Ye&&Ye.isSet,ot=Ye&&Ye.isTypedArray;function it(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function st(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var s=e[o];t(r,s,n(s),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}function dt(e,t){return!!(null==e?0:e.length)&&wt(e,t,0)>-1}function ft(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ht(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function pt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function gt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function mt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function vt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var yt=xt("length");function _t(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function bt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):bt(e,Ct,n)}function Dt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ct(e){return e!=e}function Et(e,t){var n=null==e?0:e.length;return n?Ot(e,t)/n:NaN}function xt(e){return function(t){return null==t?void 0:t[e]}}function St(e){return function(t){return null==e?void 0:e[t]}}function At(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Ot(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function It(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Mt(e){return e?e.slice(0,Kt(e)+1).replace(K,""):e}function kt(e){return function(t){return e(t)}}function jt(e,t){return ht(t,(function(t){return e[t]}))}function Pt(e,t){return e.has(t)}function Nt(e,t){for(var n=-1,r=e.length;++n<r&&wt(t,e[n],0)>-1;);return n}function Tt(e,t){for(var n=e.length;n--&&wt(t,e[n],0)>-1;);return n}function $t(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Ft=St({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Vt=St({"&":"&","<":"<",">":">",'"':""","'":"'"});function Rt(e){return"\\"+Ue[e]}function Lt(e){return $e.test(e)}function Bt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Ht(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function zt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function qt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Gt(e){return Lt(e)?function(e){var t=Ne.lastIndex=0;for(;Ne.test(e);)++t;return t}(e):yt(e)}function Wt(e){return Lt(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.split("")}(e)}function Kt(e){for(var t=e.length;t--&&Q.test(e.charAt(t)););return t}var Qt=St({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Zt=function e(t){var n,r=(t=null==t?We:Zt.defaults(We.Object(),t,Zt.pick(We,Ve))).Array,o=t.Date,Q=t.Error,fe=t.Function,he=t.Math,pe=t.Object,ge=t.RegExp,me=t.String,ve=t.TypeError,ye=r.prototype,_e=fe.prototype,be=pe.prototype,we=t["__core-js_shared__"],De=_e.toString,Ce=be.hasOwnProperty,Ee=0,xe=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Se=be.toString,Ae=De.call(pe),Oe=We._,Ie=ge("^"+De.call(Ce).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=Ze?t.Buffer:void 0,ke=t.Symbol,Ne=t.Uint8Array,$e=Me?Me.allocUnsafe:void 0,Ue=Ut(pe.getPrototypeOf,pe),qe=pe.create,Ge=be.propertyIsEnumerable,Ke=ye.splice,Qe=ke?ke.isConcatSpreadable:void 0,Je=ke?ke.iterator:void 0,Ye=ke?ke.toStringTag:void 0,yt=function(){try{var e=ti(pe,"defineProperty");return e({},"",{}),e}catch(e){}}(),St=t.clearTimeout!==We.clearTimeout&&t.clearTimeout,Jt=o&&o.now!==We.Date.now&&o.now,Yt=t.setTimeout!==We.setTimeout&&t.setTimeout,Xt=he.ceil,en=he.floor,tn=pe.getOwnPropertySymbols,nn=Me?Me.isBuffer:void 0,rn=t.isFinite,on=ye.join,sn=Ut(pe.keys,pe),an=he.max,un=he.min,cn=o.now,ln=t.parseInt,dn=he.random,fn=ye.reverse,hn=ti(t,"DataView"),pn=ti(t,"Map"),gn=ti(t,"Promise"),mn=ti(t,"Set"),vn=ti(t,"WeakMap"),yn=ti(pe,"create"),_n=vn&&new vn,bn={},wn=Oi(hn),Dn=Oi(pn),Cn=Oi(gn),En=Oi(mn),xn=Oi(vn),Sn=ke?ke.prototype:void 0,An=Sn?Sn.valueOf:void 0,On=Sn?Sn.toString:void 0;function In(e){if(qs(e)&&!Ns(e)&&!(e instanceof Pn)){if(e instanceof jn)return e;if(Ce.call(e,"__wrapped__"))return Ii(e)}return new jn(e)}var Mn=function(){function e(){}return function(t){if(!zs(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function kn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function Pn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Tn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Fn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Vn(e){var t=this.__data__=new Tn(e);this.size=t.size}function Rn(e,t){var n=Ns(e),r=!n&&Ps(e),o=!n&&!r&&Vs(e),i=!n&&!r&&!o&&Xs(e),s=n||r||o||i,a=s?It(e.length,me):[],u=a.length;for(var c in e)!t&&!Ce.call(e,c)||s&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ui(c,u))||a.push(c);return a}function Ln(e){var t=e.length;return t?e[Fr(0,t-1)]:void 0}function Bn(e,t){return xi(_o(e),Zn(t,0,e.length))}function Un(e){return xi(_o(e))}function Hn(e,t,n){(void 0!==n&&!Ms(e[t],n)||void 0===n&&!(t in e))&&Kn(e,t,n)}function zn(e,t,n){var r=e[t];Ce.call(e,t)&&Ms(r,n)&&(void 0!==n||t in e)||Kn(e,t,n)}function qn(e,t){for(var n=e.length;n--;)if(Ms(e[n][0],t))return n;return-1}function Gn(e,t,n,r){return tr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Wn(e,t){return e&&bo(t,wa(t),e)}function Kn(e,t,n){"__proto__"==t&&yt?yt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Qn(e,t){for(var n=-1,o=t.length,i=r(o),s=null==e;++n<o;)i[n]=s?void 0:ma(e,t[n]);return i}function Zn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Jn(e,t,n,r,o,i){var s,a=1&t,c=2&t,f=4&t;if(n&&(s=o?n(e,r,o,i):n(e)),void 0!==s)return s;if(!zs(e))return e;var D=Ns(e);if(D){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ce.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!a)return _o(e,s)}else{var P=oi(e),N=P==h||P==p;if(Vs(e))return ho(e,a);if(P==v||P==u||N&&!o){if(s=c||N?{}:si(e),!a)return c?function(e,t){return bo(e,ri(e),t)}(e,function(e,t){return e&&bo(t,Da(t),e)}(s,e)):function(e,t){return bo(e,ni(e),t)}(e,Wn(s,e))}else{if(!Be[P])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case C:return po(e);case l:case d:return new r(+e);case E:return function(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case x:case S:case A:case O:case I:case M:case"[object Uint8ClampedArray]":case k:case j:return go(e,n);case g:return new r;case m:case b:return new r(e);case y:return function(e){var t=new e.constructor(e.source,re.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new r;case w:return o=e,An?pe(An.call(o)):{}}var o}(e,P,a)}}i||(i=new Vn);var T=i.get(e);if(T)return T;i.set(e,s),Zs(e)?e.forEach((function(r){s.add(Jn(r,t,n,r,e,i))})):Gs(e)&&e.forEach((function(r,o){s.set(o,Jn(r,t,n,o,e,i))}));var $=D?void 0:(f?c?Ko:Wo:c?Da:wa)(e);return at($||e,(function(r,o){$&&(r=e[o=r]),zn(s,o,Jn(r,t,n,o,e,i))})),s}function Yn(e,t,n){var r=n.length;if(null==e)return!r;for(e=pe(e);r--;){var o=n[r],i=t[o],s=e[o];if(void 0===s&&!(o in e)||!i(s))return!1}return!0}function Xn(e,t,n){if("function"!=typeof e)throw new ve(i);return wi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var o=-1,i=dt,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=ht(t,kt(n))),r?(i=ft,s=!1):t.length>=200&&(i=Pt,s=!1,t=new Fn(t));e:for(;++o<a;){var l=e[o],d=null==n?l:n(l);if(l=r||0!==l?l:0,s&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;u.push(l)}else i(t,d,r)||u.push(l)}return u}In.templateSettings={escape:L,evaluate:B,interpolate:U,variable:"",imports:{_:In}},In.prototype=kn.prototype,In.prototype.constructor=In,jn.prototype=Mn(kn.prototype),jn.prototype.constructor=jn,Pn.prototype=Mn(kn.prototype),Pn.prototype.constructor=Pn,Nn.prototype.clear=function(){this.__data__=yn?yn(null):{},this.size=0},Nn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Nn.prototype.get=function(e){var t=this.__data__;if(yn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ce.call(t,e)?t[e]:void 0},Nn.prototype.has=function(e){var t=this.__data__;return yn?void 0!==t[e]:Ce.call(t,e)},Nn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yn&&void 0===t?"__lodash_hash_undefined__":t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(e){var t=this.__data__,n=qn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},Tn.prototype.get=function(e){var t=this.__data__,n=qn(t,e);return n<0?void 0:t[n][1]},Tn.prototype.has=function(e){return qn(this.__data__,e)>-1},Tn.prototype.set=function(e,t){var n=this.__data__,r=qn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Nn,map:new(pn||Tn),string:new Nn}},$n.prototype.delete=function(e){var t=Xo(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return Xo(this,e).get(e)},$n.prototype.has=function(e){return Xo(this,e).has(e)},$n.prototype.set=function(e,t){var n=Xo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Fn.prototype.add=Fn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Fn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Tn,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Tn){var r=n.__data__;if(!pn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var tr=Co(cr),nr=Co(lr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function or(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],s=t(i);if(null!=s&&(void 0===a?s==s&&!Ys(s):n(s,a)))var a=s,u=i}return u}function ir(e,t){var n=[];return tr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function sr(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=ai),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?sr(a,t-1,n,r,o):pt(o,a):r||(o[o.length]=a)}return o}var ar=Eo(),ur=Eo(!0);function cr(e,t){return e&&ar(e,t,wa)}function lr(e,t){return e&&ur(e,t,wa)}function dr(e,t){return lt(t,(function(t){return Bs(e[t])}))}function fr(e,t){for(var n=0,r=(t=uo(t,e)).length;null!=e&&n<r;)e=e[Ai(t[n++])];return n&&n==r?e:void 0}function hr(e,t,n){var r=t(e);return Ns(e)?r:pt(r,n(e))}function pr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ye&&Ye in pe(e)?function(e){var t=Ce.call(e,Ye),n=e[Ye];try{e[Ye]=void 0;var r=!0}catch(e){}var o=Se.call(e);r&&(t?e[Ye]=n:delete e[Ye]);return o}(e):function(e){return Se.call(e)}(e)}function gr(e,t){return e>t}function mr(e,t){return null!=e&&Ce.call(e,t)}function vr(e,t){return null!=e&&t in pe(e)}function yr(e,t,n){for(var o=n?ft:dt,i=e[0].length,s=e.length,a=s,u=r(s),c=1/0,l=[];a--;){var d=e[a];a&&t&&(d=ht(d,kt(t))),c=un(d.length,c),u[a]=!n&&(t||i>=120&&d.length>=120)?new Fn(a&&d):void 0}d=e[0];var f=-1,h=u[0];e:for(;++f<i&&l.length<c;){var p=d[f],g=t?t(p):p;if(p=n||0!==p?p:0,!(h?Pt(h,g):o(l,g,n))){for(a=s;--a;){var m=u[a];if(!(m?Pt(m,g):o(e[a],g,n)))continue e}h&&h.push(g),l.push(p)}}return l}function _r(e,t,n){var r=null==(e=vi(e,t=uo(t,e)))?e:e[Ai(Li(t))];return null==r?void 0:it(r,e,n)}function br(e){return qs(e)&&pr(e)==u}function wr(e,t,n,r,o){return e===t||(null==e||null==t||!qs(e)&&!qs(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var s=Ns(e),a=Ns(t),h=s?c:oi(e),p=a?c:oi(t),D=(h=h==u?v:h)==v,x=(p=p==u?v:p)==v,S=h==p;if(S&&Vs(e)){if(!Vs(t))return!1;s=!0,D=!1}if(S&&!D)return i||(i=new Vn),s||Xs(e)?qo(e,t,n,r,o,i):function(e,t,n,r,o,i,s){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case C:return!(e.byteLength!=t.byteLength||!i(new Ne(e),new Ne(t)));case l:case d:case m:return Ms(+e,+t);case f:return e.name==t.name&&e.message==t.message;case y:case b:return e==t+"";case g:var a=Bt;case _:var u=1&r;if(a||(a=zt),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var h=qo(a(e),a(t),r,o,i,s);return s.delete(e),h;case w:if(An)return An.call(e)==An.call(t)}return!1}(e,t,h,n,r,o,i);if(!(1&n)){var A=D&&Ce.call(e,"__wrapped__"),O=x&&Ce.call(t,"__wrapped__");if(A||O){var I=A?e.value():e,M=O?t.value():t;return i||(i=new Vn),o(I,M,n,r,i)}}if(!S)return!1;return i||(i=new Vn),function(e,t,n,r,o,i){var s=1&n,a=Wo(e),u=a.length,c=Wo(t).length;if(u!=c&&!s)return!1;var l=u;for(;l--;){var d=a[l];if(!(s?d in t:Ce.call(t,d)))return!1}var f=i.get(e),h=i.get(t);if(f&&h)return f==t&&h==e;var p=!0;i.set(e,t),i.set(t,e);var g=s;for(;++l<u;){d=a[l];var m=e[d],v=t[d];if(r)var y=s?r(v,m,d,t,e,i):r(m,v,d,e,t,i);if(!(void 0===y?m===v||o(m,v,n,r,i):y)){p=!1;break}g||(g="constructor"==d)}if(p&&!g){var _=e.constructor,b=t.constructor;_==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,i)}(e,t,n,r,wr,o))}function Dr(e,t,n,r){var o=n.length,i=o,s=!r;if(null==e)return!i;for(e=pe(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){var u=(a=n[o])[0],c=e[u],l=a[1];if(s&&a[2]){if(void 0===c&&!(u in e))return!1}else{var d=new Vn;if(r)var f=r(c,l,u,e,t,d);if(!(void 0===f?wr(l,c,3,r,d):f))return!1}}return!0}function Cr(e){return!(!zs(e)||(t=e,xe&&xe in t))&&(Bs(e)?Ie:se).test(Oi(e));var t}function Er(e){return"function"==typeof e?e:null==e?Wa:"object"==typeof e?Ns(e)?Mr(e[0],e[1]):Ir(e):nu(e)}function xr(e){if(!hi(e))return sn(e);var t=[];for(var n in pe(e))Ce.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Sr(e){if(!zs(e))return function(e){var t=[];if(null!=e)for(var n in pe(e))t.push(n);return t}(e);var t=hi(e),n=[];for(var r in e)("constructor"!=r||!t&&Ce.call(e,r))&&n.push(r);return n}function Ar(e,t){return e<t}function Or(e,t){var n=-1,o=$s(e)?r(e.length):[];return tr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Ir(e){var t=ei(e);return 1==t.length&&t[0][2]?gi(t[0][0],t[0][1]):function(n){return n===e||Dr(n,e,t)}}function Mr(e,t){return li(e)&&pi(t)?gi(Ai(e),t):function(n){var r=ma(n,e);return void 0===r&&r===t?va(n,e):wr(t,r,3)}}function kr(e,t,n,r,o){e!==t&&ar(t,(function(i,s){if(o||(o=new Vn),zs(i))!function(e,t,n,r,o,i,s){var a=_i(e,n),u=_i(t,n),c=s.get(u);if(c)return void Hn(e,n,c);var l=i?i(a,u,n+"",e,t,s):void 0,d=void 0===l;if(d){var f=Ns(u),h=!f&&Vs(u),p=!f&&!h&&Xs(u);l=u,f||h||p?Ns(a)?l=a:Fs(a)?l=_o(a):h?(d=!1,l=ho(u,!0)):p?(d=!1,l=go(u,!0)):l=[]:Ks(u)||Ps(u)?(l=a,Ps(a)?l=aa(a):zs(a)&&!Bs(a)||(l=si(u))):d=!1}d&&(s.set(u,l),o(l,u,r,i,s),s.delete(u));Hn(e,n,l)}(e,t,s,n,kr,r,o);else{var a=r?r(_i(e,s),i,s+"",e,t,o):void 0;void 0===a&&(a=i),Hn(e,s,a)}}),Da)}function jr(e,t){var n=e.length;if(n)return ui(t+=t<0?n:0,n)?e[t]:void 0}function Pr(e,t,n){t=t.length?ht(t,(function(e){return Ns(e)?function(t){return fr(t,1===e.length?e[0]:e)}:e})):[Wa];var r=-1;return t=ht(t,kt(Yo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Or(e,(function(e,n,o){return{criteria:ht(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,s=o.length,a=n.length;for(;++r<s;){var u=mo(o[r],i[r]);if(u){if(r>=a)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}(e,t,n)}))}function Nr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var s=t[r],a=fr(e,s);n(a,s)&&Ur(i,uo(s,e),a)}return i}function Tr(e,t,n,r){var o=r?Dt:wt,i=-1,s=t.length,a=e;for(e===t&&(t=_o(t)),n&&(a=ht(e,kt(n)));++i<s;)for(var u=0,c=t[i],l=n?n(c):c;(u=o(a,l,u,r))>-1;)a!==e&&Ke.call(a,u,1),Ke.call(e,u,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;ui(o)?Ke.call(e,o,1):eo(e,o)}}return e}function Fr(e,t){return e+en(dn()*(t-e+1))}function Vr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Rr(e,t){return Di(mi(e,t,Wa),e+"")}function Lr(e){return Ln(Ma(e))}function Br(e,t){var n=Ma(e);return xi(n,Zn(t,0,n.length))}function Ur(e,t,n,r){if(!zs(e))return e;for(var o=-1,i=(t=uo(t,e)).length,s=i-1,a=e;null!=a&&++o<i;){var u=Ai(t[o]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=s){var l=a[u];void 0===(c=r?r(l,u,a):void 0)&&(c=zs(l)?l:ui(t[o+1])?[]:{})}zn(a,u,c),a=a[u]}return e}var Hr=_n?function(e,t){return _n.set(e,t),e}:Wa,zr=yt?function(e,t){return yt(e,"toString",{configurable:!0,enumerable:!1,value:za(t),writable:!0})}:Wa;function qr(e){return xi(Ma(e))}function Gr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o<i;)s[o]=e[o+t];return s}function Wr(e,t){var n;return tr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Kr(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,s=e[i];null!==s&&!Ys(s)&&(n?s<=t:s<t)?r=i+1:o=i}return o}return Qr(e,t,Wa,n)}function Qr(e,t,n,r){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var s=(t=n(t))!=t,a=null===t,u=Ys(t),c=void 0===t;o<i;){var l=en((o+i)/2),d=n(e[l]),f=void 0!==d,h=null===d,p=d==d,g=Ys(d);if(s)var m=r||p;else m=c?p&&(r||f):a?p&&f&&(r||!h):u?p&&f&&!h&&(r||!g):!h&&!g&&(r?d<=t:d<t);m?o=l+1:i=l}return un(i,4294967294)}function Zr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Ms(a,u)){var u=a;i[o++]=0===s?0:s}}return i}function Jr(e){return"number"==typeof e?e:Ys(e)?NaN:+e}function Yr(e){if("string"==typeof e)return e;if(Ns(e))return ht(e,Yr)+"";if(Ys(e))return On?On.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Xr(e,t,n){var r=-1,o=dt,i=e.length,s=!0,a=[],u=a;if(n)s=!1,o=ft;else if(i>=200){var c=t?null:Ro(e);if(c)return zt(c);s=!1,o=Pt,u=new Fn}else u=t?[]:a;e:for(;++r<i;){var l=e[r],d=t?t(l):l;if(l=n||0!==l?l:0,s&&d==d){for(var f=u.length;f--;)if(u[f]===d)continue e;t&&u.push(d),a.push(l)}else o(u,d,n)||(u!==a&&u.push(d),a.push(l))}return a}function eo(e,t){return null==(e=vi(e,t=uo(t,e)))||delete e[Ai(Li(t))]}function to(e,t,n,r){return Ur(e,t,n(fr(e,t)),r)}function no(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Gr(e,r?0:i,r?i+1:o):Gr(e,r?i+1:0,r?o:i)}function ro(e,t){var n=e;return n instanceof Pn&&(n=n.value()),gt(t,(function(e,t){return t.func.apply(t.thisArg,pt([e],t.args))}),n)}function oo(e,t,n){var o=e.length;if(o<2)return o?Xr(e[0]):[];for(var i=-1,s=r(o);++i<o;)for(var a=e[i],u=-1;++u<o;)u!=i&&(s[i]=er(s[i]||a,e[u],t,n));return Xr(sr(s,1),t,n)}function io(e,t,n){for(var r=-1,o=e.length,i=t.length,s={};++r<o;){var a=r<i?t[r]:void 0;n(s,e[r],a)}return s}function so(e){return Fs(e)?e:[]}function ao(e){return"function"==typeof e?e:Wa}function uo(e,t){return Ns(e)?e:li(e,t)?[e]:Si(ua(e))}var co=Rr;function lo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Gr(e,t,n)}var fo=St||function(e){return We.clearTimeout(e)};function ho(e,t){if(t)return e.slice();var n=e.length,r=$e?$e(n):new e.constructor(n);return e.copy(r),r}function po(e){var t=new e.constructor(e.byteLength);return new Ne(t).set(new Ne(e)),t}function go(e,t){var n=t?po(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function mo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Ys(e),s=void 0!==t,a=null===t,u=t==t,c=Ys(t);if(!a&&!c&&!i&&e>t||i&&s&&u&&!a&&!c||r&&s&&u||!n&&u||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||a&&n&&o||!s&&o||!u)return-1}return 0}function vo(e,t,n,o){for(var i=-1,s=e.length,a=n.length,u=-1,c=t.length,l=an(s-a,0),d=r(c+l),f=!o;++u<c;)d[u]=t[u];for(;++i<a;)(f||i<s)&&(d[n[i]]=e[i]);for(;l--;)d[u++]=e[i++];return d}function yo(e,t,n,o){for(var i=-1,s=e.length,a=-1,u=n.length,c=-1,l=t.length,d=an(s-u,0),f=r(d+l),h=!o;++i<d;)f[i]=e[i];for(var p=i;++c<l;)f[p+c]=t[c];for(;++a<u;)(h||i<s)&&(f[p+n[a]]=e[i++]);return f}function _o(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function bo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],u=r?r(n[a],e[a],a,n,e):void 0;void 0===u&&(u=e[a]),o?Kn(n,a,u):zn(n,a,u)}return n}function wo(e,t){return function(n,r){var o=Ns(n)?st:Gn,i=t?t():{};return o(n,e,Yo(r,2),i)}}function Do(e){return Rr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,s&&ci(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=pe(t);++r<o;){var a=n[r];a&&e(t,a,r,i)}return t}))}function Co(e,t){return function(n,r){if(null==n)return n;if(!$s(n))return e(n,r);for(var o=n.length,i=t?o:-1,s=pe(n);(t?i--:++i<o)&&!1!==r(s[i],i,s););return n}}function Eo(e){return function(t,n,r){for(var o=-1,i=pe(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}function xo(e){return function(t){var n=Lt(t=ua(t))?Wt(t):void 0,r=n?n[0]:t.charAt(0),o=n?lo(n,1).join(""):t.slice(1);return r[e]()+o}}function So(e){return function(t){return gt(Ba(Pa(t).replace(je,"")),e,"")}}function Ao(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Mn(e.prototype),r=e.apply(n,t);return zs(r)?r:n}}function Oo(e){return function(t,n,r){var o=pe(t);if(!$s(t)){var i=Yo(n,3);t=wa(t),n=function(e){return i(o[e],e,o)}}var s=e(t,n,r);return s>-1?o[i?t[s]:s]:void 0}}function Io(e){return Go((function(t){var n=t.length,r=n,o=jn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new ve(i);if(o&&!a&&"wrapper"==Zo(s))var a=new jn([],!0)}for(r=a?r:n;++r<n;){var u=Zo(s=t[r]),c="wrapper"==u?Qo(s):void 0;a=c&&di(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[Zo(c[0])].apply(a,c[3]):1==s.length&&di(s)?a[u]():a.thru(s)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Ns(r))return a.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Mo(e,t,n,o,i,s,a,u,c,l){var d=128&t,f=1&t,h=2&t,p=24&t,g=512&t,m=h?void 0:Ao(e);return function v(){for(var y=arguments.length,_=r(y),b=y;b--;)_[b]=arguments[b];if(p)var w=Jo(v),D=$t(_,w);if(o&&(_=vo(_,o,i,p)),s&&(_=yo(_,s,a,p)),y-=D,p&&y<l){var C=Ht(_,w);return Fo(e,t,Mo,v.placeholder,n,_,C,u,c,l-y)}var E=f?n:this,x=h?E[e]:e;return y=_.length,u?_=yi(_,u):g&&y>1&&_.reverse(),d&&c<y&&(_.length=c),this&&this!==We&&this instanceof v&&(x=m||Ao(x)),x.apply(E,_)}}function ko(e,t){return function(n,r){return function(e,t,n,r){return cr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Yr(n),r=Yr(r)):(n=Jr(n),r=Jr(r)),o=e(n,r)}return o}}function Po(e){return Go((function(t){return t=ht(t,kt(Yo())),Rr((function(n){var r=this;return e(t,(function(e){return it(e,r,n)}))}))}))}function No(e,t){var n=(t=void 0===t?" ":Yr(t)).length;if(n<2)return n?Vr(t,e):t;var r=Vr(t,Xt(e/Gt(t)));return Lt(t)?lo(Wt(r),0,e).join(""):r.slice(0,e)}function To(e){return function(t,n,o){return o&&"number"!=typeof o&&ci(t,n,o)&&(n=o=void 0),t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n,o){for(var i=-1,s=an(Xt((t-e)/(n||1)),0),a=r(s);s--;)a[o?s:++i]=e,e+=n;return a}(t,n,o=void 0===o?t<n?1:-1:ra(o),e)}}function $o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=sa(t),n=sa(n)),e(t,n)}}function Fo(e,t,n,r,o,i,s,a,u,c){var l=8&t;t|=l?32:64,4&(t&=~(l?64:32))||(t&=-4);var d=[e,t,o,l?i:void 0,l?s:void 0,l?void 0:i,l?void 0:s,a,u,c],f=n.apply(void 0,d);return di(e)&&bi(f,d),f.placeholder=r,Ci(f,e,t)}function Vo(e){var t=he[e];return function(e,n){if(e=sa(e),(n=null==n?0:un(oa(n),292))&&rn(e)){var r=(ua(e)+"e").split("e");return+((r=(ua(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ro=mn&&1/zt(new mn([,-0]))[1]==1/0?function(e){return new mn(e)}:Ya;function Lo(e){return function(t){var n=oi(t);return n==g?Bt(t):n==_?qt(t):function(e,t){return ht(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Bo(e,t,n,o,a,u,c,l){var d=2&t;if(!d&&"function"!=typeof e)throw new ve(i);var f=o?o.length:0;if(f||(t&=-97,o=a=void 0),c=void 0===c?c:an(oa(c),0),l=void 0===l?l:oa(l),f-=a?a.length:0,64&t){var h=o,p=a;o=a=void 0}var g=d?void 0:Qo(e),m=[e,t,n,o,a,h,p,u,c,l];if(g&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var u=t[3];if(u){var c=e[3];e[3]=c?vo(c,u,t[4]):u,e[4]=c?Ht(e[3],s):t[4]}(u=t[5])&&(c=e[5],e[5]=c?yo(c,u,t[6]):u,e[6]=c?Ht(e[5],s):t[6]);(u=t[7])&&(e[7]=u);128&r&&(e[8]=null==e[8]?t[8]:un(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(m,g),e=m[0],t=m[1],n=m[2],o=m[3],a=m[4],!(l=m[9]=void 0===m[9]?d?0:e.length:an(m[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)v=8==t||16==t?function(e,t,n){var o=Ao(e);return function i(){for(var s=arguments.length,a=r(s),u=s,c=Jo(i);u--;)a[u]=arguments[u];var l=s<3&&a[0]!==c&&a[s-1]!==c?[]:Ht(a,c);if((s-=l.length)<n)return Fo(e,t,Mo,i.placeholder,void 0,a,l,void 0,void 0,n-s);var d=this&&this!==We&&this instanceof i?o:e;return it(d,this,a)}}(e,t,l):32!=t&&33!=t||a.length?Mo.apply(void 0,m):function(e,t,n,o){var i=1&t,s=Ao(e);return function t(){for(var a=-1,u=arguments.length,c=-1,l=o.length,d=r(l+u),f=this&&this!==We&&this instanceof t?s:e;++c<l;)d[c]=o[c];for(;u--;)d[c++]=arguments[++a];return it(f,i?n:this,d)}}(e,t,n,o);else var v=function(e,t,n){var r=1&t,o=Ao(e);return function t(){var i=this&&this!==We&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return Ci((g?Hr:bi)(v,m),e,t)}function Uo(e,t,n,r){return void 0===e||Ms(e,be[n])&&!Ce.call(r,n)?t:e}function Ho(e,t,n,r,o,i){return zs(e)&&zs(t)&&(i.set(t,e),kr(e,t,void 0,Ho,i),i.delete(t)),e}function zo(e){return Ks(e)?void 0:e}function qo(e,t,n,r,o,i){var s=1&n,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var c=i.get(e),l=i.get(t);if(c&&l)return c==t&&l==e;var d=-1,f=!0,h=2&n?new Fn:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var p=e[d],g=t[d];if(r)var m=s?r(g,p,d,t,e,i):r(p,g,d,e,t,i);if(void 0!==m){if(m)continue;f=!1;break}if(h){if(!vt(t,(function(e,t){if(!Pt(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){f=!1;break}}else if(p!==g&&!o(p,g,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function Go(e){return Di(mi(e,void 0,Ti),e+"")}function Wo(e){return hr(e,wa,ni)}function Ko(e){return hr(e,Da,ri)}var Qo=_n?function(e){return _n.get(e)}:Ya;function Zo(e){for(var t=e.name+"",n=bn[t],r=Ce.call(bn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Jo(e){return(Ce.call(In,"placeholder")?In:e).placeholder}function Yo(){var e=In.iteratee||Ka;return e=e===Ka?Er:e,arguments.length?e(arguments[0],arguments[1]):e}function Xo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function ei(e){for(var t=wa(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,pi(o)]}return t}function ti(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Cr(n)?n:void 0}var ni=tn?function(e){return null==e?[]:(e=pe(e),lt(tn(e),(function(t){return Ge.call(e,t)})))}:iu,ri=tn?function(e){for(var t=[];e;)pt(t,ni(e)),e=Ue(e);return t}:iu,oi=pr;function ii(e,t,n){for(var r=-1,o=(t=uo(t,e)).length,i=!1;++r<o;){var s=Ai(t[r]);if(!(i=null!=e&&n(e,s)))break;e=e[s]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Hs(o)&&ui(s,o)&&(Ns(e)||Ps(e))}function si(e){return"function"!=typeof e.constructor||hi(e)?{}:Mn(Ue(e))}function ai(e){return Ns(e)||Ps(e)||!!(Qe&&e&&e[Qe])}function ui(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ue.test(e))&&e>-1&&e%1==0&&e<t}function ci(e,t,n){if(!zs(n))return!1;var r=typeof t;return!!("number"==r?$s(n)&&ui(t,n.length):"string"==r&&t in n)&&Ms(n[t],e)}function li(e,t){if(Ns(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ys(e))||(z.test(e)||!H.test(e)||null!=t&&e in pe(t))}function di(e){var t=Zo(e),n=In[t];if("function"!=typeof n||!(t in Pn.prototype))return!1;if(e===n)return!0;var r=Qo(n);return!!r&&e===r[0]}(hn&&oi(new hn(new ArrayBuffer(1)))!=E||pn&&oi(new pn)!=g||gn&&"[object Promise]"!=oi(gn.resolve())||mn&&oi(new mn)!=_||vn&&oi(new vn)!=D)&&(oi=function(e){var t=pr(e),n=t==v?e.constructor:void 0,r=n?Oi(n):"";if(r)switch(r){case wn:return E;case Dn:return g;case Cn:return"[object Promise]";case En:return _;case xn:return D}return t});var fi=we?Bs:su;function hi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||be)}function pi(e){return e==e&&!zs(e)}function gi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in pe(n)))}}function mi(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,s=an(o.length-t,0),a=r(s);++i<s;)a[i]=o[t+i];i=-1;for(var u=r(t+1);++i<t;)u[i]=o[i];return u[t]=n(a),it(e,this,u)}}function vi(e,t){return t.length<2?e:fr(e,Gr(t,0,-1))}function yi(e,t){for(var n=e.length,r=un(t.length,n),o=_o(e);r--;){var i=t[r];e[r]=ui(i,n)?o[i]:void 0}return e}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var bi=Ei(Hr),wi=Yt||function(e,t){return We.setTimeout(e,t)},Di=Ei(zr);function Ci(e,t,n){var r=t+"";return Di(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(J);return t?t[1].split(Y):[]}(r),n)))}function Ei(e){var t=0,n=0;return function(){var r=cn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function xi(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Fr(n,o),s=e[i];e[i]=e[n],e[n]=s}return e.length=t,e}var Si=function(e){var t=Es(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(q,(function(e,n,r,o){t.push(r?o.replace(te,"$1"):n||e)})),t}));function Ai(e){if("string"==typeof e||Ys(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Oi(e){if(null!=e){try{return De.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ii(e){if(e instanceof Pn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=_o(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Mi=Rr((function(e,t){return Fs(e)?er(e,sr(t,1,Fs,!0)):[]})),ki=Rr((function(e,t){var n=Li(t);return Fs(n)&&(n=void 0),Fs(e)?er(e,sr(t,1,Fs,!0),Yo(n,2)):[]})),ji=Rr((function(e,t){var n=Li(t);return Fs(n)&&(n=void 0),Fs(e)?er(e,sr(t,1,Fs,!0),void 0,n):[]}));function Pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oa(n);return o<0&&(o=an(r+o,0)),bt(e,Yo(t,3),o)}function Ni(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=oa(n),o=n<0?an(r+o,0):un(o,r-1)),bt(e,Yo(t,3),o,!0)}function Ti(e){return(null==e?0:e.length)?sr(e,1):[]}function $i(e){return e&&e.length?e[0]:void 0}var Fi=Rr((function(e){var t=ht(e,so);return t.length&&t[0]===e[0]?yr(t):[]})),Vi=Rr((function(e){var t=Li(e),n=ht(e,so);return t===Li(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?yr(n,Yo(t,2)):[]})),Ri=Rr((function(e){var t=Li(e),n=ht(e,so);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?yr(n,void 0,t):[]}));function Li(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Bi=Rr(Ui);function Ui(e,t){return e&&e.length&&t&&t.length?Tr(e,t):e}var Hi=Go((function(e,t){var n=null==e?0:e.length,r=Qn(e,t);return $r(e,ht(t,(function(e){return ui(e,n)?+e:e})).sort(mo)),r}));function zi(e){return null==e?e:fn.call(e)}var qi=Rr((function(e){return Xr(sr(e,1,Fs,!0))})),Gi=Rr((function(e){var t=Li(e);return Fs(t)&&(t=void 0),Xr(sr(e,1,Fs,!0),Yo(t,2))})),Wi=Rr((function(e){var t=Li(e);return t="function"==typeof t?t:void 0,Xr(sr(e,1,Fs,!0),void 0,t)}));function Ki(e){if(!e||!e.length)return[];var t=0;return e=lt(e,(function(e){if(Fs(e))return t=an(e.length,t),!0})),It(t,(function(t){return ht(e,xt(t))}))}function Qi(e,t){if(!e||!e.length)return[];var n=Ki(e);return null==t?n:ht(n,(function(e){return it(t,void 0,e)}))}var Zi=Rr((function(e,t){return Fs(e)?er(e,t):[]})),Ji=Rr((function(e){return oo(lt(e,Fs))})),Yi=Rr((function(e){var t=Li(e);return Fs(t)&&(t=void 0),oo(lt(e,Fs),Yo(t,2))})),Xi=Rr((function(e){var t=Li(e);return t="function"==typeof t?t:void 0,oo(lt(e,Fs),void 0,t)})),es=Rr(Ki);var ts=Rr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,Qi(e,n)}));function ns(e){var t=In(e);return t.__chain__=!0,t}function rs(e,t){return t(e)}var os=Go((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return Qn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Pn&&ui(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:rs,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var is=wo((function(e,t,n){Ce.call(e,n)?++e[n]:Kn(e,n,1)}));var ss=Oo(Pi),as=Oo(Ni);function us(e,t){return(Ns(e)?at:tr)(e,Yo(t,3))}function cs(e,t){return(Ns(e)?ut:nr)(e,Yo(t,3))}var ls=wo((function(e,t,n){Ce.call(e,n)?e[n].push(t):Kn(e,n,[t])}));var ds=Rr((function(e,t,n){var o=-1,i="function"==typeof t,s=$s(e)?r(e.length):[];return tr(e,(function(e){s[++o]=i?it(t,e,n):_r(e,t,n)})),s})),fs=wo((function(e,t,n){Kn(e,n,t)}));function hs(e,t){return(Ns(e)?ht:Or)(e,Yo(t,3))}var ps=wo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var gs=Rr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ci(e,t[0],t[1])?t=[]:n>2&&ci(t[0],t[1],t[2])&&(t=[t[0]]),Pr(e,sr(t,1),[])})),ms=Jt||function(){return We.Date.now()};function vs(e,t,n){return t=n?void 0:t,Bo(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ys(e,t){var n;if("function"!=typeof t)throw new ve(i);return e=oa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var _s=Rr((function(e,t,n){var r=1;if(n.length){var o=Ht(n,Jo(_s));r|=32}return Bo(e,r,t,n,o)})),bs=Rr((function(e,t,n){var r=3;if(n.length){var o=Ht(n,Jo(bs));r|=32}return Bo(t,r,e,n,o)}));function ws(e,t,n){var r,o,s,a,u,c,l=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new ve(i);function p(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n)}function g(e){return l=e,u=wi(v,t),d?p(e):a}function m(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-l>=s}function v(){var e=ms();if(m(e))return y(e);u=wi(v,function(e){var n=t-(e-c);return f?un(n,s-(e-l)):n}(e))}function y(e){return u=void 0,h&&r?p(e):(r=o=void 0,a)}function _(){var e=ms(),n=m(e);if(r=arguments,o=this,c=e,n){if(void 0===u)return g(c);if(f)return fo(u),u=wi(v,t),p(c)}return void 0===u&&(u=wi(v,t)),a}return t=sa(t)||0,zs(n)&&(d=!!n.leading,s=(f="maxWait"in n)?an(sa(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),_.cancel=function(){void 0!==u&&fo(u),l=0,r=c=o=u=void 0},_.flush=function(){return void 0===u?a:y(ms())},_}var Ds=Rr((function(e,t){return Xn(e,1,t)})),Cs=Rr((function(e,t,n){return Xn(e,sa(t)||0,n)}));function Es(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Es.Cache||$n),n}function xs(e){if("function"!=typeof e)throw new ve(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Es.Cache=$n;var Ss=co((function(e,t){var n=(t=1==t.length&&Ns(t[0])?ht(t[0],kt(Yo())):ht(sr(t,1),kt(Yo()))).length;return Rr((function(r){for(var o=-1,i=un(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return it(e,this,r)}))})),As=Rr((function(e,t){return Bo(e,32,void 0,t,Ht(t,Jo(As)))})),Os=Rr((function(e,t){return Bo(e,64,void 0,t,Ht(t,Jo(Os)))})),Is=Go((function(e,t){return Bo(e,256,void 0,void 0,void 0,t)}));function Ms(e,t){return e===t||e!=e&&t!=t}var ks=$o(gr),js=$o((function(e,t){return e>=t})),Ps=br(function(){return arguments}())?br:function(e){return qs(e)&&Ce.call(e,"callee")&&!Ge.call(e,"callee")},Ns=r.isArray,Ts=Xe?kt(Xe):function(e){return qs(e)&&pr(e)==C};function $s(e){return null!=e&&Hs(e.length)&&!Bs(e)}function Fs(e){return qs(e)&&$s(e)}var Vs=nn||su,Rs=et?kt(et):function(e){return qs(e)&&pr(e)==d};function Ls(e){if(!qs(e))return!1;var t=pr(e);return t==f||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ks(e)}function Bs(e){if(!zs(e))return!1;var t=pr(e);return t==h||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Us(e){return"number"==typeof e&&e==oa(e)}function Hs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function zs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function qs(e){return null!=e&&"object"==typeof e}var Gs=tt?kt(tt):function(e){return qs(e)&&oi(e)==g};function Ws(e){return"number"==typeof e||qs(e)&&pr(e)==m}function Ks(e){if(!qs(e)||pr(e)!=v)return!1;var t=Ue(e);if(null===t)return!0;var n=Ce.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&De.call(n)==Ae}var Qs=nt?kt(nt):function(e){return qs(e)&&pr(e)==y};var Zs=rt?kt(rt):function(e){return qs(e)&&oi(e)==_};function Js(e){return"string"==typeof e||!Ns(e)&&qs(e)&&pr(e)==b}function Ys(e){return"symbol"==typeof e||qs(e)&&pr(e)==w}var Xs=ot?kt(ot):function(e){return qs(e)&&Hs(e.length)&&!!Le[pr(e)]};var ea=$o(Ar),ta=$o((function(e,t){return e<=t}));function na(e){if(!e)return[];if($s(e))return Js(e)?Wt(e):_o(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=oi(e);return(t==g?Bt:t==_?zt:Ma)(e)}function ra(e){return e?(e=sa(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function oa(e){var t=ra(e),n=t%1;return t==t?n?t-n:t:0}function ia(e){return e?Zn(oa(e),0,4294967295):0}function sa(e){if("number"==typeof e)return e;if(Ys(e))return NaN;if(zs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=zs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Mt(e);var n=ie.test(e);return n||ae.test(e)?ze(e.slice(2),n?2:8):oe.test(e)?NaN:+e}function aa(e){return bo(e,Da(e))}function ua(e){return null==e?"":Yr(e)}var ca=Do((function(e,t){if(hi(t)||$s(t))bo(t,wa(t),e);else for(var n in t)Ce.call(t,n)&&zn(e,n,t[n])})),la=Do((function(e,t){bo(t,Da(t),e)})),da=Do((function(e,t,n,r){bo(t,Da(t),e,r)})),fa=Do((function(e,t,n,r){bo(t,wa(t),e,r)})),ha=Go(Qn);var pa=Rr((function(e,t){e=pe(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ci(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],s=Da(i),a=-1,u=s.length;++a<u;){var c=s[a],l=e[c];(void 0===l||Ms(l,be[c])&&!Ce.call(e,c))&&(e[c]=i[c])}return e})),ga=Rr((function(e){return e.push(void 0,Ho),it(Ea,void 0,e)}));function ma(e,t,n){var r=null==e?void 0:fr(e,t);return void 0===r?n:r}function va(e,t){return null!=e&&ii(e,t,vr)}var ya=ko((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Se.call(t)),e[t]=n}),za(Wa)),_a=ko((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Se.call(t)),Ce.call(e,t)?e[t].push(n):e[t]=[n]}),Yo),ba=Rr(_r);function wa(e){return $s(e)?Rn(e):xr(e)}function Da(e){return $s(e)?Rn(e,!0):Sr(e)}var Ca=Do((function(e,t,n){kr(e,t,n)})),Ea=Do((function(e,t,n,r){kr(e,t,n,r)})),xa=Go((function(e,t){var n={};if(null==e)return n;var r=!1;t=ht(t,(function(t){return t=uo(t,e),r||(r=t.length>1),t})),bo(e,Ko(e),n),r&&(n=Jn(n,7,zo));for(var o=t.length;o--;)eo(n,t[o]);return n}));var Sa=Go((function(e,t){return null==e?{}:function(e,t){return Nr(e,t,(function(t,n){return va(e,n)}))}(e,t)}));function Aa(e,t){if(null==e)return{};var n=ht(Ko(e),(function(e){return[e]}));return t=Yo(t),Nr(e,n,(function(e,n){return t(e,n[0])}))}var Oa=Lo(wa),Ia=Lo(Da);function Ma(e){return null==e?[]:jt(e,wa(e))}var ka=So((function(e,t,n){return t=t.toLowerCase(),e+(n?ja(t):t)}));function ja(e){return La(ua(e).toLowerCase())}function Pa(e){return(e=ua(e))&&e.replace(ce,Ft).replace(Pe,"")}var Na=So((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ta=So((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),$a=xo("toLowerCase");var Fa=So((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Va=So((function(e,t,n){return e+(n?" ":"")+La(t)}));var Ra=So((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),La=xo("toUpperCase");function Ba(e,t,n){return e=ua(e),void 0===(t=n?void 0:t)?function(e){return Fe.test(e)}(e)?function(e){return e.match(Te)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Ua=Rr((function(e,t){try{return it(e,void 0,t)}catch(e){return Ls(e)?e:new Q(e)}})),Ha=Go((function(e,t){return at(t,(function(t){t=Ai(t),Kn(e,t,_s(e[t],e))})),e}));function za(e){return function(){return e}}var qa=Io(),Ga=Io(!0);function Wa(e){return e}function Ka(e){return Er("function"==typeof e?e:Jn(e,1))}var Qa=Rr((function(e,t){return function(n){return _r(n,e,t)}})),Za=Rr((function(e,t){return function(n){return _r(e,n,t)}}));function Ja(e,t,n){var r=wa(t),o=dr(t,r);null!=n||zs(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=dr(t,wa(t)));var i=!(zs(n)&&"chain"in n&&!n.chain),s=Bs(e);return at(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=_o(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Ya(){}var Xa=Po(ht),eu=Po(ct),tu=Po(vt);function nu(e){return li(e)?xt(Ai(e)):function(e){return function(t){return fr(t,e)}}(e)}var ru=To(),ou=To(!0);function iu(){return[]}function su(){return!1}var au=jo((function(e,t){return e+t}),0),uu=Vo("ceil"),cu=jo((function(e,t){return e/t}),1),lu=Vo("floor");var du,fu=jo((function(e,t){return e*t}),1),hu=Vo("round"),pu=jo((function(e,t){return e-t}),0);return In.after=function(e,t){if("function"!=typeof t)throw new ve(i);return e=oa(e),function(){if(--e<1)return t.apply(this,arguments)}},In.ary=vs,In.assign=ca,In.assignIn=la,In.assignInWith=da,In.assignWith=fa,In.at=ha,In.before=ys,In.bind=_s,In.bindAll=Ha,In.bindKey=bs,In.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ns(e)?e:[e]},In.chain=ns,In.chunk=function(e,t,n){t=(n?ci(e,t,n):void 0===t)?1:an(oa(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,s=0,a=r(Xt(o/t));i<o;)a[s++]=Gr(e,i,i+=t);return a},In.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},In.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return pt(Ns(n)?_o(n):[n],sr(t,1))},In.cond=function(e){var t=null==e?0:e.length,n=Yo();return e=t?ht(e,(function(e){if("function"!=typeof e[1])throw new ve(i);return[n(e[0]),e[1]]})):[],Rr((function(n){for(var r=-1;++r<t;){var o=e[r];if(it(o[0],this,n))return it(o[1],this,n)}}))},In.conforms=function(e){return function(e){var t=wa(e);return function(n){return Yn(n,e,t)}}(Jn(e,1))},In.constant=za,In.countBy=is,In.create=function(e,t){var n=Mn(e);return null==t?n:Wn(n,t)},In.curry=function e(t,n,r){var o=Bo(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},In.curryRight=function e(t,n,r){var o=Bo(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},In.debounce=ws,In.defaults=pa,In.defaultsDeep=ga,In.defer=Ds,In.delay=Cs,In.difference=Mi,In.differenceBy=ki,In.differenceWith=ji,In.drop=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=n||void 0===t?1:oa(t))<0?0:t,r):[]},In.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,0,(t=r-(t=n||void 0===t?1:oa(t)))<0?0:t):[]},In.dropRightWhile=function(e,t){return e&&e.length?no(e,Yo(t,3),!0,!0):[]},In.dropWhile=function(e,t){return e&&e.length?no(e,Yo(t,3),!0):[]},In.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ci(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=oa(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:oa(r))<0&&(r+=o),r=n>r?0:ia(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},In.filter=function(e,t){return(Ns(e)?lt:ir)(e,Yo(t,3))},In.flatMap=function(e,t){return sr(hs(e,t),1)},In.flatMapDeep=function(e,t){return sr(hs(e,t),1/0)},In.flatMapDepth=function(e,t,n){return n=void 0===n?1:oa(n),sr(hs(e,t),n)},In.flatten=Ti,In.flattenDeep=function(e){return(null==e?0:e.length)?sr(e,1/0):[]},In.flattenDepth=function(e,t){return(null==e?0:e.length)?sr(e,t=void 0===t?1:oa(t)):[]},In.flip=function(e){return Bo(e,512)},In.flow=qa,In.flowRight=Ga,In.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},In.functions=function(e){return null==e?[]:dr(e,wa(e))},In.functionsIn=function(e){return null==e?[]:dr(e,Da(e))},In.groupBy=ls,In.initial=function(e){return(null==e?0:e.length)?Gr(e,0,-1):[]},In.intersection=Fi,In.intersectionBy=Vi,In.intersectionWith=Ri,In.invert=ya,In.invertBy=_a,In.invokeMap=ds,In.iteratee=Ka,In.keyBy=fs,In.keys=wa,In.keysIn=Da,In.map=hs,In.mapKeys=function(e,t){var n={};return t=Yo(t,3),cr(e,(function(e,r,o){Kn(n,t(e,r,o),e)})),n},In.mapValues=function(e,t){var n={};return t=Yo(t,3),cr(e,(function(e,r,o){Kn(n,r,t(e,r,o))})),n},In.matches=function(e){return Ir(Jn(e,1))},In.matchesProperty=function(e,t){return Mr(e,Jn(t,1))},In.memoize=Es,In.merge=Ca,In.mergeWith=Ea,In.method=Qa,In.methodOf=Za,In.mixin=Ja,In.negate=xs,In.nthArg=function(e){return e=oa(e),Rr((function(t){return jr(t,e)}))},In.omit=xa,In.omitBy=function(e,t){return Aa(e,xs(Yo(t)))},In.once=function(e){return ys(2,e)},In.orderBy=function(e,t,n,r){return null==e?[]:(Ns(t)||(t=null==t?[]:[t]),Ns(n=r?void 0:n)||(n=null==n?[]:[n]),Pr(e,t,n))},In.over=Xa,In.overArgs=Ss,In.overEvery=eu,In.overSome=tu,In.partial=As,In.partialRight=Os,In.partition=ps,In.pick=Sa,In.pickBy=Aa,In.property=nu,In.propertyOf=function(e){return function(t){return null==e?void 0:fr(e,t)}},In.pull=Bi,In.pullAll=Ui,In.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Tr(e,t,Yo(n,2)):e},In.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Tr(e,t,void 0,n):e},In.pullAt=Hi,In.range=ru,In.rangeRight=ou,In.rearg=Is,In.reject=function(e,t){return(Ns(e)?lt:ir)(e,xs(Yo(t,3)))},In.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Yo(t,3);++r<i;){var s=e[r];t(s,r,e)&&(n.push(s),o.push(r))}return $r(e,o),n},In.rest=function(e,t){if("function"!=typeof e)throw new ve(i);return Rr(e,t=void 0===t?t:oa(t))},In.reverse=zi,In.sampleSize=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:oa(t),(Ns(e)?Bn:Br)(e,t)},In.set=function(e,t,n){return null==e?e:Ur(e,t,n)},In.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Ur(e,t,n,r)},In.shuffle=function(e){return(Ns(e)?Un:qr)(e)},In.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ci(e,t,n)?(t=0,n=r):(t=null==t?0:oa(t),n=void 0===n?r:oa(n)),Gr(e,t,n)):[]},In.sortBy=gs,In.sortedUniq=function(e){return e&&e.length?Zr(e):[]},In.sortedUniqBy=function(e,t){return e&&e.length?Zr(e,Yo(t,2)):[]},In.split=function(e,t,n){return n&&"number"!=typeof n&&ci(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ua(e))&&("string"==typeof t||null!=t&&!Qs(t))&&!(t=Yr(t))&&Lt(e)?lo(Wt(e),0,n):e.split(t,n):[]},In.spread=function(e,t){if("function"!=typeof e)throw new ve(i);return t=null==t?0:an(oa(t),0),Rr((function(n){var r=n[t],o=lo(n,0,t);return r&&pt(o,r),it(e,this,o)}))},In.tail=function(e){var t=null==e?0:e.length;return t?Gr(e,1,t):[]},In.take=function(e,t,n){return e&&e.length?Gr(e,0,(t=n||void 0===t?1:oa(t))<0?0:t):[]},In.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Gr(e,(t=r-(t=n||void 0===t?1:oa(t)))<0?0:t,r):[]},In.takeRightWhile=function(e,t){return e&&e.length?no(e,Yo(t,3),!1,!0):[]},In.takeWhile=function(e,t){return e&&e.length?no(e,Yo(t,3)):[]},In.tap=function(e,t){return t(e),e},In.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ve(i);return zs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ws(e,t,{leading:r,maxWait:t,trailing:o})},In.thru=rs,In.toArray=na,In.toPairs=Oa,In.toPairsIn=Ia,In.toPath=function(e){return Ns(e)?ht(e,Ai):Ys(e)?[e]:_o(Si(ua(e)))},In.toPlainObject=aa,In.transform=function(e,t,n){var r=Ns(e),o=r||Vs(e)||Xs(e);if(t=Yo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:zs(e)&&Bs(i)?Mn(Ue(e)):{}}return(o?at:cr)(e,(function(e,r,o){return t(n,e,r,o)})),n},In.unary=function(e){return vs(e,1)},In.union=qi,In.unionBy=Gi,In.unionWith=Wi,In.uniq=function(e){return e&&e.length?Xr(e):[]},In.uniqBy=function(e,t){return e&&e.length?Xr(e,Yo(t,2)):[]},In.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Xr(e,void 0,t):[]},In.unset=function(e,t){return null==e||eo(e,t)},In.unzip=Ki,In.unzipWith=Qi,In.update=function(e,t,n){return null==e?e:to(e,t,ao(n))},In.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:to(e,t,ao(n),r)},In.values=Ma,In.valuesIn=function(e){return null==e?[]:jt(e,Da(e))},In.without=Zi,In.words=Ba,In.wrap=function(e,t){return As(ao(t),e)},In.xor=Ji,In.xorBy=Yi,In.xorWith=Xi,In.zip=es,In.zipObject=function(e,t){return io(e||[],t||[],zn)},In.zipObjectDeep=function(e,t){return io(e||[],t||[],Ur)},In.zipWith=ts,In.entries=Oa,In.entriesIn=Ia,In.extend=la,In.extendWith=da,Ja(In,In),In.add=au,In.attempt=Ua,In.camelCase=ka,In.capitalize=ja,In.ceil=uu,In.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=sa(n))==n?n:0),void 0!==t&&(t=(t=sa(t))==t?t:0),Zn(sa(e),t,n)},In.clone=function(e){return Jn(e,4)},In.cloneDeep=function(e){return Jn(e,5)},In.cloneDeepWith=function(e,t){return Jn(e,5,t="function"==typeof t?t:void 0)},In.cloneWith=function(e,t){return Jn(e,4,t="function"==typeof t?t:void 0)},In.conformsTo=function(e,t){return null==t||Yn(e,t,wa(t))},In.deburr=Pa,In.defaultTo=function(e,t){return null==e||e!=e?t:e},In.divide=cu,In.endsWith=function(e,t,n){e=ua(e),t=Yr(t);var r=e.length,o=n=void 0===n?r:Zn(oa(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},In.eq=Ms,In.escape=function(e){return(e=ua(e))&&R.test(e)?e.replace(F,Vt):e},In.escapeRegExp=function(e){return(e=ua(e))&&W.test(e)?e.replace(G,"\\$&"):e},In.every=function(e,t,n){var r=Ns(e)?ct:rr;return n&&ci(e,t,n)&&(t=void 0),r(e,Yo(t,3))},In.find=ss,In.findIndex=Pi,In.findKey=function(e,t){return _t(e,Yo(t,3),cr)},In.findLast=as,In.findLastIndex=Ni,In.findLastKey=function(e,t){return _t(e,Yo(t,3),lr)},In.floor=lu,In.forEach=us,In.forEachRight=cs,In.forIn=function(e,t){return null==e?e:ar(e,Yo(t,3),Da)},In.forInRight=function(e,t){return null==e?e:ur(e,Yo(t,3),Da)},In.forOwn=function(e,t){return e&&cr(e,Yo(t,3))},In.forOwnRight=function(e,t){return e&&lr(e,Yo(t,3))},In.get=ma,In.gt=ks,In.gte=js,In.has=function(e,t){return null!=e&&ii(e,t,mr)},In.hasIn=va,In.head=$i,In.identity=Wa,In.includes=function(e,t,n,r){e=$s(e)?e:Ma(e),n=n&&!r?oa(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Js(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&wt(e,t,n)>-1},In.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:oa(n);return o<0&&(o=an(r+o,0)),wt(e,t,o)},In.inRange=function(e,t,n){return t=ra(t),void 0===n?(n=t,t=0):n=ra(n),function(e,t,n){return e>=un(t,n)&&e<an(t,n)}(e=sa(e),t,n)},In.invoke=ba,In.isArguments=Ps,In.isArray=Ns,In.isArrayBuffer=Ts,In.isArrayLike=$s,In.isArrayLikeObject=Fs,In.isBoolean=function(e){return!0===e||!1===e||qs(e)&&pr(e)==l},In.isBuffer=Vs,In.isDate=Rs,In.isElement=function(e){return qs(e)&&1===e.nodeType&&!Ks(e)},In.isEmpty=function(e){if(null==e)return!0;if($s(e)&&(Ns(e)||"string"==typeof e||"function"==typeof e.splice||Vs(e)||Xs(e)||Ps(e)))return!e.length;var t=oi(e);if(t==g||t==_)return!e.size;if(hi(e))return!xr(e).length;for(var n in e)if(Ce.call(e,n))return!1;return!0},In.isEqual=function(e,t){return wr(e,t)},In.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?wr(e,t,void 0,n):!!r},In.isError=Ls,In.isFinite=function(e){return"number"==typeof e&&rn(e)},In.isFunction=Bs,In.isInteger=Us,In.isLength=Hs,In.isMap=Gs,In.isMatch=function(e,t){return e===t||Dr(e,t,ei(t))},In.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,Dr(e,t,ei(t),n)},In.isNaN=function(e){return Ws(e)&&e!=+e},In.isNative=function(e){if(fi(e))throw new Q("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Cr(e)},In.isNil=function(e){return null==e},In.isNull=function(e){return null===e},In.isNumber=Ws,In.isObject=zs,In.isObjectLike=qs,In.isPlainObject=Ks,In.isRegExp=Qs,In.isSafeInteger=function(e){return Us(e)&&e>=-9007199254740991&&e<=9007199254740991},In.isSet=Zs,In.isString=Js,In.isSymbol=Ys,In.isTypedArray=Xs,In.isUndefined=function(e){return void 0===e},In.isWeakMap=function(e){return qs(e)&&oi(e)==D},In.isWeakSet=function(e){return qs(e)&&"[object WeakSet]"==pr(e)},In.join=function(e,t){return null==e?"":on.call(e,t)},In.kebabCase=Na,In.last=Li,In.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=oa(n))<0?an(r+o,0):un(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):bt(e,Ct,o,!0)},In.lowerCase=Ta,In.lowerFirst=$a,In.lt=ea,In.lte=ta,In.max=function(e){return e&&e.length?or(e,Wa,gr):void 0},In.maxBy=function(e,t){return e&&e.length?or(e,Yo(t,2),gr):void 0},In.mean=function(e){return Et(e,Wa)},In.meanBy=function(e,t){return Et(e,Yo(t,2))},In.min=function(e){return e&&e.length?or(e,Wa,Ar):void 0},In.minBy=function(e,t){return e&&e.length?or(e,Yo(t,2),Ar):void 0},In.stubArray=iu,In.stubFalse=su,In.stubObject=function(){return{}},In.stubString=function(){return""},In.stubTrue=function(){return!0},In.multiply=fu,In.nth=function(e,t){return e&&e.length?jr(e,oa(t)):void 0},In.noConflict=function(){return We._===this&&(We._=Oe),this},In.noop=Ya,In.now=ms,In.pad=function(e,t,n){e=ua(e);var r=(t=oa(t))?Gt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return No(en(o),n)+e+No(Xt(o),n)},In.padEnd=function(e,t,n){e=ua(e);var r=(t=oa(t))?Gt(e):0;return t&&r<t?e+No(t-r,n):e},In.padStart=function(e,t,n){e=ua(e);var r=(t=oa(t))?Gt(e):0;return t&&r<t?No(t-r,n)+e:e},In.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ln(ua(e).replace(K,""),t||0)},In.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ci(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ra(e),void 0===t?(t=e,e=0):t=ra(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=dn();return un(e+o*(t-e+He("1e-"+((o+"").length-1))),t)}return Fr(e,t)},In.reduce=function(e,t,n){var r=Ns(e)?gt:At,o=arguments.length<3;return r(e,Yo(t,4),n,o,tr)},In.reduceRight=function(e,t,n){var r=Ns(e)?mt:At,o=arguments.length<3;return r(e,Yo(t,4),n,o,nr)},In.repeat=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:oa(t),Vr(ua(e),t)},In.replace=function(){var e=arguments,t=ua(e[0]);return e.length<3?t:t.replace(e[1],e[2])},In.result=function(e,t,n){var r=-1,o=(t=uo(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ai(t[r])];void 0===i&&(r=o,i=n),e=Bs(i)?i.call(e):i}return e},In.round=hu,In.runInContext=e,In.sample=function(e){return(Ns(e)?Ln:Lr)(e)},In.size=function(e){if(null==e)return 0;if($s(e))return Js(e)?Gt(e):e.length;var t=oi(e);return t==g||t==_?e.size:xr(e).length},In.snakeCase=Fa,In.some=function(e,t,n){var r=Ns(e)?vt:Wr;return n&&ci(e,t,n)&&(t=void 0),r(e,Yo(t,3))},In.sortedIndex=function(e,t){return Kr(e,t)},In.sortedIndexBy=function(e,t,n){return Qr(e,t,Yo(n,2))},In.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Kr(e,t);if(r<n&&Ms(e[r],t))return r}return-1},In.sortedLastIndex=function(e,t){return Kr(e,t,!0)},In.sortedLastIndexBy=function(e,t,n){return Qr(e,t,Yo(n,2),!0)},In.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Kr(e,t,!0)-1;if(Ms(e[n],t))return n}return-1},In.startCase=Va,In.startsWith=function(e,t,n){return e=ua(e),n=null==n?0:Zn(oa(n),0,e.length),t=Yr(t),e.slice(n,n+t.length)==t},In.subtract=pu,In.sum=function(e){return e&&e.length?Ot(e,Wa):0},In.sumBy=function(e,t){return e&&e.length?Ot(e,Yo(t,2)):0},In.template=function(e,t,n){var r=In.templateSettings;n&&ci(e,t,n)&&(t=void 0),e=ua(e),t=da({},t,r,Uo);var o,i,s=da({},t.imports,r.imports,Uo),a=wa(s),u=jt(s,a),c=0,l=t.interpolate||le,d="__p += '",f=ge((t.escape||le).source+"|"+l.source+"|"+(l===U?ne:le).source+"|"+(t.evaluate||le).source+"|$","g"),h="//# sourceURL="+(Ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Re+"]")+"\n";e.replace(f,(function(t,n,r,s,a,u){return r||(r=s),d+=e.slice(c,u).replace(de,Rt),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),a&&(i=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),d+="';\n";var p=Ce.call(t,"variable")&&t.variable;if(p){if(ee.test(p))throw new Q("Invalid `variable` option passed into `_.template`")}else d="with (obj) {\n"+d+"\n}\n";d=(i?d.replace(P,""):d).replace(N,"$1").replace(T,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Ua((function(){return fe(a,h+"return "+d).apply(void 0,u)}));if(g.source=d,Ls(g))throw g;return g},In.times=function(e,t){if((e=oa(e))<1||e>9007199254740991)return[];var n=4294967295,r=un(e,4294967295);e-=4294967295;for(var o=It(r,t=Yo(t));++n<e;)t(n);return o},In.toFinite=ra,In.toInteger=oa,In.toLength=ia,In.toLower=function(e){return ua(e).toLowerCase()},In.toNumber=sa,In.toSafeInteger=function(e){return e?Zn(oa(e),-9007199254740991,9007199254740991):0===e?e:0},In.toString=ua,In.toUpper=function(e){return ua(e).toUpperCase()},In.trim=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return Mt(e);if(!e||!(t=Yr(t)))return e;var r=Wt(e),o=Wt(t);return lo(r,Nt(r,o),Tt(r,o)+1).join("")},In.trimEnd=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.slice(0,Kt(e)+1);if(!e||!(t=Yr(t)))return e;var r=Wt(e);return lo(r,0,Tt(r,Wt(t))+1).join("")},In.trimStart=function(e,t,n){if((e=ua(e))&&(n||void 0===t))return e.replace(K,"");if(!e||!(t=Yr(t)))return e;var r=Wt(e);return lo(r,Nt(r,Wt(t))).join("")},In.truncate=function(e,t){var n=30,r="...";if(zs(t)){var o="separator"in t?t.separator:o;n="length"in t?oa(t.length):n,r="omission"in t?Yr(t.omission):r}var i=(e=ua(e)).length;if(Lt(e)){var s=Wt(e);i=s.length}if(n>=i)return e;var a=n-Gt(r);if(a<1)return r;var u=s?lo(s,0,a).join(""):e.slice(0,a);if(void 0===o)return u+r;if(s&&(a+=u.length-a),Qs(o)){if(e.slice(a).search(o)){var c,l=u;for(o.global||(o=ge(o.source,ua(re.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var d=c.index;u=u.slice(0,void 0===d?a:d)}}else if(e.indexOf(Yr(o),a)!=a){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+r},In.unescape=function(e){return(e=ua(e))&&V.test(e)?e.replace($,Qt):e},In.uniqueId=function(e){var t=++Ee;return ua(e)+t},In.upperCase=Ra,In.upperFirst=La,In.each=us,In.eachRight=cs,In.first=$i,Ja(In,(du={},cr(In,(function(e,t){Ce.call(In.prototype,t)||(du[t]=e)})),du),{chain:!1}),In.VERSION="4.17.21",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){In[e].placeholder=In})),at(["drop","take"],(function(e,t){Pn.prototype[e]=function(n){n=void 0===n?1:an(oa(n),0);var r=this.__filtered__&&!t?new Pn(this):this.clone();return r.__filtered__?r.__takeCount__=un(n,r.__takeCount__):r.__views__.push({size:un(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},Pn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Pn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Yo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Pn.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Pn.prototype[e]=function(){return this.__filtered__?new Pn(this):this[n](1)}})),Pn.prototype.compact=function(){return this.filter(Wa)},Pn.prototype.find=function(e){return this.filter(e).head()},Pn.prototype.findLast=function(e){return this.reverse().find(e)},Pn.prototype.invokeMap=Rr((function(e,t){return"function"==typeof e?new Pn(this):this.map((function(n){return _r(n,e,t)}))})),Pn.prototype.reject=function(e){return this.filter(xs(Yo(e)))},Pn.prototype.slice=function(e,t){e=oa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Pn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=oa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Pn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Pn.prototype.toArray=function(){return this.take(4294967295)},cr(Pn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=In[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(In.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Pn,u=s[0],c=a||Ns(t),l=function(e){var t=o.apply(In,pt([e],s));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(a=c=!1);var d=this.__chain__,f=!!this.__actions__.length,h=i&&!d,p=a&&!f;if(!i&&c){t=p?t:new Pn(this);var g=e.apply(t,s);return g.__actions__.push({func:rs,args:[l],thisArg:void 0}),new jn(g,d)}return h&&p?e.apply(this,s):(g=this.thru(l),h?r?g.value()[0]:g.value():g)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);In.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ns(o)?o:[],e)}return this[n]((function(n){return t.apply(Ns(n)?n:[],e)}))}})),cr(Pn.prototype,(function(e,t){var n=In[t];if(n){var r=n.name+"";Ce.call(bn,r)||(bn[r]=[]),bn[r].push({name:t,func:n})}})),bn[Mo(void 0,2).name]=[{name:"wrapper",func:void 0}],Pn.prototype.clone=function(){var e=new Pn(this.__wrapped__);return e.__actions__=_o(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=_o(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=_o(this.__views__),e},Pn.prototype.reverse=function(){if(this.__filtered__){var e=new Pn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Pn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ns(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],s=i.size;switch(i.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=un(t,e+s);break;case"takeRight":e=an(e,t-s)}}return{start:e,end:t}}(0,o,this.__views__),s=i.start,a=i.end,u=a-s,c=r?a:s-1,l=this.__iteratees__,d=l.length,f=0,h=un(u,this.__takeCount__);if(!n||!r&&o==u&&h==u)return ro(e,this.__actions__);var p=[];e:for(;u--&&f<h;){for(var g=-1,m=e[c+=t];++g<d;){var v=l[g],y=v.iteratee,_=v.type,b=y(m);if(2==_)m=b;else if(!b){if(1==_)continue e;break e}}p[f++]=m}return p},In.prototype.at=os,In.prototype.chain=function(){return ns(this)},In.prototype.commit=function(){return new jn(this.value(),this.__chain__)},In.prototype.next=function(){void 0===this.__values__&&(this.__values__=na(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},In.prototype.plant=function(e){for(var t,n=this;n instanceof kn;){var r=Ii(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},In.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Pn){var t=e;return this.__actions__.length&&(t=new Pn(this)),(t=t.reverse()).__actions__.push({func:rs,args:[zi],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru(zi)},In.prototype.toJSON=In.prototype.valueOf=In.prototype.value=function(){return ro(this.__wrapped__,this.__actions__)},In.prototype.first=In.prototype.head,Je&&(In.prototype[Je]=function(){return this}),In}();We._=Zt,void 0===(o=function(){return Zt}.call(t,n,t,r))||(r.exports=o)}).call(this)}).call(this,n(64),n(40)(e))},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(64))},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(70),o=n(38);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},function(e,t,n){var r=n(28),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(17).Uint8Array;e.exports=r},function(e,t,n){var r=n(93)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,n){var r=n(96),o=n(169),i=n(46);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(168),o=n(72),i=n(20),s=n(74),a=n(76),u=n(75),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),d=!n&&!l&&s(e),f=!n&&!l&&!d&&u(e),h=n||l||d||f,p=h?r(e.length,String):[],g=p.length;for(var m in e)!t&&!c.call(e,m)||h&&("length"==m||d&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g))||p.push(m);return p}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsOutlet=void 0;var r=n(19),o=r.__importDefault(n(181)),i=n(0),s=n(32),a=n(79),u=n(63),c=n(84),l=n(39),d=n(86),f=function(e){function t(t,n,r){var o=e.call(this)||this;return o.viewContainerRef=t,o.componentFactoryResolver=n,o.jsonformsService=r,o}return r.__extends(t,e),Object.defineProperty(t.prototype,"renderProps",{set:function(e){this.path=e.path,this.schema=e.schema,this.uischema=e.uischema,this.update(this.jsonformsService.getState())},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this.subscription=this.jsonformsService.$state.subscribe({next:function(t){return e.update(t)}})},t.prototype.update=function(e){var t=s.mapStateToJsonFormsRendererProps(e,{schema:this.schema,uischema:this.uischema,path:this.path});if(n=this.previousProps,r=t,d.get(n,"renderers.length")!==d.get(r,"renderers.length")||d.get(n,"cells.length")!==d.get(r,"cells.length")||d.get(n,"uischemas.length")!==d.get(r,"uischemas.length")||d.get(n,"schema")!==d.get(r,"schema")||!d.isEqual(d.get(n,"uischema"),d.get(r,"uischema"))||d.get(n,"path")!==d.get(r,"path")){var n,r;this.previousProps=t;var i=t.renderers,l=this.schema||t.schema,f=this.uischema||t.uischema,h=o.default(i,(function(e){return e.tester(f,l)})),p=a.UnknownRenderer;void 0!==h&&-1!==h.tester(f,l)&&(p=h.renderer);var g=this.componentFactoryResolver.resolveComponentFactory(p);this.viewContainerRef.clear();var m=this.viewContainerRef.createComponent(g);if(m.instance instanceof u.JsonFormsBaseRenderer){var v=m.instance;if(v.uischema=f,v.schema=l,v.path=this.path,v instanceof c.JsonFormsControl)if(void 0===v.id){var y=s.isControl(t.uischema)?s.createId(t.uischema.scope):void 0;v.id=y}}}},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},r.__decorate([i.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],t.prototype,"renderProps",null),t=r.__decorate([i.Directive({selector:"jsonforms-outlet"}),r.__metadata("design:paramtypes",[i.ViewContainerRef,i.ComponentFactoryResolver,l.JsonFormsAngularService])],t)}(u.JsonFormsBaseRenderer);t.JsonFormsOutlet=f},function(e,t,n){var r=n(187),o=n(29);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,s,e,a))}},function(e,t,n){var r=n(188),o=n(191),i=n(192);e.exports=function(e,t,n,s,a,u){var c=1&n,l=e.length,d=t.length;if(l!=d&&!(c&&d>l))return!1;var f=u.get(e),h=u.get(t);if(f&&h)return f==t&&h==e;var p=-1,g=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<l;){var v=e[p],y=t[p];if(s)var _=c?s(y,v,p,t,e,u):s(v,y,p,e,t,u);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(v===e||a(v,e,n,s,u)))return m.push(t)}))){g=!1;break}}else if(v!==y&&!a(v,y,n,s,u)){g=!1;break}}return u.delete(e),u.delete(t),g}},function(e,t,n){var r=n(96),o=n(203),i=n(46);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){var r=n(25);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(104),o=n(48);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(20),o=n(78),i=n(213),s=n(216);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonForms=void 0;var r=n(19),o=n(0),i=n(32),s=r.__importDefault(n(226)),a=n(39),u=function(){function e(e){this.jsonformsService=e,this.dataChange=new o.EventEmitter,this.errors=new o.EventEmitter,this.initialized=!1}return e.prototype.ngOnInit=function(){var e=this;this.jsonformsService.init({core:{data:this.data,uischema:this.uischema,schema:this.schema,ajv:this.ajv,validationMode:this.validationMode},uischemas:this.uischemas,i18n:this.i18n,renderers:this.renderers,config:this.config,readonly:this.readonly}),this.jsonformsService.$state.subscribe((function(t){var n,r,o,i,s=null===(r=null===(n=null==t?void 0:t.jsonforms)||void 0===n?void 0:n.core)||void 0===r?void 0:r.data,a=null===(i=null===(o=null==t?void 0:t.jsonforms)||void 0===o?void 0:o.core)||void 0===i?void 0:i.errors;e.previousData!==s&&(e.previousData=s,e.dataChange.emit(s)),e.previousErrors!==a&&(e.previousErrors=a,e.errors.emit(a))})),this.initialized=!0},e.prototype.ngDoCheck=function(){var e,t,n;this.jsonformsService.updateI18n(i.Actions.updateI18n(null===(e=this.i18n)||void 0===e?void 0:e.locale,null===(t=this.i18n)||void 0===t?void 0:t.translate,null===(n=this.i18n)||void 0===n?void 0:n.translateError))},e.prototype.ngOnChanges=function(e){var t,n,r;if(this.initialized){var o=e.data,s=e.schema,u=e.uischema,c=e.renderers,l=e.uischemas,d=e.i18n,f=e.readonly,h=e.validationMode,p=e.ajv,g=e.config;(o||s||u||h||p)&&this.jsonformsService.updateCoreState(o?o.currentValue:a.USE_STATE_VALUE,s?s.currentValue:a.USE_STATE_VALUE,u?u.currentValue:a.USE_STATE_VALUE,p?p.currentValue:a.USE_STATE_VALUE,h?h.currentValue:a.USE_STATE_VALUE),c&&!c.isFirstChange()&&this.jsonformsService.setRenderers(c.currentValue),l&&!l.isFirstChange()&&this.jsonformsService.setUiSchemas(l.currentValue),d&&!d.isFirstChange()&&this.jsonformsService.updateI18n(i.Actions.updateI18n(null===(t=d.currentValue)||void 0===t?void 0:t.locale,null===(n=d.currentValue)||void 0===n?void 0:n.translate,null===(r=d.currentValue)||void 0===r?void 0:r.translateError)),f&&!f.isFirstChange()&&this.jsonformsService.setReadonly(f.currentValue),g&&!g.isFirstChange()&&this.jsonformsService.updateConfig(i.Actions.setConfig(g.currentValue))}},r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"uischema",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"schema",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"data",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Array)],e.prototype,"renderers",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Array)],e.prototype,"uischemas",void 0),r.__decorate([o.Output(),r.__metadata("design:type",Object)],e.prototype,"dataChange",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),r.__decorate([o.Input(),r.__metadata("design:type",String)],e.prototype,"validationMode",void 0),r.__decorate([o.Input(),r.__metadata("design:type",s.default)],e.prototype,"ajv",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"config",void 0),r.__decorate([o.Input(),r.__metadata("design:type",Object)],e.prototype,"i18n",void 0),r.__decorate([o.Output(),r.__metadata("design:type",Object)],e.prototype,"errors",void 0),e=r.__decorate([o.Component({selector:"jsonforms",template:"<jsonforms-outlet></jsonforms-outlet>",providers:[a.JsonFormsAngularService]}),r.__metadata("design:paramtypes",[a.JsonFormsAngularService])],e)}();t.JsonForms=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(51);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class s{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=s;class a extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=a;const u=r._`\n`;t.ValueScope=class extends s{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:r.nil}}get(){return this._scope}name(e){return new a(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let s=this._values[o];if(s){const e=s.get(i);if(e)return e}else s=this._values[o]=new Map;s.set(i,r);const a=this._scope[o]||(this._scope[o]=[]),u=a.length;return a[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(e,n,s={},a){let u=r.nil;for(const c in e){const l=e[c];if(!l)continue;const d=s[c]=s[c]||new Map;l.forEach(e=>{if(d.has(e))return;d.set(e,i.Started);let s=n(e);if(s){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;u=r._`${u}${n} ${e} = ${s};${this.opts._n}`}else{if(!(s=null==a?void 0:a(e)))throw new o(e);u=r._`${u}${s}${this.opts._n}`}d.set(e,i.Completed)})}return u}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const r=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},function(e,t,n){"use strict";function r(e,t){return t.rules.some(t=>o(e,t))}function o(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some(t=>void 0!==e[t]))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){const o=t.RULES.types[n];return o&&!0!==o&&r(e,o)},t.shouldUseGroup=r,t.shouldUseRule=o},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){
|
|
1604
|
-
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
1605
|
-
!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){var r=t("[0-9]","[A-Fa-f]"),o=n(n("%[EFef]"+r+"%"+r+r+"%"+r+r)+"|"+n("%[89A-Fa-f]"+r+"%"+r+r)+"|"+n("%"+r+r)),i="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",s=t("[\\:\\/\\?\\#\\[\\]\\@]",i),a=e?"[\\uE000-\\uF8FF]":"[]",u=t("[A-Za-z]","[0-9]","[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),c=n("[A-Za-z]"+t("[A-Za-z]","[0-9]","[\\+\\-\\.]")+"*"),l=n(n(o+"|"+t(u,i,"[\\:]"))+"*"),d=(n(n("25[0-5]")+"|"+n("2[0-4][0-9]")+"|"+n("1[0-9][0-9]")+"|"+n("[1-9][0-9]")+"|[0-9]"),n(n("25[0-5]")+"|"+n("2[0-4][0-9]")+"|"+n("1[0-9][0-9]")+"|"+n("0?[1-9][0-9]")+"|0?0?[0-9]")),f=n(d+"\\."+d+"\\."+d+"\\."+d),h=n(r+"{1,4}"),p=n(n(h+"\\:"+h)+"|"+f),g=n(n(h+"\\:")+"{6}"+p),m=n("\\:\\:"+n(h+"\\:")+"{5}"+p),v=n(n(h)+"?\\:\\:"+n(h+"\\:")+"{4}"+p),y=n(n(n(h+"\\:")+"{0,1}"+h)+"?\\:\\:"+n(h+"\\:")+"{3}"+p),_=n(n(n(h+"\\:")+"{0,2}"+h)+"?\\:\\:"+n(h+"\\:")+"{2}"+p),b=n(n(n(h+"\\:")+"{0,3}"+h)+"?\\:\\:"+h+"\\:"+p),w=n(n(n(h+"\\:")+"{0,4}"+h)+"?\\:\\:"+p),D=n(n(n(h+"\\:")+"{0,5}"+h)+"?\\:\\:"+h),C=n(n(n(h+"\\:")+"{0,6}"+h)+"?\\:\\:"),E=n([g,m,v,y,_,b,w,D,C].join("|")),x=n(n(u+"|"+o)+"+"),S=(n(E+"\\%25"+x),n(E+n("\\%25|\\%(?!"+r+"{2})")+x)),A=n("[vV]"+r+"+\\."+t(u,i,"[\\:]")+"+"),O=n("\\["+n(S+"|"+E+"|"+A)+"\\]"),I=n(n(o+"|"+t(u,i))+"*"),M=n(O+"|"+f+"(?!"+I+")|"+I),k=n("[0-9]*"),j=n(n(l+"@")+"?"+M+n("\\:"+k)+"?"),P=n(o+"|"+t(u,i,"[\\:\\@]")),N=n(P+"*"),T=n(P+"+"),$=n(n(o+"|"+t(u,i,"[\\@]"))+"+"),F=n(n("\\/"+N)+"*"),V=n("\\/"+n(T+F)+"?"),R=n($+F),L=n(T+F),B="(?!"+P+")",U=(n(F+"|"+V+"|"+R+"|"+L+"|"+B),n(n(P+"|"+t("[\\/\\?]",a))+"*")),H=n(n(P+"|[\\/\\?]")+"*"),z=n(n("\\/\\/"+j+F)+"|"+V+"|"+L+"|"+B),q=n(c+"\\:"+z+n("\\?"+U)+"?"+n("\\#"+H)+"?"),G=n(n("\\/\\/"+j+F)+"|"+V+"|"+R+"|"+B),W=n(G+n("\\?"+U)+"?"+n("\\#"+H)+"?");return n(q+"|"+W),n(c+"\\:"+z+n("\\?"+U)+"?"),n(n("\\/\\/("+n("("+l+")@")+"?("+M+")"+n("\\:("+k+")")+"?)")+"?("+F+"|"+V+"|"+L+"|"+B+")"),n("\\?("+U+")"),n("\\#("+H+")"),n(n("\\/\\/("+n("("+l+")@")+"?("+M+")"+n("\\:("+k+")")+"?)")+"?("+F+"|"+V+"|"+R+"|"+B+")"),n("\\?("+U+")"),n("\\#("+H+")"),n(n("\\/\\/("+n("("+l+")@")+"?("+M+")"+n("\\:("+k+")")+"?)")+"?("+F+"|"+V+"|"+L+"|"+B+")"),n("\\?("+U+")"),n("\\#("+H+")"),n("("+l+")@"),n("\\:("+k+")"),{NOT_SCHEME:new RegExp(t("[^]","[A-Za-z]","[0-9]","[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,i),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,i),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,i),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,i),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,i,"[\\:\\@\\/\\?]",a),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,i,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,i),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,s),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+f+")$"),IPV6ADDRESS:new RegExp("^\\[?("+E+")"+n(n("\\%25|\\%(?!"+r+"{2})")+"("+x+")")+"?\\]?$")}}var s=i(!1),a=i(!0),u=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=2147483647,l=/^xn--/,d=/[^\0-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,g=String.fromCharCode;function m(e){throw new RangeError(h[e])}function v(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(f,".")).split("."),t).join(".");return r+o}function y(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var _=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},b=function(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))},w=function(e){var t,n=[],r=e.length,o=0,i=128,s=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var u=0;u<a;++u)e.charCodeAt(u)>=128&&m("not-basic"),n.push(e.charCodeAt(u));for(var l=a>0?a+1:0;l<r;){for(var d=o,f=1,h=36;;h+=36){l>=r&&m("invalid-input");var g=(t=e.charCodeAt(l++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(g>=36||g>p((c-o)/f))&&m("overflow"),o+=g*f;var v=h<=s?1:h>=s+26?26:h-s;if(g<v)break;var y=36-v;f>p(c/y)&&m("overflow"),f*=y}var _=n.length+1;s=b(o-d,_,0==d),p(o/_)>c-i&&m("overflow"),i+=p(o/_),o%=_,n.splice(o++,0,i)}return String.fromCodePoint.apply(String,n)},D=function(e){var t=[],n=(e=y(e)).length,r=128,o=0,i=72,s=!0,a=!1,u=void 0;try{for(var l,d=e[Symbol.iterator]();!(s=(l=d.next()).done);s=!0){var f=l.value;f<128&&t.push(g(f))}}catch(e){a=!0,u=e}finally{try{!s&&d.return&&d.return()}finally{if(a)throw u}}var h=t.length,v=h;for(h&&t.push("-");v<n;){var w=c,D=!0,C=!1,E=void 0;try{for(var x,S=e[Symbol.iterator]();!(D=(x=S.next()).done);D=!0){var A=x.value;A>=r&&A<w&&(w=A)}}catch(e){C=!0,E=e}finally{try{!D&&S.return&&S.return()}finally{if(C)throw E}}var O=v+1;w-r>p((c-o)/O)&&m("overflow"),o+=(w-r)*O,r=w;var I=!0,M=!1,k=void 0;try{for(var j,P=e[Symbol.iterator]();!(I=(j=P.next()).done);I=!0){var N=j.value;if(N<r&&++o>c&&m("overflow"),N==r){for(var T=o,$=36;;$+=36){var F=$<=i?1:$>=i+26?26:$-i;if(T<F)break;var V=T-F,R=36-F;t.push(g(_(F+V%R,0))),T=p(V/R)}t.push(g(_(T,0))),i=b(o,O,v==h),o=0,++v}}}catch(e){M=!0,k=e}finally{try{!I&&P.return&&P.return()}finally{if(M)throw k}}++o,++r}return t.join("")},C=function(e){return v(e,(function(e){return d.test(e)?"xn--"+D(e):e}))},E=function(e){return v(e,(function(e){return l.test(e)?w(e.slice(4).toLowerCase()):e}))},x={};function S(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function A(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function O(e,t){function n(e){var n=A(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,S).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,S).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,S).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,S).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,S).replace(t.PCT_ENCODED,o)),e}function I(e){return e.replace(/^0*(.*)/,"$1")||"0"}function M(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=u(n,2)[1];return r?r.split(".").map(I).join("."):e}function k(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=u(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=u(s,2),c=a[0],l=a[1],d=l?l.split(":").map(I):[],f=c.split(":").map(I),h=t.IPV4ADDRESS.test(f[f.length-1]),p=h?7:8,g=f.length-p,m=Array(p),v=0;v<p;++v)m[v]=d[v]||f[g+v]||"";h&&(m[p-1]=M(m[p-1],t));var y=m.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],_=void 0;if(y&&y.length>1){var b=m.slice(0,y.index),w=m.slice(y.index+y.length);_=b.join(":")+"::"+w.join(":")}else _=m.join(":");return i&&(_+="%"+i),_}return e}var j=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,P=void 0==="".match(/(){0}/)[1];function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?a:s;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(j);if(o){P?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=k(M(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=x[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)O(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=C(n.host.replace(r.PCT_ENCODED,A).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}O(n,s)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function T(e,t){var n=!1!==t.iri?a:s,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(k(M(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var $=/^\.\.?\//,F=/^\/\.(\/|$)/,V=/^\/\.\.(\/|$)/,R=/^\/?(?:.|\n)*?(?=\/|$)/;function L(e){for(var t=[];e.length;)if(e.match($))e=e.replace($,"");else if(e.match(F))e=e.replace(F,"/");else if(e.match(V))e=e.replace(V,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(R);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?a:s,r=[],o=x[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?E(e.host):C(e.host.replace(n.PCT_ENCODED,A).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}O(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=T(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var u=e.path;t.absolutePath||o&&o.absolutePath||(u=L(u)),void 0===i&&(u=u.replace(/^\/\//,"/%2F")),r.push(u)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],o={};return r||(e=N(B(e,n),n),t=N(B(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(o.scheme=t.scheme,o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=L(t.path||""),o.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(o.userinfo=t.userinfo,o.host=t.host,o.port=t.port,o.path=L(t.path||""),o.query=t.query):(t.path?("/"===t.path.charAt(0)?o.path=L(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?o.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:o.path=t.path:o.path="/"+t.path,o.path=L(o.path)),o.query=t.query):(o.path=e.path,void 0!==t.query?o.query=t.query:o.query=e.query),o.userinfo=e.userinfo,o.host=e.host,o.port=e.port),o.scheme=e.scheme),o.fragment=t.fragment,o}function H(e,t){return e&&e.toString().replace(t&&t.iri?a.PCT_ENCODED:s.PCT_ENCODED,A)}var z={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},q={scheme:"https",domainHost:z.domainHost,parse:z.parse,serialize:z.serialize};function G(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var W={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=G(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(G(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=u(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},K={scheme:"wss",domainHost:W.domainHost,parse:W.parse,serialize:W.serialize},Q={},Z="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",J="[0-9A-Fa-f]",Y=n(n("%[EFef]"+J+"%"+J+J+"%"+J+J)+"|"+n("%[89A-Fa-f]"+J+"%"+J+J)+"|"+n("%"+J+J)),X=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),ee=new RegExp(Z,"g"),te=new RegExp(Y,"g"),ne=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',X),"g"),re=new RegExp(t("[^]",Z,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),oe=re;function ie(e){var t=A(e);return t.match(ee)?t:e}var se={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a<u;++a){var c=s[a].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),d=0,f=l.length;d<f;++d)r.push(l[d]);break;case"subject":n.subject=H(c[1],t);break;case"body":n.body=H(c[1],t);break;default:o=!0,i[H(c[0],t)]=H(c[1],t)}}o&&(n.headers=i)}n.query=void 0;for(var h=0,p=r.length;h<p;++h){var g=r[h].split("@");if(g[0]=H(g[0]),t.unicodeSupport)g[1]=H(g[1],t).toLowerCase();else try{g[1]=C(H(g[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[h]=g.join("@")}return n},serialize:function(e,t){var n,r=e,i=null!=(n=e.to)?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(i){for(var s=0,a=i.length;s<a;++s){var u=String(i[s]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(te,ie).replace(te,o).replace(ne,S),d=u.slice(c+1);try{d=t.iri?E(d):C(H(d,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}i[s]=l+"@"+d}r.path=i.join(",")}var f=e.headers=e.headers||{};e.subject&&(f.subject=e.subject),e.body&&(f.body=e.body);var h=[];for(var p in f)f[p]!==Q[p]&&h.push(p.replace(te,ie).replace(te,o).replace(re,S)+"="+f[p].replace(te,ie).replace(te,o).replace(oe,S));return h.length&&(r.query=h.join("&")),r}},ae=/^([^\:]+)\:(.*)/,ue={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ae),r=e;if(n){var o=t.scheme||r.scheme||"urn",i=n[1].toLowerCase(),s=n[2],a=o+":"+(t.nid||i),u=x[a];r.nid=i,r.nss=s,r.path=void 0,u&&(r=u.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),i=x[o];i&&(e=i.serialize(e,t));var s=e,a=e.nss;return s.path=(r||t.nid)+":"+a,s}},ce=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,le={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(ce)||(n.error=n.error||"UUID is not valid."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};x[z.scheme]=z,x[q.scheme]=q,x[W.scheme]=W,x[K.scheme]=K,x[se.scheme]=se,x[ue.scheme]=ue,x[le.scheme]=le,e.SCHEMES=x,e.pctEncChar=S,e.pctDecChars=A,e.parse=N,e.removeDotSegments=L,e.serialize=B,e.resolveComponents=U,e.resolve=function(e,t,n){var r=function(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}({scheme:"null"},n);return B(U(N(e,r),N(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=B(N(e,t),t):"object"===r(e)&&(e=N(B(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=B(N(e,n),n):"object"===r(e)&&(e=B(e,n)),"string"==typeof t?t=B(N(t,n),n):"object"===r(t)&&(t=B(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?a.ESCAPE:s.ESCAPE,S)},e.unescapeComponent=H,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(53);class o extends Error{constructor(e,t,n){super(n||`can't resolve reference ${t} from id ${e}`),this.missingRef=r.resolveUrl(e,t),this.missingSchema=r.normalizeId(r.getFullPath(this.missingRef))}}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(3),o=n(111),i=n(26),s=n(53),a=n(6),u=n(49),c=n(110);class l{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:s.normalizeId(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function d(e){const t=h.call(this,e);if(t)return t;const n=s.getFullPath(e.root.baseId),{es5:a,lines:c}=this.opts.code,{ownProperties:l}=this.opts,d=new r.CodeGen(this.scope,{es5:a,lines:c,ownProperties:l});let f;e.$async&&(f=d.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const p=d.scopeName("validate");e.validateName=p;const g={gen:d,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:r.stringify(e.schema)}:{ref:e.schema}),validateName:p,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),u.validateFunctionCode(g),d.optimize(this.opts.code.optimize);const t=d.toString();m=`${d.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const n=new Function(""+i.default.self,""+i.default.scope,m)(this,this.scope.get());if(this.scope.value(p,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:p,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=g;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=r.stringify(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),t}finally{this._compilations.delete(e)}}function f(e){return s.inlineRef(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:d.call(this,e)}function h(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function p(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||g.call(this,e,t)}function g(e,t){const n=c.parse(t),r=s._getFullPath(n);let o=s.getFullPath(e.baseId);if(Object.keys(e.schema).length>0&&r===o)return v.call(this,n,e);const i=s.normalizeId(r),a=this.refs[i]||this.schemas[i];if("string"==typeof a){const t=g.call(this,e,a);if("object"!=typeof(null==t?void 0:t.schema))return;return v.call(this,n,t)}if("object"==typeof(null==a?void 0:a.schema)){if(a.validate||d.call(this,a),i===s.normalizeId(t)){const{schema:t}=a,{schemaId:n}=this.opts,r=t[n];return r&&(o=s.resolveUrl(o,r)),new l({schema:t,schemaId:n,root:e,baseId:o})}return v.call(this,n,a)}}t.SchemaEnv=l,t.compileSchema=d,t.resolveRef=function(e,t,n){var r;n=s.resolveUrl(t,n);const o=e.refs[n];if(o)return o;let i=p.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:s}=this.opts;o&&(i=new l({schema:o,schemaId:s,root:e,baseId:t}))}return void 0!==i?e.refs[n]=f.call(this,i):void 0},t.getCompilingSchema=h,t.resolveSchema=g;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;if(void 0===(n=n[a.unescapeFragment(r)]))return;const e="object"==typeof n&&n[this.opts.schemaId];!m.has(r)&&e&&(t=s.resolveUrl(t,e))}let i;if("boolean"!=typeof n&&n.$ref&&!a.schemaHasRulesButRef(n,this.RULES)){const e=s.resolveUrl(t,n.$ref);i=g.call(this,r,e)}const{schemaId:u}=this.opts;return i=i||new l({schema:n,schemaId:u,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(3),o=n(6),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?s(e,r):o.checkStrictMode(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function s(e,t){const{gen:n,schema:i,data:s,keyword:a,it:u}=e;u.items=!0;const c=n.const("len",r._`${s}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!o.alwaysValidSchema(u,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if(r.not(i),()=>function(i){n.forRange("i",t.length,c,t=>{e.subschema({keyword:a,dataProp:t,dataPropType:o.Type.Num},i),u.allErrors||n.if(r.not(i),()=>n.break())})}(i)),e.ok(i)}}t.validateAdditionalItems=s,t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(3),o=n(6),i=n(16),s={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return a(e,"additionalItems",t);n.items=!0,o.alwaysValidSchema(n,t)||e.ok(i.validateArray(e))}};function a(e,t,n=e.schema){const{gen:i,parentSchema:s,data:a,keyword:u,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,s=n.length,a=s===e.minItems&&(s===e.maxItems||!1===e[t]);if(r.strictTuples&&!a){const e=`"${u}" is ${s}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;o.checkStrictMode(c,e,r.strictTuples)}}(s),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const l=i.name("valid"),d=i.const("len",r._`${a}.length`);n.forEach((t,n)=>{o.alwaysValidSchema(c,t)||(i.if(r._`${d} > ${n}`,()=>e.subschema({keyword:u,schemaProp:n,dataProp:n},l)),e.ok(l))})}t.validateTuple=a,t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(16),o=n(3),i=n(26),s=n(6),a={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:u,errsCount:c,it:l}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=l;if(l.props=!0,"all"!==f.removeAdditional&&s.alwaysValidSchema(l,n))return;const h=r.allSchemaProperties(a.properties),p=r.allSchemaProperties(a.patternProperties);function g(e){t.code(o._`delete ${u}[${e}]`)}function m(r){if("all"===f.removeAdditional||f.removeAdditional&&!1===n)g(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!s.alwaysValidSchema(l,n)){const n=t.name("valid");"failing"===f.removeAdditional?(v(r,n,!1),t.if(o.not(n),()=>{e.reset(),g(r)})):(v(r,n),d||t.if(o.not(n),()=>t.break()))}}}function v(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:s.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",u,n=>{h.length||p.length?t.if(function(n){let i;if(h.length>8){const e=s.schemaRefOrVal(l,a.properties,"properties");i=r.isOwnProperty(t,e,n)}else i=h.length?o.or(...h.map(e=>o._`${n} === ${e}`)):o.nil;return p.length&&(i=o.or(i,...p.map(t=>o._`${r.usePattern(e,t)}.test(${n})`))),o.not(i)}(n),()=>m(n)):m(n)}),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19);r.__exportStar(n(63),t),r.__exportStar(n(84),t),r.__exportStar(n(180),t),r.__exportStar(n(97),t),r.__exportStar(n(225),t),r.__exportStar(n(79),t),r.__exportStar(n(39),t),r.__exportStar(n(105),t),r.__exportStar(n(65),t)},function(e,t,n){var r=n(120),o=n(171)((function(e,t,n){r(e,t,n)}));e.exports=o},function(e,t,n){var r=n(66),o=n(89),i=n(149),s=n(151),a=n(25),u=n(95),c=n(94);e.exports=function e(t,n,l,d,f){t!==n&&i(n,(function(i,u){if(f||(f=new r),a(i))s(t,n,u,l,e,d,f);else{var h=d?d(c(t,u),i,u+"",t,n,f):void 0;void 0===h&&(h=i),o(t,u,h)}}),u)}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(42),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(42);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(42);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(42);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(41);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(41),o=n(67),i=n(69);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(68),o=n(134),i=n(25),s=n(88),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,d=c.hasOwnProperty,f=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:a).test(s(e))}},function(e,t,n){var r=n(43),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,o=n(135),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(17)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(138),o=n(41),i=n(67);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(139),o=n(140),i=n(141),s=n(142),a=n(143);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=a,e.exports=u},function(e,t,n){var r=n(44);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(44),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(44),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(44);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(45);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(45);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(45);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(45);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(150)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(89),o=n(152),i=n(153),s=n(155),a=n(156),u=n(72),c=n(20),l=n(159),d=n(74),f=n(68),h=n(25),p=n(161),g=n(75),m=n(94),v=n(165);e.exports=function(e,t,n,y,_,b,w){var D=m(e,n),C=m(t,n),E=w.get(C);if(E)r(e,n,E);else{var x=b?b(D,C,n+"",e,t,w):void 0,S=void 0===x;if(S){var A=c(C),O=!A&&d(C),I=!A&&!O&&g(C);x=C,A||O||I?c(D)?x=D:l(D)?x=s(D):O?(S=!1,x=o(C,!0)):I?(S=!1,x=i(C,!0)):x=[]:p(C)||u(C)?(x=D,u(D)?x=v(D):h(D)&&!f(D)||(x=a(C))):S=!1}S&&(w.set(C,x),_(x,C,y,b,w),w.delete(C)),r(e,n,x)}}},function(e,t,n){(function(e){var r=n(17),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o?r.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=a?a(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(40)(e))},function(e,t,n){var r=n(154);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(91);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(157),o=n(92),i=n(71);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},function(e,t,n){var r=n(25),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(33),o=n(29);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(46),o=n(29);e.exports=function(e){return o(e)&&r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(33),o=n(92),i=n(29),s=Function.prototype,a=Object.prototype,u=s.toString,c=a.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t,n){var r=n(33),o=n(73),i=n(29),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!s[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(87),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n(40)(e))},function(e,t,n){var r=n(166),o=n(95);e.exports=function(e){return r(e,o(e))}},function(e,t,n){var r=n(167),o=n(70);e.exports=function(e,t,n,i){var s=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var c=t[a],l=i?i(n[c],e[c],c,n,e):void 0;void 0===l&&(l=e[c]),s?o(n,c,l):r(n,c,l)}return n}},function(e,t,n){var r=n(70),o=n(38),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(25),o=n(71),i=n(170),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){var r=n(172),o=n(179);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t}))}},function(e,t,n){var r=n(77),o=n(173),i=n(175);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){var r=n(174),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,s=-1,a=o(i.length-t,0),u=Array(a);++s<a;)u[s]=i[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=i[s];return c[t]=n(u),r(e,this,c)}}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(176),o=n(178)(r);e.exports=o},function(e,t,n){var r=n(177),o=n(90),i=n(77),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=s},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(38),o=n(46),i=n(76),s=n(25);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?o(n)&&i(t,n.length):"string"==a&&t in n)&&r(n[t],e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsArrayControl=void 0;var r=n(19),o=n(32),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.mapToProps=function(e){var t=o.mapStateToArrayControlProps(e,this.getOwnProps());return r.__assign({},t)},t}(n(65).JsonFormsAbstractControl);t.JsonFormsArrayControl=i},function(e,t,n){var r=n(182),o=n(183),i=n(184);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},function(e,t,n){var r=n(47);e.exports=function(e,t,n){for(var o=-1,i=e.length;++o<i;){var s=e[o],a=t(s);if(null!=a&&(void 0===u?a==a&&!r(a):n(a,u)))var u=a,c=s}return c}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(185),o=n(211),i=n(77),s=n(20),a=n(222);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?o(e[0],e[1]):r(e):a(e)}},function(e,t,n){var r=n(186),o=n(210),i=n(102);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(66),o=n(98);e.exports=function(e,t,n,i){var s=n.length,a=s,u=!i;if(null==e)return!a;for(e=Object(e);s--;){var c=n[s];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<a;){var l=(c=n[s])[0],d=e[l],f=c[1];if(u&&c[2]){if(void 0===d&&!(l in e))return!1}else{var h=new r;if(i)var p=i(d,f,l,e,t,h);if(!(void 0===p?o(f,d,3,i,h):p))return!1}}return!0}},function(e,t,n){var r=n(66),o=n(99),i=n(193),s=n(196),a=n(205),u=n(20),c=n(74),l=n(75),d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,h,p,g){var m=u(e),v=u(t),y=m?"[object Array]":a(e),_=v?"[object Array]":a(t),b=(y="[object Arguments]"==y?d:y)==d,w=(_="[object Arguments]"==_?d:_)==d,D=y==_;if(D&&c(e)){if(!c(t))return!1;m=!0,b=!1}if(D&&!b)return g||(g=new r),m||l(e)?o(e,t,n,h,p,g):i(e,t,y,n,h,p,g);if(!(1&n)){var C=b&&f.call(e,"__wrapped__"),E=w&&f.call(t,"__wrapped__");if(C||E){var x=C?e.value():e,S=E?t.value():t;return g||(g=new r),p(x,S,n,h,g)}}return!!D&&(g||(g=new r),s(e,t,n,h,p,g))}},function(e,t,n){var r=n(69),o=n(189),i=n(190);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=o,s.prototype.has=i,e.exports=s},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(43),o=n(91),i=n(38),s=n(99),a=n(194),u=n(195),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=a;case"[object Set]":var p=1&r;if(h||(h=u),e.size!=t.size&&!p)return!1;var g=f.get(e);if(g)return g==t;r|=2,f.set(e,t);var m=s(h(e),h(t),r,c,d,f);return f.delete(e),m;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(197),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var u=1&n,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var d=l;d--;){var f=c[d];if(!(u?f in t:o.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var m=u;++d<l;){var v=e[f=c[d]],y=t[f];if(i)var _=u?i(y,v,f,t,e,a):i(v,y,f,e,t,a);if(!(void 0===_?v===y||s(v,y,n,i,a):_)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}},function(e,t,n){var r=n(198),o=n(200),i=n(100);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(199),o=n(20);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(201),o=n(202),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),r(s(e),(function(t){return i.call(e,t)})))}:o;e.exports=a},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(71),o=n(204),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(93)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(206),o=n(67),i=n(207),s=n(208),a=n(209),u=n(33),c=n(88),l=c(r),d=c(o),f=c(i),h=c(s),p=c(a),g=u;(r&&"[object DataView]"!=g(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=g(new o)||i&&"[object Promise]"!=g(i.resolve())||s&&"[object Set]"!=g(new s)||a&&"[object WeakMap]"!=g(new a))&&(g=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var r=n(28)(n(17),"DataView");e.exports=r},function(e,t,n){var r=n(28)(n(17),"Promise");e.exports=r},function(e,t,n){var r=n(28)(n(17),"Set");e.exports=r},function(e,t,n){var r=n(28)(n(17),"WeakMap");e.exports=r},function(e,t,n){var r=n(101),o=n(100);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],s=e[i];t[n]=[i,s,r(s)]}return t}},function(e,t,n){var r=n(98),o=n(212),i=n(219),s=n(78),a=n(101),u=n(102),c=n(48);e.exports=function(e,t){return s(e)&&a(t)?u(c(e),t):function(n){var s=o(n,e);return void 0===s&&s===t?i(n,e):r(t,s,3)}}},function(e,t,n){var r=n(103);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(214),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},function(e,t,n){var r=n(215);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(69);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){var r=n(217);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(43),o=n(218),i=n(20),s=n(47),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t,n){var r=n(220),o=n(221);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(104),o=n(72),i=n(20),s=n(76),a=n(73),u=n(48);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,d=!1;++c<l;){var f=u(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=l?d:!!(l=null==e?0:e.length)&&a(l)&&s(f,l)&&(i(e)||o(e))}},function(e,t,n){var r=n(223),o=n(224),i=n(78),s=n(48);e.exports=function(e){return i(e)?r(s(e)):o(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(103);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonFormsModule=void 0;var r=n(19),o=n(0),i=n(105),s=n(97),a=n(79),u=function(){function e(){}return e=r.__decorate([o.NgModule({declarations:[s.JsonFormsOutlet,a.UnknownRenderer,i.JsonForms],entryComponents:[a.UnknownRenderer],exports:[s.JsonFormsOutlet,i.JsonForms]})],e)}();t.JsonFormsModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const r=n(227),o=n(234),i=n(267),s=n(269),a=["/properties"],u="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),o.default.forEach(e=>this.addVocabulary(e)),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(s,a):s;this.addMetaSchema(e,u,!1),this.refs["http://json-schema.org/schema"]=u}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.exports=t=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var l=n(49);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return l.KeywordCxt}});var d=n(3);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(49);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(3);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(111),s=n(112),a=n(107),u=n(113),c=n(3),l=n(53),d=n(52),f=n(6),h=n(233),p=["removeAdditional","useDefaults","coerceTypes"],g=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),m={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},v={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function y(e){var t,n,r,o,i,s,a,u,c,l,d,f,h,p,g,m,v,y,_,b,w,D;const C=e.strict,E=null===(t=e.code)||void 0===t?void 0:t.optimize,x=!0===E||void 0===E?1:E||0;return{strictSchema:null===(r=null!==(n=e.strictSchema)&&void 0!==n?n:C)||void 0===r||r,strictNumbers:null===(i=null!==(o=e.strictNumbers)&&void 0!==o?o:C)||void 0===i||i,strictTypes:null!==(a=null!==(s=e.strictTypes)&&void 0!==s?s:C)&&void 0!==a?a:"log",strictTuples:null!==(c=null!==(u=e.strictTuples)&&void 0!==u?u:C)&&void 0!==c?c:"log",strictRequired:null!==(d=null!==(l=e.strictRequired)&&void 0!==l?l:C)&&void 0!==d&&d,code:e.code?{...e.code,optimize:x}:{optimize:x},loopRequired:null!==(f=e.loopRequired)&&void 0!==f?f:200,loopEnum:null!==(h=e.loopEnum)&&void 0!==h?h:200,meta:null===(p=e.meta)||void 0===p||p,messages:null===(g=e.messages)||void 0===g||g,inlineRefs:null===(m=e.inlineRefs)||void 0===m||m,schemaId:null!==(v=e.schemaId)&&void 0!==v?v:"$id",addUsedSchema:null===(y=e.addUsedSchema)||void 0===y||y,validateSchema:null===(_=e.validateSchema)||void 0===_||_,validateFormats:null===(b=e.validateFormats)||void 0===b||b,unicodeRegExp:null===(w=e.unicodeRegExp)||void 0===w||w,int32range:null===(D=e.int32range)||void 0===D||D}}class _{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...y(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:g,es5:t,lines:n}),this.logger=function(e){if(!1===e)return S;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=a.getRules(),b.call(this,m,e,"NOT SUPPORTED"),b.call(this,v,e,"DEPRECATED","warn"),this._metaOpts=x.call(this),e.formats&&C.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&E.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),D.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=h;"id"===n&&(r={...h},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof s.default))throw t;return a.call(this,t),await u.call(this,t.missingSchema),i.call(this,e)}}function a({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function u(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=l.normalizeId(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=w.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new u.SchemaEnv({schema:{},schemaId:n});if(t=u.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=w.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=l.normalizeId(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(O.call(this,n,t),!t)return f.eachItem(n,e=>I.call(this,e)),this;k.call(this,t);const r={...t,type:d.getJSONTypes(t.type),schemaType:d.getJSONTypes(t.schemaType)};return f.eachItem(n,0===r.type.length?e=>I.call(this,e,r):e=>r.type.forEach(t=>I.call(this,e,r,t))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex(t=>t.keyword===e);t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map(e=>`${n}${e.instancePath} ${e.message}`).reduce((e,n)=>e+t+n):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=P(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:s}=this.opts;if("object"==typeof e)i=e[s];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let a=this._cache.get(e);if(void 0!==a)return a;const c=l.getSchemaRefs.call(this,e);return n=l.normalizeId(i||n),a=new u.SchemaEnv({schema:e,schemaId:s,meta:t,baseId:n,localRefs:c}),this._cache.set(a.schema,a),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=a),r&&this.validateSchema(e,!0),a}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):u.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,e)}finally{this.opts=t}}}function b(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function w(e){return e=l.normalizeId(e),this.schemas[e]||this.refs[e]}function D(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function C(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function E(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function x(){const e={...this.opts};for(const t of p)delete e[t];return e}t.default=_,_.ValidationError=i.default,_.MissingRefError=s.default;const S={log(){},warn(){},error(){}};const A=/^[a-z_$][a-z0-9_$:-]*$/i;function O(e,t){const{RULES:n}=this;if(f.eachItem(e,e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!A.test(e))throw new Error(`Keyword ${e} has invalid name`)}),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function I(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let s=o?i.post:i.rules.find(({type:e})=>e===n);if(s||(s={type:n,rules:[]},i.rules.push(s)),i.keywords[e]=!0,!t)return;const a={keyword:e,definition:{...t,type:d.getJSONTypes(t.type),schemaType:d.getJSONTypes(t.schemaType)}};t.before?M.call(this,s,a,t.before):s.rules.push(a),i.all[e]=a,null===(r=t.implements)||void 0===r||r.forEach(e=>this.addKeyword(e))}function M(e,t,n){const r=e.rules.findIndex(e=>e.keyword===n);r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function k(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=P(t)),e.validateSchema=this.compile(t,!0))}const j={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function P(e){return{anyOf:[e,j]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(50),o=n(3),i=n(26),s={message:"boolean schema is false"};function a(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};r.reportError(i,s,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?a(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),a(e)):n.var(t,!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(3),o=n(6);function i(e,t,n){const{gen:i,compositeRule:s,data:a,opts:u}=e;if(void 0===n)return;const c=r._`${a}${r.getProperty(t)}`;if(s)return void o.checkStrictMode(e,"default is ignored for: "+c);let l=r._`${c} === undefined`;"empty"===u.useDefaults&&(l=r._`${l} || ${c} === null || ${c} === ""`),i.if(l,r._`${c} = ${r.stringify(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)i(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach((t,n)=>i(e,n,t.default))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(3),o=n(26),i=n(16),s=n(50);function a(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`))}function u(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:r.stringify(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:s,it:a}=e,c=t.macro.call(a.self,i,s,a),l=u(n,o,c);!1!==a.opts.validateSchema&&a.self.validateSchema(c,!0);const d=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${a.errSchemaPath}/${o}`,topSchemaRef:l,compositeRule:!0},d),e.pass(d,()=>e.error(!0))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:l,schema:d,parentSchema:f,$data:h,it:p}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(p,t);const g=!h&&t.compile?t.compile.call(p.self,d,f,p):t.validate,m=u(c,l,g),v=c.let("valid");function y(n=(t.async?r._`await `:r.nil)){const s=p.opts.passContext?o.default.this:o.default.self,a=!("compile"in t&&!h||!1===t.schema);c.assign(v,r._`${n}${i.callValidateCode(e,m,s,a)}`,t.modifying)}function _(e){var n;c.if(r.not(null!==(n=t.valid)&&void 0!==n?n:v),e)}e.block$data(v,(function(){if(!1===t.errors)y(),t.modifying&&a(e),_(()=>e.error());else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try(()=>y(r._`await `),t=>c.assign(v,!1).if(r._`${t} instanceof ${p.ValidationError}`,()=>c.assign(e,r._`${t}.errors`),()=>c.throw(t))),e}():function(){const e=r._`${m}.errors`;return c.assign(e,null),y(r.nil),e}();t.modifying&&a(e),_(()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),s.extendErrors(e)},()=>e.error())}(e,n))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:v)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some(t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e)},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const s=o.dependencies;if(null==s?void 0:s.some(t=>!Object.prototype.hasOwnProperty.call(e,t)))throw new Error(`parent schema must have dependencies of ${i}: ${s.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(3),o=n(6);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:s,errSchemaPath:a,topSchemaRef:u}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${r.getProperty(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${r.getProperty(t)}${r.getProperty(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${o.escapeFragment(n)}`}}if(void 0!==i){if(void 0===s||void 0===a||void 0===u)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:s,topSchemaRef:u,errSchemaPath:a}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:s,dataTypes:a,propertyName:u}){if(void 0!==s&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:s,dataPathArr:a,opts:u}=t;l(c.let("data",r._`${t.data}${r.getProperty(n)}`,!0)),e.errorPath=r.str`${s}${o.getErrorPath(n,i,u.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...a,e.parentDataProperty]}if(void 0!==s){l(s instanceof r.Name?s:c.let("data",s,!0)),void 0!==u&&(e.propertyName=u)}function l(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}a&&(e.dataTypes=a)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},function(e,t,n){"use strict";var r=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),function e(t,n,o,i,s,a,u,c,l,d){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var f in n(i,s,a,u,c,l,d),i){var h=i[f];if(Array.isArray(h)){if(f in r.arrayKeywords)for(var p=0;p<h.length;p++)e(t,n,o,h[p],s+"/"+f+"/"+p,a,s,f,i,p)}else if(f in r.propsKeywords){if(h&&"object"==typeof h)for(var g in h)e(t,n,o,h[g],s+"/"+f+"/"+g.replace(/~/g,"~0").replace(/\//g,"~1"),a,s,f,i,g)}else(f in r.keywords||t.allKeys&&!(f in r.skipKeywords))&&e(t,n,o,h,s+"/"+f,a,s,f,i)}o(i,s,a,u,c,l,d)}}(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};r.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},r.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},r.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},r.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},function(e){e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(235),o=n(238),i=n(250),s=n(264),a=n(266),u=[r.default,o.default,i.default(),s.default,a.metadataVocabulary,a.contentVocabulary];t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(236),o=n(237),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(112),o=n(16),i=n(3),s=n(26),a=n(113),u=n(6),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:s,schemaEnv:u,validateName:c,opts:f,self:h}=o,{root:p}=u;if(("#"===n||"#/"===n)&&s===p.baseId)return function(){if(u===p)return d(e,c,u,u.$async);const n=t.scopeValue("root",{ref:p});return d(e,i._`${n}.validate`,p,p.$async)}();const g=a.resolveRef.call(h,p,s,n);if(void 0===g)throw new r.default(s,n);return g instanceof a.SchemaEnv?function(t){const n=l(e,t);d(e,n,t,t.$async)}(g):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:i.stringify(r)}:{ref:r}),s=t.name("valid"),a=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},s);e.mergeEvaluated(a),e.ok(s)}(g)}};function l(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:a,it:c}=e,{allErrors:l,schemaEnv:d,opts:f}=c,h=f.passContext?s.default.this:i.nil;function p(e){const t=i._`${e}.errors`;a.assign(s.default.vErrors,i._`${s.default.vErrors} === null ? ${t} : ${s.default.vErrors}.concat(${t})`),a.assign(s.default.errors,i._`${s.default.vErrors}.length`)}function g(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=u.mergeEvaluated.props(a,r.props,c.props));else{const t=a.var("props",i._`${e}.evaluated.props`);c.props=u.mergeEvaluated.props(a,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=u.mergeEvaluated.items(a,r.items,c.items));else{const t=a.var("items",i._`${e}.evaluated.items`);c.items=u.mergeEvaluated.items(a,t,c.items,i.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=a.let("valid");a.try(()=>{a.code(i._`await ${o.callValidateCode(e,t,h)}`),g(t),l||a.assign(n,!0)},e=>{a.if(i._`!(${e} instanceof ${c.ValidationError})`,()=>a.throw(e)),p(e),l||a.assign(n,!1)}),e.ok(n)}():e.result(o.callValidateCode(e,t,h),()=>g(t),()=>p(t))}t.getValidate=l,t.callRef=d,t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(239),o=n(240),i=n(241),s=n(243),a=n(244),u=n(245),c=n(246),l=n(247),d=n(248),f=n(249),h=[r.default,o.default,i.default,s.default,a.default,u.default,c.default,l.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},s={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},a={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:s,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,s=i.opts.multipleOfPrecision,a=t.let("res"),u=s?r._`Math.abs(Math.round(${a}) - ${a}) > 1e-${s}`:r._`${a} !== parseInt(${a})`;e.fail$data(r._`(${o} === 0 || (${a} = ${n}/${o}, ${u}))`)}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i=n(242),s={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:s,it:a}=e,u="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===a.opts.unicode?r._`${n}.length`:r._`${o.useFunc(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${u} ${s}`)}};t.default=s},function(e,t,n){"use strict";function r(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(16),o=n(3),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:s,it:a}=e,u=a.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${s}, ${u}))`:r.usePattern(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(16),o=n(3),i=n(6),s={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:s,data:a,$data:u,it:c}=e,{opts:l}=c;if(!u&&0===n.length)return;const d=n.length>=l.loopRequired;if(c.allErrors?function(){if(d||u)e.block$data(o.nil,f);else for(const t of n)r.checkReportMissingProp(e,t)}():function(){const i=t.let("missing");if(d||u){const n=t.let("valid",!0);e.block$data(n,()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,s,()=>{t.assign(i,r.propertyInData(t,a,n,l.ownProperties)),t.if(o.not(i),()=>{e.error(),t.break()})},o.nil)}(i,n)),e.ok(n)}else t.if(r.checkMissingProp(e,n,i)),r.reportMissingProp(e,i),t.else()}(),l.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;i.checkStrictMode(c,t,c.opts.strictRequired)}}function f(){t.forOf("prop",s,n=>{e.setParams({missingProperty:n}),t.if(r.noPropertyInData(t,a,n,l.ownProperties),()=>e.error())})}}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(52),o=n(3),i=n(6),s=n(80),a={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:a,schema:u,parentSchema:c,schemaCode:l,it:d}=e;if(!a&&!u)return;const f=t.let("valid"),h=c.items?r.getSchemaTypes(c.items):[];function p(i,s){const a=t.name("item"),u=r.checkDataTypes(h,a,d.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,()=>{t.let(a,o._`${n}[${i}]`),t.if(u,o._`continue`),h.length>1&&t.if(o._`typeof ${a} == "string"`,o._`${a} += "_"`),t.if(o._`typeof ${c}[${a}] == "number"`,()=>{t.assign(s,o._`${c}[${a}]`),e.error(),t.assign(f,!1).break()}).code(o._`${c}[${a}] = ${i}`)})}function g(r,a){const u=i.useFunc(t,s.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,()=>t.for(o._`${a} = ${r}; ${a}--;`,()=>t.if(o._`${u}(${n}[${r}], ${n}[${a}])`,()=>{e.error(),t.assign(f,!1).break(c)})))}e.block$data(f,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(f,!0),t.if(o._`${r} > 1`,()=>(h.length>0&&!h.some(e=>"object"===e||"array"===e)?p:g)(r,i))}),o._`${l} === false`),e.ok(f)}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i=n(80),s={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:s,schemaCode:a,schema:u}=e;s||u&&"object"==typeof u?e.fail$data(r._`!${o.useFunc(t,i.default)}(${n}, ${a})`):e.fail(r._`${u} !== ${n}`)}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i=n(80),s={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:s,schema:a,schemaCode:u,it:c}=e;if(!s&&0===a.length)throw new Error("enum must have non-empty array");const l=a.length>=c.opts.loopEnum,d=o.useFunc(t,i.default);let f;if(l||s)f=t.let("valid"),e.block$data(f,(function(){t.assign(f,!1),t.forOf("v",u,e=>t.if(r._`${d}(${n}, ${e})`,()=>t.assign(f,!0).break()))}));else{if(!Array.isArray(a))throw new Error("ajv implementation error");const e=t.const("vSchema",u);f=r.or(...a.map((t,o)=>function(e,t){const o=a[t];return"object"==typeof o&&null!==o?r._`${d}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o)))}e.pass(f)}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(114),o=n(251),i=n(115),s=n(252),a=n(253),u=n(254),c=n(255),l=n(116),d=n(256),f=n(257),h=n(258),p=n(259),g=n(260),m=n(261),v=n(262),y=n(263);t.default=function(e=!1){const t=[h.default,p.default,g.default,m.default,v.default,y.default,c.default,l.default,u.default,d.default,f.default];return e?t.push(o.default,s.default):t.push(r.default,i.default),t.push(a.default),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(115),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>r.validateTuple(e,"items")};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i=n(16),s=n(114),a={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:a}=n;r.items=!0,o.alwaysValidSchema(r,t)||(a?s.validateAdditionalItems(e,a):e.ok(i.validateArray(e)))}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:s,it:a}=e;let u,c;const{minContains:l,maxContains:d}=i;a.opts.next?(u=void 0===l?1:l,c=d):u=1;const f=t.const("len",r._`${s}.length`);if(e.setParams({min:u,max:c}),void 0===c&&0===u)return void o.checkStrictMode(a,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&u>c)return o.checkStrictMode(a,'"minContains" > "maxContains" is always invalid'),void e.fail();if(o.alwaysValidSchema(a,n)){let t=r._`${f} >= ${u}`;return void 0!==c&&(t=r._`${t} && ${f} <= ${c}`),void e.pass(t)}a.items=!0;const h=t.name("valid");if(void 0===c&&1===u)p(h,()=>t.if(h,()=>t.break()));else{t.let(h,!1);const e=t.name("_valid"),n=t.let("count",0);p(e,()=>t.if(e,()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${u}`,()=>t.assign(h,!0).break()):(t.if(r._`${e} > ${c}`,()=>t.assign(h,!1).break()),1===u?t.assign(h,!0):t.if(r._`${e} >= ${u}`,()=>t.assign(h,!0)))}(n)))}function p(n,r){t.forRange("i",0,f,t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()})}e.result(h,()=>e.reset())}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(3),o=n(6),i=n(16);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e},
|
|
1606
|
-
missingProperty: ${o},
|
|
1607
|
-
depsCount: ${t},
|
|
1608
|
-
deps: ${n}}`};const s={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);a(e,t),u(e,n)}};function a(e,t=e.schema){const{gen:n,data:o,it:s}=e;if(0===Object.keys(t).length)return;const a=n.let("missing");for(const u in t){const c=t[u];if(0===c.length)continue;const l=i.propertyInData(n,o,u,s.opts.ownProperties);e.setParams({property:u,depsCount:c.length,deps:c.join(", ")}),s.allErrors?n.if(l,()=>{for(const t of c)i.checkReportMissingProp(e,t)}):(n.if(r._`${l} && (${i.checkMissingProp(e,c,a)})`),i.reportMissingProp(e,a),n.else())}}function u(e,t=e.schema){const{gen:n,data:r,keyword:s,it:a}=e,u=n.name("valid");for(const c in t)o.alwaysValidSchema(a,t[c])||(n.if(i.propertyInData(n,r,c,a.opts.ownProperties),()=>{const t=e.subschema({keyword:s,schemaProp:c},u);e.mergeValidEvaluated(t,u)},()=>n.var(u,!0)),e.ok(u))}t.validatePropertyDeps=a,t.validateSchemaDeps=u,t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:s}=e;if(o.alwaysValidSchema(s,n))return;const a=t.name("valid");t.forIn("key",i,n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},a),t.if(r.not(a),()=>{e.error(!0),s.allErrors||t.break()})}),e.ok(a)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(49),o=n(16),i=n(6),s=n(116),a={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:a,data:u,it:c}=e;"all"===c.opts.removeAdditional&&void 0===a.additionalProperties&&s.default.code(new r.KeywordCxt(c,s.default,"additionalProperties"));const l=o.allSchemaProperties(n);for(const e of l)c.definedProperties.add(e);c.opts.unevaluated&&l.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,i.toHash(l),c.props));const d=l.filter(e=>!i.alwaysValidSchema(c,n[e]));if(0===d.length)return;const f=t.name("valid");for(const n of d)h(n)?p(n):(t.if(o.propertyInData(t,u,n,c.opts.ownProperties)),p(n),c.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function h(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function p(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(16),o=n(3),i=n(6),s=n(6),a={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:a,parentSchema:u,it:c}=e,{opts:l}=c,d=r.allSchemaProperties(n),f=d.filter(e=>i.alwaysValidSchema(c,n[e]));if(0===d.length||f.length===d.length&&(!c.opts.unevaluated||!0===c.props))return;const h=l.strictSchema&&!l.allowMatchingProperties&&u.properties,p=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=s.evaluatedPropsToName(t,c.props));const{props:g}=c;function m(e){for(const t in h)new RegExp(e).test(t)&&i.checkStrictMode(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function v(n){t.forIn("key",a,i=>{t.if(o._`${r.usePattern(e,n)}.test(${i})`,()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:s.Type.Str},p),c.opts.unevaluated&&!0!==g?t.assign(o._`${g}[${i}]`,!0):r||c.allErrors||t.if(o.not(p),()=>t.break())})})}!function(){for(const e of d)h&&m(e),c.allErrors?v(e):(t.var(p,!0),v(e),t.if(p))}()}};t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if(r.alwaysValidSchema(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,()=>e.reset(),()=>e.error())},error:{message:"must NOT be valid"}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(16).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:s}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(s.opts.discriminator&&i.discriminator)return;const a=n,u=t.let("valid",!1),c=t.let("passing",null),l=t.name("_valid");e.setParams({passing:c}),t.block((function(){a.forEach((n,i)=>{let a;o.alwaysValidSchema(s,n)?t.var(l,!0):a=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},l),i>0&&t.if(r._`${l} && ${u}`).assign(u,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(l,()=>{t.assign(u,!0),t.assign(c,i),a&&e.mergeEvaluated(a,r.Name)})})})),e.result(u,()=>e.reset(),()=>e.error(!0))}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach((t,n)=>{if(r.alwaysValidSchema(o,t))return;const s=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(s)})}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(6),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&o.checkStrictMode(i,'"if" without "then" and "else" is ignored');const a=s(i,"then"),u=s(i,"else");if(!a&&!u)return;const c=t.let("valid",!0),l=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},l);e.mergeEvaluated(t)}(),e.reset(),a&&u){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(l,d("then",n),d("else",n))}else a?t.if(l,d("then")):t.if(r.not(l),d("else"));function d(n,o){return()=>{const i=e.subschema({keyword:n},l);t.assign(c,l),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,()=>e.error(!0))}};function s(e,t){const n=e.schema[t];return void 0!==n&&!o.alwaysValidSchema(e,n)}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&r.checkStrictMode(n,`"${e}" without "if" is ignored`)}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(265).default];t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:s,schemaCode:a,it:u}=e,{opts:c,errSchemaPath:l,schemaEnv:d,self:f}=u;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:f.formats,code:c.code.formats}),s=n.const("fDef",r._`${i}[${a}]`),u=n.let("fType"),l=n.let("format");n.if(r._`typeof ${s} == "object" && !(${s} instanceof RegExp)`,()=>n.assign(u,r._`${s}.type || "string"`).assign(l,r._`${s}.validate`),()=>n.assign(u,r._`"string"`).assign(l,s)),e.fail$data(r.or(!1===c.strictSchema?r.nil:r._`${a} && !${l}`,function(){const e=d.$async?r._`(${s}.async ? await ${l}(${o}) : ${l}(${o}))`:r._`${l}(${o})`,n=r._`(typeof ${l} == "function" ? ${e} : ${l}.test(${o}))`;return r._`${l} && ${l} !== true && ${u} === ${t} && !${n}`}()))}():function(){const i=f.formats[s];if(!i)return void function(){if(!1===c.strictSchema)return void f.logger.warn(e());throw new Error(e());function e(){return`unknown format "${s}" ignored in schema at path "${l}"`}}();if(!0===i)return;const[a,u,h]=function(e){const t=e instanceof RegExp?r.regexpCode(e):c.code.formats?r._`${c.code.formats}${r.getProperty(s)}`:void 0,o=n.scopeValue("formats",{key:s,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);a===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${h}(${o})`}return"function"==typeof u?r._`${h}(${o})`:r._`${h}.test(${o})`}())}())}};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3),o=n(268),i={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:i,parentSchema:s,it:a}=e,{oneOf:u}=s;if(!a.opts.discriminator)throw new Error("discriminator: requires discriminator option");const c=i.propertyName;if("string"!=typeof c)throw new Error("discriminator: requires propertyName");if(i.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const l=t.let("valid",!1),d=t.const("tag",r._`${n}${r.getProperty(c)}`);function f(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${d} == "string"`,()=>function(){const n=function(){var e;const t={},n=o(s);let r=!0;for(let t=0;t<u.length;t++){const s=u[t],a=null===(e=s.properties)||void 0===e?void 0:e[c];if("object"!=typeof a)throw new Error(`discriminator: oneOf schemas must have "properties/${c}"`);r=r&&(n||o(s)),i(a,t)}if(!r)throw new Error(`discriminator: "${c}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(c)}function i(e,t){if(e.const)a(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${c}" must have "const" or "enum"`);for(const n of e.enum)a(n,t)}}function a(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${c}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${d} === ${e}`),t.assign(l,f(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:d,tagName:c}),t.endIf()}(),()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:d,tagName:c})),e.ok(l)}};t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(t.DiscrError||(t.DiscrError={}))},function(e){e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},function(e,t,n){"use strict";n.r(t),n.d(t,"AbstractControl",(function(){return _n})),n.d(t,"AbstractControlDirective",(function(){return Rt})),n.d(t,"AbstractFormGroupDirective",(function(){return Sn})),n.d(t,"COMPOSITION_BUFFER_MODE",(function(){return lt})),n.d(t,"CheckboxControlValueAccessor",(function(){return ut})),n.d(t,"CheckboxRequiredValidator",(function(){return mr})),n.d(t,"ControlContainer",(function(){return Lt})),n.d(t,"DefaultValueAccessor",(function(){return dt})),n.d(t,"EmailValidator",(function(){return yr})),n.d(t,"FormArray",(function(){return Dn})),n.d(t,"FormArrayName",(function(){return Zn})),n.d(t,"FormBuilder",(function(){return kr})),n.d(t,"FormControl",(function(){return bn})),n.d(t,"FormControlDirective",(function(){return zn})),n.d(t,"FormControlName",(function(){return Xn})),n.d(t,"FormGroup",(function(){return wn})),n.d(t,"FormGroupDirective",(function(){return Gn})),n.d(t,"FormGroupName",(function(){return Kn})),n.d(t,"FormsModule",(function(){return Ir})),n.d(t,"MaxLengthValidator",(function(){return Dr})),n.d(t,"MaxValidator",(function(){return lr})),n.d(t,"MinLengthValidator",(function(){return br})),n.d(t,"MinValidator",(function(){return fr})),n.d(t,"NG_ASYNC_VALIDATORS",(function(){return gt})),n.d(t,"NG_VALIDATORS",(function(){return pt})),n.d(t,"NG_VALUE_ACCESSOR",(function(){return st})),n.d(t,"NgControl",(function(){return Bt})),n.d(t,"NgControlStatus",(function(){return qt})),n.d(t,"NgControlStatusGroup",(function(){return Gt})),n.d(t,"NgForm",(function(){return xn})),n.d(t,"NgModel",(function(){return jn})),n.d(t,"NgModelGroup",(function(){return In})),n.d(t,"NgSelectOption",(function(){return rr})),n.d(t,"NumberValueAccessor",(function(){return Tn})),n.d(t,"PatternValidator",(function(){return Er})),n.d(t,"RadioControlValueAccessor",(function(){return Rn})),n.d(t,"RangeValueAccessor",(function(){return Bn})),n.d(t,"ReactiveFormsModule",(function(){return Mr})),n.d(t,"RequiredValidator",(function(){return gr})),n.d(t,"SelectControlValueAccessor",(function(){return nr})),n.d(t,"SelectMultipleControlValueAccessor",(function(){return sr})),n.d(t,"VERSION",(function(){return jr})),n.d(t,"Validators",(function(){return vt})),n.d(t,"ɵInternalFormsSharedModule",(function(){return Or})),n.d(t,"ɵNgNoValidate",(function(){return Pn})),n.d(t,"ɵNgSelectMultipleOption",(function(){return ar})),n.d(t,"ɵangular_packages_forms_forms_a",(function(){return xr})),n.d(t,"ɵangular_packages_forms_forms_b",(function(){return Sr})),n.d(t,"ɵangular_packages_forms_forms_ba",(function(){return or})),n.d(t,"ɵangular_packages_forms_forms_bb",(function(){return ar})),n.d(t,"ɵangular_packages_forms_forms_bc",(function(){return Pn})),n.d(t,"ɵangular_packages_forms_forms_bd",(function(){return cr})),n.d(t,"ɵangular_packages_forms_forms_be",(function(){return dr})),n.d(t,"ɵangular_packages_forms_forms_bf",(function(){return hr})),n.d(t,"ɵangular_packages_forms_forms_bg",(function(){return pr})),n.d(t,"ɵangular_packages_forms_forms_bh",(function(){return vr})),n.d(t,"ɵangular_packages_forms_forms_bi",(function(){return _r})),n.d(t,"ɵangular_packages_forms_forms_bj",(function(){return wr})),n.d(t,"ɵangular_packages_forms_forms_bk",(function(){return Cr})),n.d(t,"ɵangular_packages_forms_forms_bl",(function(){return yt})),n.d(t,"ɵangular_packages_forms_forms_bm",(function(){return _t})),n.d(t,"ɵangular_packages_forms_forms_bn",(function(){return bt})),n.d(t,"ɵangular_packages_forms_forms_bo",(function(){return wt})),n.d(t,"ɵangular_packages_forms_forms_bp",(function(){return Dt})),n.d(t,"ɵangular_packages_forms_forms_bq",(function(){return Ct})),n.d(t,"ɵangular_packages_forms_forms_br",(function(){return Et})),n.d(t,"ɵangular_packages_forms_forms_bs",(function(){return xt})),n.d(t,"ɵangular_packages_forms_forms_bt",(function(){return St})),n.d(t,"ɵangular_packages_forms_forms_c",(function(){return Ar})),n.d(t,"ɵangular_packages_forms_forms_d",(function(){return Or})),n.d(t,"ɵangular_packages_forms_forms_e",(function(){return at})),n.d(t,"ɵangular_packages_forms_forms_f",(function(){return ot})),n.d(t,"ɵangular_packages_forms_forms_g",(function(){return it})),n.d(t,"ɵangular_packages_forms_forms_h",(function(){return ct})),n.d(t,"ɵangular_packages_forms_forms_i",(function(){return Ut})),n.d(t,"ɵangular_packages_forms_forms_j",(function(){return Ht})),n.d(t,"ɵangular_packages_forms_forms_k",(function(){return zt})),n.d(t,"ɵangular_packages_forms_forms_l",(function(){return Cn})),n.d(t,"ɵangular_packages_forms_forms_m",(function(){return Mn})),n.d(t,"ɵangular_packages_forms_forms_n",(function(){return On})),n.d(t,"ɵangular_packages_forms_forms_o",(function(){return Nn})),n.d(t,"ɵangular_packages_forms_forms_p",(function(){return $n})),n.d(t,"ɵangular_packages_forms_forms_q",(function(){return Fn})),n.d(t,"ɵangular_packages_forms_forms_r",(function(){return Vn})),n.d(t,"ɵangular_packages_forms_forms_s",(function(){return Ln})),n.d(t,"ɵangular_packages_forms_forms_t",(function(){return Un})),n.d(t,"ɵangular_packages_forms_forms_u",(function(){return Hn})),n.d(t,"ɵangular_packages_forms_forms_v",(function(){return Yn})),n.d(t,"ɵangular_packages_forms_forms_w",(function(){return qn})),n.d(t,"ɵangular_packages_forms_forms_x",(function(){return Wn})),n.d(t,"ɵangular_packages_forms_forms_y",(function(){return Qn})),n.d(t,"ɵangular_packages_forms_forms_z",(function(){return er}));var r=n(0);
|
|
1609
|
-
/**
|
|
1610
|
-
* @license Angular v12.1.4
|
|
1611
|
-
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
1612
|
-
* License: MIT
|
|
1613
|
-
*/
|
|
1614
|
-
/**
|
|
1615
|
-
* @license
|
|
1616
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1617
|
-
*
|
|
1618
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1619
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1620
|
-
*/let o=null;function i(){return o}
|
|
1621
|
-
/**
|
|
1622
|
-
* @license
|
|
1623
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1624
|
-
*
|
|
1625
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1626
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1627
|
-
*/
|
|
1628
|
-
const s=new r.InjectionToken("DocumentToken");
|
|
1629
|
-
/**
|
|
1630
|
-
* @license
|
|
1631
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1632
|
-
*
|
|
1633
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1634
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1635
|
-
*/class a{historyGo(e){throw new Error("Not implemented")}}function u(){return Object(r["ɵɵinject"])(c)}a.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:u,token:a,providedIn:"platform"}),a.decorators=[{type:r.Injectable,args:[{providedIn:"platform",useFactory:u}]}];new r.InjectionToken("Location Initialized");class c extends a{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=i().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){l()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){l()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function l(){return!!window.history.pushState}function d(){return new c(Object(r["ɵɵinject"])(s))}
|
|
1636
|
-
/**
|
|
1637
|
-
* @license
|
|
1638
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1639
|
-
*
|
|
1640
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1641
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1642
|
-
*/
|
|
1643
|
-
/**
|
|
1644
|
-
* @license
|
|
1645
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1646
|
-
*
|
|
1647
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1648
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1649
|
-
*/function f(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function h(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-("/"===e[n-1]?1:0);return e.slice(0,r)+e.slice(n)}function p(e){return e&&"?"!==e[0]?"?"+e:e}
|
|
1650
|
-
/**
|
|
1651
|
-
* @license
|
|
1652
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1653
|
-
*
|
|
1654
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1655
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1656
|
-
*/c.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:d,token:c,providedIn:"platform"}),c.decorators=[{type:r.Injectable,args:[{providedIn:"platform",useFactory:d}]}],c.ctorParameters=()=>[{type:void 0,decorators:[{type:r.Inject,args:[s]}]}];class g{historyGo(e){throw new Error("Not implemented")}}function m(e){const t=Object(r["ɵɵinject"])(s).location;return new y(Object(r["ɵɵinject"])(a),t&&t.origin||"")}g.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:m,token:g,providedIn:"root"}),g.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:m}]}];const v=new r.InjectionToken("appBaseHref");class y extends g{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return f(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+p(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const o=this.prepareExternalUrl(n+p(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){const o=this.prepareExternalUrl(n+p(r));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}y.decorators=[{type:r.Injectable}],y.ctorParameters=()=>[{type:a},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[v]}]}]
|
|
1657
|
-
/**
|
|
1658
|
-
* @license
|
|
1659
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1660
|
-
*
|
|
1661
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1662
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1663
|
-
*/;class _ extends g{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=f(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let o=this.prepareExternalUrl(n+p(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){let o=this.prepareExternalUrl(n+p(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}_.decorators=[{type:r.Injectable}],_.ctorParameters=()=>[{type:a},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[v]}]}]
|
|
1664
|
-
/**
|
|
1665
|
-
* @license
|
|
1666
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1667
|
-
*
|
|
1668
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1669
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1670
|
-
*/;class b{constructor(e,t){this._subject=new r.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=h(D(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+p(t))}normalize(e){return b.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,D(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+p(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+p(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}function w(){return new b(Object(r["ɵɵinject"])(g),Object(r["ɵɵinject"])(a))}function D(e){return e.replace(/\/index.html$/,"")}
|
|
1671
|
-
/**
|
|
1672
|
-
* @license
|
|
1673
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1674
|
-
*
|
|
1675
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1676
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1677
|
-
*/
|
|
1678
|
-
/**
|
|
1679
|
-
* @license
|
|
1680
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1681
|
-
*
|
|
1682
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1683
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1684
|
-
*/b.normalizeQueryParams=p,b.joinWithSlash=f,b.stripTrailingSlash=h,b.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:w,token:b,providedIn:"root"}),b.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:w}]}],b.ctorParameters=()=>[{type:g},{type:a}];const C={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};
|
|
1685
|
-
/**
|
|
1686
|
-
* @license
|
|
1687
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1688
|
-
*
|
|
1689
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1690
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1691
|
-
*/var E,x,S,A,O,I,M;function k(e,t){return V(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateFormat],t)}function j(e,t){return V(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].TimeFormat],t)}function P(e,t){return V(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].DateTimeFormat],t)}function N(e,t){const n=Object(r["ɵfindLocaleData"])(e),o=n[r["ɵLocaleDataIndex"].NumberSymbols][t];if(void 0===o){if(t===I.CurrencyDecimal)return n[r["ɵLocaleDataIndex"].NumberSymbols][I.Decimal];if(t===I.CurrencyGroup)return n[r["ɵLocaleDataIndex"].NumberSymbols][I.Group]}return o}function T(e,t){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].NumberFormats][t]}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(E||(E={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(x||(x={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(S||(S={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(A||(A={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(O||(O={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(I||(I={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(M||(M={}));const $=r["ɵgetLocalePluralCase"];function F(e){if(!e[r["ɵLocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r["ɵLocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function V(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function R(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function L(e,t,n="en"){const o=function(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Currencies]}(n)[e]||C[e]||[],i=o[1];return"narrow"===t&&"string"==typeof i?i:o[0]||e}
|
|
1692
|
-
/**
|
|
1693
|
-
* @license
|
|
1694
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1695
|
-
*
|
|
1696
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1697
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1698
|
-
*/
|
|
1699
|
-
const B=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,U={},H=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var z,q,G;function W(e,t,n,o){let i=function(e){if(ie(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,r=1]=e.split("-").map(e=>+e);return K(t,n-1,r)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(B))return function(e){const t=new Date(0);let n=0,r=0;const o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11]));o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,s,a,u,c),t}(n)}const t=new Date(e);if(!ie(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const o=function(e){return Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].LocaleId]}(t);if(U[o]=U[o]||{},U[o][n])return U[o][n];let i="";switch(n){case"shortDate":i=k(t,O.Short);break;case"mediumDate":i=k(t,O.Medium);break;case"longDate":i=k(t,O.Long);break;case"fullDate":i=k(t,O.Full);break;case"shortTime":i=j(t,O.Short);break;case"mediumTime":i=j(t,O.Medium);break;case"longTime":i=j(t,O.Long);break;case"fullTime":i=j(t,O.Full);break;case"short":const n=e(t,"shortTime"),r=e(t,"shortDate");i=Q(P(t,O.Short),[n,r]);break;case"medium":const o=e(t,"mediumTime"),s=e(t,"mediumDate");i=Q(P(t,O.Medium),[o,s]);break;case"long":const a=e(t,"longTime"),u=e(t,"longDate");i=Q(P(t,O.Long),[a,u]);break;case"full":const c=e(t,"fullTime"),l=e(t,"fullDate");i=Q(P(t,O.Full),[c,l])}i&&(U[o][n]=i);return i}(n,t)||t;let s,a=[];for(;t;){if(s=H.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let u=i.getTimezoneOffset();o&&(u=oe(o,u),i=function(e,t,n){const r=n?-1:1,o=e.getTimezoneOffset(),i=oe(t,o);return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(i-o))}(i,o,!0));let c="";return a.forEach(e=>{const t=function(e){if(re[e])return re[e];let t;switch(e){case"G":case"GG":case"GGG":t=Y(G.Eras,A.Abbreviated);break;case"GGGG":t=Y(G.Eras,A.Wide);break;case"GGGGG":t=Y(G.Eras,A.Narrow);break;case"y":t=J(q.FullYear,1,0,!1,!0);break;case"yy":t=J(q.FullYear,2,0,!0,!0);break;case"yyy":t=J(q.FullYear,3,0,!1,!0);break;case"yyyy":t=J(q.FullYear,4,0,!1,!0);break;case"Y":t=ne(1);break;case"YY":t=ne(2,!0);break;case"YYY":t=ne(3);break;case"YYYY":t=ne(4);break;case"M":case"L":t=J(q.Month,1,1);break;case"MM":case"LL":t=J(q.Month,2,1);break;case"MMM":t=Y(G.Months,A.Abbreviated);break;case"MMMM":t=Y(G.Months,A.Wide);break;case"MMMMM":t=Y(G.Months,A.Narrow);break;case"LLL":t=Y(G.Months,A.Abbreviated,S.Standalone);break;case"LLLL":t=Y(G.Months,A.Wide,S.Standalone);break;case"LLLLL":t=Y(G.Months,A.Narrow,S.Standalone);break;case"w":t=te(1);break;case"ww":t=te(2);break;case"W":t=te(1,!0);break;case"d":t=J(q.Date,1);break;case"dd":t=J(q.Date,2);break;case"c":case"cc":t=J(q.Day,1);break;case"ccc":t=Y(G.Days,A.Abbreviated,S.Standalone);break;case"cccc":t=Y(G.Days,A.Wide,S.Standalone);break;case"ccccc":t=Y(G.Days,A.Narrow,S.Standalone);break;case"cccccc":t=Y(G.Days,A.Short,S.Standalone);break;case"E":case"EE":case"EEE":t=Y(G.Days,A.Abbreviated);break;case"EEEE":t=Y(G.Days,A.Wide);break;case"EEEEE":t=Y(G.Days,A.Narrow);break;case"EEEEEE":t=Y(G.Days,A.Short);break;case"a":case"aa":case"aaa":t=Y(G.DayPeriods,A.Abbreviated);break;case"aaaa":t=Y(G.DayPeriods,A.Wide);break;case"aaaaa":t=Y(G.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":t=Y(G.DayPeriods,A.Abbreviated,S.Standalone,!0);break;case"bbbb":t=Y(G.DayPeriods,A.Wide,S.Standalone,!0);break;case"bbbbb":t=Y(G.DayPeriods,A.Narrow,S.Standalone,!0);break;case"B":case"BB":case"BBB":t=Y(G.DayPeriods,A.Abbreviated,S.Format,!0);break;case"BBBB":t=Y(G.DayPeriods,A.Wide,S.Format,!0);break;case"BBBBB":t=Y(G.DayPeriods,A.Narrow,S.Format,!0);break;case"h":t=J(q.Hours,1,-12);break;case"hh":t=J(q.Hours,2,-12);break;case"H":t=J(q.Hours,1);break;case"HH":t=J(q.Hours,2);break;case"m":t=J(q.Minutes,1);break;case"mm":t=J(q.Minutes,2);break;case"s":t=J(q.Seconds,1);break;case"ss":t=J(q.Seconds,2);break;case"S":t=J(q.FractionalSeconds,1);break;case"SS":t=J(q.FractionalSeconds,2);break;case"SSS":t=J(q.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=X(z.Short);break;case"ZZZZZ":t=X(z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=X(z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=X(z.Long);break;default:return null}return re[e]=t,t}(e);c+=t?t(i,n,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function K(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Q(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function Z(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.substr(s.length-t)),i+s}function J(e,t,n=0,r=!1,o=!1){return function(i,s){let a=function(e,t){switch(e){case q.FullYear:return t.getFullYear();case q.Month:return t.getMonth();case q.Date:return t.getDate();case q.Hours:return t.getHours();case q.Minutes:return t.getMinutes();case q.Seconds:return t.getSeconds();case q.FractionalSeconds:return t.getMilliseconds();case q.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,i);if((n>0||a>-n)&&(a+=n),e===q.Hours)0===a&&-12===n&&(a=12);else if(e===q.FractionalSeconds)return u=t,Z(a,3).substr(0,u);var u;const c=N(s,I.MinusSign);return Z(a,t,c,r,o)}}function Y(e,t,n=S.Format,o=!1){return function(i,s){return function(e,t,n,o,i,s){switch(n){case G.Months:return function(e,t,n){const o=Object(r["ɵfindLocaleData"])(e),i=V([o[r["ɵLocaleDataIndex"].MonthsFormat],o[r["ɵLocaleDataIndex"].MonthsStandalone]],t);return V(i,n)}(t,i,o)[e.getMonth()];case G.Days:return function(e,t,n){const o=Object(r["ɵfindLocaleData"])(e),i=V([o[r["ɵLocaleDataIndex"].DaysFormat],o[r["ɵLocaleDataIndex"].DaysStandalone]],t);return V(i,n)}(t,i,o)[e.getDay()];case G.DayPeriods:const a=e.getHours(),u=e.getMinutes();if(s){const e=function(e){const t=Object(r["ɵfindLocaleData"])(e);return F(t),(t[r["ɵLocaleDataIndex"].ExtraData][2]||[]).map(e=>"string"==typeof e?R(e):[R(e[0]),R(e[1])])}(t),n=function(e,t,n){const o=Object(r["ɵfindLocaleData"])(e);F(o);const i=V([o[r["ɵLocaleDataIndex"].ExtraData][0],o[r["ɵLocaleDataIndex"].ExtraData][1]],t)||[];return V(i,n)||[]}(t,i,o),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,r=a>=t.hours&&u>=t.minutes,o=a<n.hours||a===n.hours&&u<n.minutes;if(t.hours<n.hours){if(r&&o)return!0}else if(r||o)return!0}else if(e.hours===a&&e.minutes===u)return!0;return!1});if(-1!==s)return n[s]}return function(e,t,n){const o=Object(r["ɵfindLocaleData"])(e),i=V([o[r["ɵLocaleDataIndex"].DayPeriodsFormat],o[r["ɵLocaleDataIndex"].DayPeriodsStandalone]],t);return V(i,n)}(t,i,o)[a<12?0:1];case G.Eras:return function(e,t){return V(Object(r["ɵfindLocaleData"])(e)[r["ɵLocaleDataIndex"].Eras],t)}(t,o)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(i,s,e,t,n,o)}}function X(e){return function(t,n,r){const o=-1*r,i=N(n,I.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case z.Short:return(o>=0?"+":"")+Z(s,2,i)+Z(Math.abs(o%60),2,i);case z.ShortGMT:return"GMT"+(o>=0?"+":"")+Z(s,1,i);case z.Long:return"GMT"+(o>=0?"+":"")+Z(s,2,i)+":"+Z(Math.abs(o%60),2,i);case z.Extended:return 0===r?"Z":(o>=0?"+":"")+Z(s,2,i)+":"+Z(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(z||(z={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(q||(q={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(G||(G={}));function ee(e){return K(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function te(e,t=!1){return function(n,r){let o;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();o=1+Math.floor((t+e)/7)}else{const e=ee(n),t=function(e){const t=K(e,0,1).getDay();return K(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),r=e.getTime()-t.getTime();o=1+Math.round(r/6048e5)}return Z(o,e,N(r,I.MinusSign))}}function ne(e,t=!1){return function(n,r){return Z(ee(n).getFullYear(),e,N(r,I.MinusSign),t)}}const re={};function oe(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ie(e){return e instanceof Date&&!isNaN(e.valueOf())}
|
|
1700
|
-
/**
|
|
1701
|
-
* @license
|
|
1702
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1703
|
-
*
|
|
1704
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1705
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1706
|
-
*/const se=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function ae(e,t,n,r,o,i,s=!1){let a="",u=!1;if(isFinite(e)){let c=function(e){let t,n,r,o,i,s=Math.abs(e)+"",a=0;(n=s.indexOf("."))>-1&&(s=s.replace(".",""));(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;"0"===s.charAt(r);r++);if(r===(i=s.length))t=[0],n=1;else{for(i--;"0"===s.charAt(i);)i--;for(n-=r,t=[],o=0;r<=i;r++,o++)t[o]=Number(s.charAt(r))}n>22&&(t=t.splice(0,21),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);s&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let l=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const e=i.match(se);if(null===e)throw new Error(i+" is not a valid digit info");const t=e[1],n=e[3],r=e[5];null!=t&&(l=le(t)),null!=n&&(d=le(n)),null!=r?f=le(r):null!=n&&d>f&&(f=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let e=s;e<r.length;e++)r[e]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let e=1;e<s;e++)r[e]=0}if(a>=5)if(s-1<0){for(let t=0;t>s;t--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=0!==i;const c=t+e.integerLen,l=r.reduceRight((function(e,t,n,r){return t+=e,r[n]=t<10?t:t-10,u&&(0===r[n]&&n>=c?r.pop():u=!1),t>=10?1:0}),0);l&&(r.unshift(l),e.integerLen++)}(c,d,f);let h=c.digits,p=c.integerLen;const g=c.exponent;let m=[];for(u=h.every(e=>!e);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?m=h.splice(p,h.length):(m=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(N(n,r)),m.length&&(a+=N(n,o)+m.join("")),g&&(a+=N(n,I.Exponential)+"+"+g)}else a=N(n,I.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function ue(e,t,n,r,o){const i=ce(T(t,E.Currency),N(t,I.MinusSign));i.minFrac=function(e){let t;const n=C[e];return n&&(t=n[2]),"number"==typeof t?t:2}(r),i.maxFrac=i.minFrac;return ae(e,i,t,I.CurrencyGroup,I.CurrencyDecimal,o).replace("¤",n).replace("¤","").trim()}function ce(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),o=r[0],i=r[1],s=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=s[0],u=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let e=0;e<u.length;e++){const t=u.charAt(e);"0"===t?n.minFrac=n.maxFrac=e+1:"#"===t?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){const e=o.length-n.posPre.length-n.posSuf.length,t=i.indexOf("#");n.negPre=i.substr(0,t).replace(/'/g,""),n.negSuf=i.substr(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function le(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
|
|
1707
|
-
/**
|
|
1708
|
-
* @license
|
|
1709
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1710
|
-
*
|
|
1711
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1712
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1713
|
-
*/class de{}function fe(e,t,n,r){let o="="+e;if(t.indexOf(o)>-1)return o;if(o=n.getPluralCategory(e,r),t.indexOf(o)>-1)return o;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}class he extends de{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch($(t||this.locale)(e)){case x.Zero:return"zero";case x.One:return"one";case x.Two:return"two";case x.Few:return"few";case x.Many:return"many";default:return"other"}}}he.decorators=[{type:r.Injectable}],he.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]
|
|
1714
|
-
/**
|
|
1715
|
-
* @license
|
|
1716
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1717
|
-
*
|
|
1718
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1719
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1720
|
-
*/;
|
|
1721
|
-
/**
|
|
1722
|
-
* @license
|
|
1723
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1724
|
-
*
|
|
1725
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1726
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1727
|
-
*/
|
|
1728
|
-
class pe{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["ɵisListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["ɵstringify"])(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}pe.decorators=[{type:r.Directive,args:[{selector:"[ngClass]"}]}],pe.ctorParameters=()=>[{type:r.IterableDiffers},{type:r.KeyValueDiffers},{type:r.ElementRef},{type:r.Renderer2}],pe.propDecorators={klass:[{type:r.Input,args:["class"]}],ngClass:[{type:r.Input,args:["ngClass"]}]};
|
|
1729
|
-
/**
|
|
1730
|
-
* @license
|
|
1731
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1732
|
-
*
|
|
1733
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1734
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1735
|
-
*/
|
|
1736
|
-
class ge{constructor(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}ngOnChanges(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const e=t.get(r.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(e.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(r.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}ge.decorators=[{type:r.Directive,args:[{selector:"[ngComponentOutlet]"}]}],ge.ctorParameters=()=>[{type:r.ViewContainerRef}],ge.propDecorators={ngComponentOutlet:[{type:r.Input}],ngComponentOutletInjector:[{type:r.Input}],ngComponentOutletContent:[{type:r.Input}],ngComponentOutletNgModuleFactory:[{type:r.Input}]};
|
|
1737
|
-
/**
|
|
1738
|
-
* @license
|
|
1739
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1740
|
-
*
|
|
1741
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1742
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1743
|
-
*/
|
|
1744
|
-
class me{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class ve{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){"undefined"!=typeof ngDevMode&&!ngDevMode||null==e||"function"==typeof e||console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error(`Cannot find a differ supporting object '${t}' of type '${e=t,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;
|
|
1745
|
-
/**
|
|
1746
|
-
* @license
|
|
1747
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1748
|
-
*
|
|
1749
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1750
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1751
|
-
*/if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new me(null,this._ngForOf,-1,-1),null===r?void 0:r),o=new ye(e,n);t.push(o)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,r);const i=new ye(e,o);t.push(i)}});for(let e=0;e<t.length;e++)this._perViewChange(t[e].view,t[e].record);for(let e=0,t=this._viewContainer.length;e<t;e++){const n=this._viewContainer.get(e);n.context.index=e,n.context.count=t,n.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}ve.decorators=[{type:r.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],ve.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:r.IterableDiffers}],ve.propDecorators={ngForOf:[{type:r.Input}],ngForTrackBy:[{type:r.Input}],ngForTemplate:[{type:r.Input}]};class ye{constructor(e,t){this.record=e,this.view=t}}class _e{constructor(e,t){this._viewContainer=e,this._context=new be,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){we("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){we("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}_e.decorators=[{type:r.Directive,args:[{selector:"[ngIf]"}]}],_e.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef}],_e.propDecorators={ngIf:[{type:r.Input}],ngIfThen:[{type:r.Input}],ngIfElse:[{type:r.Input}]};class be{constructor(){this.$implicit=null,this.ngIf=null}}function we(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Object(r["ɵstringify"])(t)}'.`)}
|
|
1752
|
-
/**
|
|
1753
|
-
* @license
|
|
1754
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1755
|
-
*
|
|
1756
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1757
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1758
|
-
*/class De{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class Ce{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++){this._defaultViews[t].enforceState(e)}}}}Ce.decorators=[{type:r.Directive,args:[{selector:"[ngSwitch]"}]}],Ce.propDecorators={ngSwitch:[{type:r.Input}]};class Ee{constructor(e,t,n){this.ngSwitch=n,"undefined"!=typeof ngDevMode&&!ngDevMode||n||Se("ngSwitchCase","NgSwitchCase"),n._addCase(),this._view=new De(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Ee.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchCase]"}]}],Ee.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Ce,decorators:[{type:r.Optional},{type:r.Host}]}],Ee.propDecorators={ngSwitchCase:[{type:r.Input}]};class xe{constructor(e,t,n){"undefined"!=typeof ngDevMode&&!ngDevMode||n||Se("ngSwitchDefault","NgSwitchDefault"),n._addDefault(new De(e,t))}}function Se(e,t){throw new r["ɵRuntimeError"]("305",`An element with the "${e}" attribute (matching the "${t}" directive) must be located inside an element with the "ngSwitch" attribute (matching "NgSwitch" directive)`)}
|
|
1759
|
-
/**
|
|
1760
|
-
* @license
|
|
1761
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1762
|
-
*
|
|
1763
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1764
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1765
|
-
*/xe.decorators=[{type:r.Directive,args:[{selector:"[ngSwitchDefault]"}]}],xe.ctorParameters=()=>[{type:r.ViewContainerRef},{type:r.TemplateRef},{type:Ce,decorators:[{type:r.Optional},{type:r.Host}]}];class Ae{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._switchValue=e,this._updateView()}addCase(e,t){this._caseViews[e]=t}_updateView(){this._clearViews();const e=Object.keys(this._caseViews),t=fe(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}Ae.decorators=[{type:r.Directive,args:[{selector:"[ngPlural]"}]}],Ae.ctorParameters=()=>[{type:de}],Ae.propDecorators={ngPlural:[{type:r.Input}]};class Oe{constructor(e,t,n,r){this.value=e;const o=!isNaN(Number(e));r.addCase(o?"="+e:e,new De(n,t))}}Oe.decorators=[{type:r.Directive,args:[{selector:"[ngPluralCase]"}]}],Oe.ctorParameters=()=>[{type:String,decorators:[{type:r.Attribute,args:["ngPluralCase"]}]},{type:r.TemplateRef},{type:r.ViewContainerRef},{type:Ae,decorators:[{type:r.Host}]}]
|
|
1766
|
-
/**
|
|
1767
|
-
* @license
|
|
1768
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1769
|
-
*
|
|
1770
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1771
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1772
|
-
*/;class Ie{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split(".");null!=(t=null!=t&&r?`${t}${r}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}Ie.decorators=[{type:r.Directive,args:[{selector:"[ngStyle]"}]}],Ie.ctorParameters=()=>[{type:r.ElementRef},{type:r.KeyValueDiffers},{type:r.Renderer2}],Ie.propDecorators={ngStyle:[{type:r.Input,args:["ngStyle"]}]};
|
|
1773
|
-
/**
|
|
1774
|
-
* @license
|
|
1775
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1776
|
-
*
|
|
1777
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1778
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1779
|
-
*/
|
|
1780
|
-
class Me{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Me.decorators=[{type:r.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],Me.ctorParameters=()=>[{type:r.ViewContainerRef}],Me.propDecorators={ngTemplateOutletContext:[{type:r.Input}],ngTemplateOutlet:[{type:r.Input}]};
|
|
1781
|
-
/**
|
|
1782
|
-
* @license
|
|
1783
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1784
|
-
*
|
|
1785
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1786
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1787
|
-
*/
|
|
1788
|
-
function ke(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r["ɵstringify"])(e)}'`)}
|
|
1789
|
-
/**
|
|
1790
|
-
* @license
|
|
1791
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1792
|
-
*
|
|
1793
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1794
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1795
|
-
*/const je=new class{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}},Pe=new class{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}};class Ne{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r["ɵisPromise"])(e))return je;if(Object(r["ɵisSubscribable"])(e))return Pe;throw ke(Ne,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}Ne.decorators=[{type:r.Pipe,args:[{name:"async",pure:!1}]}],Ne.ctorParameters=()=>[{type:r.ChangeDetectorRef}]
|
|
1796
|
-
/**
|
|
1797
|
-
* @license
|
|
1798
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1799
|
-
*
|
|
1800
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1801
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1802
|
-
*/;class Te{transform(e){if(null==e)return null;if("string"!=typeof e)throw ke(Te,e);return e.toLowerCase()}}Te.decorators=[{type:r.Pipe,args:[{name:"lowercase"}]}];const $e=/(?:[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 Fe{transform(e){if(null==e)return null;if("string"!=typeof e)throw ke(Fe,e);return e.replace($e,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}Fe.decorators=[{type:r.Pipe,args:[{name:"titlecase"}]}];class Ve{transform(e){if(null==e)return null;if("string"!=typeof e)throw ke(Ve,e);return e.toUpperCase()}}Ve.decorators=[{type:r.Pipe,args:[{name:"uppercase"}]}];
|
|
1803
|
-
/**
|
|
1804
|
-
* @license
|
|
1805
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1806
|
-
*
|
|
1807
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1808
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1809
|
-
*/
|
|
1810
|
-
class Re{constructor(e){this.locale=e}transform(e,t="mediumDate",n,r){if(null==e||""===e||e!=e)return null;try{return W(e,t,r||this.locale,n)}catch(e){throw ke(Re,e.message)}}}Re.decorators=[{type:r.Pipe,args:[{name:"date",pure:!0}]}],Re.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}]
|
|
1811
|
-
/**
|
|
1812
|
-
* @license
|
|
1813
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1814
|
-
*
|
|
1815
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1816
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1817
|
-
*/;const Le=/#/g;class Be{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw ke(Be,t);return t[fe(e,Object.keys(t),this._localization,n)].replace(Le,e.toString())}}Be.decorators=[{type:r.Pipe,args:[{name:"i18nPlural",pure:!0}]}],Be.ctorParameters=()=>[{type:de}]
|
|
1818
|
-
/**
|
|
1819
|
-
* @license
|
|
1820
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1821
|
-
*
|
|
1822
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1823
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1824
|
-
*/;class Ue{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw ke(Ue,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}Ue.decorators=[{type:r.Pipe,args:[{name:"i18nSelect",pure:!0}]}];
|
|
1825
|
-
/**
|
|
1826
|
-
* @license
|
|
1827
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1828
|
-
*
|
|
1829
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1830
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1831
|
-
*/
|
|
1832
|
-
class He{transform(e){return JSON.stringify(e,null,2)}}He.decorators=[{type:r.Pipe,args:[{name:"json",pure:!1}]}];class ze{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=qe}transform(e,t=qe){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const n=this.differ.diff(e),r=t!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem(e=>{
|
|
1833
|
-
/**
|
|
1834
|
-
* @license
|
|
1835
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1836
|
-
*
|
|
1837
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1838
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1839
|
-
*/
|
|
1840
|
-
var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))})),(n||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function qe(e,t){const n=e.key,r=t.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const o=String(n),i=String(r);return o==i?0:o<i?-1:1}
|
|
1841
|
-
/**
|
|
1842
|
-
* @license
|
|
1843
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1844
|
-
*
|
|
1845
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1846
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1847
|
-
*/ze.decorators=[{type:r.Pipe,args:[{name:"keyvalue",pure:!1}]}],ze.ctorParameters=()=>[{type:r.KeyValueDiffers}];class Ge{constructor(e){this._locale=e}transform(e,t,n){if(!Qe(e))return null;n=n||this._locale;try{return function(e,t,n){return ae(e,ce(T(t,E.Decimal),N(t,I.MinusSign)),t,I.Group,I.Decimal,n)}(Ze(e),n,t)}catch(e){throw ke(Ge,e.message)}}}Ge.decorators=[{type:r.Pipe,args:[{name:"number"}]}],Ge.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class We{constructor(e){this._locale=e}transform(e,t,n){if(!Qe(e))return null;n=n||this._locale;try{return function(e,t,n){return ae(e,ce(T(t,E.Percent),N(t,I.MinusSign)),t,I.Group,I.Decimal,n,!0).replace(new RegExp("%","g"),N(t,I.PercentSign))}(Ze(e),n,t)}catch(e){throw ke(We,e.message)}}}We.decorators=[{type:r.Pipe,args:[{name:"percent"}]}],We.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]}];class Ke{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",r,o){if(!Qe(e))return null;o=o||this._locale,"boolean"==typeof n&&(("undefined"==typeof ngDevMode||ngDevMode)&&console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");let i=t||this._defaultCurrencyCode;"code"!==n&&(i="symbol"===n||"symbol-narrow"===n?L(i,"symbol"===n?"wide":"narrow",o):n);try{return ue(Ze(e),o,i,t,r)}catch(e){throw ke(Ke,e.message)}}}function Qe(e){return!(null==e||""===e||e!=e)}function Ze(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}
|
|
1848
|
-
/**
|
|
1849
|
-
* @license
|
|
1850
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1851
|
-
*
|
|
1852
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1853
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1854
|
-
*/Ke.decorators=[{type:r.Pipe,args:[{name:"currency"}]}],Ke.ctorParameters=()=>[{type:String,decorators:[{type:r.Inject,args:[r.LOCALE_ID]}]},{type:String,decorators:[{type:r.Inject,args:[r.DEFAULT_CURRENCY_CODE]}]}];class Je{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw ke(Je,e);return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}Je.decorators=[{type:r.Pipe,args:[{name:"slice",pure:!1}]}];r.NgModule;
|
|
1855
|
-
/**
|
|
1856
|
-
* @license
|
|
1857
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1858
|
-
*
|
|
1859
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1860
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1861
|
-
*/
|
|
1862
|
-
new r.Version("12.1.4");
|
|
1863
|
-
/**
|
|
1864
|
-
* @license
|
|
1865
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1866
|
-
*
|
|
1867
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1868
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1869
|
-
*/class Ye{}Ye.ɵprov=Object(r["ɵɵdefineInjectable"])({token:Ye,providedIn:"root",factory:()=>new Xe(Object(r["ɵɵinject"])(s),window)});class Xe{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const e=r.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=et(this.window.history)||et(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function et(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}
|
|
1870
|
-
/**
|
|
1871
|
-
* @license
|
|
1872
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1873
|
-
*
|
|
1874
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1875
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1876
|
-
*/
|
|
1877
|
-
/**
|
|
1878
|
-
* @license
|
|
1879
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1880
|
-
*
|
|
1881
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1882
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1883
|
-
*/
|
|
1884
|
-
/**
|
|
1885
|
-
* @license
|
|
1886
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1887
|
-
*
|
|
1888
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1889
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1890
|
-
*/
|
|
1891
|
-
var tt=n(13),nt=n(85),rt=n(14);
|
|
1892
|
-
/**
|
|
1893
|
-
* @license Angular v12.1.4
|
|
1894
|
-
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
1895
|
-
* License: MIT
|
|
1896
|
-
*/
|
|
1897
|
-
/**
|
|
1898
|
-
* @license
|
|
1899
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1900
|
-
*
|
|
1901
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1902
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1903
|
-
*/
|
|
1904
|
-
class ot{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}ot.decorators=[{type:r.Directive}],ot.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef}];class it extends ot{}it.decorators=[{type:r.Directive}];const st=new r.InjectionToken("NgValueAccessor"),at={provide:st,useExisting:Object(r.forwardRef)(()=>ut),multi:!0};
|
|
1905
|
-
/**
|
|
1906
|
-
* @license
|
|
1907
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1908
|
-
*
|
|
1909
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1910
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1911
|
-
*/class ut extends it{writeValue(e){this.setProperty("checked",e)}}ut.decorators=[{type:r.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[at]}]}];
|
|
1912
|
-
/**
|
|
1913
|
-
* @license
|
|
1914
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1915
|
-
*
|
|
1916
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1917
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1918
|
-
*/
|
|
1919
|
-
const ct={provide:st,useExisting:Object(r.forwardRef)(()=>dt),multi:!0};const lt=new r.InjectionToken("CompositionEventMode");class dt extends ot{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=i()?i().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}
|
|
1920
|
-
/**
|
|
1921
|
-
* @license
|
|
1922
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1923
|
-
*
|
|
1924
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1925
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1926
|
-
*/
|
|
1927
|
-
function ft(e){return null==e||0===e.length}function ht(e){return null!=e&&"number"==typeof e.length}dt.decorators=[{type:r.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[ct]}]}],dt.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:Boolean,decorators:[{type:r.Optional},{type:r.Inject,args:[lt]}]}];const pt=new r.InjectionToken("NgValidators"),gt=new r.InjectionToken("NgAsyncValidators"),mt=/^(?=.{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 vt{static min(e){return yt(e)}static max(e){return _t(e)}static required(e){return bt(e)}static requiredTrue(e){return wt(e)}static email(e){return Dt(e)}static minLength(e){return Ct(e)}static maxLength(e){return Et(e)}static pattern(e){return xt(e)}static nullValidator(e){return null}static compose(e){return jt(e)}static composeAsync(e){return Nt(e)}}function yt(e){return t=>{if(ft(t.value)||ft(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}function _t(e){return t=>{if(ft(t.value)||ft(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}function bt(e){return ft(e.value)?{required:!0}:null}function wt(e){return!0===e.value?null:{required:!0}}function Dt(e){return ft(e.value)||mt.test(e.value)?null:{email:!0}}function Ct(e){return t=>ft(t.value)||!ht(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function Et(e){return t=>ht(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function xt(e){if(!e)return St;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(ft(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function St(e){return null}function At(e){return null!=e}function Ot(e){const t=Object(r["ɵisPromise"])(e)?Object(tt.a)(e):e;if(!Object(r["ɵisObservable"])(t)&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("Expected validator to return Promise or Observable.");return t}function It(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Mt(e,t){return t.map(t=>t(e))}function kt(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function jt(e){if(!e)return null;const t=e.filter(At);return 0==t.length?null:function(e){return It(Mt(e,t))}}function Pt(e){return null!=e?jt(kt(e)):null}function Nt(e){if(!e)return null;const t=e.filter(At);return 0==t.length?null:function(e){const n=Mt(e,t).map(Ot);return Object(nt.a)(n).pipe(Object(rt.a)(It))}}function Tt(e){return null!=e?Nt(kt(e)):null}function $t(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Ft(e){return e._rawValidators}function Vt(e){return e._rawAsyncValidators}
|
|
1928
|
-
/**
|
|
1929
|
-
* @license
|
|
1930
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1931
|
-
*
|
|
1932
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1933
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1934
|
-
*/class Rt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Pt(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Tt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}
|
|
1935
|
-
/**
|
|
1936
|
-
* @license
|
|
1937
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1938
|
-
*
|
|
1939
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1940
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1941
|
-
*/class Lt extends Rt{get formDirective(){return null}get path(){return null}}
|
|
1942
|
-
/**
|
|
1943
|
-
* @license
|
|
1944
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1945
|
-
*
|
|
1946
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1947
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1948
|
-
*/class Bt extends Rt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}
|
|
1949
|
-
/**
|
|
1950
|
-
* @license
|
|
1951
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1952
|
-
*
|
|
1953
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1954
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1955
|
-
*/class Ut{constructor(e){this._cd=e}is(e){var t,n,r;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(r=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===r?void 0:r[e])}}const Ht={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")'},zt={"[class.ng-untouched]":'is("untouched")',"[class.ng-touched]":'is("touched")',"[class.ng-pristine]":'is("pristine")',"[class.ng-dirty]":'is("dirty")',"[class.ng-valid]":'is("valid")',"[class.ng-invalid]":'is("invalid")',"[class.ng-pending]":'is("pending")',"[class.ng-submitted]":'is("submitted")'};class qt extends Ut{constructor(e){super(e)}}qt.decorators=[{type:r.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:Ht}]}],qt.ctorParameters=()=>[{type:Bt,decorators:[{type:r.Self}]}];class Gt extends Ut{constructor(e){super(e)}}Gt.decorators=[{type:r.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:zt}]}],Gt.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Optional},{type:r.Self}]}]
|
|
1956
|
-
/**
|
|
1957
|
-
* @license
|
|
1958
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1959
|
-
*
|
|
1960
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1961
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1962
|
-
*/;const Wt='\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 });',Kt='\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 });',Qt='\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 });',Zt='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',Jt='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ';
|
|
1963
|
-
/**
|
|
1964
|
-
* @license
|
|
1965
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1966
|
-
*
|
|
1967
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1968
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1969
|
-
*/class Yt{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 "+Wt)}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 ${Kt}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${Zt}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Wt)}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 "+Kt)}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 "+Qt)}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(e){console.warn(`\n It looks like you're using ngModel on the same form field as ${e}.\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}
|
|
1970
|
-
/**
|
|
1971
|
-
* @license
|
|
1972
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1973
|
-
*
|
|
1974
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1975
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1976
|
-
*/function Xt(e,t){return[...t.path,e]}function en(e,t){("undefined"==typeof ngDevMode||ngDevMode)&&(e||un(t,"Cannot find control with"),t.valueAccessor||un(t,"No value accessor for form control with")),rn(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&sn(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&sn(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function tn(e,t,n=!0){const r=()=>{n&&("undefined"==typeof ngDevMode||ngDevMode)&&function(e){un(e,"There is no FormControl instance attached to form control element with")}(t)};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),on(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function nn(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function rn(e,t){const n=Ft(e);null!==t.validator?e.setValidators($t(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=Vt(e);null!==t.asyncValidator?e.setAsyncValidators($t(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();nn(t._rawValidators,o),nn(t._rawAsyncValidators,o)}function on(e,t){let n=!1;if(null!==e){if(null!==t.validator){const r=Ft(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(e=>e!==t.validator);o.length!==r.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const r=Vt(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(e=>e!==t.asyncValidator);o.length!==r.length&&(n=!0,e.setAsyncValidators(o))}}}const r=()=>{};return nn(t._rawValidators,r),nn(t._rawAsyncValidators,r),n}function sn(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function an(e,t){null!=e||"undefined"!=typeof ngDevMode&&!ngDevMode||un(t,"Cannot find control with"),rn(e,t)}function un(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function cn(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function ln(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function dn(e,t){if(!t)return null;Array.isArray(t)||"undefined"!=typeof ngDevMode&&!ngDevMode||un(e,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,o=void 0;return t.forEach(t=>{var i;t.constructor===dt?n=t:(i=t,Object.getPrototypeOf(i.constructor)===it?(r&&("undefined"==typeof ngDevMode||ngDevMode)&&un(e,"More than one built-in value accessor matches form control with"),r=t):(o&&("undefined"==typeof ngDevMode||ngDevMode)&&un(e,"More than one custom value accessor matches form control with"),o=t))}),o||(r||(n||(("undefined"==typeof ngDevMode||ngDevMode)&&un(e,"No valid value accessor for form control with"),null)))}function fn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function hn(e,t,n,r){"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(Yt.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}
|
|
1977
|
-
/**
|
|
1978
|
-
* @license
|
|
1979
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1980
|
-
*
|
|
1981
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1982
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1983
|
-
*/function pn(e){return(yn(e)?e.validators:e)||null}function gn(e){return Array.isArray(e)?Pt(e):e||null}function mn(e,t){return(yn(t)?t.asyncValidators:e)||null}function vn(e){return Array.isArray(e)?Tt(e):e||null}function yn(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class _n{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=gn(this._rawValidators),this._composedAsyncValidatorFn=vn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=gn(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=vn(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=Ot(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof wn?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Dn&&r.at(e)||null}),r}(this,e,".")}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new r.EventEmitter,this.statusChanges=new r.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){yn(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}}class bn extends _n{constructor(e=null,t,n){super(pn(t),mn(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){fn(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){fn(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class wn extends _n{constructor(e,t,n){super(pn(t),mn(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof bn?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Dn extends _n{constructor(e,t,n){super(pn(t),mn(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof bn?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}
|
|
1984
|
-
/**
|
|
1985
|
-
* @license
|
|
1986
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1987
|
-
*
|
|
1988
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1989
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1990
|
-
*/const Cn={provide:Lt,useExisting:Object(r.forwardRef)(()=>xn)},En=Promise.resolve(null);class xn extends Lt{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.EventEmitter,this.form=new wn({},Pt(e),Tt(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){En.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),en(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){En.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),fn(this._directives,e)})}addFormGroup(e){En.then(()=>{const t=this._findContainer(e.path),n=new wn({});an(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){En.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){En.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ln(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}xn.decorators=[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]",providers:[Cn],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],xn.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]}],xn.propDecorators={options:[{type:r.Input,args:["ngFormOptions"]}]};
|
|
1991
|
-
/**
|
|
1992
|
-
* @license
|
|
1993
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1994
|
-
*
|
|
1995
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1996
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1997
|
-
*/
|
|
1998
|
-
class Sn extends Lt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}Sn.decorators=[{type:r.Directive}];
|
|
1999
|
-
/**
|
|
2000
|
-
* @license
|
|
2001
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2002
|
-
*
|
|
2003
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2004
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2005
|
-
*/
|
|
2006
|
-
class An{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 ${Wt}\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 ${Jt}`)}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 ${Kt}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${Zt}`)}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 ${Kt}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${Zt}`)}}
|
|
2007
|
-
/**
|
|
2008
|
-
* @license
|
|
2009
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2010
|
-
*
|
|
2011
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2012
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2013
|
-
*/const On={provide:Lt,useExisting:Object(r.forwardRef)(()=>In)};class In extends Sn{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){this._parent instanceof In||this._parent instanceof xn||"undefined"!=typeof ngDevMode&&!ngDevMode||An.modelGroupParentException()}}In.decorators=[{type:r.Directive,args:[{selector:"[ngModelGroup]",providers:[On],exportAs:"ngModelGroup"}]}],In.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]}],In.propDecorators={name:[{type:r.Input,args:["ngModelGroup"]}]};
|
|
2014
|
-
/**
|
|
2015
|
-
* @license
|
|
2016
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2017
|
-
*
|
|
2018
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2019
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2020
|
-
*/
|
|
2021
|
-
const Mn={provide:Bt,useExisting:Object(r.forwardRef)(()=>jn)},kn=Promise.resolve(null);class jn extends Bt{constructor(e,t,n,o){super(),this.control=new bn,this._registered=!1,this.update=new r.EventEmitter,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=dn(this,o)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),cn(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Xt(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){en(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof In)&&this._parent instanceof Sn?An.formGroupNameException():this._parent instanceof In||this._parent instanceof xn||An.modelParentException())}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||"undefined"!=typeof ngDevMode&&!ngDevMode||An.missingNameException()}_updateValue(e){kn.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;kn.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}jn.decorators=[{type:r.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Mn],exportAs:"ngModel"}]}],jn.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Optional},{type:r.Host}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[st]}]}],jn.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"]}]};
|
|
2022
|
-
/**
|
|
2023
|
-
* @license
|
|
2024
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2025
|
-
*
|
|
2026
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2027
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2028
|
-
*/
|
|
2029
|
-
class Pn{}Pn.decorators=[{type:r.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}];
|
|
2030
|
-
/**
|
|
2031
|
-
* @license
|
|
2032
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2033
|
-
*
|
|
2034
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2035
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2036
|
-
*/
|
|
2037
|
-
const Nn={provide:st,useExisting:Object(r.forwardRef)(()=>Tn),multi:!0};class Tn extends it{writeValue(e){const t=null==e?"":e;this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}Tn.decorators=[{type:r.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Nn]}]}];
|
|
2038
|
-
/**
|
|
2039
|
-
* @license
|
|
2040
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2041
|
-
*
|
|
2042
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2043
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2044
|
-
*/
|
|
2045
|
-
const $n={provide:st,useExisting:Object(r.forwardRef)(()=>Rn),multi:!0};class Fn{}Fn.decorators=[{type:r.NgModule}];class Vn{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}Vn.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new Vn},token:Vn,providedIn:Fn}),Vn.decorators=[{type:r.Injectable,args:[{providedIn:Fn}]}];class Rn extends it{constructor(e,t,n,r){super(e,t),this._registry=n,this._injector=r,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Bt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&("undefined"==typeof ngDevMode||ngDevMode)&&function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}(),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Rn.decorators=[{type:r.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[$n]}]}],Rn.ctorParameters=()=>[{type:r.Renderer2},{type:r.ElementRef},{type:Vn},{type:r.Injector}],Rn.propDecorators={name:[{type:r.Input}],formControlName:[{type:r.Input}],value:[{type:r.Input}]};
|
|
2046
|
-
/**
|
|
2047
|
-
* @license
|
|
2048
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2049
|
-
*
|
|
2050
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2051
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2052
|
-
*/
|
|
2053
|
-
const Ln={provide:st,useExisting:Object(r.forwardRef)(()=>Bn),multi:!0};class Bn extends it{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}Bn.decorators=[{type:r.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[Ln]}]}];
|
|
2054
|
-
/**
|
|
2055
|
-
* @license
|
|
2056
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2057
|
-
*
|
|
2058
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2059
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2060
|
-
*/
|
|
2061
|
-
const Un=new r.InjectionToken("NgModelWithFormControlWarning"),Hn={provide:Bt,useExisting:Object(r.forwardRef)(()=>zn)};class zn extends Bt{constructor(e,t,n,o){super(),this._ngModelWarningConfig=o,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=dn(this,n)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&Yt.disabledAttrWarning()}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&tn(t,this,!1),en(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}cn(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&hn("formControl",zn,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&tn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}zn._ngModelWarningSentOnce=!1,zn.decorators=[{type:r.Directive,args:[{selector:"[formControl]",providers:[Hn],exportAs:"ngForm"}]}],zn.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[st]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Un]}]}],zn.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"]}]};
|
|
2062
|
-
/**
|
|
2063
|
-
* @license
|
|
2064
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2065
|
-
*
|
|
2066
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2067
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2068
|
-
*/
|
|
2069
|
-
const qn={provide:Lt,useExisting:Object(r.forwardRef)(()=>Gn)};class Gn extends Lt{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.EventEmitter,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(on(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return en(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){tn(e.control||null,e,!1),fn(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ln(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(tn(t||null,e),n instanceof bn&&(en(n,e),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);an(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){(function(e,t){return on(e,t)})(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){rn(this.form,this),this._oldForm&&on(this._oldForm,this)}_checkFormPresent(){this.form||"undefined"!=typeof ngDevMode&&!ngDevMode||Yt.missingFormException()}}Gn.decorators=[{type:r.Directive,args:[{selector:"[formGroup]",providers:[qn],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Gn.ctorParameters=()=>[{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]}],Gn.propDecorators={form:[{type:r.Input,args:["formGroup"]}],ngSubmit:[{type:r.Output}]};
|
|
2070
|
-
/**
|
|
2071
|
-
* @license
|
|
2072
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2073
|
-
*
|
|
2074
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2075
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2076
|
-
*/
|
|
2077
|
-
const Wn={provide:Lt,useExisting:Object(r.forwardRef)(()=>Kn)};class Kn extends Sn{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}_checkParentType(){Jn(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&Yt.groupParentException()}}Kn.decorators=[{type:r.Directive,args:[{selector:"[formGroupName]",providers:[Wn]}]}],Kn.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]}],Kn.propDecorators={name:[{type:r.Input,args:["formGroupName"]}]};const Qn={provide:Lt,useExisting:Object(r.forwardRef)(()=>Zn)};class Zn extends Lt{constructor(e,t,n){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(n)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Jn(this._parent)&&("undefined"==typeof ngDevMode||ngDevMode)&&Yt.arrayParentException()}}function Jn(e){return!(e instanceof Kn||e instanceof Gn||e instanceof Zn)}
|
|
2078
|
-
/**
|
|
2079
|
-
* @license
|
|
2080
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2081
|
-
*
|
|
2082
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2083
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2084
|
-
*/Zn.decorators=[{type:r.Directive,args:[{selector:"[formArrayName]",providers:[Qn]}]}],Zn.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]}],Zn.propDecorators={name:[{type:r.Input,args:["formArrayName"]}]};const Yn={provide:Bt,useExisting:Object(r.forwardRef)(()=>Xn)};class Xn extends Bt{constructor(e,t,n,o,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.EventEmitter,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=dn(this,o)}set isDisabled(e){("undefined"==typeof ngDevMode||ngDevMode)&&Yt.disabledAttrWarning()}ngOnChanges(e){this._added||this._setUpControl(),cn(e,this.viewModel)&&(("undefined"==typeof ngDevMode||ngDevMode)&&hn("formControlName",Xn,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){("undefined"==typeof ngDevMode||ngDevMode)&&(!(this._parent instanceof Kn)&&this._parent instanceof Sn?Yt.ngModelGroupException():this._parent instanceof Kn||this._parent instanceof Gn||this._parent instanceof Zn||Yt.controlParentException())}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}Xn._ngModelWarningSentOnce=!1,Xn.decorators=[{type:r.Directive,args:[{selector:"[formControlName]",providers:[Yn]}]}],Xn.ctorParameters=()=>[{type:Lt,decorators:[{type:r.Optional},{type:r.Host},{type:r.SkipSelf}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[pt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[gt]}]},{type:Array,decorators:[{type:r.Optional},{type:r.Self},{type:r.Inject,args:[st]}]},{type:String,decorators:[{type:r.Optional},{type:r.Inject,args:[Un]}]}],Xn.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"]}]};
|
|
2085
|
-
/**
|
|
2086
|
-
* @license
|
|
2087
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2088
|
-
*
|
|
2089
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2090
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2091
|
-
*/
|
|
2092
|
-
const er={provide:st,useExisting:Object(r.forwardRef)(()=>nr),multi:!0};function tr(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class nr extends it{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);const n=tr(t,e);this.setProperty("value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}nr.decorators=[{type:r.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[er]}]}],nr.propDecorators={compareWith:[{type:r.Input}]};class rr{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(tr(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}rr.decorators=[{type:r.Directive,args:[{selector:"option"}]}],rr.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:nr,decorators:[{type:r.Optional},{type:r.Host}]}],rr.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]};
|
|
2093
|
-
/**
|
|
2094
|
-
* @license
|
|
2095
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2096
|
-
*
|
|
2097
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2098
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2099
|
-
*/
|
|
2100
|
-
const or={provide:st,useExisting:Object(r.forwardRef)(()=>sr),multi:!0};function ir(e,t){return null==e?""+t:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}class sr extends it{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e&&("undefined"==typeof ngDevMode||ngDevMode))throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),o=this._getOptionValue(r.value);n.push(o)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}sr.decorators=[{type:r.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[or]}]}],sr.propDecorators={compareWith:[{type:r.Input}]};class ar{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(ir(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ir(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}ar.decorators=[{type:r.Directive,args:[{selector:"option"}]}],ar.ctorParameters=()=>[{type:r.ElementRef},{type:r.Renderer2},{type:sr,decorators:[{type:r.Optional},{type:r.Host}]}],ar.propDecorators={ngValue:[{type:r.Input,args:["ngValue"]}],value:[{type:r.Input,args:["value"]}]};
|
|
2101
|
-
/**
|
|
2102
|
-
* @license
|
|
2103
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2104
|
-
*
|
|
2105
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2106
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2107
|
-
*/
|
|
2108
|
-
class ur{constructor(){this._validator=St}handleChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._validator=this.createValidator(t),this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}}ur.decorators=[{type:r.Directive}];const cr={provide:pt,useExisting:Object(r.forwardRef)(()=>lr),multi:!0};class lr extends ur{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>_t(e)}ngOnChanges(e){this.handleChanges(e)}}lr.decorators=[{type:r.Directive,args:[{selector:"input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]",providers:[cr],host:{"[attr.max]":"max ?? null"}}]}],lr.propDecorators={max:[{type:r.Input}]};const dr={provide:pt,useExisting:Object(r.forwardRef)(()=>fr),multi:!0};class fr extends ur{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>parseFloat(e),this.createValidator=e=>yt(e)}ngOnChanges(e){this.handleChanges(e)}}fr.decorators=[{type:r.Directive,args:[{selector:"input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]",providers:[dr],host:{"[attr.min]":"min ?? null"}}]}],fr.propDecorators={min:[{type:r.Input}]};const hr={provide:pt,useExisting:Object(r.forwardRef)(()=>gr),multi:!0},pr={provide:pt,useExisting:Object(r.forwardRef)(()=>mr),multi:!0};class gr{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?bt(e):null}registerOnValidatorChange(e){this._onChange=e}}gr.decorators=[{type:r.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[hr],host:{"[attr.required]":'required ? "" : null'}}]}],gr.propDecorators={required:[{type:r.Input}]};class mr extends gr{validate(e){return this.required?wt(e):null}}mr.decorators=[{type:r.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[pr],host:{"[attr.required]":'required ? "" : null'}}]}];const vr={provide:pt,useExisting:Object(r.forwardRef)(()=>yr),multi:!0};class yr{constructor(){this._enabled=!1}set email(e){this._enabled=""===e||!0===e||"true"===e,this._onChange&&this._onChange()}validate(e){return this._enabled?Dt(e):null}registerOnValidatorChange(e){this._onChange=e}}yr.decorators=[{type:r.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[vr]}]}],yr.propDecorators={email:[{type:r.Input}]};const _r={provide:pt,useExisting:Object(r.forwardRef)(()=>br),multi:!0};class br{constructor(){this._validator=St}ngOnChanges(e){"minlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null==this.minlength?null:this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Ct("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}br.decorators=[{type:r.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[_r],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],br.propDecorators={minlength:[{type:r.Input}]};const wr={provide:pt,useExisting:Object(r.forwardRef)(()=>Dr),multi:!0};class Dr{constructor(){this._validator=St}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=Et("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}Dr.decorators=[{type:r.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[wr],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],Dr.propDecorators={maxlength:[{type:r.Input}]};const Cr={provide:pt,useExisting:Object(r.forwardRef)(()=>Er),multi:!0};class Er{constructor(){this._validator=St}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=xt(this.pattern)}}Er.decorators=[{type:r.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Cr],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],Er.propDecorators={pattern:[{type:r.Input}]};
|
|
2109
|
-
/**
|
|
2110
|
-
* @license
|
|
2111
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2112
|
-
*
|
|
2113
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2114
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2115
|
-
*/
|
|
2116
|
-
const xr=[Pn,rr,ar,dt,Tn,Bn,ut,nr,sr,Rn,qt,Gt,gr,br,Dr,Er,mr,yr,fr,lr],Sr=[jn,In,xn],Ar=[zn,Gn,Xn,Kn,Zn];class Or{}Or.decorators=[{type:r.NgModule,args:[{declarations:xr,imports:[Fn],exports:xr}]}];
|
|
2117
|
-
/**
|
|
2118
|
-
* @license
|
|
2119
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2120
|
-
*
|
|
2121
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2122
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2123
|
-
*/
|
|
2124
|
-
class Ir{}Ir.decorators=[{type:r.NgModule,args:[{declarations:Sr,exports:[Or,Sr]}]}];class Mr{static withConfig(e){return{ngModule:Mr,providers:[{provide:Un,useValue:e.warnOnNgModelWithFormControl}]}}}Mr.decorators=[{type:r.NgModule,args:[{declarations:[Ar],exports:[Or,Ar]}]}];class kr{group(e,t=null){const n=this._reduceControls(e);let r=null,o=null,i=void 0;return null!=t&&(!
|
|
2125
|
-
/**
|
|
2126
|
-
* @license
|
|
2127
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2128
|
-
*
|
|
2129
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2130
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2131
|
-
*/
|
|
2132
|
-
function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null):(r=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0)),new wn(n,{asyncValidators:o,updateOn:i,validators:r})}control(e,t,n){return new bn(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new Dn(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){if(e instanceof bn||e instanceof wn||e instanceof Dn)return e;if(Array.isArray(e)){const t=e[0],n=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,n,r)}return this.control(e)}}kr.ɵprov=Object(r["ɵɵdefineInjectable"])({factory:function(){return new kr},token:kr,providedIn:Mr}),kr.decorators=[{type:r.Injectable,args:[{providedIn:Mr}]}];
|
|
2133
|
-
/**
|
|
2134
|
-
* @license
|
|
2135
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2136
|
-
*
|
|
2137
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2138
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2139
|
-
*/
|
|
2140
|
-
const jr=new r.Version("12.1.4");
|
|
2141
|
-
/**
|
|
2142
|
-
* @license
|
|
2143
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2144
|
-
*
|
|
2145
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2146
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2147
|
-
*/
|
|
2148
|
-
/**
|
|
2149
|
-
* @license
|
|
2150
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2151
|
-
*
|
|
2152
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2153
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2154
|
-
*/
|
|
2155
|
-
/**
|
|
2156
|
-
* @license
|
|
2157
|
-
* Copyright Google LLC All Rights Reserved.
|
|
2158
|
-
*
|
|
2159
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
2160
|
-
* found in the LICENSE file at https://angular.io/license
|
|
2161
|
-
*/},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(55);var o=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(e);return o.add(t.subscribe(r)),o},e}(),i=n(61),s=n(9);function a(){return new s.a}function u(){return function(e){return Object(i.a)()((t=a,function(e){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof n)return e.lift(new o(i,n));var s=Object.create(e,r.b);return s.source=e,s.subjectFactory=i,s})(e));var t,n}}}])}));
|
|
2162
|
-
//# sourceMappingURL=jsonforms-angular.js.map
|