@angular/core 7.1.0 → 7.1.4
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/bundles/core-testing.umd.js +1 -1
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +48 -33
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +106 -98
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +44 -34
- package/esm2015/core.js +1 -2
- package/esm2015/index.js +3 -4
- package/esm2015/public_api.js +3 -5
- package/esm2015/src/application_init.js +6 -6
- package/esm2015/src/application_module.js +6 -5
- package/esm2015/src/application_ref.js +31 -22
- package/esm2015/src/application_tokens.js +21 -16
- package/esm2015/src/change_detection/change_detection.js +8 -7
- package/esm2015/src/change_detection/change_detection_util.js +2 -4
- package/esm2015/src/change_detection/change_detector_ref.js +2 -3
- package/esm2015/src/change_detection/constants.js +30 -32
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +51 -15
- package/esm2015/src/change_detection/differs/default_keyvalue_differ.js +7 -6
- package/esm2015/src/change_detection/differs/iterable_differs.js +100 -90
- package/esm2015/src/change_detection/differs/keyvalue_differs.js +85 -73
- package/esm2015/src/change_detection/pipe_transform.js +10 -5
- package/esm2015/src/change_detection.js +7 -3
- package/esm2015/src/codegen_private_exports.js +2 -3
- package/esm2015/src/console.js +3 -3
- package/esm2015/src/core.js +3 -4
- package/esm2015/src/core_private_export.js +2 -3
- package/esm2015/src/core_render3_private_export.js +7 -4
- package/esm2015/src/debug/debug_node.js +4 -4
- package/esm2015/src/di/defs.js +59 -50
- package/esm2015/src/di/forward_ref.js +5 -6
- package/esm2015/src/di/injectable.js +11 -11
- package/esm2015/src/di/injection_token.js +6 -5
- package/esm2015/src/di/injector.js +55 -48
- package/esm2015/src/di/injector_compatibility.js +27 -20
- package/esm2015/src/di/metadata.js +22 -13
- package/esm2015/src/di/provider.js +137 -120
- package/esm2015/src/di/r3_injector.js +61 -38
- package/esm2015/src/di/reflective_errors.js +19 -13
- package/esm2015/src/di/reflective_injector.js +10 -15
- package/esm2015/src/di/reflective_key.js +3 -4
- package/esm2015/src/di/reflective_provider.js +21 -20
- package/esm2015/src/di/scope.js +5 -5
- package/esm2015/src/di/util.js +13 -14
- package/esm2015/src/di.js +3 -4
- package/esm2015/src/error_handler.js +5 -4
- package/esm2015/src/errors.js +7 -8
- package/esm2015/src/event_emitter.js +3 -3
- package/esm2015/src/i18n/tokens.js +12 -10
- package/esm2015/src/is_dev_mode.js +2 -3
- package/esm2015/src/ivy_switch.js +2 -3
- package/esm2015/src/linker/compiler.js +5 -8
- package/esm2015/src/linker/component_factory.js +2 -3
- package/esm2015/src/linker/component_factory_resolver.js +4 -5
- package/esm2015/src/linker/element_ref.js +5 -3
- package/esm2015/src/linker/ng_module_factory.js +6 -5
- package/esm2015/src/linker/ng_module_factory_loader.js +2 -3
- package/esm2015/src/linker/query_list.js +12 -13
- package/esm2015/src/linker/system_js_ng_module_factory_loader.js +2 -3
- package/esm2015/src/linker/template_ref.js +2 -3
- package/esm2015/src/linker/view_container_ref.js +2 -3
- package/esm2015/src/linker/view_ref.js +13 -7
- package/esm2015/src/linker.js +3 -3
- package/esm2015/src/metadata/di.js +22 -15
- package/esm2015/src/metadata/directives.js +34 -19
- package/esm2015/src/metadata/lifecycle_hooks.js +81 -66
- package/esm2015/src/metadata/ng_module.js +82 -68
- package/esm2015/src/metadata/resource_loading.js +4 -3
- package/esm2015/src/metadata/view.js +25 -26
- package/esm2015/src/metadata.js +6 -3
- package/esm2015/src/platform_core_providers.js +5 -5
- package/esm2015/src/profile/profile.js +17 -13
- package/esm2015/src/profile/wtf_impl.js +36 -16
- package/esm2015/src/r3_symbols.js +18 -5
- package/esm2015/src/reflection/platform_reflection_capabilities.js +81 -40
- package/esm2015/src/reflection/reflection.js +5 -5
- package/esm2015/src/reflection/reflection_capabilities.js +31 -26
- package/esm2015/src/reflection/reflector.js +2 -3
- package/esm2015/src/reflection/types.js +2 -12
- package/esm2015/src/render/api.js +67 -47
- package/esm2015/src/render.js +3 -3
- package/esm2015/src/render3/assert.js +5 -3
- package/esm2015/src/render3/component.js +66 -64
- package/esm2015/src/render3/component_ref.js +24 -21
- package/esm2015/src/render3/context_discovery.js +37 -17
- package/esm2015/src/render3/debug.js +9 -6
- package/esm2015/src/render3/definition.js +28 -28
- package/esm2015/src/render3/di.js +66 -39
- package/esm2015/src/render3/di_setup.js +34 -14
- package/esm2015/src/render3/discovery_utils.js +16 -17
- package/esm2015/src/render3/errors.js +2 -3
- package/esm2015/src/render3/features/inherit_definition_feature.js +12 -8
- package/esm2015/src/render3/features/ng_onchanges_feature.js +5 -6
- package/esm2015/src/render3/features/providers_feature.js +2 -3
- package/esm2015/src/render3/fields.js +5 -5
- package/esm2015/src/render3/global_utils.js +19 -6
- package/esm2015/src/render3/global_utils_api.js +12 -6
- package/esm2015/src/render3/hooks.js +4 -5
- package/esm2015/src/render3/i18n.js +112 -89
- package/esm2015/src/render3/index.js +11 -3
- package/esm2015/src/render3/instructions.js +201 -150
- package/esm2015/src/render3/interfaces/container.js +27 -5
- package/esm2015/src/render3/interfaces/context.js +38 -36
- package/esm2015/src/render3/interfaces/definition.js +234 -261
- package/esm2015/src/render3/interfaces/i18n.js +154 -126
- package/esm2015/src/render3/interfaces/injector.js +93 -10
- package/esm2015/src/render3/interfaces/node.js +369 -373
- package/esm2015/src/render3/interfaces/player.js +78 -37
- package/esm2015/src/render3/interfaces/projection.js +5 -10
- package/esm2015/src/render3/interfaces/query.js +66 -60
- package/esm2015/src/render3/interfaces/renderer.js +288 -117
- package/esm2015/src/render3/interfaces/sanitization.js +2 -6
- package/esm2015/src/render3/interfaces/styling.js +26 -6
- package/esm2015/src/render3/interfaces/view.js +326 -285
- package/esm2015/src/render3/jit/compiler_facade.js +10 -4
- package/esm2015/src/render3/jit/compiler_facade_interface.js +189 -152
- package/esm2015/src/render3/jit/directive.js +6 -6
- package/esm2015/src/render3/jit/environment.js +5 -5
- package/esm2015/src/render3/jit/injectable.js +6 -8
- package/esm2015/src/render3/jit/module.js +17 -13
- package/esm2015/src/render3/jit/pipe.js +2 -3
- package/esm2015/src/render3/jit/util.js +2 -3
- package/esm2015/src/render3/metadata.js +11 -10
- package/esm2015/src/render3/ng_dev_mode.js +5 -6
- package/esm2015/src/render3/ng_module_ref.js +11 -10
- package/esm2015/src/render3/node_assert.js +2 -3
- package/esm2015/src/render3/node_manipulation.js +86 -73
- package/esm2015/src/render3/node_selector_matcher.js +13 -12
- package/esm2015/src/render3/pipe.js +4 -5
- package/esm2015/src/render3/players.js +11 -5
- package/esm2015/src/render3/pure_function.js +29 -3
- package/esm2015/src/render3/query.js +74 -70
- package/esm2015/src/render3/state.js +44 -33
- package/esm2015/src/render3/styling/class_and_style_bindings.js +62 -43
- package/esm2015/src/render3/styling/core_player_handler.js +2 -3
- package/esm2015/src/render3/styling/player_factory.js +3 -4
- package/esm2015/src/render3/styling/util.js +18 -13
- package/esm2015/src/render3/tokens.js +7 -6
- package/esm2015/src/render3/util.js +18 -16
- package/esm2015/src/render3/view_engine_compatibility.js +18 -18
- package/esm2015/src/render3/view_engine_compatibility_prebound.js +2 -3
- package/esm2015/src/render3/view_ref.js +7 -10
- package/esm2015/src/sanitization/bypass.js +29 -6
- package/esm2015/src/sanitization/html_sanitizer.js +41 -15
- package/esm2015/src/sanitization/inert_body.js +14 -12
- package/esm2015/src/sanitization/sanitization.js +7 -7
- package/esm2015/src/sanitization/security.js +3 -4
- package/esm2015/src/sanitization/style_sanitizer.js +10 -7
- package/esm2015/src/sanitization/url_sanitizer.js +9 -7
- package/esm2015/src/testability/testability.js +47 -37
- package/esm2015/src/type.js +6 -8
- package/esm2015/src/util/decorators.js +19 -14
- package/esm2015/src/util/lang.js +2 -3
- package/esm2015/src/util/noop.js +2 -3
- package/esm2015/src/util/property.js +3 -4
- package/esm2015/src/util.js +12 -4
- package/esm2015/src/version.js +6 -6
- package/esm2015/src/view/element.js +17 -17
- package/esm2015/src/view/entrypoint.js +7 -3
- package/esm2015/src/view/errors.js +4 -5
- package/esm2015/src/view/index.js +2 -3
- package/esm2015/src/view/ng_content.js +3 -4
- package/esm2015/src/view/ng_module.js +2 -3
- package/esm2015/src/view/provider.js +89 -24
- package/esm2015/src/view/pure_expression.js +14 -15
- package/esm2015/src/view/query.js +14 -14
- package/esm2015/src/view/refs.js +24 -22
- package/esm2015/src/view/services.js +41 -31
- package/esm2015/src/view/text.js +5 -6
- package/esm2015/src/view/types.js +386 -324
- package/esm2015/src/view/util.js +29 -24
- package/esm2015/src/view/view.js +43 -36
- package/esm2015/src/view/view_attach.js +9 -10
- package/esm2015/src/zone/ng_zone.js +29 -28
- package/esm2015/src/zone.js +3 -3
- package/esm2015/testing/index.js +2 -3
- package/esm2015/testing/public_api.js +4 -4
- package/esm2015/testing/src/async.js +2 -3
- package/esm2015/testing/src/async_fallback.js +8 -7
- package/esm2015/testing/src/async_test_completer.js +2 -3
- package/esm2015/testing/src/before_each.js +10 -4
- package/esm2015/testing/src/component_fixture.js +6 -7
- package/esm2015/testing/src/fake_async.js +9 -3
- package/esm2015/testing/src/fake_async_fallback.js +5 -5
- package/esm2015/testing/src/lang_utils.js +3 -4
- package/esm2015/testing/src/logger.js +2 -3
- package/esm2015/testing/src/metadata_override.js +2 -6
- package/esm2015/testing/src/metadata_overrider.js +5 -7
- package/esm2015/testing/src/ng_zone_mock.js +2 -3
- package/esm2015/testing/src/private_export_testing.js +2 -3
- package/esm2015/testing/src/r3_test_bed.js +34 -27
- package/esm2015/testing/src/resolvers.js +9 -5
- package/esm2015/testing/src/test_bed.js +38 -34
- package/esm2015/testing/src/test_bed_common.js +142 -85
- package/esm2015/testing/src/test_compiler.js +2 -3
- package/esm2015/testing/src/testing.js +3 -3
- package/esm2015/testing/src/testing_internal.js +8 -9
- package/esm2015/testing/testing.js +1 -2
- package/esm5/core.js +1 -2
- package/esm5/index.js +1 -2
- package/esm5/public_api.js +1 -2
- package/esm5/src/application_init.js +1 -2
- package/esm5/src/application_module.js +1 -2
- package/esm5/src/application_ref.js +1 -2
- package/esm5/src/application_tokens.js +1 -2
- package/esm5/src/change_detection/change_detection.js +1 -2
- package/esm5/src/change_detection/change_detection_util.js +1 -2
- package/esm5/src/change_detection/change_detector_ref.js +1 -2
- package/esm5/src/change_detection/constants.js +1 -2
- package/esm5/src/change_detection/differs/default_iterable_differ.js +1 -2
- package/esm5/src/change_detection/differs/default_keyvalue_differ.js +1 -2
- package/esm5/src/change_detection/differs/iterable_differs.js +1 -2
- package/esm5/src/change_detection/differs/keyvalue_differs.js +1 -2
- package/esm5/src/change_detection/pipe_transform.js +1 -2
- package/esm5/src/change_detection.js +1 -2
- package/esm5/src/codegen_private_exports.js +1 -2
- package/esm5/src/console.js +1 -2
- package/esm5/src/core.js +1 -2
- package/esm5/src/core_private_export.js +1 -2
- package/esm5/src/core_render3_private_export.js +1 -2
- package/esm5/src/debug/debug_node.js +1 -2
- package/esm5/src/di/defs.js +1 -2
- package/esm5/src/di/forward_ref.js +1 -2
- package/esm5/src/di/injectable.js +1 -2
- package/esm5/src/di/injection_token.js +1 -2
- package/esm5/src/di/injector.js +7 -8
- package/esm5/src/di/injector_compatibility.js +30 -10
- package/esm5/src/di/metadata.js +1 -2
- package/esm5/src/di/provider.js +1 -2
- package/esm5/src/di/r3_injector.js +5 -6
- package/esm5/src/di/reflective_errors.js +1 -2
- package/esm5/src/di/reflective_injector.js +1 -2
- package/esm5/src/di/reflective_key.js +1 -2
- package/esm5/src/di/reflective_provider.js +1 -2
- package/esm5/src/di/scope.js +1 -2
- package/esm5/src/di/util.js +1 -2
- package/esm5/src/di.js +2 -3
- package/esm5/src/error_handler.js +1 -2
- package/esm5/src/errors.js +1 -2
- package/esm5/src/event_emitter.js +1 -2
- package/esm5/src/i18n/tokens.js +1 -2
- package/esm5/src/is_dev_mode.js +1 -2
- package/esm5/src/ivy_switch.js +1 -2
- package/esm5/src/linker/compiler.js +1 -2
- package/esm5/src/linker/component_factory.js +1 -2
- package/esm5/src/linker/component_factory_resolver.js +1 -2
- package/esm5/src/linker/element_ref.js +1 -2
- package/esm5/src/linker/ng_module_factory.js +1 -2
- package/esm5/src/linker/ng_module_factory_loader.js +1 -2
- package/esm5/src/linker/query_list.js +1 -2
- package/esm5/src/linker/system_js_ng_module_factory_loader.js +1 -2
- package/esm5/src/linker/template_ref.js +1 -2
- package/esm5/src/linker/view_container_ref.js +1 -2
- package/esm5/src/linker/view_ref.js +1 -2
- package/esm5/src/linker.js +1 -2
- package/esm5/src/metadata/di.js +1 -2
- package/esm5/src/metadata/directives.js +1 -2
- package/esm5/src/metadata/lifecycle_hooks.js +1 -2
- package/esm5/src/metadata/ng_module.js +1 -2
- package/esm5/src/metadata/resource_loading.js +1 -2
- package/esm5/src/metadata/view.js +1 -2
- package/esm5/src/metadata.js +1 -2
- package/esm5/src/platform_core_providers.js +1 -2
- package/esm5/src/profile/profile.js +1 -2
- package/esm5/src/profile/wtf_impl.js +1 -2
- package/esm5/src/r3_symbols.js +1 -2
- package/esm5/src/reflection/platform_reflection_capabilities.js +1 -2
- package/esm5/src/reflection/reflection.js +1 -2
- package/esm5/src/reflection/reflection_capabilities.js +1 -2
- package/esm5/src/reflection/reflector.js +1 -2
- package/esm5/src/reflection/types.js +1 -2
- package/esm5/src/render/api.js +1 -2
- package/esm5/src/render.js +1 -2
- package/esm5/src/render3/assert.js +1 -2
- package/esm5/src/render3/component.js +1 -2
- package/esm5/src/render3/component_ref.js +1 -2
- package/esm5/src/render3/context_discovery.js +1 -2
- package/esm5/src/render3/debug.js +1 -2
- package/esm5/src/render3/definition.js +1 -2
- package/esm5/src/render3/di.js +12 -13
- package/esm5/src/render3/di_setup.js +1 -2
- package/esm5/src/render3/discovery_utils.js +1 -2
- package/esm5/src/render3/errors.js +1 -2
- package/esm5/src/render3/features/inherit_definition_feature.js +1 -2
- package/esm5/src/render3/features/ng_onchanges_feature.js +1 -2
- package/esm5/src/render3/features/providers_feature.js +1 -2
- package/esm5/src/render3/fields.js +1 -2
- package/esm5/src/render3/global_utils.js +1 -2
- package/esm5/src/render3/global_utils_api.js +1 -2
- package/esm5/src/render3/hooks.js +1 -2
- package/esm5/src/render3/i18n.js +1 -2
- package/esm5/src/render3/index.js +1 -2
- package/esm5/src/render3/instructions.js +3 -3
- package/esm5/src/render3/interfaces/container.js +1 -2
- package/esm5/src/render3/interfaces/context.js +1 -2
- package/esm5/src/render3/interfaces/definition.js +1 -2
- package/esm5/src/render3/interfaces/i18n.js +1 -2
- package/esm5/src/render3/interfaces/injector.js +1 -2
- package/esm5/src/render3/interfaces/node.js +1 -2
- package/esm5/src/render3/interfaces/player.js +1 -2
- package/esm5/src/render3/interfaces/projection.js +1 -2
- package/esm5/src/render3/interfaces/query.js +1 -2
- package/esm5/src/render3/interfaces/renderer.js +1 -2
- package/esm5/src/render3/interfaces/sanitization.js +1 -2
- package/esm5/src/render3/interfaces/styling.js +1 -2
- package/esm5/src/render3/interfaces/view.js +1 -2
- package/esm5/src/render3/jit/compiler_facade.js +1 -2
- package/esm5/src/render3/jit/compiler_facade_interface.js +1 -2
- package/esm5/src/render3/jit/directive.js +1 -2
- package/esm5/src/render3/jit/environment.js +1 -2
- package/esm5/src/render3/jit/injectable.js +1 -2
- package/esm5/src/render3/jit/module.js +1 -2
- package/esm5/src/render3/jit/pipe.js +1 -2
- package/esm5/src/render3/jit/util.js +1 -2
- package/esm5/src/render3/metadata.js +1 -2
- package/esm5/src/render3/ng_dev_mode.js +1 -2
- package/esm5/src/render3/ng_module_ref.js +1 -2
- package/esm5/src/render3/node_assert.js +1 -2
- package/esm5/src/render3/node_manipulation.js +1 -2
- package/esm5/src/render3/node_selector_matcher.js +1 -2
- package/esm5/src/render3/pipe.js +1 -2
- package/esm5/src/render3/players.js +1 -2
- package/esm5/src/render3/pure_function.js +1 -2
- package/esm5/src/render3/query.js +1 -2
- package/esm5/src/render3/state.js +1 -2
- package/esm5/src/render3/styling/class_and_style_bindings.js +1 -2
- package/esm5/src/render3/styling/core_player_handler.js +1 -2
- package/esm5/src/render3/styling/player_factory.js +1 -2
- package/esm5/src/render3/styling/util.js +1 -2
- package/esm5/src/render3/tokens.js +1 -2
- package/esm5/src/render3/util.js +1 -2
- package/esm5/src/render3/view_engine_compatibility.js +3 -3
- package/esm5/src/render3/view_engine_compatibility_prebound.js +1 -2
- package/esm5/src/render3/view_ref.js +1 -2
- package/esm5/src/sanitization/bypass.js +1 -2
- package/esm5/src/sanitization/html_sanitizer.js +1 -2
- package/esm5/src/sanitization/inert_body.js +1 -2
- package/esm5/src/sanitization/sanitization.js +1 -2
- package/esm5/src/sanitization/security.js +1 -2
- package/esm5/src/sanitization/style_sanitizer.js +1 -2
- package/esm5/src/sanitization/url_sanitizer.js +1 -2
- package/esm5/src/testability/testability.js +1 -2
- package/esm5/src/type.js +1 -2
- package/esm5/src/util/decorators.js +1 -2
- package/esm5/src/util/lang.js +1 -2
- package/esm5/src/util/noop.js +1 -2
- package/esm5/src/util/property.js +1 -2
- package/esm5/src/util.js +1 -2
- package/esm5/src/version.js +2 -3
- package/esm5/src/view/element.js +1 -2
- package/esm5/src/view/entrypoint.js +1 -2
- package/esm5/src/view/errors.js +1 -2
- package/esm5/src/view/index.js +1 -2
- package/esm5/src/view/ng_content.js +1 -2
- package/esm5/src/view/ng_module.js +1 -2
- package/esm5/src/view/provider.js +1 -2
- package/esm5/src/view/pure_expression.js +1 -2
- package/esm5/src/view/query.js +1 -2
- package/esm5/src/view/refs.js +5 -5
- package/esm5/src/view/services.js +1 -2
- package/esm5/src/view/text.js +1 -2
- package/esm5/src/view/types.js +1 -2
- package/esm5/src/view/util.js +1 -2
- package/esm5/src/view/view.js +1 -2
- package/esm5/src/view/view_attach.js +1 -2
- package/esm5/src/zone/ng_zone.js +1 -2
- package/esm5/src/zone.js +1 -2
- package/esm5/testing/index.js +1 -2
- package/esm5/testing/public_api.js +1 -2
- package/esm5/testing/src/async.js +1 -2
- package/esm5/testing/src/async_fallback.js +1 -2
- package/esm5/testing/src/async_test_completer.js +1 -2
- package/esm5/testing/src/before_each.js +1 -2
- package/esm5/testing/src/component_fixture.js +1 -2
- package/esm5/testing/src/fake_async.js +1 -2
- package/esm5/testing/src/fake_async_fallback.js +1 -2
- package/esm5/testing/src/lang_utils.js +1 -2
- package/esm5/testing/src/logger.js +1 -2
- package/esm5/testing/src/metadata_override.js +1 -2
- package/esm5/testing/src/metadata_overrider.js +1 -2
- package/esm5/testing/src/ng_zone_mock.js +1 -2
- package/esm5/testing/src/private_export_testing.js +1 -2
- package/esm5/testing/src/r3_test_bed.js +1 -2
- package/esm5/testing/src/resolvers.js +1 -2
- package/esm5/testing/src/test_bed.js +1 -2
- package/esm5/testing/src/test_bed_common.js +1 -2
- package/esm5/testing/src/test_compiler.js +1 -2
- package/esm5/testing/src/testing.js +1 -2
- package/esm5/testing/src/testing_internal.js +1 -2
- package/esm5/testing/testing.js +1 -2
- package/fesm2015/core.js +2040 -1354
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +123 -89
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +55 -34
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/di/injector_compatibility.d.ts +1 -1
- package/testing.d.ts +5 -0
- package/npm_package.es6/external/ngdeps/node_modules/tslib/tslib.d.ts +0 -33
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.1.
|
|
2
|
+
* @license Angular v7.1.4
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19
19
|
* found in the LICENSE file at https://angular.io/license
|
|
20
|
-
*/var h=d({ngComponentDef:d}),v=d({ngDirectiveDef:d}),
|
|
20
|
+
*/var h=d({ngComponentDef:d}),v=d({ngDirectiveDef:d}),g=d({ngInjectableDef:d}),y=d({ngInjectorDef:d}),m=d({ngPipeDef:d}),_=d({ngModuleDef:d}),w=d({ngBaseDef:d}),b=d({__NG_ELEMENT_ID__:d});
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* Use of this source code is governed by an MIT-style license that can be
|
|
26
26
|
* found in the LICENSE file at https://angular.io/license
|
|
27
27
|
*/
|
|
28
|
-
function C(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function x(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function I(e){return e.hasOwnProperty(
|
|
28
|
+
function C(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function x(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function I(e){return e.hasOwnProperty(g)?e[g]:null}function k(e){return e.hasOwnProperty(y)?e[y]:null}
|
|
29
29
|
/**
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -39,14 +39,14 @@ function C(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void
|
|
|
39
39
|
*
|
|
40
40
|
* Use of this source code is governed by an MIT-style license that can be
|
|
41
41
|
* found in the LICENSE file at https://angular.io/license
|
|
42
|
-
*/function R(e,t,n,r,o){var i=
|
|
42
|
+
*/function R(e,t,n,r,o){var i=D(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return i.call.apply(i,f([this],t)),this;var u=new((e=a).bind.apply(e,f([void 0],t)));return function e(n){return o&&o.apply(void 0,f([n],t)),(n.hasOwnProperty(O)?n[O]:Object.defineProperty(n,O,{value:[]})[O]).push(u),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function D(e){return function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,f(n));for(var i in o)this[i]=o[i]}}}function N(e,t,n){var r=D(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(T)?e[T]:Object.defineProperty(e,T,{value:[]})[T];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function j(e,t,n,r){var o=D(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,f([void 0],t)));return function u(e,n){var o=e.constructor,i=o.hasOwnProperty(P)?o[P]:Object.defineProperty(o,P,{value:{}})[P];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,f([e,n],t))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright Google Inc. All Rights Reserved.
|
|
46
46
|
*
|
|
47
47
|
* Use of this source code is governed by an MIT-style license that can be
|
|
48
48
|
* found in the LICENSE file at https://angular.io/license
|
|
49
|
-
*/var
|
|
49
|
+
*/var A,S,V,M=new E("AnalyzeForEntryComponents"),F=N("Attribute",function(e){return{attributeName:e}}),H=j("ContentChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},V=function V(){}),L=j("ContentChild",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},V),B=j("ViewChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},V),U=j("ViewChild",function(e,t){return i({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},V);(
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -54,7 +54,7 @@ function C(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void
|
|
|
54
54
|
* Use of this source code is governed by an MIT-style license that can be
|
|
55
55
|
* found in the LICENSE file at https://angular.io/license
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
A=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[A.OnPush=0]="OnPush",A[A.Default=1]="Default",(S=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[S.CheckOnce=0]="CheckOnce",S[S.Checked=1]="Checked",S[S.CheckAlways=2]="CheckAlways",S[S.Detached=3]="Detached",S[S.Errored=4]="Errored",S[S.Destroyed=5]="Destroyed";var z,Q=new Set;function Z(e){return e.templateUrl||e.styleUrls&&e.styleUrls.length}function q(e){return"string"==typeof e?e:e.text()}
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -92,7 +92,7 @@ var ne={},re=[],oe=0;function ie(t){var n=t.type,r=n.prototype,o={},i={type:n,pr
|
|
|
92
92
|
*
|
|
93
93
|
* Use of this source code is governed by an MIT-style license that can be
|
|
94
94
|
* found in the LICENSE file at https://angular.io/license
|
|
95
|
-
*/(function(){var e=t.directives,n=t.features,r=t.pipes;i.id+=oe++,i.inputs=le(t.inputs,o),i.outputs=le(t.outputs),n&&n.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(ae)}:null,i.pipeDefs=r?function(){return("function"==typeof r?r():r).map(ue)}:null}),i}function ae(e){return he(e)||ve(e)}function ue(e){return
|
|
95
|
+
*/(function(){var e=t.directives,n=t.features,r=t.pipes;i.id+=oe++,i.inputs=le(t.inputs,o),i.outputs=le(t.outputs),n&&n.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(ae)}:null,i.pipeDefs=r?function(){return("function"==typeof r?r():r).map(ue)}:null}),i}function ae(e){return he(e)||ve(e)}function ue(e){return ge(e)}function se(e){return{type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null}}function le(e,t){if(null==e)return ne;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[i]=r)}return n}function ce(e){var t={};return{inputs:le(e.inputs,t),declaredInputs:t,outputs:le(e.outputs)}}var fe,de=ie;function pe(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function he(e){return e[h]||null}function ve(e){return e[v]||null}function ge(e){return e[m]||null}function ye(e){return e[_]||null}
|
|
96
96
|
/**
|
|
97
97
|
* @license
|
|
98
98
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -114,7 +114,7 @@ function me(){var e=G.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT
|
|
|
114
114
|
*
|
|
115
115
|
* Use of this source code is governed by an MIT-style license that can be
|
|
116
116
|
* found in the LICENSE file at https://angular.io/license
|
|
117
|
-
*/!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute"}(fe||(fe={}));var _e,we=
|
|
117
|
+
*/!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute"}(fe||(fe={}));var _e,we=N("Inject",function(e){return{token:e}}),be=N("Optional"),Ce=N("Self"),xe=N("SkipSelf"),Ie=N("Host");(
|
|
118
118
|
/**
|
|
119
119
|
* @license
|
|
120
120
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -122,6 +122,7 @@ function me(){var e=G.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT
|
|
|
122
122
|
* Use of this source code is governed by an MIT-style license that can be
|
|
123
123
|
* found in the LICENSE file at https://angular.io/license
|
|
124
124
|
*/
|
|
125
|
+
_e=e.InjectFlags||(e.InjectFlags={}))[_e.Default=0]="Default",_e[_e.Host=1]="Host",_e[_e.Self=2]="Self",_e[_e.SkipSelf=4]="SkipSelf",_e[_e.Optional=8]="Optional";var ke,Ee=void 0;function Oe(e){var t=Ee;return Ee=e,t}function Te(e){var t=ke;return ke=e,t}function Pe(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===Ee)throw new Error("inject() must be called from an injection context");return null===Ee?De(t,void 0,n):Ee.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function Re(t,n){return void 0===n&&(n=e.InjectFlags.Default),(ke||Pe)(t,n)}function De(t,n,r){var o=I(t);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(r&e.InjectFlags.Optional)return null;if(void 0!==n)return n;throw new Error("Injector: NOT_FOUND ["+te(t)+"]")}function Ne(t){for(var n=[],r=0;r<t.length;r++){var o=t[r];if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=e.InjectFlags.Default,u=0;u<o.length;u++){var s=o[u];s instanceof be||"Optional"===s.ngMetadataName?a|=e.InjectFlags.Optional:s instanceof xe||"SkipSelf"===s.ngMetadataName?a|=e.InjectFlags.SkipSelf:s instanceof Ce||"Self"===s.ngMetadataName?a|=e.InjectFlags.Self:i=s instanceof we?s.token:s}n.push(Re(i,a))}else n.push(Re(o))}return n}
|
|
125
126
|
/**
|
|
126
127
|
* @license
|
|
127
128
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -129,7 +130,6 @@ function me(){var e=G.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT
|
|
|
129
130
|
* Use of this source code is governed by an MIT-style license that can be
|
|
130
131
|
* found in the LICENSE file at https://angular.io/license
|
|
131
132
|
*/
|
|
132
|
-
var De,Ae=8,je=8,Ve=9,Se=-1,Me=(De=function De(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}).prototype,Fe=17,He=0,Le=1,Be=2,Ue=3,ze=4,Qe=5,Ze=6,qe=7,Ke=8,We=9,Ge=10,Ye=11,$e=12,Je=13,Xe=14,et=15,tt=16;
|
|
133
133
|
/**
|
|
134
134
|
* @license
|
|
135
135
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -137,28 +137,36 @@ var De,Ae=8,je=8,Ve=9,Se=-1,Me=(De=function De(e,t,n){this.factory=e,this.resolv
|
|
|
137
137
|
* Use of this source code is governed by an MIT-style license that can be
|
|
138
138
|
* found in the LICENSE file at https://angular.io/license
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
var je,Ae=8,Se=8,Ve=9,Me=-1,Fe=(je=function je(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}).prototype,He=17,Le=0,Be=1,Ue=2,ze=3,Qe=4,Ze=5,qe=6,Ke=7,We=8,Ge=9,Ye=10,$e=11,Je=12,Xe=13,et=14,tt=15,nt=16;
|
|
141
141
|
/**
|
|
142
142
|
* @license
|
|
143
143
|
* Copyright Google Inc. All Rights Reserved.
|
|
144
144
|
*
|
|
145
145
|
* Use of this source code is governed by an MIT-style license that can be
|
|
146
146
|
* found in the LICENSE file at https://angular.io/license
|
|
147
|
-
*/
|
|
147
|
+
*/
|
|
148
|
+
function rt(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHooks||(r.initHooks=[])).push(e,n),(r.checkHooks||(r.checkHooks=[])).push(e,n))}function ot(e,t){if(t.firstTemplatePass)for(var n=e>>16,r=n+(4095&e),o=n;o<r;o++){var i=t.data[o];it(i,t,o),at(i,t,o),ut(i,t,o)}}function it(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function at(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function ut(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function st(e,t,n){16&e[Be]&&(lt(e,t.initHooks,t.checkHooks,n),e[Be]&=-17)}function lt(e,t,n,r){var o=r?t:n;o&&ct(e,o)}function ct(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
|
|
149
|
+
/**
|
|
150
|
+
* @license
|
|
151
|
+
* Copyright Google Inc. 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
|
+
*/function ft(e,t){var n=ht(e),r=ht(t);return n&&r?function o(e,t,n){for(var r=e[J()](),o=t[J()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,ft):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||ee(e,t)}var dt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),pt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function ht(e){return!!vt(e)&&(Array.isArray(e)||!(e instanceof Map)&&J()in e)}function vt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
148
156
|
/**
|
|
149
157
|
* @license
|
|
150
158
|
* Copyright Google Inc. All Rights Reserved.
|
|
151
159
|
*
|
|
152
160
|
* Use of this source code is governed by an MIT-style license that can be
|
|
153
161
|
* found in the LICENSE file at https://angular.io/license
|
|
154
|
-
*/var
|
|
162
|
+
*/var gt=0,yt=1,mt=6,_t=7,wt="__ngContext__";function bt(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function Ct(e,t){return t[e+He]}function xt(e){for(;Array.isArray(e);)e=e[Ze];return e}function It(e,t){return xt(t[e+He])}function kt(e,t){return xt(t[e.index])}function Et(e,t){return t[Le].data[e+He]}function Ot(e,t){var n=t[e];return n.length>=He?n:n[Ze]}function Tt(e){return 0!=(16384&e.flags)}function Pt(e){return 4096==(4096&e.flags)}function Rt(e){return null!==e.template}function Dt(e){return Array.isArray(e)&&"number"==typeof e[gt]}function Nt(e){return 0!=(64&e[Be])}function jt(e){for(var t=Array.isArray(e)?e:Vt(e);t&&!(64&t[Be]);)t=t[Ue];return t}function At(e){return jt(e)[Ge]}function St(e){return e[wt]}function Vt(e){var t=St(e);return t?Array.isArray(t)?t:t.lViewData:null}function Mt(e){return e!==Me}function Ft(e){return 32767&e}function Ht(e){return e>>16}function Lt(e,t){for(var n=Ht(e),r=t;n>0;)r=r[nt],n--;return r}var Bt,Ut,zt,Qt,Zt,qt,Kt,Wt,Gt,Yt,$t=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(G);function Jt(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}
|
|
155
163
|
/**
|
|
156
164
|
* @license
|
|
157
165
|
* Copyright Google Inc. All Rights Reserved.
|
|
158
166
|
*
|
|
159
167
|
* Use of this source code is governed by an MIT-style license that can be
|
|
160
168
|
* found in the LICENSE file at https://angular.io/license
|
|
161
|
-
*/function
|
|
169
|
+
*/function Xt(){return Bt}function en(){return Ut}function tn(){return Yt&&Yt[Je]}function nn(){Qt=!0}function rn(){Qt=!1}function on(){return Yt}function an(){return Yt}function un(e){mn=e}function sn(){return Zt}function ln(e){Zt=e}function cn(e,t){Zt=e,Yt=t}function fn(){return qt}function dn(e){qt=e}function pn(){return Kt}function hn(){return Wt}function vn(e){Wt=e}function gn(){return Gt}function yn(){return Yt}var mn=null;function _n(e){return e[We]||(e[We]=[])}function wn(e){return e[Le].cleanup||(e[Le].cleanup=[])}var bn=!1;function Cn(){return bn}function xn(e){bn=e}var In=!0;function kn(){return In}function En(e){In=e}var On=-1;function Tn(){return On}function Pn(e){On=e}function Rn(e,t){var n=Yt;return Kt=e&&e[Le],Gt=e&&1==(1&e[Be]),In=e&&Kt.firstTemplatePass,On=e&&Kt.bindingStartIndex,Bt=e&&e[$e],Zt=t,qt=!0,Yt=mn=e,n&&(n[Qe]=Wt),Wt=e&&e[Qe],n}function Dn(e){return void 0===e&&(e=1),(mn=function t(e,n){for(;e>0;)n=n[nt],e--;return n}(e,mn))[Ge]}function Nn(e,t){t||(bn||lt(Yt,Kt.viewHooks,Kt.viewCheckHooks,Gt),Yt[Be]&=-6),Yt[Be]|=16,Yt[Ke]=Kt.bindingStartIndex,Rn(e,null)}
|
|
162
170
|
/**
|
|
163
171
|
* @license
|
|
164
172
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -166,49 +174,49 @@ function nt(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHoo
|
|
|
166
174
|
* Use of this source code is governed by an MIT-style license that can be
|
|
167
175
|
* found in the LICENSE file at https://angular.io/license
|
|
168
176
|
*/
|
|
169
|
-
var
|
|
177
|
+
var jn=!1;function An(e){var t=jn;return jn=e,t}var Sn=255,Vn=0;function Mn(e,t){var n=Hn(e,t);if(-1!==n)return n;var r=t[Le];r.firstTemplatePass&&(e.injectorIndex=t.length,Fn(r.data,e),Fn(t,null),Fn(r.blueprint,null));var o=Ln(e,t),i=Ft(o),a=Lt(o,t),u=e.injectorIndex;if(Mt(o))for(var s=a[Le].data,l=0;l<8;l++)t[u+l]=a[i+l]|s[i+l];return t[u+Se]=o,u}function Fn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Se]?-1:e.injectorIndex}function Ln(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[qe],r=1;n&&-1===n.injectorIndex;)n=(t=t[nt])[qe],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}function Bn(e,t,n){!function r(e,t,n){var r=n[b];null==r&&(r=n[b]=Vn++);var o=r&Sn,i=1<<o,a=64&o,u=32&o,s=t.data;128&o?a?u?s[e+7]|=i:s[e+6]|=i:u?s[e+5]|=i:s[e+4]|=i:a?u?s[e+3]|=i:s[e+2]|=i:u?s[e+1]|=i:s[e]|=i}(e,t[Le],n)}function Un(e,t){var n=e.attrs;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(1===o)break;if(o==t)return n[r+1]}}function zn(t,n,r,o,i){void 0===o&&(o=e.InjectFlags.Default);var a=function u(e){var t=e[b];return"number"==typeof t?t&Sn:t}(r);if("function"==typeof a){var s=sn(),l=yn();cn(t,n);try{var c=a();if(null!=c||o&e.InjectFlags.Optional)return c;throw new Error("No provider for "+bt(r))}finally{cn(s,l)}}else if("number"==typeof a){var f=null,d=Hn(t,n),p=Me;for((-1===d||o&e.InjectFlags.SkipSelf)&&(Wn(o,p=-1===d?Ln(t,n):n[d+Se])?(f=n[Le],d=Ft(p),n=Lt(p,n)):d=-1);-1!==d;){p=n[d+Se];var h=n[Le];if(Kn(a,d,h.data)){var v=Zn(d,n,r,f);if(v!==Qn)return v}Wn(o,p)&&Kn(a,d,n)?(f=h,d=Ft(p),n=Lt(p,n)):d=-1}}if(o&e.InjectFlags.Optional&&void 0===i&&(i=null),0==(o&(e.InjectFlags.Self|e.InjectFlags.Host))){var g=n[Ye];return g?g.get(r,i,o&e.InjectFlags.Optional):De(r,i,o&e.InjectFlags.Optional)}if(o&e.InjectFlags.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+bt(r)+"]")}var Qn={};function Zn(e,t,n,r){var o=t[Le],i=o.data[e+Ae],a=i.flags,u=i.providerIndexes,s=o.data,l=!1;(null==r&&Pt(i)&&jn||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(l=!0);for(var c=65535&u,f=a>>16,d=4095&a,p=l?c:c+(u>>16);p<f+d;p++){var h=s[p];if(p<f&&n===h||p>=f&&h.type===n)return qn(s,t,p,i)}return Qn}function qn(e,t,n,r){var o=t[n];if(function i(e){return null!=e&&"object"==typeof e&&Object.getPrototypeOf(e)==Fe}
|
|
170
178
|
/**
|
|
171
179
|
* @license
|
|
172
180
|
* Copyright Google Inc. All Rights Reserved.
|
|
173
181
|
*
|
|
174
182
|
* Use of this source code is governed by an MIT-style license that can be
|
|
175
183
|
* found in the LICENSE file at https://angular.io/license
|
|
176
|
-
*/(o)){var a=o;if(a.resolving)throw new Error("Circular dep for "+
|
|
184
|
+
*/(o)){var a=o;if(a.resolving)throw new Error("Circular dep for "+bt(e[n]));var u=An(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=Te(a.injectImpl));var l=sn(),c=yn();cn(r,t);try{o=t[n]=a.factory(null,e,t,r)}finally{a.injectImpl&&Te(s),An(u),a.resolving=!1,cn(l,c)}}return o}function Kn(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function Wn(t,n){return!(t&e.InjectFlags.Self||t&e.InjectFlags.Host&&32768&n)}var Gn=function(){function e(e,t){this._tNode=e,this._hostView=t,this._injectorIndex=Mn(e,t)}return e.prototype.get=function(e){return cn(this._tNode,this._hostView),zn(this._tNode,this._hostView,e)},e}();function Yn(e){var t=e,n=he(t)||ve(t)||ge(t)||I(t)||k(t);return n&&void 0!==n.factory?n.factory:null}function $n(e){var t=Yn(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}
|
|
177
185
|
/**
|
|
178
186
|
* @license
|
|
179
187
|
* Copyright Google Inc. All Rights Reserved.
|
|
180
188
|
*
|
|
181
189
|
* Use of this source code is governed by an MIT-style license that can be
|
|
182
190
|
* found in the LICENSE file at https://angular.io/license
|
|
183
|
-
*/function
|
|
191
|
+
*/function Jn(e){var t=St(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,o=void 0,i=void 0;if(function a(e){return e&&e.constructor&&e.constructor.ngComponentDef}(e)){if(-1==(r=or(n,e)))throw new Error("The provided component was not found in the application");o=e}else if(function u(e){return e&&e.constructor&&e.constructor.ngDirectiveDef}(e)){if(-1==(r=function s(e,t){for(var n=e[Le].firstChild;n;){for(var r=ar(n),o=ur(n,r),i=r;i<o;i++)if(e[i]===t)return n.index;n=rr(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");i=ir(r,n,!1)}else if(-1==(r=nr(n,e)))return null;var l=St(g=xt(n[r])),c=l&&!Array.isArray(l)?l:Xn(n,r,g);if(o&&void 0===c.component&&(c.component=o,tr(c.component,c)),i&&void 0===c.directives){c.directives=i;for(var f=0;f<i.length;f++)tr(i[f],c)}tr(c.native,c),t=c}}else for(var d=e,p=d;p=p.parentNode;){var h=St(p);if(h){if(n=void 0,!(n=Array.isArray(h)?h:h.lViewData))return null;var v=nr(n,d);if(v>=0){var g;tr(g=xt(n[v]),c=Xn(n,v,g)),t=c;break}}}return t||null}function Xn(e,t,n){return{lViewData:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function er(e){var t,n=St(e);if(Array.isArray(n)){var r=or(n,e);(o=Xn(n,r,(t=Ot(r,n))[Ze])).component=e,tr(e,o),tr(o.native,o)}else{var o;t=Ot((o=n).nodeIndex,o.lViewData)}return t}function tr(e,t){e[wt]=t}function nr(e,t){for(var n=e[Le].firstChild;n;){if(kt(n,e)===t)return n.index;n=rr(n)}return-1}function rr(e){return e.child?e.child:e.next?e.next:e.parent&&e.parent.next||null}function or(e,t){var n=e[Le].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Ot(o,e)[Ge]===t)return o}else if(Ot(He,e)[Ge]===t)return He;return-1}function ir(e,t,n){var r=t[Le].data[e],o=ar(r);if(0==o)return re;var i=ur(r,o);return!n&&4096&r.flags&&o++,t.slice(o,i)}function ar(e){return e.flags>>16}function ur(e,t){var n=4095&e.flags;return n?t+n:-1}
|
|
184
192
|
/**
|
|
185
193
|
* @license
|
|
186
194
|
* Copyright Google Inc. All Rights Reserved.
|
|
187
195
|
*
|
|
188
196
|
* Use of this source code is governed by an MIT-style license that can be
|
|
189
197
|
* found in the LICENSE file at https://angular.io/license
|
|
190
|
-
*/function
|
|
198
|
+
*/function sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}
|
|
191
199
|
/**
|
|
192
200
|
* @license
|
|
193
201
|
* Copyright Google Inc. All Rights Reserved.
|
|
194
202
|
*
|
|
195
203
|
* Use of this source code is governed by an MIT-style license that can be
|
|
196
204
|
* found in the LICENSE file at https://angular.io/license
|
|
197
|
-
*/var
|
|
205
|
+
*/var lr=d({__forward_ref__:d});function cr(e){return e.__forward_ref__=cr,e.toString=function(){return te(this())},e}function fr(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(lr)&&t.__forward_ref__===cr?t():e}
|
|
198
206
|
/**
|
|
199
207
|
* @license
|
|
200
208
|
* Copyright Google Inc. All Rights Reserved.
|
|
201
209
|
*
|
|
202
210
|
* Use of this source code is governed by an MIT-style license that can be
|
|
203
211
|
* found in the LICENSE file at https://angular.io/license
|
|
204
|
-
*/var
|
|
212
|
+
*/var dr="__source",pr=new Object,hr=pr,vr=new E("INJECTOR"),gr=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=pr),t===pr)throw new Error("NullInjectorError: No provider for "+te(e)+"!");return t},e}(),yr=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Or(e,t):new Or(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=pr,e.NULL=new gr,e.ngInjectableDef=C({providedIn:"any",factory:function(){return Re(vr)}}),e.__NG_ELEMENT_ID__=function(){return mr()},e}(),mr=sr,_r=function(e){return e},wr=[],br=_r,Cr=function(){return Array.prototype.slice.call(arguments)},xr=d({provide:String,useValue:d}),Ir=yr.NULL,kr=/\n/gm,Er="ɵ",Or=function(){function t(e,t,n){void 0===t&&(t=Ir),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(yr,{token:yr,fn:_r,deps:wr,value:this,useNew:!1}),r.set(vr,{token:vr,fn:_r,deps:wr,value:this,useNew:!1}),function e(t,n){if(n)if((n=fr(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Rr("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Rr("Unexpected provider",n);var o=fr(n.provide),i=function a(e){var t=function n(e){var t=wr,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=fr(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof be||u==be?o|=1:u instanceof xe||u==xe?o&=-3:u instanceof Ce||u==Ce?o&=-5:s=u instanceof we?u.token:fr(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=fr(e.useExisting),options:6}]}else if(!(n||xr in e))throw Rr("'deps' required",e);return t}(e),r=_r,o=wr,i=!1,a=fr(e.provide);if(xr in e)o=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,r=fr(e.useClass);else{if("function"!=typeof a)throw Rr("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,r=a}return{deps:t,fn:r,useNew:i,value:o}}(n);if(!0===n.multi){var u=t.get(o);if(u){if(u.fn!==Cr)throw Tr(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:Cr,value:wr});u.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==Cr)throw Tr(o);t.set(o,i)}}(r,e)}return t.prototype.get=function(t,n,r){void 0===r&&(r=e.InjectFlags.Default);var o=this._records.get(t);try{return function t(n,r,o,i,a,u){try{return function s(n,r,o,i,a,u){var s,l;if(!r||u&e.InjectFlags.SkipSelf)u&e.InjectFlags.Self||(l=i.get(n,a,e.InjectFlags.Default));else{if((l=r.value)==br)throw Error(Er+"Circular dependency");if(l===wr){r.value=br;var c=r.useNew,d=r.fn,p=r.deps,h=wr;if(p.length){h=[];for(var v=0;v<p.length;v++){var g=p[v],y=g.options,m=2&y?o.get(g.token):void 0;h.push(t(g.token,m,o,m||4&y?i:Ir,1&y?null:yr.THROW_IF_NOT_FOUND,e.InjectFlags.Default))}}r.value=l=c?new((s=d).bind.apply(s,f([void 0],h))):d.apply(void 0,h)}}return l}(n,r,o,i,a,u)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(n),r&&r.value==br&&(r.value=wr),e}}(t,o,this._records,this.parent,n,r)}catch(e){var i=e.ngTempTokenPath;throw t[dr]&&i.unshift(t[dr]),e.message=Pr("\n"+e.message,i,this.source),e.ngTokenPath=i,e.ngTempTokenPath=null,e}},t.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(te(n))}),"StaticInjector["+e.join(", ")+"]"},t}();function Tr(e){return Rr("Cannot mix multi providers and regular providers",e)}function Pr(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Er?e.substr(2):e;var r=te(t);if(t instanceof Array)r=t.map(te).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):te(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(kr,"\n ")}function Rr(e,t){return new Error(Pr(e,t))}
|
|
205
213
|
/**
|
|
206
214
|
* @license
|
|
207
215
|
* Copyright Google Inc. All Rights Reserved.
|
|
208
216
|
*
|
|
209
217
|
* Use of this source code is governed by an MIT-style license that can be
|
|
210
218
|
* found in the LICENSE file at https://angular.io/license
|
|
211
|
-
*/var
|
|
219
|
+
*/var Dr=function Dr(){},Nr=function Nr(){};function jr(e){throw new Error("Multiple components match node with tagname "+e.tagName)}
|
|
212
220
|
/**
|
|
213
221
|
* @license
|
|
214
222
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -216,14 +224,14 @@ var Dn=!1;function An(e){var t=Dn;return Dn=e,t}var jn=255,Vn=0;function Sn(e,t)
|
|
|
216
224
|
* Use of this source code is governed by an MIT-style license that can be
|
|
217
225
|
* found in the LICENSE file at https://angular.io/license
|
|
218
226
|
*/
|
|
219
|
-
var Ar,
|
|
227
|
+
var Ar,Sr="ngProjectAs";
|
|
220
228
|
/**
|
|
221
229
|
* @license
|
|
222
230
|
* Copyright Google Inc. All Rights Reserved.
|
|
223
231
|
*
|
|
224
232
|
* Use of this source code is governed by an MIT-style license that can be
|
|
225
233
|
* found in the LICENSE file at https://angular.io/license
|
|
226
|
-
*/function Vr(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Ar||(Ar={}));var
|
|
234
|
+
*/function Vr(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Ar||(Ar={}));var Mr={createRenderer:function(e,t){return document}};
|
|
227
235
|
/**
|
|
228
236
|
* @license
|
|
229
237
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -237,21 +245,21 @@ var Ar,jr="ngProjectAs";
|
|
|
237
245
|
*
|
|
238
246
|
* Use of this source code is governed by an MIT-style license that can be
|
|
239
247
|
* found in the LICENSE file at https://angular.io/license
|
|
240
|
-
*/function
|
|
248
|
+
*/function Fr(e,t){return null==e.parent?function n(e){var t=e[qe];return t&&2!==t.type?kt(t,e[Ue]):null}(t):kt(Hr(e),t)}function Hr(e){for(var t=e.parent;t&&5===t.type;)t=t.parent;return t}function Lr(e,t){if(-1===e.index){var n=t[et];return n>-1?t[Ue][n]:null}return t[Ue][e.parent.index]}function Br(e,t){var n=Lr(e,t);return n?n[_t]:null}var Ur=[];function zr(e,t,n,r,o){for(var i=e[Le].node,a=-1,u=e,s=i.child;s;){var l=null;if(3===s.type){Zr(t,n,r,kt(s,u),o);var c=u[s.index];Dt(c)&&Zr(t,n,r,c[mt],o)}else if(0===s.type){var f=u[s.index];Zr(t,n,r,f[mt],o),r&&(f[_t]=r),f[yt].length&&(l=(u=f[yt][0])[Le].node,o=f[mt])}else if(1===s.type){var d=Qr(u),p=d[qe].projection[s.projection];Ur[++a]=s,Ur[++a]=u,p&&(l=(u=d[Ue])[Le].data[p.index])}else l=s.child;if(null===l)for(null===s.next&&8192&s.flags&&(u=Ur[a--],s=Ur[a--]),l=s.next;!l;){if(null===(s=s.parent||u[Le].node)||s===i)return null;0===s.type&&(o=(u=u[Ue])[s.index][mt]),l=2===s.type&&u[ze]?(u=u[ze])[Le].node:s.next}s=l}}function Qr(e){for(var t=e[qe];t&&2===t.type;)t=(e=e[Ue])[qe];return e}function Zr(e,t,n,r,o){0===e?Vr(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?Vr(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function qr(e,t){return Vr(t)?t.createText(bt(e)):t.createTextNode(bt(e))}function Kr(e,t,n){var r=Br(e[Le].node,e);r&&zr(e,t?0:1,e[$e],r,n)}function Wr(e,t,n,r,o){var i=t[yt];r>0&&(i[r-1][ze]=e),r<i.length?(e[ze]=i[r],i.splice(r,0,e)):(i.push(e),e[ze]=null),o>-1&&(e[et]=o,e[Ue]=n),e[Qe]&&e[Qe].insertView(r),e[Be]|=8}function Gr(e,t,n){var r=e[yt],o=r[t];t>0&&(r[t-1][ze]=o[ze]),r.splice(t,1),n||Kr(o,!1),o[Qe]&&o[Qe].removeView(),o[et]=-1,o[Ue]=null,o[Be]&=-9}function Yr(e,t,n){var r=e[yt][n];Gr(e,n,!!t.detached),Jr(r)}function $r(e){var t=e[Le].childIndex;return-1===t?null:e[t]}function Jr(e){var t=e[$e];Vr(t)&&t.destroyNode&&zr(e,2,t,null),function n(e){if(-1===e[Le].childIndex)return eo(e);for(var t=$r(e);t;){var n=null;if(t.length>=He?t[Le].childIndex>-1&&(n=$r(t)):t[yt].length&&(n=t[yt][0]),null==n){for(;t&&!t[ze]&&t!==e;)eo(t),t=Xr(t,e);eo(t||e),n=t&&t[ze]}t=n}}(e),e[Be]|=32}function Xr(e,t){var n;return e.length>=He&&(n=e[qe])&&2===n.type?Lr(n,e):e[Ue]===t?null:e[Ue]}function eo(e){if(e.length>=He){var t=e;!function n(e){var t=e[Le].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(xt(e[t[n+1]]).removeEventListener(t[n],e[We][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[We][t[n]])():t[n].call(e[We][t[n+1]]);e[We]=null}}(t),function r(e){var t,n=e[Le];null!=n&&null!=(t=n.destroyHooks)&&ct(e,t)}(t),function o(e){var t=e[Le]&&e[Le].pipeDestroyHooks;t&&ct(e,t)}(t),-1===t[Le].id&&Vr(t[$e])&&t[$e].destroy()}}function to(e,t){if(no(e,t)){if(Nt(t))return oo(t[$e],kt(e,t));var n=t[qe],r=e.parent;return null!=r&&4===r.type&&(e=ao(r)),null==e.parent&&2===n.type?Br(n,t):Fr(e,t)}return null}function no(e,t){var n=e,r=e.parent;return e.parent&&(4===e.parent.type?r=(n=ao(e)).parent:5===e.parent.type&&(r=(n=Hr(n)).parent)),null===r&&(r=t[qe]),r&&2===r.type?function o(e,t){var n=Lr(e,t);return null!=n&&null!=n[_t]}(r,t):function i(e){return null==e.parent||!(3!==e.parent.type||4096&e.parent.flags)}(n)}function ro(e,t,n,r){Vr(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function oo(e,t){return Vr(e)?e.parentNode(t):t.parentNode}function io(e,t,n){if(void 0===e&&(e=null),null!==e&&no(t,n)){var r=n[$e],o=Fr(t,n),i=t.parent||n[qe];if(2===i.type){var a=Lr(i,n),u=a[yt],s=u.indexOf(n);ro(r,a[_t],e,uo(s,u,a[mt]))}else 4===i.type?ro(r,to(t,n),e,o):5===i.type?ro(r,o,e,kt(t.parent,n)):Vr(r)?r.appendChild(o,e):o.appendChild(e);return!0}return!1}function ao(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function uo(e,t,n){if(e+1<t.length){var r=t[e+1],o=r[qe];return o.child?kt(o.child,r):n}return n}function so(e,t,n){if(null!==t&&no(e,n)){var r=Fr(e,n),o=n[$e];return Vr(o)?o.removeChild(r,t):r.removeChild(t),!0}return!1}function lo(e,t,n,r){var o=kt(e,r);io(o,t,n),tr(o,r);var i=to(t,n),a=r[e.index];if(0===e.type){a[_t]=i;for(var u=a[yt],s=0;s<u.length;s++)Kr(u[s],!0,a[mt])}else{if(4===e.type)for(var l=e.child;l;)lo(l,t,n,r),l=l.next;Dt(a)&&(a[_t]=i,io(a[mt],t,n))}}
|
|
241
249
|
/**
|
|
242
250
|
* @license
|
|
243
251
|
* Copyright Google Inc. All Rights Reserved.
|
|
244
252
|
*
|
|
245
253
|
* Use of this source code is governed by an MIT-style license that can be
|
|
246
254
|
* found in the LICENSE file at https://angular.io/license
|
|
247
|
-
*/function
|
|
255
|
+
*/function co(e,t){for(var n,r,o,i,a,u=4,s=e.attrs,l=s?s.indexOf(1):-1,c=!1,f=0;f<t.length;f++){var d=t[f];if("number"!=typeof d){if(!c)if(4&u){if(u=2|1&u,""!==d&&d!==e.tagName){if(fo(u))return!1;c=!0}}else{var p=po(8&u?"class":d,s);if(-1===p){if(fo(u))return!1;c=!0;continue}var h,v=8&u?d:t[++f];if(""!==v)if(h=l>-1&&p>l?"":s[p+1],8&u&&(o=(n=h).length,a=(i=n.indexOf(r=v))+r.length,-1===i||i>0&&" "!==n[i-1]||a<o&&" "!==n[a])||2&u&&v!==h){if(fo(u))return!1;c=!0}}}else{if(!c&&!fo(u)&&!fo(d))return!1;if(c&&fo(d))continue;c=!1,u=d|1&u}}return fo(u)||c}function fo(e){return 0==(1&e)}function po(e,t){if(null===t)return-1;for(var n=!1,r=0;r<t.length;){var o=t[r];if(o===e)return r;0===o?r+=4:(1===o&&(n=!0),r+=n?1:2)}return-1}function ho(e,t){for(var n=0;n<t.length;n++)if(co(e,t[n]))return!0;return!1}function vo(e,t,n){for(var r=function o(e){var t=e.attrs;if(null!=t){var n=t.indexOf(Sr);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++)if(r===n[i]||null===r&&ho(e,t[i]))return i+1;return 0}
|
|
248
256
|
/**
|
|
249
257
|
* @license
|
|
250
258
|
* Copyright Google Inc. All Rights Reserved.
|
|
251
259
|
*
|
|
252
260
|
* Use of this source code is governed by an MIT-style license that can be
|
|
253
261
|
* found in the LICENSE file at https://angular.io/license
|
|
254
|
-
*/var
|
|
262
|
+
*/var go={},yo=function yo(e,t){this.fn=e,this.value=t},mo=function(){function e(){this._players=[]}return e.prototype.flushPlayers=function(){for(var e=0;e<this._players.length;e++){var t=this._players[e];t.parent||0!==t.state||t.play()}this._players.length=0},e.prototype.queuePlayer=function(e){this._players.push(e)},e}();
|
|
255
263
|
/**
|
|
256
264
|
* @license
|
|
257
265
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -259,14 +267,14 @@ var Ar,jr="ngProjectAs";
|
|
|
259
267
|
* Use of this source code is governed by an MIT-style license that can be
|
|
260
268
|
* found in the LICENSE file at https://angular.io/license
|
|
261
269
|
*/
|
|
262
|
-
function
|
|
270
|
+
function _o(e,t,n){return[null,t||null,n||[null],0,0,e||null,null,null]}function wo(e,t){for(var n=e+He,r=t[n],o=t;Array.isArray(r);)o=r,r=r[Ze];if(function i(e){return"number"!=typeof e[Be]&&"number"!=typeof e[gt]}(o))return o;var a=Et(e,t).stylingTemplate;return o!==t&&(n=Ze),o[n]=a?function u(e,t){var n=t.slice();return n[5]=e,n}(r,a):_o(r)}function bo(e,t,n,r,o,i){return i=i||n,o?e[o]=r:e.push(r),!!r&&(r.addEventListener(200,function(){var t=e.indexOf(r);t&&(t<e[0]?e[t]=null:e.splice(t,1)),r.destroy()}),(t.playerHandler||(t.playerHandler=new mo)).queuePlayer(r,i),!0)}function Co(e){return e[0]}function xo(e){return e[0]=[5,null,null,null,null]}var Io=[],ko={};function Eo(e,t,n){var r=8+4*t,o=Wo(e,r),i=Ko(e,r);if(oi(i,o,n instanceof yo?n.value:n)){var a=2==(2&i),u=n instanceof yo?new ii(n,e[5],a?1:2):null,s=u?n.value:n,l=Qo(e,r),c=!1;if(Bo(e,u,l)){var f=Uo(e,u,l);zo(e,r,u?f:0),c=!0}Lo(e,r,s);var d=Vo(i),p=Wo(e,d);if(!p||oi(i,p,s)){var h=!1,v=!0;!ni(s,a)&&ni(p,a)&&(h=!0,v=!1),Po(e,d,h),Po(e,r,v),$o(e,!0)}c&&Jo(e,!0)}}function Oo(e,t,n,r,o,i,a){n=o&&n?o(t,n):n,i||a?(i&&i.setValue(t,n),a&&a.setValue(t,n)):n?Vr(r)?r.setStyle(e,t,n,Ar.DashCase):e.style.setProperty(t,n):Vr(r)?r.removeStyle(e,t,Ar.DashCase):e.style.removeProperty(t)}function To(e,t,n,r,o,i){o||i?(o&&o.setValue(t,n),i&&i.setValue(t,n)):n?Vr(r)?r.addClass(e,t):e.classList.add(t):Vr(r)?r.removeClass(e,t):e.classList.remove(t)}function Po(e,t,n){var r=t>=8?t+0:t;n?e[r]|=1:e[r]&=-2}function Ro(e,t){return 1==(1&e[t>=8?t+0:t])}function Do(e,t){return 2==(2&e[t>=8?t+0:t])}function No(e,t){return 4==(4&e[t>=8?t+0:t])}function jo(e,t,n){return 31&e|t<<5|n<<19}function Ao(e,t){var n=So(t);return e[2][n]}function So(e){return e>>5&16383}function Vo(e){var t=e>>19&16383;return t>=8?t:-1}function Mo(e){return Vo(e[3])}function Fo(e){return e[1]}function Ho(e,t,n){e[t+1]=n}function Lo(e,t,n){e[t+2]=n}function Bo(e,t,n){var r=e[0];if(t){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==t}function Uo(e,t,n){var r=e[0]||xo(e);return n>0?r[n]=t:(r.splice(n=r[0],0,t,null),r[0]+=2),n}function zo(e,t,n){e[t+3]=n}function Qo(e,t){return e[t+3]||0}function Zo(e,t){var n=Qo(e,t);if(n){var r=e[0];if(r)return r[n]}return null}function qo(e,t,n){e[3===t?t:t+0]=n}function Ko(e,t){return e[3===t?t:t+0]}function Wo(e,t){return e[t+2]}function Go(e,t){return e[t+1]}function Yo(e){return 16&e[3]}function $o(e,t){Po(e,3,t)}function Jo(e,t){t?e[3]|=8:e[3]&=-9}function Xo(e,t,n){for(var r=(n||0)+1;r<e.length;r+=4)if(e[r]==t)return r-1;return-1}function ei(e,t,n){var r=Wo(e,t),o=Go(e,t),i=Ko(e,t),a=Qo(e,t),u=i,s=Ko(e,n),l=Vo(u);l>=0&&qo(e,l,jo(c=Ko(e,l),So(c),n));var c,f=Vo(s);f>=0&&qo(e,f,jo(c=Ko(e,f),So(c),t)),Lo(e,t,Wo(e,n)),Ho(e,t,Go(e,n)),qo(e,t,Ko(e,n)),zo(e,t,Qo(e,n)),Lo(e,n,r),Ho(e,n,o),qo(e,n,i),zo(e,n,a)}function ti(e,t,n,r,o,i,a){var u=t<e.length;e.splice(t,0,1|o|(n?2:0),r,i,a),u&&function s(e,t){for(var n=t;n<e.length;n+=4){var r=Vo(Ko(e,n));if(r>0){var o=So(Ko(e,r));qo(e,r,jo((Ro(e,r)?1:0)|(Do(e,r)?2:0)|(No(e,r)?4:0),o,n))}}}(e,t+4)}function ni(e,t){return t?!!e:null!==e}function ri(e,t,n){return t?2:n&&n(e)?4:0}function oi(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var ii=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}(),ai=Promise.resolve(null);
|
|
263
271
|
/**
|
|
264
272
|
* @license
|
|
265
273
|
* Copyright Google Inc. All Rights Reserved.
|
|
266
274
|
*
|
|
267
275
|
* Use of this source code is governed by an MIT-style license that can be
|
|
268
276
|
* found in the LICENSE file at https://angular.io/license
|
|
269
|
-
*/function ai(e,t){var n=dn(),r=In();if(n.firstTemplatePass=!1,kn(!1),1!==t){var o=vn(),i=bn();i||ut(e,n,o),function a(e){for(var t=Yr(e);null!==t;t=t[Ue])if(t.length<Fe&&-1===t[vt])for(var n=t,r=0;r<n[yt].length;r++){var o=n[yt][r];fi(o,o[He],o[We],2)}}(e),function u(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-Fe,e.contentQueries[t+1])}}(n),i||st(e,n.contentHooks,n.contentCheckHooks,o),function s(e,t){if(e.expandoInstructions){var n=t[qe]=e.expandoStartIndex;Tn(n);for(var r=-1,o=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var u=e.expandoInstructions[++i];r=n+=Ve+u}else n+=a;Tn(n)}else t[qe]=n,sn(dn().data[o+Fe]),a(r-Fe,o),r++}}}(n,e)}!function l(e,t,n){if(null!=e)for(var r=0;r<e.length;r++)la(e[r],t,n)}(n.components,r,t)}function ui(e,t,n,r,o,i,a){var u=n.blueprint.slice();return u[Le]=25|o,u[Be]=u[tt]=e,u[We]=r,u[Ge]=void 0===a?e?e[Ge]:null:a,u[Ye]=t,u[$e]=i||null,u}function si(e,t,n,r,o){var i=yn(),a=dn(),u=e+Fe;i[u]=n;var s=a.data[u];if(null==s){var l=un(),c=cn();s=a.data[u]=Vi(i,t,u,r,o,null),l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s)}return null==a.firstChild&&3===t&&(a.firstChild=s),sn(s),fn(!0),s}function li(e,t){null==t[He].node&&(t[He].node=Vi(t,2,e,null,null,null)),fn(!0);var n=t[He].node;return sn(n),t[Ze]=n}function ci(e){var t=e[He];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),t.data.push(null),e.push(null))}function fi(e,t,n,r){var o,i=cn(),a=un();if(fn(!0),sn(null),64&e[Le])ga(At(e));else try{fn(!0),sn(null),o=Pn(e,e[Ze]),mi(),t.template(r,n),2&r?ai(e,null):(e[He].firstTemplatePass=!1,kn(!1))}finally{Nn(o,1==(1&r)),fn(i),sn(a)}}function di(e){return void 0===e&&(e=1),Rn(e)}function pi(e,t,n,r){var o=Xt(),i=Pn(e,e[Ze]);try{o.begin&&o.begin(),r&&(mi(),r(n||hi(e),t)),ai(e,n)}finally{o.end&&o.end(),Nn(i)}}function hi(e){return 1&e[Le]?3:2}var vi=null;function yi(){vi="http://www.w3.org/2000/svg/"}function gi(){vi="http://www.w3.org/1998/MathML/"}function mi(){vi=null}function _i(e,t,n,r){Ci(e,t,n,r),Di()}function wi(e,t,n){var r=yn(),o=dn(),i=Jt().createComment("");oo(i,si(e,4,i,null,t||null),r),Ii(o,r,n)}function bi(){var e=un(),t=dn();cn()?fn(!1):sn(e=e.parent);var n=pn();n&&hn(n.addNode(e)),rt(e.flags,t)}function Ci(e,t,n,r){var o=yn(),i=dn(),a=xi(t),u=si(e,3,a,t,n||null);n&&Oi(a,n),oo(a,u,o),Ii(i,o,r),0===function s(){return Ut}()&&er(a,o),function l(){Ut++}()}function xi(e,t){var n=t||Jt();return Vr(n)?n.createElement(e,vi):null===vi?n.createElement(e):n.createElementNS(vi,e)}function Ii(e,t,n,r){if(void 0===r&&(r=It),function o(){return zt}()){var i=un();In()&&function u(e,t,n,r,o){var i=o?{"":-1}:null,a=0;if(n){Ji(r,e.data.length,n.length);for(var u=0;u<n.length;u++)(s=n[u]).providersResolver&&s.providersResolver(s);for(qi(e,r,n.length),u=0;u<n.length;u++){var s,l=e.data.length;Xi(e,t,s=n[u],s.factory),a+=s.hostVars,$i(e.data.length-1,s,i),nt(l,s.onInit,s.doCheck,e)}}i&&function c(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '"+t[o+1]+"' not found!");r.push(t[o],i)}}(r,o,i),Ki(e,t,a)}(e,t,function a(e,t,n){var r=e.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];po(n,a.selectors)&&(o||(o=[]),Ln(Sn(un(),t),t,a.type),Pt(a)?(4096&n.flags&&Dr(n),n.flags=4096,o.unshift(a)):o.push(a))}return o}(e,t,i),i,n||null),function s(e,t,n){var r=n.flags>>16,o=r+n.flags&4095;!In()&&r<o&&Sn(n,t);for(var i=r;i<o;i++){var a=e.data[i];Pt(a)&&ea(t,n,a),Wi(t,Zn(e.data,t,i,n),a,i)}}(e,t,i),function l(e,t,n){var r=t.localNames;if(r)for(var o=t.index+1,i=0;i<r.length;i+=2){var a=r[i+1],u=-1===a?n(t,e):e[a];e[o++]=u}}(t,i,r)}}function ki(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=Ei(-1,e,t,n,r,o,i))}function Ei(e,t,n,r,o,i,a){var u=Fe+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(vo,e);return n[Xe]=-1,n[qe]=e,n}(u,s);return l[He]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Oi(e,t){for(var n=Jt(),r=Vr(n),o=0;o<t.length;){var i=t[o];if(1===i)break;if(i===jr)o+=2;else if(0===i){var a=t[o+1],u=t[o+2],s=t[o+3];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s),o+=4}else s=t[o+1],r?n.setAttribute(e,i,s):e.setAttribute(i,s),o+=2}}function Ti(e,t){!function n(e){Bt=e}(e);var r=e.createRenderer(null,null);return"string"==typeof t?Vr(r)?r.selectRootElement(t):r.querySelector(t):t}function Pi(e,t,n){void 0===n&&(n=!1);var r=yn(),o=un();if(3===o.type){var i=It(o,r),a=Jt();if(Vr(a))Ni(r,a.listen(i,e,t));else{var u=function s(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);i.addEventListener(e,u,n);var l=mn(r);l.push(u),In()&&_n(r).push(e,o.index,l.length-1,n)}}void 0===o.outputs&&(o.outputs=Mi(o.flags,1));var c,f=o.outputs;f&&(c=f[e])&&function d(e,t,n){for(var r=0;r<t.length;r+=2){var o=e[t[r]][t[r+1]].subscribe(n);Ri(e,o,o.unsubscribe)}}(r,c,t)}function Ri(e,t,n){e||(e=yn()),mn(e).push(t),e[He].firstTemplatePass&&_n(e).push(n,e[Ke].length-1)}function Ni(e,t){mn(e).push(t),e[He].firstTemplatePass&&_n(e).push(e[Ke].length-1,null)}function Di(){var e=un();cn()?fn(!1):sn(e=e.parent);var t=pn();t&&hn(t.addNode(e)),rt(e.flags,dn()),function n(){Ut--}()}function Ai(e,t,n,r){if(n!==vo){var o=yn(),i=Jt(),a=xt(e,o);if(null==n)Vr(i)?i.removeAttribute(a,t):a.removeAttribute(t);else{var u=null==r?wt(n):r(n);Vr(i)?i.setAttribute(a,t,u):a.setAttribute(t,u)}}}function ji(e,t,n,r){if(n!==vo){var o,i=yn(),a=xt(e,i),u=kt(e,i),s=qa(u);if(s&&(o=s[t]))Si(i,o,n),Tt(u)&&function l(e,t){var n=Et(t,e);2&n[Le]||(n[Le]|=4)}(i,e+Fe);else if(3===u.type){var c=Jt();n=null!=r?r(n):n,Vr(c)?c.setProperty(a,t,n):a.setProperty?a.setProperty(t,n):a[t]=n}}}function Vi(e,t,n,r,o,i){var a=un(),u=cn()?a:a&&a.parent,s=u&&e&&u!==e[Ze]?u:null;return{type:t,index:n,injectorIndex:s?s.injectorIndex:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function Si(e,t,n){for(var r=0;r<t.length;r+=2)e[t[r]][t[r+1]]=n}function Mi(e,t){var n=dn(),r=4095&e,o=null;if(r>0)for(var i=e>>16,a=i+r,u=0===t,s=n.data,l=i;l<a;l++){var c=s[l],f=u?c.inputs:c.outputs;for(var d in f)if(f.hasOwnProperty(d)){var p=f[d];(o=o||{}).hasOwnProperty(d)?o[d].push(l,p):o[d]=[l,p]}}return o}function Fi(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){var o=xt(e,yn()),i=o.hostStylingHack[r].classDeclarations[t],a=Jt();if(Vr(a))n?a.addClass(o,i):a.removeClass(o,i);else{var u=o.classList;n?u.add(i):u.remove(i)}}(e,t,n,r);var i=n instanceof yo?n:!!n;!function a(e,t,n){ko(e,t+e[4],n)}(_o(e,yn()),t,i)}function Hi(e,t,n,r){if(void 0===r){var o=un(),i=qa(o);if(!o.stylingTemplate){var a=!(!i||!i.hasOwnProperty("class"));a&&(o.flags|=32768),o.stylingTemplate=function u(e,t,n,r){var o=[null],i=mo(null,n,o),a={},u={},s=0;if(t)for(var l=!1,c=0;c<t.length;c++)if(1===(h=t[c]))l=!0;else{var f=h;if(l){var d=t[++c];o.push(d),a[f]=o.length-1}else s++,a[f]=0}i[4]=s;var p=r?[]:null;if(e)for(l=!1,c=0;c<e.length;c++){var h;if(1===(h=e[c]))l=!0;else{var v=h;l?(d=e[++c],o.push(d),u[v]=o.length-1,p&&p.push(v)):u[v]=0}}var y=Object.keys(a),g=Object.keys(u),m=y.length,_=y.length+g.length,w=4*_*2+8;for(c=8;c<w;c++)i.push(null);var b=4*_+8;for(c=0;c<_;c++){var C=c>=m,x=(f=C?g[c-m]:y[c],C?u[f]:a[f]),I=o[x],k=4*c+b,E=4*c+8,O=ni(f,C,n||null);Zo(i,E,Do(O,x,k)),Fo(i,E,f),Ho(i,E,null),Uo(i,E,0),Zo(i,k,Do(O|(null!==I?1:0),x,E)),Fo(i,k,f),Ho(i,k,null),Uo(i,k,0)}return Zo(i,3,Do(0,0,b)|(r?16:0)),Yo(i,o.length>1),p&&(i[6]=p.join(" ")),i}(e,t,n,a)}if(t&&t.length||e&&e.length){var s=o.index-Fe;if(Ka(o)){var l=_o(s,yn())[6];Si(yn(),o.inputs.class,l)}Li(s)}}else vn()&&function c(e,t,n,r){var o=It(un(),yn());(o.hostStylingHack||(o.hostStylingHack={}))[r]={classDeclarations:zi(e),styleDeclarations:zi(t),styleSanitizer:n}}(e||null,t||null,n||null,r)}function Li(e,t){if(void 0==t){var n=yn(),r=0!=(1&n[Le]);(function o(e,t,n,r,i,a){var u=0;if(function s(e){return Po(e,3)}(e)){for(var l=8&e[3],c=e[5],f=So(e),d=Mo(e),p=Go(e),h=8;h<e.length;h+=4)if(Po(e,h)){var v=Wo(e,h),y=Ko(e,h),g=qo(e,h),m=Qo(e,h),_=!!(2&g),w=!_||!p,b=y;h<f&&!ti(b,_)&&(b=Ko(e,Vo(g))),!ti(b,_)&&w&&(b=Ao(e,g)),(!r||b)&&(_?Oo(c,v,!!b,t,i,m):Eo(c,v,b,t,4&g?d:null,a,m)),To(e,h,!1)}if(l){var C=Array.isArray(n)?At(n):n,x=bo(e),I=x[0];for(h=1;h<I;h+=2){var k=x[h],E=h+1,O=x[E];if(k){var T=k.buildPlayer(O,r);void 0!==T&&(null!=T&&wo(x,C,c,T,E)&&u++,O&&O.destroy())}else O&&O.destroy()}$o(e,!1)}Yo(e,!1)}return u})(_o(e,n),Jt(),n,r)>0&&ya(At(n),2)}}function Bi(e,t,n,r,o){if(void 0!=o)return function i(e,t,n,r,o){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var a=null;n&&(a=r?wt(n)+r:n),ko(_o(e,yn()),t,a)}function Ui(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=yn(),a=kt(e,i),u=_o(e,i);if(Ka(a)&&t!==vo){var s=u[6],l=(s.length?s+" ":"")+t;Si(yn(),a.inputs.class,l)}!function c(e,t,n){n=n||null;var r=e[5],o=t instanceof yo?new oi(t,r,1):null,i=n instanceof yo?new oi(n,r,2):null,a=o?t.value:t,u=i?n.value:n,s=Go(e)||a===vo||a===e[6],l=u===vo||u===e[7];if(!s||!l){e[6]=a,e[7]=u;var c=xo,f=!1,d=!1,p=o?1:0;Lo(e,o,1)&&(Bo(e,o,1),d=!0);var h=i?3:0;Lo(e,i,3)&&(Bo(e,i,3),d=!0),s||("string"==typeof a?(c=a.split(/\s+/),f=!0):c=a?Object.keys(a):xo);for(var v=a||Io,y=u?Object.keys(u):xo,g=u||Io,m=y.length,_=!1,w=So(e),b=0,C=y.length+c.length;w<e.length&&b<C;){var x=b>=m;if(!x&&!l||x&&!s){var I=x?b-m:b,k=x?c[I]:y[I],E=x?!!f||v[k]:g[k],O=x?p:h;if((F=Wo(e,w))===k){var T=Ko(e,w),P=qo(e,w);Uo(e,w,O),ri(P,T,E)&&(Ho(e,w,E),d=d||!!O,ri(P,A=Ao(e,P),E)&&(To(e,w,!0),_=!0))}else{var R=Jo(e,k,w);if(R>0){var N=Ko(e,R),D=qo(e,R);if(Xo(e,w,R),ri(D,N,E)){var A=Ao(e,D);Ho(e,w,E),ri(D,A,E)&&(To(e,w,!0),d=d||!!O,_=!0)}}else{var j=ni(k,x,Mo(e));d=d||!!O,ei(e,w,x,k,j,E,O),_=!0}}}w+=4,b++}for(;w<e.length;){var V=2==(2&(P=qo(e,w)));(!V&&!l||V&&!s)&&ti(T=Ko(e,w),V)&&(To(e,w,!0),Ho(e,w,null),Uo(e,w,O=V?p:h),_=!0),w+=4}for(var S=Mo(e);b<C;){var M=b>=m;if(!M&&!l||M&&!s){I=M?b-m:b;var F=M?c[I]:y[I];T=M?!!f||v[F]:g[F],P=1|ni(F,M,S),e.push(P,F,T,O=M?p:h),_=!0}b++}_&&Yo(e,!0),d&&$o(e,!0)}}(u,t,n)}function zi(e){return e||[]}function Qi(e,t){var n=yn(),r=Zr(t,Jt()),o=si(e,3,r,null,null);fn(!1),oo(r,o,n)}function Zi(e,t){if(t!==vo){var n=xt(e,yn()),r=Jt();Vr(r)?r.setValue(n,wt(t)):n.textContent=wt(t)}}function qi(e,t,n){var r=-(t.index-Fe),o=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function Ki(e,t,n){for(var r=0;r<n;r++)t.push(vo),e.blueprint.push(vo),e.data.push(null)}function Wi(e,t,n,r){var o=un();Gi(e,o,t,n),o&&o.attrs&&function i(e,t,n,r){var o=r.initialInputs;(void 0===o||e>=o.length)&&(o=function i(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i<o.length;){var a=o[i];if(1===a)break;if(0!==a){var u=t[a],s=o[i+1];void 0!==u&&(r[e]||(r[e]=[])).push(u,s),i+=2}else i+=4}return r}(e,n,r));var a=o[e];if(a)for(var u=0;u<a.length;u+=2)t[a[u]]=a[u+1]}(r,t,n.inputs,o),n.contentQueries&&n.contentQueries(r),Pt(n)&&(Et(o.index,e)[We]=t)}function Gi(e,t,n,r){var o=It(t,e);er(n,e),o&&er(o,e),null!=r.attributes&&3==t.type&&Oi(o,r.attributes)}function Yi(e){var t=dn();(t.components||(t.components=[])).push(e.index)}function $i(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function Ji(e,t,n){e.flags=t<<16|4096&e.flags|n,e.providerIndexes=t}function Xi(e,t,n,r){e.data.push(n);var o=new De(r,Pt(n),null);e.blueprint.push(o),t.push(o),function i(e,t){e.expandoInstructions.push(t.hostBindings||ur),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}function ea(e,t,n){var r=It(t,e),o=ki(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=ha(e,t.index,ui(yn(),Xt().createRenderer(r,n),o,null,n.onPush?4:2,en()));i[Ze]=t,i[Qe]=e[t.index],e[t.index]=i,In()&&Yi(t)}function ta(e,t,n,r,o){return[o?-1:0,[],n,null,null,e,r,eo(t,n)]}function na(e,t,n,r,o,i,a,u){var s=yn(),l=dn(),c=oa(e,o||null,i||null);In()&&(c.tViews=Ei(-1,t,n,r,l.directiveRegistry,l.pipeRegistry,null)),Ii(l,s,a,u);var f=pn(),d=un();f&&hn(f.addNode(d)),rt(c.flags,l),fn(!1)}function ra(e){var t=oa(e,null,null);In()&&(t.tViews=[]),fn(!1)}function oa(e,t,n){var r=yn(),o=e+Fe,i=Jt().createComment(""),a=si(e,0,i,t,n),u=r[o]=ta(r[o],a,r,i);oo(i,a,r),ha(r,e+Fe,u);var s=pn();return s&&(u[ze]=s.container()),a}function ia(e){var t=yn(),n=dn();sn(bt(e,n.data)),fn(!0),t[e+Fe][vt]=0,bn()||ut(t,n,vn())}function aa(){var e=un();cn()?fn(!1):sn(e=e.parent);for(var t=yn()[e.index],n=t[vt];n<t[yt].length;)Gr(t,e,n)}function ua(e,t,n){var r=yn(),o=un(),i=2===o.type?o.parent:o,a=r[i.index],u=function s(e,t,n,r){for(var o=e[yt],i=n;i<o.length;i++){var a=o[i][He].id;if(a===r)return o[i];if(!(a<r))break;Gr(e,t,i)}return null}(a,i,a[vt],e);return u?(fn(!0),Pn(u,u[He].node)):(u=ui(yn(),Jt(),function l(e,t,n,r){var o=dn(),i=r.tViews;return(e>=i.length||null==i[e])&&(i[e]=Ei(e,null,t,n,o.directiveRegistry,o.pipeRegistry,null)),i[e]}(e,t,n,i),null,2,en()),a[ze]&&(u[ze]=a[ze].createView()),li(e,u),Pn(u,u[He].node)),a&&(vn()&&Kr(u,a,r,a[vt],-1),a[vt]++),hi(u)}function sa(){var e=yn(),t=e[Ze];ai(e,null),Nn(e[Be]),sn(t),fn(!1)}function la(e,t,n){var r=Et(e,yn());ca(r)&&6&r[Le]&&(t&&function o(e){for(var t=e[He],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(r),wa(r,r[We],n))}function ca(e){return 8==(8&e[Le])}function fa(e,t){var n=zr(yn())[Ze];if(!n.projection)for(var r=n.projection=new Array(e?e.length+1:1).fill(null),o=r.slice(),i=n.child;null!==i;){var a=e?ho(i,e,t):0,u=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=u}}var da=[];function pa(e,t,n){void 0===t&&(t=0);var r=yn(),o=si(e,1,null,null,n||null);null===o.projection&&(o.projection=t),fn(!1);for(var i=zr(r),a=i[Ze].projection[t],u=i[Be],s=-1;a;){if(1===a.type){var l=zr(u),c=l[Ze].projection[a.projection];if(c){da[++s]=a,da[++s]=u,a=c,u=l[Be];continue}}else a.flags|=8192,so(a,o,r,u);null===a.next&&u!==i[Be]&&(u=da[s--],a=da[s--]),a=a.next}}function ha(e,t,n){var r=dn(),o=In();return e[Je]?e[Je][Ue]=n:o&&(r.childIndex=t),e[Je]=n,n}function va(e){for(var t=e;t&&!(64&t[Le]);)t[Le]|=4,t=t[Be];t[Le]|=4,ya(t[We],1)}function ya(e,t){var n,r=0===e.flags;e.flags|=t,r&&e.clean==ii&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,ga(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=ii,n(null)}))}function ga(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];pi(Vt(n),n,2)}}function ma(e){wa(Xn(e),e,null)}function _a(e){ga(e[We])}function wa(e,t,n){var r=e[He],o=Pn(e,e[Ze]),i=r.template,a=r.viewQuery;try{mi(),function u(e,t,n,r){e&&(1===t||null===t&&1&n)&&e(1,r)}(a,n,e[Le],t),i(n||hi(e),t),ai(e,n),function s(e,t,n){e&&2&t&&e(2,n)}(a,e[Le],t)}finally{Nn(o,1===n)}}function ba(e){va(Xn(e))}function Ca(e){return Ma(yn()[qe]++,e)?e:vo}function xa(e){for(var t=!1,n=1;n<e.length;n+=2)Ma(yn()[qe]++,e[n])&&(t=!0);if(!t)return vo;var r=e[0];for(n=1;n<e.length;n+=2)r+=wt(e[n])+e[n+1];return r}function Ia(e,t,n){return Ma(yn()[qe]++,t)?e+wt(t)+n:vo}function ka(e,t,n,r,o){var i=yn(),a=Ha(i[qe],t,r);return i[qe]+=2,a?e+wt(t)+n+wt(r)+o:vo}function Ea(e,t,n,r,o,i,a){var u=yn(),s=La(u[qe],t,r,i);return u[qe]+=3,s?e+wt(t)+n+wt(r)+o+wt(i)+a:vo}function Oa(e,t,n,r,o,i,a,u,s){var l=yn(),c=Ba(l[qe],t,r,i,u);return l[qe]+=4,c?e+wt(t)+n+wt(r)+o+wt(i)+a+wt(u)+s:vo}function Ta(e,t,n,r,o,i,a,u,s,l,c){var f=yn(),d=Ba(f[qe],t,r,i,u);return d=Ma(f[qe]+4,l)||d,f[qe]+=5,d?e+wt(t)+n+wt(r)+o+wt(i)+a+wt(u)+s+wt(l)+c:vo}function Pa(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=yn(),h=Ba(p[qe],t,r,i,u);return h=Ha(p[qe]+4,l,f)||h,p[qe]+=6,h?e+wt(t)+n+wt(r)+o+wt(i)+a+wt(u)+s+wt(l)+c+wt(f)+d:vo}function Ra(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=yn(),y=Ba(v[qe],t,r,i,u);return y=La(v[qe]+4,l,f,p)||y,v[qe]+=7,y?e+wt(t)+n+wt(r)+o+wt(i)+a+wt(u)+s+wt(l)+c+wt(f)+d+wt(p)+h:vo}function Na(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y){var g=yn(),m=Ba(g[qe],t,r,i,u);return m=Ba(g[qe]+4,l,f,p,v)||m,g[qe]+=8,m?e+wt(t)+n+wt(r)+o+wt(i)+a+wt(u)+s+wt(l)+c+wt(f)+d+wt(p)+h+wt(v)+y:vo}function Da(e,t){var n=dn(),r=e+Fe;r>=n.data.length&&(n.data[r]=null),yn()[r]=t}function Aa(e){return bt(e,function t(){return gn}())}function ja(e){return yn()[et][e]}function Va(e){return bt(e,yn())}function Sa(e){return yn()[e]}function Ma(e,t){var n=yn(),r=bn();if(n[e]===vo)n[e]=t;else{if(!
|
|
277
|
+
*/function ui(e,t){var n=pn(),r=kn();if(n.firstTemplatePass=!1,En(!1),1!==t){var o=gn(),i=Cn();i||st(e,n,o),function a(e){for(var t=$r(e);null!==t;t=t[ze])if(t.length<He&&-1===t[gt])for(var n=t,r=0;r<n[yt].length;r++){var o=n[yt][r];di(o,o[Le],o[Ge],2)}}(e),function u(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-He,e.contentQueries[t+1])}}(n),i||lt(e,n.contentHooks,n.contentCheckHooks,o),function s(e,t){if(e.expandoInstructions){var n=t[Ke]=e.expandoStartIndex;Pn(n);for(var r=-1,o=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var u=e.expandoInstructions[++i];r=n+=Ve+u}else n+=a;Pn(n)}else t[Ke]=n,ln(pn().data[o+He]),a(r-He,o),r++}}}(n,e)}!function l(e,t,n){if(null!=e)for(var r=0;r<e.length;r++)ca(e[r],t,n)}(n.components,r,t)}function si(e,t,n,r,o,i,a){var u=n.blueprint.slice();return u[Be]=25|o,u[Ue]=u[nt]=e,u[Ge]=r,u[Ye]=void 0===a?e?e[Ye]:null:a,u[$e]=t,u[Je]=i||null,u}function li(e,t,n,r,o){var i=yn(),a=pn(),u=e+He;i[u]=n;var s=a.data[u];if(null==s){var l=sn(),c=fn();s=a.data[u]=Vi(i,t,u,r,o,null),l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s)}return null==a.firstChild&&3===t&&(a.firstChild=s),ln(s),dn(!0),s}function ci(e,t){null==t[Le].node&&(t[Le].node=Vi(t,2,e,null,null,null)),dn(!0);var n=t[Le].node;return ln(n),t[qe]=n}function fi(e){var t=e[Le];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),t.data.push(null),e.push(null))}function di(e,t,n,r){var o,i=fn(),a=sn();if(dn(!0),ln(null),64&e[Be])ma(At(e));else try{dn(!0),ln(null),o=Rn(e,e[qe]),_i(),t.template(r,n),2&r?ui(e,null):(e[Le].firstTemplatePass=!1,En(!1))}finally{Nn(o,1==(1&r)),dn(i),ln(a)}}function pi(e){return void 0===e&&(e=1),Dn(e)}function hi(e,t,n,r){var o=en(),i=Rn(e,e[qe]);try{o.begin&&o.begin(),r&&(_i(),r(n||vi(e),t)),ui(e,n)}finally{o.end&&o.end(),Nn(i)}}function vi(e){return 1&e[Be]?3:2}var gi=null;function yi(){gi="http://www.w3.org/2000/svg/"}function mi(){gi="http://www.w3.org/1998/MathML/"}function _i(){gi=null}function wi(e,t,n,r){xi(e,t,n,r),ji()}function bi(e,t,n){var r=yn(),o=pn(),i=Xt().createComment("");io(i,li(e,4,i,null,t||null),r),ki(o,r,n)}function Ci(){var e=sn(),t=pn();fn()?dn(!1):ln(e=e.parent);var n=hn();n&&vn(n.addNode(e)),ot(e.flags,t)}function xi(e,t,n,r){var o=yn(),i=pn(),a=Ii(t),u=li(e,3,a,t,n||null);n&&Ti(a,n),io(a,u,o),ki(i,o,r),0===function s(){return zt}()&&tr(a,o),function l(){zt++}()}function Ii(e,t){var n=t||Xt();return Vr(n)?n.createElement(e,gi):null===gi?n.createElement(e):n.createElementNS(gi,e)}function ki(e,t,n,r){if(void 0===r&&(r=kt),function o(){return Qt}()){var i=sn();kn()&&function u(e,t,n,r,o){var i=o?{"":-1}:null,a=0;if(n){Xi(r,e.data.length,n.length);for(var u=0;u<n.length;u++)(s=n[u]).providersResolver&&s.providersResolver(s);for(Ki(e,r,n.length),u=0;u<n.length;u++){var s,l=e.data.length;ea(e,t,s=n[u],s.factory),a+=s.hostVars,Ji(e.data.length-1,s,i),rt(l,s.onInit,s.doCheck,e)}}i&&function c(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '"+t[o+1]+"' not found!");r.push(t[o],i)}}(r,o,i),Wi(e,t,a)}(e,t,function a(e,t,n){var r=e.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];ho(n,a.selectors)&&(o||(o=[]),Bn(Mn(sn(),t),t,a.type),Rt(a)?(4096&n.flags&&jr(n),n.flags=4096,o.unshift(a)):o.push(a))}return o}(e,t,i),i,n||null),function s(e,t,n){var r=n.flags>>16,o=r+n.flags&4095;!kn()&&r<o&&Mn(n,t);for(var i=r;i<o;i++){var a=e.data[i];Rt(a)&&ta(t,n,a),Gi(t,qn(e.data,t,i,n),a,i)}}(e,t,i),function l(e,t,n){var r=t.localNames;if(r)for(var o=t.index+1,i=0;i<r.length;i+=2){var a=r[i+1],u=-1===a?n(t,e):e[a];e[o++]=u}}(t,i,r)}}function Ei(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=Oi(-1,e,t,n,r,o,i))}function Oi(e,t,n,r,o,i,a){var u=He+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(go,e);return n[et]=-1,n[Ke]=e,n}(u,s);return l[Le]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Ti(e,t){for(var n=Xt(),r=Vr(n),o=0;o<t.length;){var i=t[o];if(1===i)break;if(i===Sr)o+=2;else if(0===i){var a=t[o+1],u=t[o+2],s=t[o+3];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s),o+=4}else s=t[o+1],r?n.setAttribute(e,i,s):e.setAttribute(i,s),o+=2}}function Pi(e,t){!function n(e){Ut=e}(e);var r=e.createRenderer(null,null);return"string"==typeof t?Vr(r)?r.selectRootElement(t):r.querySelector(t):t}function Ri(e,t,n){void 0===n&&(n=!1);var r=yn(),o=sn();if(3===o.type){var i=kt(o,r),a=Xt();if(Vr(a))Ni(r,a.listen(i,e,t));else{var u=function s(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);i.addEventListener(e,u,n);var l=_n(r);l.push(u),kn()&&wn(r).push(e,o.index,l.length-1,n)}}void 0===o.outputs&&(o.outputs=Fi(o.flags,1));var c,f=o.outputs;f&&(c=f[e])&&function d(e,t,n){for(var r=0;r<t.length;r+=2){var o=e[t[r]][t[r+1]].subscribe(n);Di(e,o,o.unsubscribe)}}(r,c,t)}function Di(e,t,n){e||(e=yn()),_n(e).push(t),e[Le].firstTemplatePass&&wn(e).push(n,e[We].length-1)}function Ni(e,t){_n(e).push(t),e[Le].firstTemplatePass&&wn(e).push(e[We].length-1,null)}function ji(){var e=sn();fn()?dn(!1):ln(e=e.parent);var t=hn();t&&vn(t.addNode(e)),ot(e.flags,pn()),function n(){zt--}()}function Ai(e,t,n,r){if(n!==go){var o=yn(),i=Xt(),a=It(e,o);if(null==n)Vr(i)?i.removeAttribute(a,t):a.removeAttribute(t);else{var u=null==r?bt(n):r(n);Vr(i)?i.setAttribute(a,t,u):a.setAttribute(t,u)}}}function Si(e,t,n,r){if(n!==go){var o,i=yn(),a=It(e,i),u=Et(e,i),s=Ka(u);if(s&&(o=s[t]))Mi(i,o,n),Pt(u)&&function l(e,t){var n=Ot(t,e);2&n[Be]||(n[Be]|=4)}(i,e+He);else if(3===u.type){var c=Xt();n=null!=r?r(n):n,Vr(c)?c.setProperty(a,t,n):a.setProperty?a.setProperty(t,n):a[t]=n}}}function Vi(e,t,n,r,o,i){var a=sn(),u=fn()?a:a&&a.parent,s=u&&e&&u!==e[qe]?u:null;return{type:t,index:n,injectorIndex:s?s.injectorIndex:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function Mi(e,t,n){for(var r=0;r<t.length;r+=2)e[t[r]][t[r+1]]=n}function Fi(e,t){var n=pn(),r=4095&e,o=null;if(r>0)for(var i=e>>16,a=i+r,u=0===t,s=n.data,l=i;l<a;l++){var c=s[l],f=u?c.inputs:c.outputs;for(var d in f)if(f.hasOwnProperty(d)){var p=f[d];(o=o||{}).hasOwnProperty(d)?o[d].push(l,p):o[d]=[l,p]}}return o}function Hi(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){var o=It(e,yn()),i=o.hostStylingHack[r].classDeclarations[t],a=Xt();if(Vr(a))n?a.addClass(o,i):a.removeClass(o,i);else{var u=o.classList;n?u.add(i):u.remove(i)}}(e,t,n,r);var i=n instanceof yo?n:!!n;!function a(e,t,n){Eo(e,t+e[4],n)}(wo(e,yn()),t,i)}function Li(e,t,n,r){if(void 0===r){var o=sn(),i=Ka(o);if(!o.stylingTemplate){var a=!(!i||!i.hasOwnProperty("class"));a&&(o.flags|=32768),o.stylingTemplate=function u(e,t,n,r){var o=[null],i=_o(null,n,o),a={},u={},s=0;if(t)for(var l=!1,c=0;c<t.length;c++)if(1===(h=t[c]))l=!0;else{var f=h;if(l){var d=t[++c];o.push(d),a[f]=o.length-1}else s++,a[f]=0}i[4]=s;var p=r?[]:null;if(e)for(l=!1,c=0;c<e.length;c++){var h;if(1===(h=e[c]))l=!0;else{var v=h;l?(d=e[++c],o.push(d),u[v]=o.length-1,p&&p.push(v)):u[v]=0}}var g=Object.keys(a),y=Object.keys(u),m=g.length,_=g.length+y.length,w=4*_*2+8;for(c=8;c<w;c++)i.push(null);var b=4*_+8;for(c=0;c<_;c++){var C=c>=m,x=(f=C?y[c-m]:g[c],C?u[f]:a[f]),I=o[x],k=4*c+b,E=4*c+8,O=ri(f,C,n||null);qo(i,E,jo(O,x,k)),Ho(i,E,f),Lo(i,E,null),zo(i,E,0),qo(i,k,jo(O|(null!==I?1:0),x,E)),Ho(i,k,f),Lo(i,k,null),zo(i,k,0)}return qo(i,3,jo(0,0,b)|(r?16:0)),$o(i,o.length>1),p&&(i[6]=p.join(" ")),i}(e,t,n,a)}if(t&&t.length||e&&e.length){var s=o.index-He;if(Wa(o)){var l=wo(s,yn())[6];Mi(yn(),o.inputs.class,l)}Bi(s)}}else gn()&&function c(e,t,n,r){var o=kt(sn(),yn());(o.hostStylingHack||(o.hostStylingHack={}))[r]={classDeclarations:Qi(e),styleDeclarations:Qi(t),styleSanitizer:n}}(e||null,t||null,n||null,r)}function Bi(e,t){if(void 0==t){var n=yn(),r=0!=(1&n[Be]);(function o(e,t,n,r,i,a){var u=0;if(function s(e){return Ro(e,3)}(e)){for(var l=8&e[3],c=e[5],f=Mo(e),d=Fo(e),p=Yo(e),h=8;h<e.length;h+=4)if(Ro(e,h)){var v=Go(e,h),g=Wo(e,h),y=Ko(e,h),m=Zo(e,h),_=!!(2&y),w=!_||!p,b=g;h<f&&!ni(b,_)&&(b=Wo(e,Vo(y))),!ni(b,_)&&w&&(b=Ao(e,y)),(!r||b)&&(_?To(c,v,!!b,t,i,m):Oo(c,v,b,t,4&y?d:null,a,m)),Po(e,h,!1)}if(l){var C=Array.isArray(n)?At(n):n,x=Co(e),I=x[0];for(h=1;h<I;h+=2){var k=x[h],E=h+1,O=x[E];if(k){var T=k.buildPlayer(O,r);void 0!==T&&(null!=T&&bo(x,C,c,T,E)&&u++,O&&O.destroy())}else O&&O.destroy()}Jo(e,!1)}$o(e,!1)}return u})(wo(e,n),Xt(),n,r)>0&&ya(At(n),2)}}function Ui(e,t,n,r,o){if(void 0!=o)return function i(e,t,n,r,o){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var a=null;n&&(a=r?bt(n)+r:n),Eo(wo(e,yn()),t,a)}function zi(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=yn(),a=Et(e,i),u=wo(e,i);if(Wa(a)&&t!==go){var s=u[6],l=(s.length?s+" ":"")+t;Mi(yn(),a.inputs.class,l)}!function c(e,t,n){n=n||null;var r=e[5],o=t instanceof yo?new ii(t,r,1):null,i=n instanceof yo?new ii(n,r,2):null,a=o?t.value:t,u=i?n.value:n,s=Yo(e)||a===go||a===e[6],l=u===go||u===e[7];if(!s||!l){e[6]=a,e[7]=u;var c=Io,f=!1,d=!1,p=o?1:0;Bo(e,o,1)&&(Uo(e,o,1),d=!0);var h=i?3:0;Bo(e,i,3)&&(Uo(e,i,3),d=!0),s||("string"==typeof a?(c=a.split(/\s+/),f=!0):c=a?Object.keys(a):Io);for(var v=a||ko,g=u?Object.keys(u):Io,y=u||ko,m=g.length,_=!1,w=Mo(e),b=0,C=g.length+c.length;w<e.length&&b<C;){var x=b>=m;if(!x&&!l||x&&!s){var I=x?b-m:b,k=x?c[I]:g[I],E=x?!!f||v[k]:y[k],O=x?p:h;if((F=Go(e,w))===k){var T=Wo(e,w),P=Ko(e,w);zo(e,w,O),oi(P,T,E)&&(Lo(e,w,E),d=d||!!O,oi(P,j=Ao(e,P),E)&&(Po(e,w,!0),_=!0))}else{var R=Xo(e,k,w);if(R>0){var D=Wo(e,R),N=Ko(e,R);if(ei(e,w,R),oi(N,D,E)){var j=Ao(e,N);Lo(e,w,E),oi(N,j,E)&&(Po(e,w,!0),d=d||!!O,_=!0)}}else{var A=ri(k,x,Fo(e));d=d||!!O,ti(e,w,x,k,A,E,O),_=!0}}}w+=4,b++}for(;w<e.length;){var S=2==(2&(P=Ko(e,w)));(!S&&!l||S&&!s)&&ni(T=Wo(e,w),S)&&(Po(e,w,!0),Lo(e,w,null),zo(e,w,O=S?p:h),_=!0),w+=4}for(var V=Fo(e);b<C;){var M=b>=m;if(!M&&!l||M&&!s){I=M?b-m:b;var F=M?c[I]:g[I];T=M?!!f||v[F]:y[F],P=1|ri(F,M,V),e.push(P,F,T,O=M?p:h),_=!0}b++}_&&$o(e,!0),d&&Jo(e,!0)}}(u,t,n)}function Qi(e){return e||[]}function Zi(e,t){var n=yn(),r=qr(t,Xt()),o=li(e,3,r,null,null);dn(!1),io(r,o,n)}function qi(e,t){if(t!==go){var n=It(e,yn()),r=Xt();Vr(r)?r.setValue(n,bt(t)):n.textContent=bt(t)}}function Ki(e,t,n){var r=-(t.index-He),o=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function Wi(e,t,n){for(var r=0;r<n;r++)t.push(go),e.blueprint.push(go),e.data.push(null)}function Gi(e,t,n,r){var o=sn();Yi(e,o,t,n),o&&o.attrs&&function i(e,t,n,r){var o=r.initialInputs;(void 0===o||e>=o.length)&&(o=function i(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i<o.length;){var a=o[i];if(1===a)break;if(0!==a){var u=t[a],s=o[i+1];void 0!==u&&(r[e]||(r[e]=[])).push(u,s),i+=2}else i+=4}return r}(e,n,r));var a=o[e];if(a)for(var u=0;u<a.length;u+=2)t[a[u]]=a[u+1]}(r,t,n.inputs,o),n.contentQueries&&n.contentQueries(r),Rt(n)&&(Ot(o.index,e)[Ge]=t)}function Yi(e,t,n,r){var o=kt(t,e);tr(n,e),o&&tr(o,e),null!=r.attributes&&3==t.type&&Ti(o,r.attributes)}function $i(e){var t=pn();(t.components||(t.components=[])).push(e.index)}function Ji(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function Xi(e,t,n){e.flags=t<<16|4096&e.flags|n,e.providerIndexes=t}function ea(e,t,n,r){e.data.push(n);var o=new je(r,Rt(n),null);e.blueprint.push(o),t.push(o),function i(e,t){e.expandoInstructions.push(t.hostBindings||sr),t.hostVars&&e.expandoInstructions.push(t.hostVars)}(e,n)}function ta(e,t,n){var r=kt(t,e),o=Ei(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=va(e,t.index,si(yn(),en().createRenderer(r,n),o,null,n.onPush?4:2,tn()));i[qe]=t,i[Ze]=e[t.index],e[t.index]=i,kn()&&$i(t)}function na(e,t,n,r,o){return[o?-1:0,[],n,null,null,e,r,to(t,n)]}function ra(e,t,n,r,o,i,a,u){var s=yn(),l=pn(),c=ia(e,o||null,i||null);kn()&&(c.tViews=Oi(-1,t,n,r,l.directiveRegistry,l.pipeRegistry,null)),ki(l,s,a,u);var f=hn(),d=sn();f&&vn(f.addNode(d)),ot(c.flags,l),dn(!1)}function oa(e){var t=ia(e,null,null);kn()&&(t.tViews=[]),dn(!1)}function ia(e,t,n){var r=yn(),o=e+He,i=Xt().createComment(""),a=li(e,0,i,t,n),u=r[o]=na(r[o],a,r,i);io(i,a,r),va(r,e+He,u);var s=hn();return s&&(u[Qe]=s.container()),a}function aa(e){var t=yn(),n=pn();ln(Ct(e,n.data)),dn(!0),t[e+He][gt]=0,Cn()||st(t,n,gn())}function ua(){var e=sn();fn()?dn(!1):ln(e=e.parent);for(var t=yn()[e.index],n=t[gt];n<t[yt].length;)Yr(t,e,n)}function sa(e,t,n){var r=yn(),o=sn(),i=2===o.type?o.parent:o,a=r[i.index],u=function s(e,t,n,r){for(var o=e[yt],i=n;i<o.length;i++){var a=o[i][Le].id;if(a===r)return o[i];if(!(a<r))break;Yr(e,t,i)}return null}(a,i,a[gt],e);return u?(dn(!0),Rn(u,u[Le].node)):(u=si(yn(),Xt(),function l(e,t,n,r){var o=pn(),i=r.tViews;return(e>=i.length||null==i[e])&&(i[e]=Oi(e,null,t,n,o.directiveRegistry,o.pipeRegistry,null)),i[e]}(e,t,n,i),null,2,tn()),a[Qe]&&(u[Qe]=a[Qe].createView()),ci(e,u),Rn(u,u[Le].node)),a&&(gn()&&Wr(u,a,r,a[gt],-1),a[gt]++),vi(u)}function la(){var e=yn(),t=e[qe];ui(e,null),Nn(e[Ue]),ln(t),dn(!1)}function ca(e,t,n){var r=Ot(e,yn());fa(r)&&6&r[Be]&&(t&&function o(e){for(var t=e[Le],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(r),ba(r,r[Ge],n))}function fa(e){return 8==(8&e[Be])}function da(e,t){var n=Qr(yn())[qe];if(!n.projection)for(var r=n.projection=new Array(e?e.length+1:1).fill(null),o=r.slice(),i=n.child;null!==i;){var a=e?vo(i,e,t):0,u=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=u}}var pa=[];function ha(e,t,n){void 0===t&&(t=0);var r=yn(),o=li(e,1,null,null,n||null);null===o.projection&&(o.projection=t),dn(!1);for(var i=Qr(r),a=i[qe].projection[t],u=i[Ue],s=-1;a;){if(1===a.type){var l=Qr(u),c=l[qe].projection[a.projection];if(c){pa[++s]=a,pa[++s]=u,a=c,u=l[Ue];continue}}else a.flags|=8192,lo(a,o,r,u);null===a.next&&u!==i[Ue]&&(u=pa[s--],a=pa[s--]),a=a.next}}function va(e,t,n){var r=pn(),o=kn();return e[Xe]?e[Xe][ze]=n:o&&(r.childIndex=t),e[Xe]=n,n}function ga(e){for(var t=e;t&&!(64&t[Be]);)t[Be]|=4,t=t[Ue];t[Be]|=4,ya(t[Ge],1)}function ya(e,t){var n,r=0===e.flags;e.flags|=t,r&&e.clean==ai&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,ma(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=ai,n(null)}))}function ma(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];hi(Vt(n),n,2)}}function _a(e){ba(er(e),e,null)}function wa(e){ma(e[Ge])}function ba(e,t,n){var r=e[Le],o=Rn(e,e[qe]),i=r.template,a=r.viewQuery;try{_i(),function u(e,t,n,r){e&&(1===t||null===t&&1&n)&&e(1,r)}(a,n,e[Be],t),i(n||vi(e),t),ui(e,n),function s(e,t,n){e&&2&t&&e(2,n)}(a,e[Be],t)}finally{Nn(o,1===n)}}function Ca(e){ga(er(e))}function xa(e){return Fa(yn()[Ke]++,e)?e:go}function Ia(e){for(var t=!1,n=1;n<e.length;n+=2)Fa(yn()[Ke]++,e[n])&&(t=!0);if(!t)return go;var r=e[0];for(n=1;n<e.length;n+=2)r+=bt(e[n])+e[n+1];return r}function ka(e,t,n){return Fa(yn()[Ke]++,t)?e+bt(t)+n:go}function Ea(e,t,n,r,o){var i=yn(),a=La(i[Ke],t,r);return i[Ke]+=2,a?e+bt(t)+n+bt(r)+o:go}function Oa(e,t,n,r,o,i,a){var u=yn(),s=Ba(u[Ke],t,r,i);return u[Ke]+=3,s?e+bt(t)+n+bt(r)+o+bt(i)+a:go}function Ta(e,t,n,r,o,i,a,u,s){var l=yn(),c=Ua(l[Ke],t,r,i,u);return l[Ke]+=4,c?e+bt(t)+n+bt(r)+o+bt(i)+a+bt(u)+s:go}function Pa(e,t,n,r,o,i,a,u,s,l,c){var f=yn(),d=Ua(f[Ke],t,r,i,u);return d=Fa(f[Ke]+4,l)||d,f[Ke]+=5,d?e+bt(t)+n+bt(r)+o+bt(i)+a+bt(u)+s+bt(l)+c:go}function Ra(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=yn(),h=Ua(p[Ke],t,r,i,u);return h=La(p[Ke]+4,l,f)||h,p[Ke]+=6,h?e+bt(t)+n+bt(r)+o+bt(i)+a+bt(u)+s+bt(l)+c+bt(f)+d:go}function Da(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=yn(),g=Ua(v[Ke],t,r,i,u);return g=Ba(v[Ke]+4,l,f,p)||g,v[Ke]+=7,g?e+bt(t)+n+bt(r)+o+bt(i)+a+bt(u)+s+bt(l)+c+bt(f)+d+bt(p)+h:go}function Na(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,g){var y=yn(),m=Ua(y[Ke],t,r,i,u);return m=Ua(y[Ke]+4,l,f,p,v)||m,y[Ke]+=8,m?e+bt(t)+n+bt(r)+o+bt(i)+a+bt(u)+s+bt(l)+c+bt(f)+d+bt(p)+h+bt(v)+g:go}function ja(e,t){var n=pn(),r=e+He;r>=n.data.length&&(n.data[r]=null),yn()[r]=t}function Aa(e){return Ct(e,function t(){return mn}())}function Sa(e){return yn()[tt][e]}function Va(e){return Ct(e,yn())}function Ma(e){return yn()[e]}function Fa(e,t){var n=yn(),r=Cn();if(n[e]===go)n[e]=t;else{if(!
|
|
270
278
|
/**
|
|
271
279
|
* @license
|
|
272
280
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -274,28 +282,28 @@ function mo(e,t,n){return[null,t||null,n||[null],0,0,e||null,null,null]}function
|
|
|
274
282
|
* Use of this source code is governed by an MIT-style license that can be
|
|
275
283
|
* found in the LICENSE file at https://angular.io/license
|
|
276
284
|
*/
|
|
277
|
-
function o(e,t,n){return!(e!=e&&t!=t)&&e!==t}(n[e],t))return!1;!function i(e,t,n,r){if(t){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+r+"'.";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 Error(o)}}(
|
|
285
|
+
function o(e,t,n){return!(e!=e&&t!=t)&&e!==t}(n[e],t))return!1;!function i(e,t,n,r){if(t){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+r+"'.";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 Error(o)}}(gn(),r,n[e],t),n[e]=t}return!0}function Ha(e,t){return yn()[e]=t}function La(e,t,n){var r=Fa(e,t);return Fa(e+1,n)||r}function Ba(e,t,n,r){var o=La(e,t,n);return Fa(e+2,r)||o}function Ua(e,t,n,r,o){var i=La(e,t,n);return La(e+2,r,o)||i}function za(t,n){return void 0===n&&(n=e.InjectFlags.Default),t=fr(t),zn(sn(),yn(),t,n)}function Qa(e){return Un(sn(),e)}function Za(e,t){var n=yn(),r=pn(),o=(n[tt]||(n[tt]=[])).push(e);if(kn()){var i=r.contentQueries||(r.contentQueries=[]);t!==(r.contentQueries.length?r.contentQueries[r.contentQueries.length-2]:-1)&&i.push(t,o-1)}}var qa=ai;function Ka(e){return e?(void 0===e.inputs&&(e.inputs=Fi(e.flags,0)),e.inputs):null}function Wa(e){return 32768&e.flags}
|
|
278
286
|
/**
|
|
279
287
|
* @license
|
|
280
288
|
* Copyright Google Inc. All Rights Reserved.
|
|
281
289
|
*
|
|
282
290
|
* Use of this source code is governed by an MIT-style license that can be
|
|
283
291
|
* found in the LICENSE file at https://angular.io/license
|
|
284
|
-
*/var
|
|
292
|
+
*/var Ga,Ya,$a,Ja=function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=e}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return null==this._view[Ze]?function e(t,n,r){for(var o=n.child;o;)r.push(kt(o,t)),4===o.type&&e(t,o,r),o=o.next;return r}
|
|
285
293
|
/**
|
|
286
294
|
* @license
|
|
287
295
|
* Copyright Google Inc. All Rights Reserved.
|
|
288
296
|
*
|
|
289
297
|
* Use of this source code is governed by an MIT-style license that can be
|
|
290
298
|
* found in the LICENSE file at https://angular.io/license
|
|
291
|
-
*/(this._view,this._view[
|
|
299
|
+
*/(this._view,this._view[qe],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[Be])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&fa(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Jr(this._view)},e.prototype.onDestroy=function(e){Ni(this._view,e)},e.prototype.markForCheck=function(){ga(this._view)},e.prototype.detach=function(){this._view[Be]&=-9},e.prototype.reattach=function(){this._view[Be]|=8},e.prototype.detectChanges=function(){var e=en();e.begin&&e.begin(),_a(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function e(t){xn(!0);try{_a(t)}finally{xn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._view[Ue][this._componentIndex]},e}(),Xa=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){wa(this._view)},t.prototype.checkNoChanges=function(){!function e(t){xn(!0);try{wa(t)}finally{xn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(Ja);function eu(e,t,n){return Ga||(Ga=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Ga(kt(t,n))}function tu(e,t,n,r){if(Ya||(Ya=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=r,u._renderer=o,u._queries=i,u._injectorIndex=a,u}return o(t,e),t.prototype.createEmbeddedView=function(e,t,n,r,o){var i=function a(e,t,n,r,o,i){var a=fn(),u=sn();dn(!0),ln(null);var s=si(n,r,e,t,2,tn());return s[nt]=n,o&&(s[Qe]=o.createView()),ci(-1,s),e.firstTemplatePass&&(e.node.injectorIndex=i),dn(a),ln(u),s}(this._tView,e,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);t&&Wr(i,t,r,o,n.index),di(i,this._tView,e,1);var u=new Ja(i,e,-1);return u._tViewNode=i[qe],u},t}(e)),0===n.type){var i=r[n.index];return new Ya(r,eu(t,n,r),n.tViews,Xt(),i[Qe],n.injectorIndex)}return null}var nu=function(){function t(e,t){this._tNode=e,this._hostView=t}return t.prototype.get=function(t,n){return zn(this._tNode,this._hostView,t,e.InjectFlags.Default,n)},t}();function ru(e,t,n){if(Pt(e)){var r=e.flags>>16,o=Ot(e.index,t);return new Ja(o,n,r)}if(3===e.type){var i=Qr(t);return new Ja(i,i[Ge],-1)}return null}function ou(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");var t=cu(e);return void 0===t.component&&(t.component=function n(e,t){var n=t[Le].data[e],r=ar(n);return 4096&n.flags?t[r]:null}(t.nodeIndex,t.lViewData)),t.component}function iu(e){for(var t=cu(e).lViewData;t[Ue]&&null===t[Ze];)t=t[Ue];return 64&t[Be]?null:t[Ge]}function au(e){return function t(e){var t;for(t=Array.isArray(e)?e:Vt(e);t&&!(64&t[Be]);)t=t[Ue];return t}(Array.isArray(e)?e:cu(e).lViewData)[Ge]}function uu(e){return f(au(e).components)}function su(e){var t=cu(e);return new nu(t.lViewData[Le].data[t.nodeIndex],t.lViewData)}function lu(e){var t=cu(e);return void 0===t.directives&&(t.directives=ir(t.nodeIndex,t.lViewData,!1)),t.directives||[]}function cu(e){var t=Jn(e);if(!t)throw new Error("Invalid ng target");return t}function fu(e){return Jn(e).native}
|
|
292
300
|
/**
|
|
293
301
|
* @license
|
|
294
302
|
* Copyright Google Inc. All Rights Reserved.
|
|
295
303
|
*
|
|
296
304
|
* Use of this source code is governed by an MIT-style license that can be
|
|
297
305
|
* found in the LICENSE file at https://angular.io/license
|
|
298
|
-
*/function
|
|
306
|
+
*/function du(e){var t=Jn(e);if(!t)return[];var n=wo(t.nodeIndex-He,t.lViewData),r=n?Co(n):null;return r?function o(e){for(var t=[],n=e[0],r=2;r<n;r+=2){var o=e[r];o&&t.push(o)}for(r=n;r<e.length;r++)t.push(e[r]);return t}(r):[]}
|
|
299
307
|
/**
|
|
300
308
|
* @license
|
|
301
309
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -309,14 +317,14 @@ function o(e,t,n){return!(e!=e&&t!=t)&&e!==t}(n[e],t))return!1;!function i(e,t,n
|
|
|
309
317
|
*
|
|
310
318
|
* Use of this source code is governed by an MIT-style license that can be
|
|
311
319
|
* found in the LICENSE file at https://angular.io/license
|
|
312
|
-
*/var
|
|
320
|
+
*/var pu="ng",hu=!1;function vu(e,t){if(G){var n=G[pu];n||(n=G[pu]={}),n[e]=t}}
|
|
313
321
|
/**
|
|
314
322
|
* @license
|
|
315
323
|
* Copyright Google Inc. All Rights Reserved.
|
|
316
324
|
*
|
|
317
325
|
* Use of this source code is governed by an MIT-style license that can be
|
|
318
326
|
* found in the LICENSE file at https://angular.io/license
|
|
319
|
-
*/function
|
|
327
|
+
*/function gu(e,t,n,r,o){!function i(){qt=!1,Zt=null,zt=0,Qt=!0}();var a=n[Le],u=si(n,r,Ei(t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery),null,t.onPush?4:2,o),s=li(0,3,e,null,null);return a.firstTemplatePass&&(Bn(Mn(s,n),n,t.type),s.flags=4096,Xi(s,n.length,1),$i(s)),u[Ze]=n[He],u[qe]=s,n[He]=u}function yu(e,t,n,r,o){var i=n[Le],a=function u(e,t,n){var r=sn();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Ki(e,r,1),ea(e,t,n,n.factory));var o=qn(e.data,t,t.length-1,r);return Yi(t,r,o,n),o}(i,n,t);return r.components.push(a),e[Ge]=a,o&&o.forEach(function(e){return e(a,t)}),i.firstTemplatePass&&Wi(i,n,t.hostVars),a}function mu(e,t){return{components:[],scheduler:e||$t,clean:qa,playerHandler:t||null,flags:0}}function _u(e,t){var n=Vt(e)[Le],r=n.data.length-1;rt(r,t.onInit,t.doCheck,n),ot(r<<16|1,n)}
|
|
320
328
|
/**
|
|
321
329
|
* @license
|
|
322
330
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -324,42 +332,42 @@ function o(e,t,n){return!(e!=e&&t!=t)&&e!==t}(n[e],t))return!1;!function i(e,t,n
|
|
|
324
332
|
* Use of this source code is governed by an MIT-style license that can be
|
|
325
333
|
* found in the LICENSE file at https://angular.io/license
|
|
326
334
|
*/
|
|
327
|
-
function
|
|
335
|
+
function wu(e){return"function"==typeof e.template}function bu(e){for(var t=function n(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=function(){var n,r,o=void 0;if(wu(e))o=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");o=t.ngDirectiveDef}var i=t.ngBaseDef;if(i||o){var a=e;a.inputs=Cu(e.inputs),a.declaredInputs=Cu(e.declaredInputs),a.outputs=Cu(e.outputs)}if(i&&(p(e.inputs,i.inputs),p(e.declaredInputs,i.declaredInputs),p(e.outputs,i.outputs)),o){var u=e.hostBindings,s=o.hostBindings;if(s&&(u?(e.hostBindings=function(e,t){s(e,t),u(e,t)},e.hostVars+=o.hostVars):e.hostBindings=s),wu(e)&&wu(o)){var c=e.viewQuery,f=o.viewQuery;f&&(e.viewQuery=c?function(e,t){f(e,t),c(e,t)}:f)}var d=e.contentQueries,h=o.contentQueries;h&&(e.contentQueries=d?function(e){h(e),d(e)}:h);var v=e.contentQueriesRefresh,g=o.contentQueriesRefresh;g&&(e.contentQueriesRefresh=v?function(e,t){g(e,t),v(e,t)}:g),p(e.inputs,o.inputs),p(e.declaredInputs,o.declaredInputs),p(e.outputs,o.outputs),e.afterContentChecked=e.afterContentChecked||o.afterContentChecked,e.afterContentInit=e.afterContentInit||o.afterContentInit,e.afterViewChecked=e.afterViewChecked||o.afterViewChecked,e.afterViewInit=e.afterViewInit||o.afterViewInit,e.doCheck=e.doCheck||o.doCheck,e.onDestroy=e.onDestroy||o.onDestroy,e.onInit=e.onInit||o.onInit;var y=o.features;if(y)try{for(var m=l(y),_=m.next();!_.done;_=m.next()){var w=_.value;w&&w.ngInherit&&w(e)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}return"break"}var b=t.prototype;b&&(e.afterContentChecked=e.afterContentChecked||b.afterContentChecked,e.afterContentInit=e.afterContentInit||b.afterContentInit,e.afterViewChecked=e.afterViewChecked||b.afterViewChecked,e.afterViewInit=e.afterViewInit||b.afterViewInit,e.doCheck=e.doCheck||b.doCheck,e.onDestroy=e.onDestroy||b.onDestroy,e.onInit=e.onInit||b.onInit),t=Object.getPrototypeOf(t)};t&&"break"!==r(););}function Cu(e){return e===ne?{}:e===re?[]:e}
|
|
328
336
|
/**
|
|
329
337
|
* @license
|
|
330
338
|
* Copyright Google Inc. All Rights Reserved.
|
|
331
339
|
*
|
|
332
340
|
* Use of this source code is governed by an MIT-style license that can be
|
|
333
341
|
* found in the LICENSE file at https://angular.io/license
|
|
334
|
-
*/var
|
|
342
|
+
*/var xu="__ngOnChanges_";function Iu(e){var t=e.declaredInputs,n=e.type.prototype,r=function(e){if(t.hasOwnProperty(e)){for(var r=t[e],o=xu+r,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,r),a=Object.getPrototypeOf(a);var u=i&&i.set;Object.defineProperty(n,r,{get:i&&i.get||(u?void 0:function(){return this[o]}),set:function(t){var n=this[xu];n||(n={},Object.defineProperty(this,xu,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[e];i?i.currentValue=t:n[e]=new pt(this[o],t,r),r?Object.defineProperty(this,o,{value:t,writable:!0}):this[o]=t,u&&u.call(this,t)},configurable:!1})}};for(var o in t)r(o);null!=e.onInit&&(e.onInit=ku(e.onInit)),e.doCheck=ku(e.doCheck)}function ku(e){return function(){var t=this[xu];null!=t&&(this.ngOnChanges(t),this[xu]=null),e&&e.apply(this)}}
|
|
335
343
|
/**
|
|
336
344
|
* @license
|
|
337
345
|
* Copyright Google Inc. All Rights Reserved.
|
|
338
346
|
*
|
|
339
347
|
* Use of this source code is governed by an MIT-style license that can be
|
|
340
348
|
* found in the LICENSE file at https://angular.io/license
|
|
341
|
-
*/
|
|
349
|
+
*/Iu.ngInherit=!0;var Eu=new E("The presence of this token marks an injector as being the root injector."),Ou={},Tu={},Pu=[],Ru=void 0;
|
|
342
350
|
/**
|
|
343
351
|
* @license
|
|
344
352
|
* Copyright Google Inc. All Rights Reserved.
|
|
345
353
|
*
|
|
346
354
|
* Use of this source code is governed by an MIT-style license that can be
|
|
347
355
|
* found in the LICENSE file at https://angular.io/license
|
|
348
|
-
*/function
|
|
356
|
+
*/function Du(){return void 0===Ru&&(Ru=new gr),Ru}function Nu(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Du(),new ju(e,n,t)}var ju=function(){function t(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Mu([e],function(e){return r.processInjectorType(e,[],o)}),t&&Mu(t,function(e){return r.processProvider(e)}),this.records.set(vr,Vu(void 0,this)),this.isRootInjector=this.records.has(Eu),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,n,r){void 0===n&&(n=hr),void 0===r&&(r=e.InjectFlags.Default),this.assertNotDestroyed();var o=Oe(this);try{if(!(r&e.InjectFlags.SkipSelf)){var i=this.records.get(t);if(void 0===i){var a=function u(e){return"function"==typeof e||"object"==typeof e&&e instanceof E}
|
|
349
357
|
/**
|
|
350
358
|
* @license
|
|
351
359
|
* Copyright Google Inc. All Rights Reserved.
|
|
352
360
|
*
|
|
353
361
|
* Use of this source code is governed by an MIT-style license that can be
|
|
354
362
|
* found in the LICENSE file at https://angular.io/license
|
|
355
|
-
*/(
|
|
363
|
+
*/(t)&&I(t);a&&this.injectableDefInScope(a)&&(i=Vu(Au(t),Ou),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(r&e.InjectFlags.Self?Du():this.parent).get(t,n)}finally{Oe(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(e,t,n){var r=this;if(e=fr(e)){var o=k(e),i=null==o&&e.ngModule||void 0,a=void 0===i?e:i;if(-1===n.indexOf(a)){var u=void 0!==i&&e.providers||Pu;if(void 0!==i&&(o=k(i)),null!=o){if(this.injectorDefTypes.add(a),this.records.set(a,Vu(o.factory)),null!=o.imports){n.push(a);try{Mu(o.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}null!=o.providers&&Mu(o.providers,function(e){return r.processProvider(e)}),Mu(u,function(e){return r.processProvider(e)})}}}},t.prototype.processProvider=function(e){var t=Hu(e=fr(e))?e:fr(e.provide),n=function r(e){var t=Su(e);return Fu(e)?Vu(void 0,e.useValue):Vu(t,Ou)}(e);if(Hu(e)||!0!==e.multi){var o=this.records.get(t);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+te(t))}else{var i=this.records.get(t);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+t+".")}else(i=Vu(void 0,Ou,!0)).factory=function(){return Ne(i.multi)},this.records.set(t,i);t=e,i.multi.push(e)}this.records.set(t,n)},t.prototype.hydrate=function(e,t){if(t.value===Tu)throw new Error("Circular dep for "+te(e));return t.value===Ou&&(t.value=Tu,t.value=t.factory()),"object"==typeof t.value&&t.value&&function n(e){return"object"==typeof e&&null!=e&&e.ngOnDestroy&&"function"==typeof e.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value},t.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},t}();function Au(e){var t=I(e);if(null===t){if(e instanceof E)throw new Error("Token "+te(e)+" is missing an ngInjectableDef definition.");return function(){return new e}}return t.factory}function Su(e){var t=void 0;if(Hu(e))return Au(fr(e));if(Fu(e))t=function(){return fr(e.useValue)};else if(function n(e){return!!e.useExisting}(e))t=function(){return Re(fr(e.useExisting))};else if(function r(e){return!!e.useFactory}(e))t=function(){return e.useFactory.apply(e,f(Ne(e.deps||[])))};else{var o=fr(e.useClass||e.provide);if(!function i(e){return!!e.deps}(e))return Au(o);t=function(){return new(o.bind.apply(o,f([void 0],Ne(e.deps))))}}return t}function Vu(e,t,n){return void 0===t&&(t=Ou),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Mu(e,t){e.forEach(function(e){return Array.isArray(e)?Mu(e,t):t(e)})}function Fu(e){return xr in e}function Hu(e){return"function"==typeof e}function Lu(e,t,n,r,o){if(e=fr(e),Array.isArray(e))for(var i=0;i<e.length;i++)Lu(e[i],t,n,r,o);else{var a=yn(),u=Hu(e)?e:fr(e.provide),s=Su(e),l=sn(),c=65535&l.providerIndexes,f=l.flags>>16,d=l.providerIndexes>>16;if(Hu(e)||!e.multi){var p=new je(s,o,za),h=Uu(u,t,o?c:c+d,f);-1==h?(Bn(Mn(l,a),a,u),t.push(u),l.flags+=65536,o&&(l.providerIndexes+=65536),n.push(p),a.push(p)):(n[h]=p,a[h]=p)}else{var v=Uu(u,t,c+d,f),g=Uu(u,t,c,c+d),y=g>=0&&n[g];o&&!y||!o&&!(v>=0&&n[v])?(Bn(Mn(l,a),a,u),p=function m(e,t,n,r,o){var i=new je(e,n,za);return i.multi=[],i.index=t,i.componentProviders=0,Bu(i,o,r&&!n),i}(o?Qu:zu,n.length,o,r,s),!o&&y&&(n[g].providerFactory=p),t.push(u),l.flags+=65536,o&&(l.providerIndexes+=65536),n.push(p),a.push(p)):Bu(n[o?g:v],s,!o&&r),!o&&r&&y&&n[g].componentProviders++}}}function Bu(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Uu(e,t,n,r){for(var o=n;o<r;o++)if(t[o]===e)return o;return-1}function zu(e,t,n,r){return Zu(this.multi,[])}function Qu(e,t,n,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,u=qn(t,n,this.providerFactory.index,r);Zu(i,o=u.slice(0,a));for(var s=a;s<u.length;s++)o.push(u[s])}else Zu(i,o=[]);return o}function Zu(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function qu(e,t){return void 0===t&&(t=[]),function(n){n.providersResolver=function(n){return function r(e,t,n){var r=yn()[Le];if(r.firstTemplatePass){var o=Rt(e);Lu(n,r.data,r.blueprint,o,!0),Lu(t,r.data,r.blueprint,o,!1)}}(n,e,t)}}}
|
|
356
364
|
/**
|
|
357
365
|
* @license
|
|
358
366
|
* Copyright Google Inc. All Rights Reserved.
|
|
359
367
|
*
|
|
360
368
|
* Use of this source code is governed by an MIT-style license that can be
|
|
361
369
|
* found in the LICENSE file at https://angular.io/license
|
|
362
|
-
*/var
|
|
370
|
+
*/var Ku=function Ku(){},Wu=function Wu(){};
|
|
363
371
|
/**
|
|
364
372
|
* @license
|
|
365
373
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -367,7 +375,7 @@ function _u(e){return"function"==typeof e.template}function wu(e){for(var t=func
|
|
|
367
375
|
* Use of this source code is governed by an MIT-style license that can be
|
|
368
376
|
* found in the LICENSE file at https://angular.io/license
|
|
369
377
|
*/
|
|
370
|
-
function
|
|
378
|
+
function Gu(e){var t=Error("No component factory found for "+te(e)+". Did you add it to @NgModule.entryComponents?");return t[$u]=e,t}var Yu,$u="ngComponent",Ju=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Gu(e)},e}(),Xu=function(){function e(){}return e.NULL=new Ju,e}(),es=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Gu(e);return new ts(t,this._ngModule)},e}(),ts=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Wu),ns=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return rs(e)},e}(),rs=sr,os=function os(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},is=function is(){},as=function as(){},us=(new E("Renderer2Interceptor"),function us(){}),ss=function ss(){};(Yu=e.RendererStyleFlags2||(e.RendererStyleFlags2={}))[Yu.Important=1]="Important",Yu[Yu.DashCase=2]="DashCase";var ls,cs=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return fs()},e}(),fs=sr,ds=new(ls=function ls(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("7.1.4"),ps=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){var t=he(e);return new _s(t)},t}(Xu);function hs(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var vs=new E("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return mu(Re(gs))}}),gs=new E("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return $t}}),ys=new E("WRAP_RENDERER_FACTORY2"),ms={},_s=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return hs(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return hs(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o,i=void 0===n;o=r?r.injector.get(ys,function(e){return e})(r.injector.get(ss)):Mr;var a=i?Ii(this.selector,o.createRenderer(null,this.componentDef)):Pi(o,n),u=this.componentDef.onPush?68:66,s=r&&!i?r.injector.get(vs):mu(),l=o.createRenderer(a,this.componentDef),c=r?function f(e,t){return{get:function(n,r){var o=e.get(n,ms);return o!==ms?o:t.get(n,r)}}}(e,r.injector):e;n&&a&&(Vr(l)?l.setAttribute(a,"ng-version",ds.full):a.setAttribute("ng-version",ds.full));var d,p,h=si(null,l,Oi(-1,null,1,0,null,null,null),s,u,void 0,c),v=Rn(h,null);try{o.begin&&o.begin();var g=gu(a,this.componentDef,h,l);if(p=Et(0,h),t)for(var y=0,m=h[Le],_=p.projection=[],w=0;w<t.length;w++){for(var b=t[w],C=null,x=null,I=0;I<b.length;I++){m.firstTemplatePass&&(m.expandoStartIndex++,m.blueprint.splice(++y+He,0,null),m.data.splice(y+He,0,null),h.splice(y+He,0,null));var k=li(y,3,b[I],null,null);x?x.next=k:C=k,x=k}_.push(C)}d=yu(g,this.componentDef,h,s,[_u]),ui(h,1)}finally{Nn(v,!0),o.end&&o.end()}var E=new ws(this.componentType,d,eu(ns,p,h),h,p);return i&&(E.hostView._tViewNode.child=p),E},t}(Wu),ws=(new ps,function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.location=r,a._rootView=o,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Xa(o),a.hostView._tViewNode=ci(-1,o),a.componentType=t,a}return o(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new Gn(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Ku)),bs=!0,Cs=!1;function xs(){return Cs=!0,bs}
|
|
371
379
|
/**
|
|
372
380
|
* @license
|
|
373
381
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -375,35 +383,35 @@ function Wu(e){var t=Error("No component factory found for "+te(e)+". Did you ad
|
|
|
375
383
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
384
|
* found in the LICENSE file at https://angular.io/license
|
|
377
385
|
*/
|
|
378
|
-
var
|
|
386
|
+
var Is=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function n(){try{return!!window.DOMParser}catch(e){return!1}}
|
|
379
387
|
/**
|
|
380
388
|
* @license
|
|
381
389
|
* Copyright Google Inc. All Rights Reserved.
|
|
382
390
|
*
|
|
383
391
|
* Use of this source code is governed by an MIT-style license that can be
|
|
384
392
|
* found in the LICENSE file at https://angular.io/license
|
|
385
|
-
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),
|
|
393
|
+
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),ks=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Es=/^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 Os(e){return(e=String(e)).match(ks)||e.match(Es)?e:(xs()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Ts(e){return(e=String(e)).split(",").map(function(e){return Os(e.trim())}).join(", ")}
|
|
386
394
|
/**
|
|
387
395
|
* @license
|
|
388
396
|
* Copyright Google Inc. All Rights Reserved.
|
|
389
397
|
*
|
|
390
398
|
* Use of this source code is governed by an MIT-style license that can be
|
|
391
399
|
* found in the LICENSE file at https://angular.io/license
|
|
392
|
-
*/function
|
|
400
|
+
*/function Ps(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function Rs(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(o[s]=!0)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var Ds,Ns=Ps("area,br,col,hr,img,wbr"),js=Ps("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),As=Ps("rp,rt"),Ss=Rs(As,js),Vs=Rs(js,Ps("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")),Ms=Rs(As,Ps("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")),Fs=Rs(Ns,Vs,Ms,Ss),Hs=Ps("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ls=Ps("srcset"),Bs=Ps("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"),Us=Rs(Hs,Ls,Bs),zs=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;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);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Fs.hasOwnProperty(t))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,a=i.toLowerCase();if(Us.hasOwnProperty(a)){var u=o.value;Hs[a]&&(u=Os(u)),Ls[a]&&(u=Ts(u)),this.buf.push(" ",i,'="',qs(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Fs.hasOwnProperty(t)&&!Ns.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(qs(e))},e.prototype.checkClobberedElement=function(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},e}(),Qs=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zs=/([^\#-~ |!])/g;function qs(e){return e.replace(/&/g,"&").replace(Qs,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Zs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Ks(e,t){var n=null;try{Ds=Ds||new Is(e);var r=t?String(t):"";n=Ds.getInertBodyElement(r);var 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=Ds.getInertBodyElement(r)}while(r!==i);var a=new zs,u=a.sanitizeChildren(Ws(n)||n);return xs()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=Ws(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function Ws(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
393
401
|
/**
|
|
394
402
|
* @license
|
|
395
403
|
* Copyright Google Inc. All Rights Reserved.
|
|
396
404
|
*
|
|
397
405
|
* Use of this source code is governed by an MIT-style license that can be
|
|
398
406
|
* found in the LICENSE file at https://angular.io/license
|
|
399
|
-
*/(e)?e.content:null}var Ws={marker:"element"},Gs={marker:"comment"},Ys="�",$s=/^\s*(�\d+�)\s*,\s*(select|plural)\s*,/,Js=/�\/?\*(\d+:\d+)�/gi,Xs=/�(\/?[#*]\d+):?\d*�/gi,el=/�(\d+):?\d*�/gi,tl=/({\s*�\d+�\s*,\s*\S{6}\s*,[\s\S]*})/gi,nl=/\[(�.+?�?)\]/g,rl=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,ol=/�I18N_EXP_(ICU(_\d+)?)�/g;function il(e){if(!e)return[];var t,n=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;t=i.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var u=e.substring(n,a);$s.test(u)?o.push(al(u)):u&&o.push(u),n=a+1}}else{if(0==r.length){var s=e.substring(n,a);o.push(s),n=a+1}r.push("{")}}var l=e.substring(n);return""!=l&&o.push(l),o}function al(e){for(var t=[],n=[],r=1,o=0,i=il(e=e.replace($s,function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})),a=0;a<i.length;){var u=i[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);var s=il(i[a++]);s.length&&n.push(s)}return function l(e,t,n){e<=t&&function r(e){throw new Error("ASSERTION ERROR: "+e)}(n)}(t.indexOf("other"),-1,'Missing key "other" in ICU statement.'),{type:r,mainBinding:o,cases:t,values:n}}function ul(e){for(var t,n,r="",o=0,i=!1;null!==(t=Js.exec(e));)i?t[0]===Ys+"/*"+n+Ys&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return r+e.substr(o)}function sl(e,t,n,r){void 0===r&&(r=null);for(var o=[null,null],i=e.split(el),a=0,u=0;u<i.length;u++){var s=i[u];if(1&u){var l=parseInt(s,10);o.push(-1-l),a|=dl(l)}else""!==s&&o.push(s)}return o.push(t<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function ll(e,t){var n;void 0===t&&(t=0),t|=dl(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var o=e.values[r],i=0;i<o.length;i++){var a=o[i];if("string"==typeof a)for(;n=el.exec(a);)t|=dl(parseInt(n[1],10));else t=ll(a,t)}return t}var cl=[],fl=-1;function dl(e){return 1<<Math.min(e,31)}var pl=[];function hl(e,t,n){var r=dn();r.firstTemplatePass&&null===r.data[e+Fe]&&function o(e,t,n,r){cl[++fl]=t;var o=on(),i=e.blueprint.length-Fe,a=un(),u=cn()?un():a&&a.parent,s=u&&u!==o[Ze]?u.index-Fe:t,l=0;pl[l]=s;var c=[];t>0&&a!==u&&c.push(a.index<<3|0);for(var f=[],d=[],p=function h(e,t){if("number"!=typeof t)return ul(e);var n=e.indexOf(":"+t+Ys)+2+t.toString().length,r=e.search(new RegExp(Ys+"\\/\\*\\d+:"+t+Ys));return ul(e.substring(n,r))}(n,r).split(Xs),v=0;v<p.length;v++){var y=p[v];if(1&v)if("/"===y.charAt(0)){if("#"===y.charAt(1)){var g=parseInt(y.substr(2),10);s=pl[--l],c.push(g<<3|5)}}else g=parseInt(y.substr(1),10),c.push(g<<3|0,s<<17|1),"#"===y.charAt(0)&&(pl[++l]=s=g);else for(var m=y.split(tl),_=0;_<m.length;_++)if(y=m[_],1&_){ci(o);var w=e.blueprint.length-1-Fe;c.push(Gs,"",s<<17|1);var b=al(y.substr(1,y.length-2)),C=ll(b);Tl(d,b,w,w);var x=d.length-1;f.push(dl(b.mainBinding),3,-1-b.mainBinding,w<<2|2,x,C,2,w<<2|3,x)}else if(""!==y){var I=y.match(el);ci(o),c.push(I?"":y,s<<17|1),I&&$t(sl(y,e.blueprint.length-1-Fe),f)}}e.data[t+Fe]={vars:e.blueprint.length-Fe-i,expandoStartIndex:i,create:c,update:f,icus:d.length?d:null}}(r,e,t,n)}function vl(e,t,n){var r=on();n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[Ze]&&(e.parent=t),oo(It(e,r),e,r);var o=r[e.index];return 0!==e.type&&Rt(o)&&oo(o[gt],e,r),e}function yl(e,t){var n={},r=e.replace(nl,function(e,t){if(n[t]||(n[t]=t.split("|")),!n[t].length)throw new Error("i18n postprocess: unmatched placeholder - "+t);return n[t].shift()});if(Object.keys(n).some(function(e){return!!n[e].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(t).length?r=(r=r.replace(rl,function(e,n,r,o,i,a){return t.hasOwnProperty(r)?""+n+t[r]+a:e})).replace(ol,function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+n);return r.shift()}return e}):r}function gl(){var e=dn();e.firstTemplatePass&&function t(e){for(var t=on(),n=cl[fl--],r=e.data[n+Fe],o=un(),i=ml(n,r.create,r.expandoStartIndex,t),a=n+1;a<=o.index-Fe;a++)-1===i.indexOf(a)&&_l(a,t)}(e)}function ml(e,t,n,r){for(var o=Jt(),i=null,a=null,u=[],s=0;s<t.length;s++){var l=t[s];if("string"==typeof l)a=i,i=si(n++,3,Zr(l,o),null,null),fn(!1);else if("number"==typeof l)switch(7&l){case 1:var c=l>>>17,f=void 0;a=vl(i,f=c===e?r[Ze]:kt(c,r),a),f.next=null;break;case 0:var d=l>>>3;u.push(d),a=i,(i=kt(d,r))&&(sn(i),3===i.type&&fn(!0));break;case 5:a=i=kt(l>>>3,r),sn(i),fn(!1);break;case 4:Ai(l>>>3,t[++s],t[++s]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}else switch(l){case Gs:var p=t[++s];a=i,(i=si(n++,5,o.createComment(p),null,null)).activeCaseIndex=null,fn(!1);break;case Ws:var h=t[++s];a=i,i=si(n++,3,o.createElement(h),h,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}}return fn(!1),u}function _l(e,t){var n=kt(e,t);uo(n,xt(e,t)||null,t),n.detached=!0;var r=Va(e);if(Rt(r)){var o=r;0!==n.type&&uo(n,o[gt]||null,t),o[mt]=null}}function wl(e,t,n){hl(e,t,n),gl()}function bl(e,t){var n=dn();n.firstTemplatePass&&null===n.data[e+Fe]&&function r(e,t,n){for(var r=un().index-Fe,o=[],i=0;i<n.length;i+=2)for(var a=n[i],u=n[i+1].split(tl),s=0;s<u.length;s++){var l=u[s];1&s||""!==l&&(l.match(el)?$t(sl(l,r,a),o):Ai(r,a,l))}e.data[t+Fe]=o}(n,e,t)}var Cl,xl=0,Il=0;function kl(e){e!==vo&&(xl|=1<<Il),Il++}function El(e){if(Il){var t=dn(),n=on(),r=t.data[e+Fe],o=void 0,i=null;Array.isArray(r)?o=r:(o=r.update,i=r.icus),function e(t,n,r,o,i,a){void 0===a&&(a=!1);for(var u=!1,s=0;s<t.length;s++){var l=t[s],c=t[++s];if(a||l&o)for(var f="",d=s+1;d<=s+c;d++){var p=t[d];if("string"==typeof p)f+=p;else if("number"==typeof p)if(p<0)f+=wt(i[r-p]);else{var h=p>>>2;switch(3&p){case 1:Ai(h,t[++d],f,t[++d]);break;case 0:Zi(h,f);break;case 2:var v=t[++d],y=n[v],g=kt(h,i);if(null!==g.activeCaseIndex)for(var m=y.remove[g.activeCaseIndex],_=0;_<m.length;_++){var w=m[_];switch(7&w){case 3:_l(w>>>3,i);break;case 6:var b=kt(m[_+1]>>>3,i).activeCaseIndex;null!==b&&$t(n[w>>>3].remove[b],m)}}var C=Ol(y,f);g.activeCaseIndex=-1!==C?C:null,ml(-1,y.create[C],y.expandoStartIndex,i),u=!0;break;case 3:y=n[v=t[++d]],g=kt(h,i),e(y.update[g.activeCaseIndex],n,r,o,i,u)}}}s+=c}}(o,i,n[qe]-Il-1,xl,n),xl=0,Il=0}}function Ol(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function o(e,t){switch(function n(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Cl.One:Cl.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Cl.One:Cl.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Cl.One:Cl.Other;case"ar":return 0===n?Cl.Zero:1===n?Cl.One:2===n?Cl.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Cl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Cl.Many:Cl.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Cl.One:Cl.Other;case"be":return n%10==1&&n%100!=11?Cl.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Cl.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Cl.Many:Cl.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Cl.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Cl.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Cl.Few:0!==n&&n%1e6==0?Cl.Many:Cl.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Cl.Few:Cl.Other;case"cs":case"sk":return 1===o&&0===i?Cl.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Cl.Few:0!==i?Cl.Many:Cl.Other;case"cy":return 0===n?Cl.Zero:1===n?Cl.One:2===n?Cl.Two:3===n?Cl.Few:6===n?Cl.Many:Cl.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?Cl.One:Cl.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Cl.One:0===i&&o%100==2||a%100==2?Cl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Cl.Few:Cl.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Cl.One:Cl.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Cl.One:Cl.Other;case"ga":return 1===n?Cl.One:2===n?Cl.Two:n===Math.floor(n)&&n>=3&&n<=6?Cl.Few:n===Math.floor(n)&&n>=7&&n<=10?Cl.Many:Cl.Other;case"gd":return 1===n||11===n?Cl.One:2===n||12===n?Cl.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Cl.Few:Cl.Other;case"gv":return 0===i&&o%10==1?Cl.One:0===i&&o%10==2?Cl.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Cl.Many:Cl.Other:Cl.Few;case"he":return 1===o&&0===i?Cl.One:2===o&&0===i?Cl.Two:0!==i||n>=0&&n<=10||n%10!=0?Cl.Other:Cl.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?Cl.One:Cl.Other;case"ksh":return 0===n?Cl.Zero:1===n?Cl.One:Cl.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Cl.One:2===n?Cl.Two:Cl.Other;case"lag":return 0===n?Cl.Zero:0!==o&&1!==o||0===n?Cl.Other:Cl.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Cl.Few:0!==a?Cl.Many:Cl.Other:Cl.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Cl.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Cl.One:Cl.Other;case"mk":return 0===i&&o%10==1||a%10==1?Cl.One:Cl.Other;case"mt":return 1===n?Cl.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Cl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Cl.Many:Cl.Other;case"pl":return 1===o&&0===i?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Cl.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Cl.Many:Cl.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Cl.One:Cl.Other;case"ro":return 1===o&&0===i?Cl.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Cl.Few:Cl.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Cl.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Cl.Many:Cl.Other;case"shi":return 0===o||1===n?Cl.One:n===Math.floor(n)&&n>=2&&n<=10?Cl.Few:Cl.Other;case"si":return 0===n||1===n||0===o&&1===a?Cl.One:Cl.Other;case"sl":return 0===i&&o%100==1?Cl.One:0===i&&o%100==2?Cl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Cl.Few:Cl.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Cl.One:Cl.Other;default:return Cl.Other}}(t,e)){case Cl.Zero:return"zero";case Cl.One:return"one";case Cl.Two:return"two";case Cl.Few:return"few";case Cl.Many:return"many";default:return"other"}}(t,"en-US");-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Tl(e,t,n,r){for(var o=[],i=[],a=[],u=[],s=[],l=0;l<t.values.length;l++){for(var c=t.values[l],d=[],p=0;p<c.length;p++){var h=c[p];if("string"!=typeof h){var v=d.push(h)-1;c[p]="\x3c!--�"+v+"�--\x3e"}}var y=Pl(c.join(""),n,d,e,r);o.push(y.create),i.push(y.remove),a.push(y.update),u.push(y.vars),s.push(y.childIcus)}e.push({type:t.type,vars:u,expandoStartIndex:r+1,childIcus:s,cases:t.cases,create:o,remove:i,update:a});var g=on(),m=Math.max.apply(Math,f(u));for(l=0;l<m;l++)ci(g)}function Pl(e,t,n,r,o){var i=new xs(document).getInertBodyElement(e);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,o,i,a){if(t){for(var u=[];t;){var s=t.nextSibling,l=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,d=c.tagName.toLowerCase();if(Ms.hasOwnProperty(d)){n.create.push(Ws,d,r<<17|1);for(var p=c.attributes,h=0;h<p.length;h++){var v=p.item(h),y=v.name.toLowerCase();v.value.match(el)?Bs.hasOwnProperty(y)&&$t(Fs[y]?sl(v.value,l,v.name,Es):Hs[y]?sl(v.value,l,v.name,Os):sl(v.value,l,v.name),n.update):n.create.push(l<<3|4,v.name,v.value)}e(t.firstChild,n,l,o,i,a),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var g=t.textContent||"",m=g.match(el);n.create.push(m?"":g,r<<17|1),n.remove.push(l<<3|3),m&&$t(sl(g,l),n.update);break;case Node.COMMENT_NODE:var _=Rl.exec(t.textContent||"");if(_){var w=parseInt(_[1],10);n.create.push(Gs,"",r<<17|1),u.push([b=o[w],l])}else n.vars--;break;default:n.vars--}t=s}for(h=0;h<u.length;h++){var b,C=u[h][1];Tl(i,b=u[h][0],C,a+n.vars);var x=i.length-1;n.vars+=Math.max.apply(Math,f(i[x].vars)),n.childIcus.push(x);var I=ll(b);n.update.push(dl(b.mainBinding),3,-1-b.mainBinding,C<<2|2,x,I,2,C<<2|3,x),n.remove.push(x<<3|6,C<<3|3)}}}
|
|
407
|
+
*/(e)?e.content:null}var Gs={marker:"element"},Ys={marker:"comment"},$s="�",Js=/^\s*(�\d+�)\s*,\s*(select|plural)\s*,/,Xs=/�\/?\*(\d+:\d+)�/gi,el=/�(\/?[#*]\d+):?\d*�/gi,tl=/�(\d+):?\d*�/gi,nl=/({\s*�\d+�\s*,\s*\S{6}\s*,[\s\S]*})/gi,rl=/\[(�.+?�?)\]/g,ol=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,il=/�I18N_EXP_(ICU(_\d+)?)�/g;function al(e){if(!e)return[];var t,n=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;t=i.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var u=e.substring(n,a);Js.test(u)?o.push(ul(u)):u&&o.push(u),n=a+1}}else{if(0==r.length){var s=e.substring(n,a);o.push(s),n=a+1}r.push("{")}}var l=e.substring(n);return""!=l&&o.push(l),o}function ul(e){for(var t=[],n=[],r=1,o=0,i=al(e=e.replace(Js,function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})),a=0;a<i.length;){var u=i[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);var s=al(i[a++]);s.length&&n.push(s)}return function l(e,t,n){e<=t&&function r(e){throw new Error("ASSERTION ERROR: "+e)}(n)}(t.indexOf("other"),-1,'Missing key "other" in ICU statement.'),{type:r,mainBinding:o,cases:t,values:n}}function sl(e){for(var t,n,r="",o=0,i=!1;null!==(t=Xs.exec(e));)i?t[0]===$s+"/*"+n+$s&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return r+e.substr(o)}function ll(e,t,n,r){void 0===r&&(r=null);for(var o=[null,null],i=e.split(tl),a=0,u=0;u<i.length;u++){var s=i[u];if(1&u){var l=parseInt(s,10);o.push(-1-l),a|=pl(l)}else""!==s&&o.push(s)}return o.push(t<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function cl(e,t){var n;void 0===t&&(t=0),t|=pl(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var o=e.values[r],i=0;i<o.length;i++){var a=o[i];if("string"==typeof a)for(;n=tl.exec(a);)t|=pl(parseInt(n[1],10));else t=cl(a,t)}return t}var fl=[],dl=-1;function pl(e){return 1<<Math.min(e,31)}var hl=[];function vl(e,t,n){var r=pn();r.firstTemplatePass&&null===r.data[e+He]&&function o(e,t,n,r){fl[++dl]=t;var o=an(),i=e.blueprint.length-He,a=sn(),u=fn()?sn():a&&a.parent,s=u&&u!==o[qe]?u.index-He:t,l=0;hl[l]=s;var c=[];t>0&&a!==u&&c.push(a.index<<3|0);for(var f=[],d=[],p=function h(e,t){if("number"!=typeof t)return sl(e);var n=e.indexOf(":"+t+$s)+2+t.toString().length,r=e.search(new RegExp($s+"\\/\\*\\d+:"+t+$s));return sl(e.substring(n,r))}(n,r).split(el),v=0;v<p.length;v++){var g=p[v];if(1&v)if("/"===g.charAt(0)){if("#"===g.charAt(1)){var y=parseInt(g.substr(2),10);s=hl[--l],c.push(y<<3|5)}}else y=parseInt(g.substr(1),10),c.push(y<<3|0,s<<17|1),"#"===g.charAt(0)&&(hl[++l]=s=y);else for(var m=g.split(nl),_=0;_<m.length;_++)if(g=m[_],1&_){fi(o);var w=e.blueprint.length-1-He;c.push(Ys,"",s<<17|1);var b=ul(g.substr(1,g.length-2)),C=cl(b);Pl(d,b,w,w);var x=d.length-1;f.push(pl(b.mainBinding),3,-1-b.mainBinding,w<<2|2,x,C,2,w<<2|3,x)}else if(""!==g){var I=g.match(tl);fi(o),c.push(I?"":g,s<<17|1),I&&Jt(ll(g,e.blueprint.length-1-He),f)}}e.data[t+He]={vars:e.blueprint.length-He-i,expandoStartIndex:i,create:c,update:f,icus:d.length?d:null}}(r,e,t,n)}function gl(e,t,n){var r=an();n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[qe]&&(e.parent=t),io(kt(e,r),e,r);var o=r[e.index];return 0!==e.type&&Dt(o)&&io(o[mt],e,r),e}function yl(e,t){var n={},r=e.replace(rl,function(e,t){if(n[t]||(n[t]=t.split("|")),!n[t].length)throw new Error("i18n postprocess: unmatched placeholder - "+t);return n[t].shift()});if(Object.keys(n).some(function(e){return!!n[e].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(t).length?r=(r=r.replace(ol,function(e,n,r,o,i,a){return t.hasOwnProperty(r)?""+n+t[r]+a:e})).replace(il,function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+n);return r.shift()}return e}):r}function ml(){var e=pn();e.firstTemplatePass&&function t(e){for(var t=an(),n=fl[dl--],r=e.data[n+He],o=sn(),i=_l(n,r.create,r.expandoStartIndex,t),a=n+1;a<=o.index-He;a++)-1===i.indexOf(a)&&wl(a,t)}(e)}function _l(e,t,n,r){for(var o=Xt(),i=null,a=null,u=[],s=0;s<t.length;s++){var l=t[s];if("string"==typeof l)a=i,i=li(n++,3,qr(l,o),null,null),dn(!1);else if("number"==typeof l)switch(7&l){case 1:var c=l>>>17,f=void 0;a=gl(i,f=c===e?r[qe]:Et(c,r),a),f.next=null;break;case 0:var d=l>>>3;u.push(d),a=i,(i=Et(d,r))&&(ln(i),3===i.type&&dn(!0));break;case 5:a=i=Et(l>>>3,r),ln(i),dn(!1);break;case 4:Ai(l>>>3,t[++s],t[++s]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}else switch(l){case Ys:var p=t[++s];a=i,(i=li(n++,5,o.createComment(p),null,null)).activeCaseIndex=null,dn(!1);break;case Gs:var h=t[++s];a=i,i=li(n++,3,o.createElement(h),h,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}}return dn(!1),u}function wl(e,t){var n=Et(e,t);so(n,It(e,t)||null,t),n.detached=!0;var r=Va(e);if(Dt(r)){var o=r;0!==n.type&&so(n,o[mt]||null,t),o[_t]=null}}function bl(e,t,n){vl(e,t,n),ml()}function Cl(e,t){var n=pn();n.firstTemplatePass&&null===n.data[e+He]&&function r(e,t,n){for(var r=sn().index-He,o=[],i=0;i<n.length;i+=2)for(var a=n[i],u=n[i+1].split(nl),s=0;s<u.length;s++){var l=u[s];1&s||""!==l&&(l.match(tl)?Jt(ll(l,r,a),o):Ai(r,a,l))}e.data[t+He]=o}(n,e,t)}var xl,Il=0,kl=0;function El(e){e!==go&&(Il|=1<<kl),kl++}function Ol(e){if(kl){var t=pn(),n=an(),r=t.data[e+He],o=void 0,i=null;Array.isArray(r)?o=r:(o=r.update,i=r.icus),function e(t,n,r,o,i,a){void 0===a&&(a=!1);for(var u=!1,s=0;s<t.length;s++){var l=t[s],c=t[++s];if(a||l&o)for(var f="",d=s+1;d<=s+c;d++){var p=t[d];if("string"==typeof p)f+=p;else if("number"==typeof p)if(p<0)f+=bt(i[r-p]);else{var h=p>>>2;switch(3&p){case 1:Ai(h,t[++d],f,t[++d]);break;case 0:qi(h,f);break;case 2:var v=t[++d],g=n[v],y=Et(h,i);if(null!==y.activeCaseIndex)for(var m=g.remove[y.activeCaseIndex],_=0;_<m.length;_++){var w=m[_];switch(7&w){case 3:wl(w>>>3,i);break;case 6:var b=Et(m[_+1]>>>3,i).activeCaseIndex;null!==b&&Jt(n[w>>>3].remove[b],m)}}var C=Tl(g,f);y.activeCaseIndex=-1!==C?C:null,_l(-1,g.create[C],g.expandoStartIndex,i),u=!0;break;case 3:g=n[v=t[++d]],y=Et(h,i),e(g.update[y.activeCaseIndex],n,r,o,i,u)}}}s+=c}}(o,i,n[Ke]-kl-1,Il,n),Il=0,kl=0}}function Tl(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function o(e,t){switch(function n(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?xl.One:xl.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?xl.One:xl.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?xl.One:xl.Other;case"ar":return 0===n?xl.Zero:1===n?xl.One:2===n?xl.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?xl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?xl.Many:xl.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?xl.One:xl.Other;case"be":return n%10==1&&n%100!=11?xl.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?xl.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?xl.Many:xl.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?xl.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?xl.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?xl.Few:0!==n&&n%1e6==0?xl.Many:xl.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?xl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?xl.Few:xl.Other;case"cs":case"sk":return 1===o&&0===i?xl.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?xl.Few:0!==i?xl.Many:xl.Other;case"cy":return 0===n?xl.Zero:1===n?xl.One:2===n?xl.Two:3===n?xl.Few:6===n?xl.Many:xl.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?xl.One:xl.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?xl.One:0===i&&o%100==2||a%100==2?xl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?xl.Few:xl.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?xl.One:xl.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?xl.One:xl.Other;case"ga":return 1===n?xl.One:2===n?xl.Two:n===Math.floor(n)&&n>=3&&n<=6?xl.Few:n===Math.floor(n)&&n>=7&&n<=10?xl.Many:xl.Other;case"gd":return 1===n||11===n?xl.One:2===n||12===n?xl.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?xl.Few:xl.Other;case"gv":return 0===i&&o%10==1?xl.One:0===i&&o%10==2?xl.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?xl.Many:xl.Other:xl.Few;case"he":return 1===o&&0===i?xl.One:2===o&&0===i?xl.Two:0!==i||n>=0&&n<=10||n%10!=0?xl.Other:xl.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?xl.One:xl.Other;case"ksh":return 0===n?xl.Zero:1===n?xl.One:xl.Other;case"kw":case"naq":case"se":case"smn":return 1===n?xl.One:2===n?xl.Two:xl.Other;case"lag":return 0===n?xl.Zero:0!==o&&1!==o||0===n?xl.Other:xl.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?xl.Few:0!==a?xl.Many:xl.Other:xl.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?xl.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?xl.One:xl.Other;case"mk":return 0===i&&o%10==1||a%10==1?xl.One:xl.Other;case"mt":return 1===n?xl.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?xl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?xl.Many:xl.Other;case"pl":return 1===o&&0===i?xl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?xl.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?xl.Many:xl.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?xl.One:xl.Other;case"ro":return 1===o&&0===i?xl.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?xl.Few:xl.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?xl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?xl.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?xl.Many:xl.Other;case"shi":return 0===o||1===n?xl.One:n===Math.floor(n)&&n>=2&&n<=10?xl.Few:xl.Other;case"si":return 0===n||1===n||0===o&&1===a?xl.One:xl.Other;case"sl":return 0===i&&o%100==1?xl.One:0===i&&o%100==2?xl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?xl.Few:xl.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?xl.One:xl.Other;default:return xl.Other}}(t,e)){case xl.Zero:return"zero";case xl.One:return"one";case xl.Two:return"two";case xl.Few:return"few";case xl.Many:return"many";default:return"other"}}(t,"en-US");-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Pl(e,t,n,r){for(var o=[],i=[],a=[],u=[],s=[],l=0;l<t.values.length;l++){for(var c=t.values[l],d=[],p=0;p<c.length;p++){var h=c[p];if("string"!=typeof h){var v=d.push(h)-1;c[p]="\x3c!--�"+v+"�--\x3e"}}var g=Rl(c.join(""),n,d,e,r);o.push(g.create),i.push(g.remove),a.push(g.update),u.push(g.vars),s.push(g.childIcus)}e.push({type:t.type,vars:u,expandoStartIndex:r+1,childIcus:s,cases:t.cases,create:o,remove:i,update:a});var y=an(),m=Math.max.apply(Math,f(u));for(l=0;l<m;l++)fi(y)}function Rl(e,t,n,r,o){var i=new Is(document).getInertBodyElement(e);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,o,i,a){if(t){for(var u=[];t;){var s=t.nextSibling,l=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,d=c.tagName.toLowerCase();if(Fs.hasOwnProperty(d)){n.create.push(Gs,d,r<<17|1);for(var p=c.attributes,h=0;h<p.length;h++){var v=p.item(h),g=v.name.toLowerCase();v.value.match(tl)?Us.hasOwnProperty(g)&&Jt(Hs[g]?ll(v.value,l,v.name,Os):Ls[g]?ll(v.value,l,v.name,Ts):ll(v.value,l,v.name),n.update):n.create.push(l<<3|4,v.name,v.value)}e(t.firstChild,n,l,o,i,a),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var y=t.textContent||"",m=y.match(tl);n.create.push(m?"":y,r<<17|1),n.remove.push(l<<3|3),m&&Jt(ll(y,l),n.update);break;case Node.COMMENT_NODE:var _=Dl.exec(t.textContent||"");if(_){var w=parseInt(_[1],10);n.create.push(Ys,"",r<<17|1),u.push([b=o[w],l])}else n.vars--;break;default:n.vars--}t=s}for(h=0;h<u.length;h++){var b,C=u[h][1];Pl(i,b=u[h][0],C,a+n.vars);var x=i.length-1;n.vars+=Math.max.apply(Math,f(i[x].vars)),n.childIcus.push(x);var I=cl(b);n.update.push(pl(b.mainBinding),3,-1-b.mainBinding,C<<2|2,x,I,2,C<<2|3,x),n.remove.push(x<<3|6,C<<3|3)}}}
|
|
400
408
|
/**
|
|
401
409
|
* @license
|
|
402
410
|
* Copyright Google Inc. All Rights Reserved.
|
|
403
411
|
*
|
|
404
412
|
* Use of this source code is governed by an MIT-style license that can be
|
|
405
413
|
* found in the LICENSE file at https://angular.io/license
|
|
406
|
-
*/((
|
|
414
|
+
*/((Ws(i)||i).firstChild,a,t,n,r,o),a}!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"}(xl||(xl={}));var Dl=/�(\d+)�/,Nl={provide:Xu,useFactory:function(){return new ps},deps:[]},jl=function(e){function t(t,n){var r=e.call(this)||this;r._bootstrapComponents=[],r.destroyCbs=[];var o=ye(t);return r._bootstrapComponents=o.bootstrap,r.injector=Nu(t,n,[Nl,{provide:Dr,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new ps,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Dr),Al=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}return o(t,e),t.prototype.create=function(e){return new jl(this.moduleType,e)},t}(Nr);
|
|
407
415
|
/**
|
|
408
416
|
* @license
|
|
409
417
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -411,35 +419,35 @@ var xs=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.def
|
|
|
411
419
|
* Use of this source code is governed by an MIT-style license that can be
|
|
412
420
|
* found in the LICENSE file at https://angular.io/license
|
|
413
421
|
*/
|
|
414
|
-
function
|
|
422
|
+
function Sl(e,t,n){var r=Tn()+e;return gn()?Ha(r,n?t.call(n):t()):Ma(r)}function Vl(e,t,n,r){var o=Tn()+e;return Fa(o,n)?Ha(o+1,r?t.call(r,n):t(n)):Ma(o+1)}function Ml(e,t,n,r,o){var i=Tn()+e;return La(i,n,r)?Ha(i+2,o?t.call(o,n,r):t(n,r)):Ma(i+2)}function Fl(e,t,n,r,o,i){var a=Tn()+e;return Ba(a,n,r,o)?Ha(a+3,i?t.call(i,n,r,o):t(n,r,o)):Ma(a+3)}function Hl(e,t,n,r,o,i,a){var u=Tn()+e;return Ua(u,n,r,o,i)?Ha(u+4,a?t.call(a,n,r,o,i):t(n,r,o,i)):Ma(u+4)}function Ll(e,t,n,r,o,i,a,u){var s=Tn()+e,l=Ua(s,n,r,o,i);return Fa(s+4,a)||l?Ha(s+5,u?t.call(u,n,r,o,i,a):t(n,r,o,i,a)):Ma(s+5)}function Bl(e,t,n,r,o,i,a,u,s){var l=Tn()+e,c=Ua(l,n,r,o,i);return La(l+4,a,u)||c?Ha(l+6,s?t.call(s,n,r,o,i,a,u):t(n,r,o,i,a,u)):Ma(l+6)}function Ul(e,t,n,r,o,i,a,u,s,l){var c=Tn()+e,f=Ua(c,n,r,o,i);return Ba(c+4,a,u,s)||f?Ha(c+7,l?t.call(l,n,r,o,i,a,u,s):t(n,r,o,i,a,u,s)):Ma(c+7)}function zl(e,t,n,r,o,i,a,u,s,l,c){var f=Tn()+e,d=Ua(f,n,r,o,i);return Ua(f+4,a,u,s,l)||d?Ha(f+8,c?t.call(c,n,r,o,i,a,u,s,l):t(n,r,o,i,a,u,s,l)):Ma(f+8)}function Ql(e,t,n,r){for(var o=Tn()+e,i=!1,a=0;a<n.length;a++)Fa(o++,n[a])&&(i=!0);return i?Ha(o,t.apply(r,n)):Ma(o)}
|
|
415
423
|
/**
|
|
416
424
|
* @license
|
|
417
425
|
* Copyright Google Inc. All Rights Reserved.
|
|
418
426
|
*
|
|
419
427
|
* Use of this source code is governed by an MIT-style license that can be
|
|
420
428
|
* found in the LICENSE file at https://angular.io/license
|
|
421
|
-
*/function
|
|
429
|
+
*/function Zl(e,t){var n,r=pn(),o=e+He;r.firstTemplatePass?(n=function i(e,t){if(t)for(var n=0;n<t.length;n++){var r=t[n];if(e===r.name)return r}throw new Error("Pipe with name '"+e+"' not found!")}(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.pipeDestroyHooks||(r.pipeDestroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var a=n.factory(null);return ja(e,a),a}function ql(e,t,n){var r=Va(e);return $l(e)?Vl(t,r.transform,n,r):r.transform(n)}function Kl(e,t,n,r){var o=Va(e);return $l(e)?Ml(t,o.transform,n,r,o):o.transform(n,r)}function Wl(e,t,n,r,o){var i=Va(e);return $l(e)?Fl(t,i.transform,n,r,o,i):i.transform(n,r,o)}function Gl(e,t,n,r,o,i){var a=Va(e);return $l(e)?Hl(t,a.transform,n,r,o,i,a):a.transform(n,r,o,i)}function Yl(e,t,n){var r=Va(e);return $l(e)?Ql(t,r.transform,n,r):r.transform.apply(r,n)}function $l(e){return pn().data[e+He].pure}
|
|
422
430
|
/**
|
|
423
431
|
* @license
|
|
424
432
|
* Copyright Google Inc. All Rights Reserved.
|
|
425
433
|
*
|
|
426
434
|
* Use of this source code is governed by an MIT-style license that can be
|
|
427
435
|
* found in the LICENSE file at https://angular.io/license
|
|
428
|
-
*/var
|
|
436
|
+
*/var Jl=function(e){function n(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(n,e),n.prototype.emit=function(t){e.prototype.next.call(this,t)},n.prototype.subscribe=function(n,r,o){var i,a=function(e){return null},u=function(){return null};n&&"object"==typeof n?(i=this.__isAsync?function(e){setTimeout(function(){return n.next(e)})}:function(e){n.next(e)},n.error&&(a=this.__isAsync?function(e){setTimeout(function(){return n.error(e)})}:function(e){n.error(e)}),n.complete&&(u=this.__isAsync?function(){setTimeout(function(){return n.complete()})}:function(){n.complete()})):(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)},r&&(a=this.__isAsync?function(e){setTimeout(function(){return r(e)})}:function(e){r(e)}),o&&(u=this.__isAsync?function(){setTimeout(function(){return o()})}:function(){o()}));var s=e.prototype.subscribe.call(this,i,a,u);return n instanceof t.Subscription&&n.add(s),s},n}(t.Subject),Xl=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ec(e,ns)},e}(),ec=sr,tc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,r){n?this.deep=pc(this.deep,e,t,null!=r?r:null):this.shallow=pc(this.shallow,e,t,null!=r?r:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=nc(this.shallow),n=nc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=rc(this.shallow),n=rc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){oc(e,this.shallow),oc(e,this.deep)},e.prototype.addNode=function(e){return fc(this.deep,e),Tt(e)?(fc(this.shallow,e),e.parent&&Tt(e.parent)&&fc(this.parent.shallow,e),this.parent):(function t(e){return null===e.parent||Tt(e.parent)}(e)&&fc(this.shallow,e),this)},e.prototype.removeView=function(){ic(this.shallow),ic(this.deep)},e}();
|
|
429
437
|
/**
|
|
430
438
|
* @license
|
|
431
439
|
* Copyright Google Inc. All Rights Reserved.
|
|
432
440
|
*
|
|
433
441
|
* Use of this source code is governed by an MIT-style license that can be
|
|
434
442
|
* found in the LICENSE file at https://angular.io/license
|
|
435
|
-
*/function
|
|
443
|
+
*/function nc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function rc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function oc(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function ic(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function ac(e,t){var n=e.localNames;if(n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function uc(e,t,n){var r=t[Le].data;if(r)for(var o=e.flags,i=o>>16,a=i+(4095&o),u=i;u<a;u++)if(r[u].type===n)return u;return null}function sc(e,t,n){var r=e[b];if("function"==typeof r)return r();var o=uc(t,n,e);return null!==o?n[o]:null}function lc(e,t,n,r){var o=e[b]();return r?o?sc(r,t,n):null:o}function cc(e,t,n,r){return n?sc(n,e,t):r>-1?t[r]:function o(e,t){return 3===e.type||4===e.type?eu(ns,e,t):0===e.type?tu(Xl,ns,e,t):null}(e,t)}function fc(e,t){for(var n=yn();e;){var r=e.predicate,o=r.type;if(o){var i=null;o===Xl?i=lc(o,t,n,r.read):null!==(s=uc(t,n,o))&&(i=cc(t,n,r.read,s)),null!==i&&dc(e,i)}else for(var a=r.selector,u=0;u<a.length;u++){var s;null!==(s=ac(t,a[u]))&&null!==(i=cc(t,n,r.read,s))&&dc(e,i)}e=e.next}}function dc(e,t){e.values.push(t),e.list.setDirty()}function pc(e,t,n,r){return{next:e,list:t,predicate:function o(e,t){var n=Array.isArray(e);return{type:n?null:e,selector:n?e:null,read:t}}(n,r),values:t._valuesTree,containerValues:null}}var hc=function(){function e(){this.dirty=!0,this.changes=new Jl,this._values=[],this._valuesTree=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=this._values;return e.length?e[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this._values;return e.length?e[e.length-1]:null},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._values.map(e)},e.prototype.filter=function(e){return this._values.filter(e)},e.prototype.find=function(e){return this._values.find(e)},e.prototype.reduce=function(e,t){return this._values.reduce(e,t)},e.prototype.forEach=function(e){this._values.forEach(e)},e.prototype.some=function(e){return this._values.some(e)},e.prototype.toArray=function(){return this._values.slice(0)},e.prototype[J()]=function(){return this._values[J()]()},e.prototype.toString=function(){return this._values.toString()},e.prototype.reset=function(e){this._values=function t(e){for(var t=[],n=0;n<e.length;){var r=e[n];Array.isArray(r)?r.length>0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function vc(e,t,n,r){var o=new hc;return function i(e){return Zt&&Zt!==Yt[qe]&&!Tt(Zt)&&(Wt&&(Wt=Wt.clone()),Zt.flags|=16384),Wt||(Wt=new e(null,null,null))}(tc).track(o,t,n,r),Di(null,o,o.destroy),null!=e&&ja(e,o),o}function gc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}
|
|
436
444
|
/**
|
|
437
445
|
* @license
|
|
438
446
|
* Copyright Google Inc. All Rights Reserved.
|
|
439
447
|
*
|
|
440
448
|
* Use of this source code is governed by an MIT-style license that can be
|
|
441
449
|
* found in the LICENSE file at https://angular.io/license
|
|
442
|
-
*/function yc(e,t){return
|
|
450
|
+
*/function yc(e,t){return tu(Xl,ns,e,t)}
|
|
443
451
|
/**
|
|
444
452
|
* @license
|
|
445
453
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -453,7 +461,7 @@ function jl(e,t,n){var r=On()+e;return vn()?Fa(r,n?t.call(n):t()):Sa(r)}function
|
|
|
453
461
|
*
|
|
454
462
|
* Use of this source code is governed by an MIT-style license that can be
|
|
455
463
|
* found in the LICENSE file at https://angular.io/license
|
|
456
|
-
*/var
|
|
464
|
+
*/var mc,_c="__SANITIZER_TRUSTED_BRAND__";function wc(e,t){return e instanceof String&&e[_c]===t}function bc(e,t){var n=new String(e);return n[_c]=t,n}
|
|
457
465
|
/**
|
|
458
466
|
* @license
|
|
459
467
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -468,91 +476,91 @@ function jl(e,t,n){var r=On()+e;return vn()?Fa(r,n?t.call(n):t()):Sa(r)}function
|
|
|
468
476
|
* Use of this source code is governed by an MIT-style license that can be
|
|
469
477
|
* found in the LICENSE file at https://angular.io/license
|
|
470
478
|
*/
|
|
471
|
-
|
|
479
|
+
mc=e.SecurityContext||(e.SecurityContext={}))[mc.NONE=0]="NONE",mc[mc.HTML=1]="HTML",mc[mc.STYLE=2]="STYLE",mc[mc.SCRIPT=3]="SCRIPT",mc[mc.URL=4]="URL",mc[mc.RESOURCE_URL=5]="RESOURCE_URL";var Cc=function Cc(){},xc=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ic=/^url\(([^)]+)\)$/;
|
|
472
480
|
/**
|
|
473
481
|
* @license
|
|
474
482
|
* Copyright Google Inc. All Rights Reserved.
|
|
475
483
|
*
|
|
476
484
|
* Use of this source code is governed by an MIT-style license that can be
|
|
477
485
|
* found in the LICENSE file at https://angular.io/license
|
|
478
|
-
*/function
|
|
486
|
+
*/function kc(e){if(!(e=String(e).trim()))return"";var t=e.match(Ic);return t&&Os(t[1])===t[1]||e.match(xc)&&function n(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(xs()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
|
|
479
487
|
/**
|
|
480
488
|
* @license
|
|
481
489
|
* Copyright Google Inc. All Rights Reserved.
|
|
482
490
|
*
|
|
483
491
|
* Use of this source code is governed by an MIT-style license that can be
|
|
484
492
|
* found in the LICENSE file at https://angular.io/license
|
|
485
|
-
*/function
|
|
493
|
+
*/function Ec(t){var n=tn();return n?n.sanitize(e.SecurityContext.HTML,t)||"":wc(t,"Html")?t.toString():Ks(document,bt(t))}function Oc(t){var n=tn();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":wc(t,"Style")?t.toString():kc(bt(t))}function Tc(t){var n=tn();return n?n.sanitize(e.SecurityContext.URL,t)||"":wc(t,"Url")?t.toString():Os(bt(t))}function Pc(t){var n=tn();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(wc(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Rc={"ɵdefineBase":ce,"ɵdefineComponent":ie,"ɵdefineDirective":de,defineInjectable:C,defineInjector:x,"ɵdefineNgModule":se,"ɵdefinePipe":pe,"ɵdirectiveInject":za,"ɵgetFactoryOf":Yn,"ɵgetInheritedFactory":$n,inject:Re,"ɵinjectAttribute":Qa,"ɵtemplateRefExtractor":yc,"ɵNgOnChangesFeature":Iu,"ɵProvidersFeature":qu,"ɵInheritDefinitionFeature":bu,"ɵelementAttribute":Ai,"ɵbind":xa,"ɵcontainer":oa,"ɵnextContext":pi,"ɵcontainerRefreshStart":aa,"ɵcontainerRefreshEnd":ua,"ɵloadQueryList":Sa,"ɵnamespaceHTML":_i,"ɵnamespaceMathML":mi,"ɵnamespaceSVG":yi,"ɵenableBindings":nn,"ɵdisableBindings":rn,"ɵelementStart":xi,"ɵelementEnd":ji,"ɵelement":wi,"ɵelementContainerStart":bi,"ɵelementContainerEnd":Ci,"ɵpureFunction0":Sl,"ɵpureFunction1":Vl,"ɵpureFunction2":Ml,"ɵpureFunction3":Fl,"ɵpureFunction4":Hl,"ɵpureFunction5":Ll,"ɵpureFunction6":Bl,"ɵpureFunction7":Ul,"ɵpureFunction8":zl,"ɵpureFunctionV":Ql,"ɵgetCurrentView":on,"ɵrestoreView":un,"ɵinterpolation1":ka,"ɵinterpolation2":Ea,"ɵinterpolation3":Oa,"ɵinterpolation4":Ta,"ɵinterpolation5":Pa,"ɵinterpolation6":Ra,"ɵinterpolation7":Da,"ɵinterpolation8":Na,"ɵinterpolationV":Ia,"ɵelementClassProp":Hi,"ɵlistener":Ri,"ɵload":Va,"ɵprojection":ha,"ɵelementProperty":Si,"ɵpipeBind1":ql,"ɵpipeBind2":Kl,"ɵpipeBind3":Wl,"ɵpipeBind4":Gl,"ɵpipeBindV":Yl,"ɵprojectionDef":da,"ɵpipe":Zl,"ɵquery":vc,"ɵqueryRefresh":gc,"ɵregisterContentQuery":Za,"ɵreference":Aa,"ɵelementStyling":Li,"ɵelementStylingMap":zi,"ɵelementStyleProp":Ui,"ɵelementStylingApply":Bi,"ɵtemplate":ra,"ɵtext":Zi,"ɵtextBinding":qi,"ɵembeddedViewStart":sa,"ɵembeddedViewEnd":la,"ɵi18n":bl,"ɵi18nAttributes":Cl,"ɵi18nExp":El,"ɵi18nStart":vl,"ɵi18nEnd":ml,"ɵi18nApply":Ol,"ɵi18nPostprocess":yl,"ɵsanitizeHtml":Ec,"ɵsanitizeStyle":Oc,"ɵdefaultStyleSanitizer":function(e,t){return void 0===t?"background-image"===e||"background"===e||"border-image"===e||"filter"===e||"filter"===e||"list-style"===e||"list-style-image"===e:Oc(t)},"ɵsanitizeResourceUrl":Pc,"ɵsanitizeScript":function Dc(t){var n=tn();if(n)return n.sanitize(e.SecurityContext.SCRIPT,t)||"";if(wc(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")},"ɵsanitizeUrl":Tc},Nc=Function;
|
|
486
494
|
/**
|
|
487
495
|
* @license
|
|
488
496
|
* Copyright Google Inc. All Rights Reserved.
|
|
489
497
|
*
|
|
490
498
|
* Use of this source code is governed by an MIT-style license that can be
|
|
491
499
|
* found in the LICENSE file at https://angular.io/license
|
|
492
|
-
*/function
|
|
500
|
+
*/function jc(e){return"function"==typeof e}
|
|
493
501
|
/**
|
|
494
502
|
* @license
|
|
495
503
|
* Copyright Google Inc. All Rights Reserved.
|
|
496
504
|
*
|
|
497
505
|
* Use of this source code is governed by an MIT-style license that can be
|
|
498
506
|
* found in the LICENSE file at https://angular.io/license
|
|
499
|
-
*/var Ac=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,
|
|
507
|
+
*/var Ac=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Sc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Vc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Mc=function(){function e(e){this._reflect=e||G.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,f([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=void 0===e?new Array(t.length):new Array(e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){var n=e.toString();if(Ac.exec(n)||Sc.exec(n)&&!Vc.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(e){return e&&e.type}),a=o.map(function(e){return e&&Fc(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(T)&&e[T],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||u?this._zipTypesAndAnnotations(s,u):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!jc(e))return[];var t=Hc(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Fc(e.decorators):e.hasOwnProperty(O)?e[O]:null},e.prototype.annotations=function(e){if(!jc(e))return[];var t=Hc(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach(function(e){o[e]=Fc(r[e])}),o}return e.hasOwnProperty(P)?e[P]:null},e.prototype.propMetadata=function(e){if(!jc(e))return{};var t=Hc(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,f(n[e])),t.push.apply(t,f(o[e])),n[e]=t}),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof Nc&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+te(e)},e.prototype.resourceUri=function(e){return"./"+te(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Fc(e){return e?e.map(function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,f([void 0],e.args?e.args:[])))}):[]}function Hc(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
500
508
|
/**
|
|
501
509
|
* @license
|
|
502
510
|
* Copyright Google Inc. All Rights Reserved.
|
|
503
511
|
*
|
|
504
512
|
* Use of this source code is governed by an MIT-style license that can be
|
|
505
513
|
* found in the LICENSE file at https://angular.io/license
|
|
506
|
-
*/var
|
|
514
|
+
*/var Lc=null;function Bc(){return Lc=Lc||new Mc}function Uc(e){return zc(Bc().parameters(e))}function zc(e){var t=me();return e.map(function(e){return function n(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<t.length;o++){var i=t[o];if(void 0!==i)if(i instanceof be||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof xe||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof Ce||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof Ie||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof we)n.token=i.token;else if(i instanceof F){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else r(i)}}else r(t);return n}
|
|
507
515
|
/**
|
|
508
516
|
* @license
|
|
509
517
|
* Copyright Google Inc. All Rights Reserved.
|
|
510
518
|
*
|
|
511
519
|
* Use of this source code is governed by an MIT-style license that can be
|
|
512
520
|
* found in the LICENSE file at https://angular.io/license
|
|
513
|
-
*/(t,e)})}var
|
|
521
|
+
*/(t,e)})}var Qc=[];function Zc(e,t){qc(e,t),function n(e,t){var n=Gc(t.declarations||Qc),r=Wc(e);n.forEach(function(t){t.hasOwnProperty(h)?Kc(he(t),r):t.hasOwnProperty(v)||t.hasOwnProperty(m)||(t.ngSelectorScope=e)})}(e,t)}function qc(e,t){var n=Gc(t.declarations||Qc),r=null;Object.defineProperty(e,_,{configurable:!0,get:function(){return null===r&&(r=me().compileNgModule(Rc,"ng://"+e.name+"/ngModuleDef.js",{type:e,bootstrap:Gc(t.bootstrap||Qc),declarations:n,imports:Gc(t.imports||Qc).map(Yc),exports:Gc(t.exports||Qc).map(Yc),emitInline:!0})),r}});var o=null;Object.defineProperty(e,y,{get:function(){if(null===o){var n={name:e.name,type:e,deps:Uc(e),providers:t.providers||Qc,imports:[t.imports||Qc,t.exports||Qc]};o=me().compileInjector(Rc,"ng://"+e.name+"/ngInjectorDef.js",n)}return o},configurable:!1})}function Kc(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return ve(e)||he(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return ge(e)})}}function Wc(e){if(!$c(e))throw new Error(e.name+" does not have an ngModuleDef");var t=ye(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return t.declarations.forEach(function(e){ge(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),t.imports.forEach(function(e){var t=e;if(!$c(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");var r=Wc(t);r.exported.directives.forEach(function(e){return n.compilation.directives.add(e)}),r.exported.pipes.forEach(function(e){return n.compilation.pipes.add(e)})}),t.exports.forEach(function(e){var t=e;if($c(t)){var r=Wc(t);r.exported.directives.forEach(function(e){n.compilation.directives.add(e),n.exported.directives.add(e)}),r.exported.pipes.forEach(function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else ye(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function Gc(e){var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,f(Gc(e))):t.push(e)}),t}function Yc(e){return function t(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function $c(e){return!!ye(e)}
|
|
514
522
|
/**
|
|
515
523
|
* @license
|
|
516
524
|
* Copyright Google Inc. All Rights Reserved.
|
|
517
525
|
*
|
|
518
526
|
* Use of this source code is governed by an MIT-style license that can be
|
|
519
527
|
* found in the LICENSE file at https://angular.io/license
|
|
520
|
-
*/function
|
|
528
|
+
*/function Jc(t,n){var r=null;!function o(e){Z(e)&&Q.add(e)}(n),Object.defineProperty(t,h,{get:function(){var o=me();if(null===r){if(Z(n)){var a=["Component '"+te(t)+"' is not resolved:"];throw n.templateUrl&&a.push(" - templateUrl: "+te(n.templateUrl)),n.styleUrls&&n.styleUrls.length&&a.push(" - styleUrls: "+JSON.stringify(n.styleUrls)),a.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(a.join("\n"))}var u=i({},ef(t,n),{template:n.template||"",preserveWhitespaces:n.preserveWhitespaces||!1,styles:n.styles||re,animations:n.animations,viewQueries:nf(Bc().propMetadata(t),of),directives:new Map,pipes:new Map,encapsulation:n.encapsulation||e.ViewEncapsulation.Emulated,viewProviders:n.viewProviders||null});if(r=o.compileComponent(Rc,"ng://"+te(t)+"/template.html",u),function s(e){return void 0!==e.ngSelectorScope}(t)){var l=Wc(t.ngSelectorScope);Kc(r,l)}}return r},configurable:!1})}function Xc(e,t){var n=null;Object.defineProperty(e,v,{get:function(){if(null===n){var r=ef(e,t);n=me().compileDirective(Rc,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",r)}return n},configurable:!1})}function ef(e,t){var n=Bc().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:Uc(e),host:t.host||tf,propMetadata:n,inputs:t.inputs||re,outputs:t.outputs||re,queries:nf(n,rf),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!function r(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}(e),exportAs:t.exportAs||null,providers:t.providers||null}}var tf={};function nf(e,t){var n=[],r=function(r){e.hasOwnProperty(r)&&e[r].forEach(function(e){t(e)&&n.push(function o(e,t){return{propertyName:e,predicate:function n(e){return"string"==typeof e?function t(e){return e.split(",").map(function(e){return e.trim()})}
|
|
521
529
|
/**
|
|
522
530
|
* @license
|
|
523
531
|
* Copyright Google Inc. All Rights Reserved.
|
|
524
532
|
*
|
|
525
533
|
* Use of this source code is governed by an MIT-style license that can be
|
|
526
534
|
* found in the LICENSE file at https://angular.io/license
|
|
527
|
-
*/(e):e}(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null}}(r,e))})};for(var o in e)r(o);return n}function
|
|
535
|
+
*/(e):e}(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null}}(r,e))})};for(var o in e)r(o);return n}function rf(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function of(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function af(e,t){var n=null;Object.defineProperty(e,m,{get:function(){return null===n&&(n=me().compilePipe(Rc,"ng://"+bt(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:Uc(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}
|
|
528
536
|
/**
|
|
529
537
|
* @license
|
|
530
538
|
* Copyright Google Inc. All Rights Reserved.
|
|
531
539
|
*
|
|
532
540
|
* Use of this source code is governed by an MIT-style license that can be
|
|
533
541
|
* found in the LICENSE file at https://angular.io/license
|
|
534
|
-
*/var
|
|
542
|
+
*/var uf=R("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return _f(e,t)}),sf=R("Component",function(t){return void 0===t&&(t={}),i({changeDetection:e.ChangeDetectionStrategy.Default},t)},uf,void 0,function(e,t){return mf(e,t)}),lf=R("Pipe",function(e){return i({pure:!0},e)},void 0,void 0,function(e,t){return wf(e,t)}),cf=function(e){return function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=t.constructor;i.hasOwnProperty(w)||function(e){var t=e.constructor,n=t.ngBaseDef,r=t.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(p(r.inputs,n.inputs),p(r.outputs,n.outputs),p(r.declaredInputs,n.declaredInputs))}(t),e(i.ngBaseDef)[n]=r[0]}},ff=j("Input",function(e){return{bindingPropertyName:e}},void 0,cf(function(e){return e.inputs||{}})),df=j("Output",function(e){return{bindingPropertyName:e}},void 0,cf(function(e){return e.outputs||{}})),pf=j("HostBinding",function(e){return{hostPropertyName:e}}),hf=j("HostListener",function(e,t){return{eventName:e,args:t}}),vf=Jc,gf=Xc,yf=af,mf=sr,_f=sr,wf=sr,bf=d({provide:String,useValue:d}),Cf=[];function xf(e,t){if(!t){var n=(s=new Mc).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],Ne(n))))}}if(bf in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return Re(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,f(Ne(i.deps||Cf)))}}if(t.useClass){var a=t,u=t.deps;if(!u){var s=new Mc;u=s.parameters(e)}return function(){var e;return new((e=a.useClass).bind.apply(e,f([void 0],Ne(u))))}}var l=t.deps;return l||(s=new Mc,l=s.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],Ne(l))))}}
|
|
535
543
|
/**
|
|
536
544
|
* @license
|
|
537
545
|
* Copyright Google Inc. All Rights Reserved.
|
|
538
546
|
*
|
|
539
547
|
* Use of this source code is governed by an MIT-style license that can be
|
|
540
548
|
* found in the LICENSE file at https://angular.io/license
|
|
541
|
-
*/var
|
|
549
|
+
*/var If=R("NgModule",function(e){return e},void 0,void 0,function(e,t){return Ef(e,t)}),kf=Zc,Ef=function Of(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=f(n,[t.exports])),e.ngInjectorDef=x({factory:xf(e,{useClass:e}),providers:t&&t.providers,imports:n})},Tf=d({provide:String,useValue:d});function Pf(e){return void 0!==e.useClass}function Rf(e){return Tf in e}function Df(e){return void 0!==e.useFactory}function Nf(e){return void 0!==e.useExisting}
|
|
542
550
|
/**
|
|
543
551
|
* @license
|
|
544
552
|
* Copyright Google Inc. All Rights Reserved.
|
|
545
553
|
*
|
|
546
554
|
* Use of this source code is governed by an MIT-style license that can be
|
|
547
555
|
* found in the LICENSE file at https://angular.io/license
|
|
548
|
-
*/var
|
|
556
|
+
*/var jf=R("Injectable",void 0,void 0,void 0,function(e,t){return Af(e,t)}),Af=function Sf(e,t){t&&void 0!==t.providedIn&&!I(e)&&(e.ngInjectableDef=C({providedIn:t.providedIn,factory:xf(e,t)}))},Vf="ngDebugContext",Mf="ngOriginalError",Ff="ngErrorLogger";function Hf(e){return e[Vf]}function Lf(e){return e[Mf]}function Bf(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}
|
|
549
557
|
/**
|
|
550
558
|
* @license
|
|
551
559
|
* Copyright Google Inc. All Rights Reserved.
|
|
552
560
|
*
|
|
553
561
|
* Use of this source code is governed by an MIT-style license that can be
|
|
554
562
|
* found in the LICENSE file at https://angular.io/license
|
|
555
|
-
*/var
|
|
563
|
+
*/var Uf=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function o(e){return e[Ff]||Bf}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Hf(e)?Hf(e):this._findContext(Lf(e)):null},e.prototype._findOriginalError=function(e){for(var t=Lf(e);t&&Lf(t);)t=Lf(t);return t},e}();function zf(e){return e.length>1?" ("+
|
|
556
564
|
/**
|
|
557
565
|
* @license
|
|
558
566
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -560,7 +568,7 @@ gc=e.SecurityContext||(e.SecurityContext={}))[gc.NONE=0]="NONE",gc[gc.HTML=1]="H
|
|
|
560
568
|
* Use of this source code is governed by an MIT-style license that can be
|
|
561
569
|
* found in the LICENSE file at https://angular.io/license
|
|
562
570
|
*/
|
|
563
|
-
function t(e){for(var t=[],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(function(e){return te(e.token)}).join(" -> ")+")":""}function
|
|
571
|
+
function t(e){for(var t=[],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(function(e){return te(e.token)}).join(" -> ")+")":""}function Qf(e,t,n,r){var o=[t],i=n(o),a=r?function u(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[Mf]=t,r}(i,r):Error(i);return a.addKey=Zf,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[Mf]=r,a}function Zf(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function qf(e,t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];n.push(i&&0!=i.length?i.map(te).join(" "):"?")}return Error("Cannot resolve all parameters for '"+te(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+te(e)+"' is decorated with Injectable.")}
|
|
564
572
|
/**
|
|
565
573
|
* @license
|
|
566
574
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -568,14 +576,14 @@ function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.pu
|
|
|
568
576
|
* Use of this source code is governed by an MIT-style license that can be
|
|
569
577
|
* found in the LICENSE file at https://angular.io/license
|
|
570
578
|
*/
|
|
571
|
-
var
|
|
579
|
+
var Kf=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=te(this.token)}return e.get=function(e){return Wf.get(fr(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return Wf.numberOfKeys},enumerable:!0,configurable:!0}),e}(),Wf=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof Kf)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Kf(e,Kf.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),Gf=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new Mc),Yf=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),$f=[],Jf=function Jf(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Xf=function Xf(e,t){this.factory=e,this.dependencies=t};function ed(e){return new Jf(Kf.get(e.provide),[function t(e){var t,n;if(e.useClass){var r=fr(e.useClass);t=Gf.factory(r),n=nd(r)}else e.useExisting?(t=function(e){return e},n=[Yf.fromKey(Kf.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function o(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return rd(e,t,n)})}return nd(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=$f);return new Xf(t,n)}(e)],e.multi||!1)}function td(e){var t=function n(e,t){for(var n=0;n<e.length;n++){var 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(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new Jf(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof Nc)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function r(e){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e)}(t);e(t,n)}}),n}(e,[]).map(ed),new Map);return Array.from(t.values())}function nd(e){var t=Gf.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw qf(e,t);return t.map(function(n){return rd(e,n,t)})}function rd(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return od(t instanceof we?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var u=t[a];u instanceof Nc?r=u:u instanceof we?r=u.token:u instanceof be?o=!0:u instanceof Ce||u instanceof xe?i=u:u instanceof E&&(r=u)}if(null!=(r=fr(r)))return od(r,o,i);throw qf(e,n)}function od(e,t,n){return new Yf(Kf.get(e),t,n)}
|
|
572
580
|
/**
|
|
573
581
|
* @license
|
|
574
582
|
* Copyright Google Inc. All Rights Reserved.
|
|
575
583
|
*
|
|
576
584
|
* Use of this source code is governed by an MIT-style license that can be
|
|
577
585
|
* found in the LICENSE file at https://angular.io/license
|
|
578
|
-
*/var
|
|
586
|
+
*/var id=new Object,ad=function(){function e(){}return e.resolve=function(e){return td(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new ud(e,t)},e}(),ud=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=id}return e.prototype.get=function(e,t){return void 0===t&&(t=hr),this._getByKey(Kf.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=ad.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(ad.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function t(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function t(e,n){return Qf(e,n,function(e){return"Cannot instantiate cyclic dependency!"+zf(e)})}(this,e.key);return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,r,o=this,i=t.factory;try{n=t.dependencies.map(function(e){return o._getByReflectiveDependency(e)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=i.apply(void 0,f(n))}catch(t){throw function a(e,t,n,r){return Qf(e,r,function(e){var n=te(e[0].token);return t.message+": Error during instantiation of "+n+"!"+zf(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:hr)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof Ce?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===id&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return id},e.prototype._throwOrNull=function(e,t){if(t!==hr)return t;throw function n(e,t){return Qf(e,t,function(e){return"No provider for "+te(e[0].token)+"!"+zf(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==id?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof xe?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==id)return a;o=i.parent}return null!==o?o.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function e(t,n){for(var r=new Array(t._providers.length),o=0;o<t._providers.length;++o)r[o]=n(t.getProviderAtIndex(o));return r}
|
|
579
587
|
/**
|
|
580
588
|
* @license
|
|
581
589
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -589,28 +597,28 @@ var qf=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
589
597
|
*
|
|
590
598
|
* Use of this source code is governed by an MIT-style license that can be
|
|
591
599
|
* found in the LICENSE file at https://angular.io/license
|
|
592
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=
|
|
600
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=Kf.get(yr),e}();function sd(e){return!!e&&"function"==typeof e.then}function ld(e){return!!e&&"function"==typeof e.subscribe}
|
|
593
601
|
/**
|
|
594
602
|
* @license
|
|
595
603
|
* Copyright Google Inc. All Rights Reserved.
|
|
596
604
|
*
|
|
597
605
|
* Use of this source code is governed by an MIT-style license that can be
|
|
598
606
|
* found in the LICENSE file at https://angular.io/license
|
|
599
|
-
*/var
|
|
607
|
+
*/var cd=new E("Application Initializer"),fd=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();sd(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},a([jf(),u(0,we(cd)),u(0,be()),s("design:paramtypes",[Array])],e)}(),dd=new E("AppId");function pd(){return""+vd()+vd()+vd()}var hd={provide:dd,useFactory:pd,deps:[]};function vd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var gd=new E("Platform Initializer"),yd=new E("Platform ID"),md=new E("appBootstrapListener"),_d=new E("Application Packages Root URL"),wd=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},a([jf()],e)}(),bd=function bd(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Cd(){throw new Error("Runtime compiler is not loaded")}var xd,Id,kd=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Cd()},e.prototype.compileModuleAsync=function(e){throw Cd()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Cd()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Cd()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},a([jf()],e)}(),Ed=new E("compilerOptions"),Od=function Od(){};function Td(){var e=G.wtf;return!(!e||!(xd=e.trace)||(Id=xd.events,0))}function Pd(e,t){return void 0===t&&(t=null),Id.createScope(e,t)}function Rd(e,t){return xd.leaveScope(e,t),t}function Dd(e,t){return xd.beginTimeRange(e,t)}function Nd(e){xd.endTimeRange(e)}
|
|
600
608
|
/**
|
|
601
609
|
* @license
|
|
602
610
|
* Copyright Google Inc. All Rights Reserved.
|
|
603
611
|
*
|
|
604
612
|
* Use of this source code is governed by an MIT-style license that can be
|
|
605
613
|
* found in the LICENSE file at https://angular.io/license
|
|
606
|
-
*/var
|
|
614
|
+
*/var jd=Td();function Ad(e,t){return null}var Sd=jd?Pd:function(e,t){return Ad},Vd=jd?Rd:function(e,t){return t},Md=jd?Dd:function(e,t){return null},Fd=jd?Nd:function(e){return null},Hd=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Jl(!1),this.onMicrotaskEmpty=new Jl(!1),this.onStable=new Jl(!1),this.onError=new Jl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function r(e){e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return zd(e),t.invokeTask(r,o,i,a)}finally{Qd(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return zd(e),t.invoke(r,o,i,a,u)}finally{Qd(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Ud(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}(this)}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Bd,Ld,Ld);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Ld(){}var Bd={};function Ud(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(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function zd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qd(e){e._nesting--,Ud(e)}var Zd,qd=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Jl,this.onMicrotaskEmpty=new Jl,this.onStable=new Jl,this.onError=new Jl}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Kd=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Hd.assertNotInAngularZone(),X(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())X(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},a([jf(),s("design:paramtypes",[Hd])],e)}(),Wd=function(){function e(){this._applications=new Map,Gd.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Gd.findTestabilityInTree(this,e,t)},a([jf(),s("design:paramtypes",[])],e)}(),Gd=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Yd=new E("AllowMultipleToken"),$d=function $d(e,t){this.name=e,this.token=t};
|
|
607
615
|
/**
|
|
608
616
|
* @license
|
|
609
617
|
* Copyright Google Inc. All Rights Reserved.
|
|
610
618
|
*
|
|
611
619
|
* Use of this source code is governed by an MIT-style license that can be
|
|
612
620
|
* found in the LICENSE file at https://angular.io/license
|
|
613
|
-
*/function
|
|
621
|
+
*/function Jd(e){if(Zd&&!Zd.destroyed&&!Zd.injector.get(Yd,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Zd=e.get(np);var t=e.get(gd,null);return t&&t.forEach(function(e){return e()}),Zd}function Xd(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new E(r);return function(t){void 0===t&&(t=[]);var i=tp();if(!i||i.injector.get(Yd,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});Jd(yr.create({providers:a,name:r}))}return ep(o)}}function ep(e){var t=tp();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 tp(){return Zd&&!Zd.destroyed?Zd:null}var np=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function o(e){return"noop"===e?new qd:("zone.js"===e?void 0:e)||new Hd({enableLongStackTrace:xs()})}(t?t.ngZone:void 0),i=[{provide:Hd,useValue:r}];return r.run(function(){var t=yr.create({providers:i,parent:n.injector,name:e.moduleType.name}),o=e.create(t),a=o.injector.get(Uf,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return ip(n._modules,o)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})}),function u(e,t,n){try{var r=n();return sd(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}}(a,r,function(){var e=o.injector.get(fd);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=rp({},t);return function o(e,t,n){return e.get(Od).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(op);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+te(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)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),a([jf(),s("design:paramtypes",[yr])],e)}();function rp(e,t){return Array.isArray(t)?t.reduce(rp,e):i({},e,t)}var op=function(){function e(e,r,o,i,a,u){var s=this;this._zone=e,this._console=r,this._injector=o,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=xs(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var l=new t.Observable(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),c=new t.Observable(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Hd.assertNotInAngularZone(),X(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Hd.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=t.merge(l,c.pipe(n.share()))}var r;return r=e,e.prototype.bootstrap=function(e,t){var n,r=this;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.");n=e instanceof Wu?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof ts?null:this._injector.get(Dr),i=n.create(yr.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Kd,null);return a&&i.injector.get(Wd).registerApplication(i.location.nativeElement,a),this._loadComponent(i),xs()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=r._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Vd(t)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;ip(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(md,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),ip(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Sd("ApplicationRef#tick()"),r=a([jf(),s("design:paramtypes",[Hd,wd,yr,Uf,Xu,fd])],e)}();function ip(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
614
622
|
/**
|
|
615
623
|
* @license
|
|
616
624
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -631,21 +639,21 @@ var qf=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
631
639
|
*
|
|
632
640
|
* Use of this source code is governed by an MIT-style license that can be
|
|
633
641
|
* found in the LICENSE file at https://angular.io/license
|
|
634
|
-
*/var
|
|
642
|
+
*/var ap=function ap(){},up=new Map,sp=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Jl,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[J()]=function(){return this._results[J()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}
|
|
635
643
|
/**
|
|
636
644
|
* @license
|
|
637
645
|
* Copyright Google Inc. All Rights Reserved.
|
|
638
646
|
*
|
|
639
647
|
* Use of this source code is governed by an MIT-style license that can be
|
|
640
648
|
* found in the LICENSE file at https://angular.io/license
|
|
641
|
-
*/(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),
|
|
649
|
+
*/(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),lp=function lp(){},cp={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},fp=function(){function e(e,t){this._compiler=e,this._config=t||cp}return e.prototype.load=function(e){return this._compiler instanceof kd?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=c(e.split("#"),2),r=n[0],o=n[1];return void 0===o&&(o="default"),System.import(r).then(function(e){return e[o]}).then(function(e){return dp(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=c(e.split("#"),2),n=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return dp(e,n,r)})},a([jf(),u(1,be()),s("design:paramtypes",[kd,lp])],e)}();function dp(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}
|
|
642
650
|
/**
|
|
643
651
|
* @license
|
|
644
652
|
* Copyright Google Inc. All Rights Reserved.
|
|
645
653
|
*
|
|
646
654
|
* Use of this source code is governed by an MIT-style license that can be
|
|
647
655
|
* found in the LICENSE file at https://angular.io/license
|
|
648
|
-
*/var
|
|
656
|
+
*/var pp=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return hp(e,ns)},e}(),hp=sr,vp=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return gp()},e}(),gp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},yp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(vp),mp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(yp),_p=function _p(e,t){this.name=e,this.callback=t},wp=function(){function e(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof bp&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),bp=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,f([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var 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))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Cp(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return xp(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(wp);function Cp(e,t,n){e.childNodes.forEach(function(e){e instanceof bp&&(t(e)&&n.push(e),Cp(e,t,n))})}function xp(e,t,n){e instanceof bp&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof bp&&xp(e,t,n)})}var Ip=new Map;function kp(e){return Ip.get(e)||null}function Ep(e){Ip.set(e.nativeNode,e)}
|
|
649
657
|
/**
|
|
650
658
|
* @license
|
|
651
659
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -653,21 +661,21 @@ var qf=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
653
661
|
* Use of this source code is governed by an MIT-style license that can be
|
|
654
662
|
* found in the LICENSE file at https://angular.io/license
|
|
655
663
|
*/
|
|
656
|
-
var
|
|
664
|
+
var Op=function(){function e(){}return e.prototype.supports=function(e){return ht(e)},e.prototype.create=function(e){return new Pp(e)},e}(),Tp=function(e,t){return t},Pp=function(){function e(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||Tp}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<jp(n,r,o)?t:n,a=jp(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,d=f+c;l<=d&&d<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!ht(e))throw new Error("Error trying to diff '"+te(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&ee(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),ee(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function s(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[J()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&ee(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),ee(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ee(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ee(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Rp(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var 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},e.prototype._truncate=function(e){for(;null!==e;){var 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)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var 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},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var 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 Np),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Np),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},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Rp=function Rp(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},Dp=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(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)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ee(n.trackById,e))return n;return null},e.prototype.remove=function(e){var 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},e}(),Np=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Dp,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function jp(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
|
|
657
665
|
/**
|
|
658
666
|
* @license
|
|
659
667
|
* Copyright Google Inc. All Rights Reserved.
|
|
660
668
|
*
|
|
661
669
|
* Use of this source code is governed by an MIT-style license that can be
|
|
662
670
|
* found in the LICENSE file at https://angular.io/license
|
|
663
|
-
*/var Ap,
|
|
671
|
+
*/var Ap,Sp=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||vt(e)},e.prototype.create=function(){return new Vp},e}(),Vp=function(){function e(){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}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||vt(e)))throw new Error("Error trying to diff '"+te(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var 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},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Mp(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;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}},e.prototype._maybeAddToChanges=function(e,t){ee(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Mp=function Mp(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},Fp=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new be]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function n(e){return e.name||typeof e}
|
|
664
672
|
/**
|
|
665
673
|
* @license
|
|
666
674
|
* Copyright Google Inc. All Rights Reserved.
|
|
667
675
|
*
|
|
668
676
|
* Use of this source code is governed by an MIT-style license that can be
|
|
669
677
|
* found in the LICENSE file at https://angular.io/license
|
|
670
|
-
*/(e)+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new
|
|
678
|
+
*/(e)+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new Op])}}),e}(),Hp=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new xe,new be]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new Sp])}}),e}(),Lp=[new Sp],Bp=new Fp([new Op]),Up=new Hp(Lp),zp=Xd(null,"core",[{provide:yd,useValue:"unknown"},{provide:np,deps:[yr]},{provide:Wd,deps:[]},{provide:wd,deps:[]}]),Qp=new E("LocaleId"),Zp=new E("Translations"),qp=new E("TranslationsFormat");
|
|
671
679
|
/**
|
|
672
680
|
* @license
|
|
673
681
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -675,7 +683,7 @@ var Ep=function(){function e(){}return e.prototype.supports=function(e){return p
|
|
|
675
683
|
* Use of this source code is governed by an MIT-style license that can be
|
|
676
684
|
* found in the LICENSE file at https://angular.io/license
|
|
677
685
|
*/
|
|
678
|
-
function
|
|
686
|
+
function Kp(){return Bp}function Wp(){return Up}function Gp(e){return e||"en-US"}(Ap=e.MissingTranslationStrategy||(e.MissingTranslationStrategy={}))[Ap.Error=0]="Error",Ap[Ap.Warning=1]="Warning",Ap[Ap.Ignore=2]="Ignore";var Yp=[{provide:op,useClass:op,deps:[Hd,wd,yr,Uf,Xu,fd]},{provide:fd,useClass:fd,deps:[[new be,cd]]},{provide:kd,useClass:kd,deps:[]},hd,{provide:Fp,useFactory:Kp,deps:[]},{provide:Hp,useFactory:Wp,deps:[]},{provide:Qp,useFactory:Gp,deps:[[new we(Qp),new be,new xe]]}],$p=function(){return a([If({providers:Yp}),s("design:paramtypes",[op])],function e(t){})}();
|
|
679
687
|
/**
|
|
680
688
|
* @license
|
|
681
689
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -683,7 +691,7 @@ function qp(){return Lp}function Kp(){return Bp}function Wp(e){return e||"en-US"
|
|
|
683
691
|
* Use of this source code is governed by an MIT-style license that can be
|
|
684
692
|
* found in the LICENSE file at https://angular.io/license
|
|
685
693
|
*/
|
|
686
|
-
function
|
|
694
|
+
function Jp(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Xp(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function eh(e,t){return e.nodes[t]}function th(e,t){return e.nodes[t]}function nh(e,t){return e.nodes[t]}function rh(e,t){return e.nodes[t]}function oh(e,t){return e.nodes[t]}var ih=function ih(){},ah={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};
|
|
687
695
|
/**
|
|
688
696
|
* @license
|
|
689
697
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -691,28 +699,28 @@ function $p(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.init
|
|
|
691
699
|
* Use of this source code is governed by an MIT-style license that can be
|
|
692
700
|
* found in the LICENSE file at https://angular.io/license
|
|
693
701
|
*/
|
|
694
|
-
function
|
|
702
|
+
function uh(e,t,n,r){var 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 i(e,t){var n=new Error(e);return sh(n,t),n}(o,e)}function sh(e,t){e[Vf]=t,e[Ff]=t.logError.bind(t)}function lh(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
695
703
|
/**
|
|
696
704
|
* @license
|
|
697
705
|
* Copyright Google Inc. All Rights Reserved.
|
|
698
706
|
*
|
|
699
707
|
* Use of this source code is governed by an MIT-style license that can be
|
|
700
708
|
* found in the LICENSE file at https://angular.io/license
|
|
701
|
-
*/var
|
|
709
|
+
*/var ch=function(){},fh=new Map;function dh(e){var t=fh.get(e);return t||(t=te(e)+"_"+fh.size,fh.set(e,t)),t}var ph=0;function hh(e,t,n,r){return!(!(2&e.state)&&ee(e.oldValues[t.bindingIndex+n],r))}function vh(e,t,n,r){return!!hh(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function gh(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!ft(o,r)){var i=t.bindings[n].name;throw uh(ah.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function yh(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function mh(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function _h(e,t,n,r){try{return yh(33554432&e.def.nodes[t].flags?th(e,t).componentView:e),ah.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function wh(e){return e.parent?th(e.parent,e.parentNodeDef.nodeIndex):null}function bh(e){return e.parent?e.parentNodeDef.parent:null}function Ch(e,t){switch(201347067&t.flags){case 1:return th(e,t.nodeIndex).renderElement;case 2:return eh(e,t.nodeIndex).renderText}}function xh(e,t){return e?e+":"+t:t}function Ih(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function kh(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Eh(e){return 1<<e%32}function Oh(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=c(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=Eh(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Th(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=c(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,dr,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:dh(r)}})}function Ph(t,n,r){var o=r.renderParent;return o?0==(1&o.flags)||0==(33554432&o.flags)||o.element.componentRendererType&&o.element.componentRendererType.encapsulation===e.ViewEncapsulation.Native?th(t,r.renderParent.nodeIndex).renderElement:void 0:n}var Rh=new WeakMap;function Dh(e){var t=Rh.get(e);return t||((t=e(function(){return ch})).factory=e,Rh.set(e,t)),t}function Nh(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Ch(e,e.def.lastRenderRootNode))),jh(e,t,0,e.def.nodes.length-1,n,r,o)}function jh(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&Sh(e,s,t,o,i,a),u+=s.childCount}}function Ah(e,t,n,r,o,i){for(var a=e;a&&!Ih(a);)a=a.parent;for(var u=a.parent,s=bh(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&Sh(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var d=e.root.projectableNodes[t];if(d)for(c=0;c<d.length;c++)Vh(e,d[c],n,r,o,i)}}function Sh(e,t,n,r,o,i){if(8&t.flags)Ah(e,t.ngContent.index,n,r,o,i);else{var a=Ch(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Vh(e,a,n,r,o,i),32&t.bindingFlags&&Vh(th(e,t.nodeIndex).componentView,a,n,r,o,i)):Vh(e,a,n,r,o,i),16777216&t.flags)for(var u=th(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)Nh(u[s],n,r,o,i);1&t.flags&&!t.element.name&&jh(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function Vh(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var Mh=/^:([^:]+):(.+)$/;function Fh(e){if(":"===e[0]){var t=e.match(Mh);return[t[1],t[2]]}return["",e]}function Hh(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function Lh(e){return null!=e?e.toString():""}function Bh(t,n,r){var o,i=r.element,a=t.root.selectorOrNode,u=t.renderer;if(t.parent||!a){o=i.name?u.createElement(i.name,i.ns):u.createComment("");var s=Ph(t,n,r);s&&u.appendChild(s,o)}else o=u.selectRootElement(a,!!i.componentRendererType&&i.componentRendererType.encapsulation===e.ViewEncapsulation.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var f=c(i.attrs[l],3);u.setAttribute(o,f[1],f[2],f[0])}return o}function Uh(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=zh(e,n.nodeIndex,xh(i.target,i.eventName)),u=i.target,s=e;"component"===i.target&&(u=null,s=t);var l=s.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=l}}function zh(e,t,n){return function(r){return _h(e,t,n,r)}}function Qh(t,n,r,o){if(!vh(t,n,r,o))return!1;var i=n.bindings[r],a=th(t,n.nodeIndex),u=a.renderElement,s=i.name;switch(15&i.flags){case 1:!function l(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(t,i,u,i.ns,s,o);break;case 2:!function c(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(t,u,s,o);break;case 4:!function f(t,n,r,o,i){var a=t.root.sanitizer.sanitize(e.SecurityContext.STYLE,i);if(null!=a){a=a.toString();var u=n.suffix;null!=u&&(a+=u)}else a=null;var s=t.renderer;null!=a?s.setStyle(r,o,a):s.removeStyle(r,o)}(t,i,u,s,o);break;case 8:!function d(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}
|
|
702
710
|
/**
|
|
703
711
|
* @license
|
|
704
712
|
* Copyright Google Inc. All Rights Reserved.
|
|
705
713
|
*
|
|
706
714
|
* Use of this source code is governed by an MIT-style license that can be
|
|
707
715
|
* found in the LICENSE file at https://angular.io/license
|
|
708
|
-
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var
|
|
716
|
+
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var Zh=new Object,qh=dh(yr),Kh=dh(vr),Wh=dh(Dr);function Gh(e,t,n){void 0===n&&(n=yr.THROW_IF_NOT_FOUND);var r=Oe(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);var o=t.tokenKey;switch(o){case qh:case Kh:case Wh:return e}var i,a=e._def.providersByKey[o];if(a){var u=e._providers[a.index];return void 0===u&&(u=e._providers[a.index]=Yh(e,a)),u===Zh?void 0:u}if((i=I(t.token))&&function s(e,t){return null!=t.providedIn&&(function n(e,t){return e._def.modules.indexOf(t)>-1}(e,t.providedIn)||"root"===t.providedIn&&e._def.isRoot)}(e,i)){var l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:i.factory,deps:[],index:l,token:t.token},e._providers[l]=Zh,e._providers[l]=Yh(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Oe(r)}}function Yh(e,t){var n;switch(201347067&t.flags){case 512:n=function r(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Gh(e,n[0]));case 2:return new t(Gh(e,n[0]),Gh(e,n[1]));case 3:return new t(Gh(e,n[0]),Gh(e,n[1]),Gh(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Gh(e,n[i]);return new(t.bind.apply(t,f([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function o(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Gh(e,n[0]));case 2:return t(Gh(e,n[0]),Gh(e,n[1]));case 3:return t(Gh(e,n[0]),Gh(e,n[1]),Gh(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Gh(e,n[i]);return t.apply(void 0,f(o))}}(e,t.value,t.deps);break;case 2048:n=Gh(e,t.deps[0]);break;case 256:n=t.value}return n===Zh||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Zh:n}function $h(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,tv(n,t),ah.dirtyParentQueries(r),Xh(r),r}function Jh(e,t,n){var r=t?Ch(t,t.def.lastRenderRootNode):e.renderElement;Nh(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Xh(e){Nh(e,3,null,null,void 0)}function ev(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function tv(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
|
|
709
717
|
/**
|
|
710
718
|
* @license
|
|
711
719
|
* Copyright Google Inc. All Rights Reserved.
|
|
712
720
|
*
|
|
713
721
|
* Use of this source code is governed by an MIT-style license that can be
|
|
714
722
|
* found in the LICENSE file at https://angular.io/license
|
|
715
|
-
*/var
|
|
723
|
+
*/var nv=new Object;function rv(e){return e.viewDefFactory}var ov=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=Dh(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=ah.createRootView(e,t||[],n,o,r,nv),u=nh(a,i).instance;return n&&a.renderer.setAttribute(th(a,0).renderElement,"ng-version",ds.full),new iv(a,new lv(a),u)},t}(Wu),iv=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new ns(th(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new pv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Ku);function av(e,t,n){return new uv(e,t,n)}var uv=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new ns(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new pv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=bh(e),e=e.parent;return e?new pv(e,t):new pv(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=$h(this._data,e);ah.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new lv(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof ts||(o=i.get(Dr));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e;
|
|
716
724
|
/**
|
|
717
725
|
* @license
|
|
718
726
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -720,56 +728,56 @@ function ah(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
720
728
|
* Use of this source code is governed by an MIT-style license that can be
|
|
721
729
|
* found in the LICENSE file at https://angular.io/license
|
|
722
730
|
*/
|
|
723
|
-
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,
|
|
731
|
+
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,ev(i,n,o),function a(e,t){var n=wh(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function o(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(t,o),ah.dirtyParentQueries(o),Jh(t,n>0?i[n-1]:null,o)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return function r(e,t,n){var r=e.viewContainer._embeddedViews,o=r[t];tv(r,t),null==n&&(n=r.length),ev(r,n,o),ah.dirtyParentQueries(o),Xh(o),Jh(e,n>0?r[n-1]:null,o)}(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=$h(this._data,e);t&&ah.destroyView(t)},e.prototype.detach=function(e){var t=$h(this._data,e);return t?new lv(t):null},e}();function sv(e){return new lv(e)}var lv=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return function e(t){var n=[];return Nh(t,0,void 0,void 0,n),n}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){yh(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{ah.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){ah.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ah.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Xh(this._view),ah.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function cv(e,t){return new fv(e,t)}var fv=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new lv(ah.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new ns(th(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Xl);function dv(e,t){return new pv(e,t)}var pv=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=yr.THROW_IF_NOT_FOUND),ah.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:dh(e)},t)},e}();function hv(e){return new vv(e.renderer)}var vv=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=c(Fh(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=c(Fh(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function gv(e,t,n,r){return new yv(e,t,n,r)}var yv=function(){function t(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 o(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Yh(e,o))}}(this)}return t.prototype.get=function(t,n,r){void 0===n&&(n=yr.THROW_IF_NOT_FOUND),void 0===r&&(r=e.InjectFlags.Default);var o=0;return r&e.InjectFlags.SkipSelf?o|=1:r&e.InjectFlags.Self&&(o|=4),Gh(this,{token:t,tokenKey:dh(t),flags:o},n)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Xu)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+te(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function e(t,n){for(var r=t._def,o=new Set,i=0;i<r.providers.length;i++)if(131072&r.providers[i].flags){var a=t._providers[i];if(a&&a!==Zh){var u=a.ngOnDestroy;"function"!=typeof u||o.has(a)||(u.apply(a),o.add(a))}}}(this),this._destroyListeners.forEach(function(e){return e()})},t.prototype.onDestroy=function(e){this._destroyListeners.push(e)},t}(),mv=dh(as),_v=dh(cs),wv=dh(ns),bv=dh(pp),Cv=dh(Xl),xv=dh(vp),Iv=dh(yr),kv=dh(vr);
|
|
724
732
|
/**
|
|
725
733
|
* @license
|
|
726
734
|
* Copyright Google Inc. All Rights Reserved.
|
|
727
735
|
*
|
|
728
736
|
* Use of this source code is governed by an MIT-style license that can be
|
|
729
737
|
* found in the LICENSE file at https://angular.io/license
|
|
730
|
-
*/function
|
|
738
|
+
*/function Ev(e,t,n,r,o,i,a,u,s){var l=Oh(n),c=l.matchedQueries,f=l.references,d=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=fr(i);var p=Th(a,te(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:d,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Hh(u),outputs:s,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function Ov(e,t){return Dv(e,t)}function Tv(e,t){for(var n=e;n.parent&&!Ih(n);)n=n.parent;return Nv(n.parent,bh(n),!0,t.provider.value,t.provider.deps)}function Pv(e,t){var n=Nv(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName];if(!ld(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(Rv(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function Rv(e,t,n){return function(r){return _h(e,t,n,r)}}function Dv(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Nv(e,t.parent,n,r.value,r.deps);case 1024:return function o(e,t,n,r,i){var a=i.length;switch(a){case 0:return r();case 1:return r(Sv(e,t,n,i[0]));case 2:return r(Sv(e,t,n,i[0]),Sv(e,t,n,i[1]));case 3:return r(Sv(e,t,n,i[0]),Sv(e,t,n,i[1]),Sv(e,t,n,i[2]));default:for(var u=Array(a),s=0;s<a;s++)u[s]=Sv(e,t,n,i[s]);return r.apply(void 0,f(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return Sv(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Nv(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Sv(e,t,n,o[0]));case 2:return new r(Sv(e,t,n,o[0]),Sv(e,t,n,o[1]));case 3:return new r(Sv(e,t,n,o[0]),Sv(e,t,n,o[1]),Sv(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Sv(e,t,n,o[u]);return new(r.bind.apply(r,f([void 0],a)))}}var jv,Av={};function Sv(e,t,n,r,o){if(void 0===o&&(o=yr.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===xv&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case mv:return hv(Vv(u,t,n));case _v:return Vv(u,t,n).renderer;case wv:return new ns(th(u,t.nodeIndex).renderElement);case bv:return th(u,t.nodeIndex).viewContainer;case Cv:if(t.element.template)return th(u,t.nodeIndex).template;break;case xv:return sv(Vv(u,t,n));case Iv:case kv:return dv(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=nh(u,s.nodeIndex);return l||(l={instance:Dv(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Ih(u),t=bh(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,Av);return c!==Av||o===Av?c:i.root.ngModule.injector.get(r.token,o)}function Vv(e,t,n){var r;if(n)r=th(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Ih(r);)r=r.parent;return r}function Mv(e,t,n,r,o,i){if(32768&n.flags){var a=th(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=dt.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new pt(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function Fv(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&Lv(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=Hv(e,a,t,r)),a=a.parent}}function Hv(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&Lv(e,o,i.flags&n,r++),o+=i.childCount}return r}function Lv(e,t,n,r){var o=nh(e,t);if(o){var i=o.instance;i&&(ah.setCurrentNode(e,t),1048576&n&&Xp(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Xp(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
|
|
731
739
|
/**
|
|
732
740
|
* @license
|
|
733
741
|
* Copyright Google Inc. All Rights Reserved.
|
|
734
742
|
*
|
|
735
743
|
* Use of this source code is governed by an MIT-style license that can be
|
|
736
744
|
* found in the LICENSE file at https://angular.io/license
|
|
737
|
-
*/function
|
|
745
|
+
*/function Bv(e){for(var t=e.def.nodeMatchedQueries;e.parent&&kh(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&oh(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&oh(e,o).setDirty(),o+=i.childCount}}function Uv(e,t){var n=oh(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=zv(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=nh(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=zv(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function zv(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Qv(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=th(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(zv(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],d=wh(f);d&&d===s&&zv(f,0,f.def.nodes.length-1,r,o)}var p=s.template._projectedViews;if(p)for(c=0;c<p.length;c++){var h=p[c];zv(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Qv(e,t,n){if(null!=n)switch(n){case 1:return th(e,t.nodeIndex).renderElement;case 0:return new ns(th(e,t.nodeIndex).renderElement);case 2:return th(e,t.nodeIndex).template;case 3:return th(e,t.nodeIndex).viewContainer;case 4:return nh(e,t.nodeIndex).instance}}
|
|
738
746
|
/**
|
|
739
747
|
* @license
|
|
740
748
|
* Copyright Google Inc. All Rights Reserved.
|
|
741
749
|
*
|
|
742
750
|
* Use of this source code is governed by an MIT-style license that can be
|
|
743
751
|
* found in the LICENSE file at https://angular.io/license
|
|
744
|
-
*/function
|
|
752
|
+
*/function Zv(e,t,n){var r=Ph(e,t,n);r&&Ah(e,n.ngContent.index,1,r,null,void 0)}
|
|
745
753
|
/**
|
|
746
754
|
* @license
|
|
747
755
|
* Copyright Google Inc. All Rights Reserved.
|
|
748
756
|
*
|
|
749
757
|
* Use of this source code is governed by an MIT-style license that can be
|
|
750
758
|
* found in the LICENSE file at https://angular.io/license
|
|
751
|
-
*/function
|
|
759
|
+
*/function qv(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,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:Hh(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Kv(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=Ph(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Wv(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
752
760
|
/**
|
|
753
761
|
* @license
|
|
754
762
|
* Copyright Google Inc. All Rights Reserved.
|
|
755
763
|
*
|
|
756
764
|
* Use of this source code is governed by an MIT-style license that can be
|
|
757
765
|
* found in the LICENSE file at https://angular.io/license
|
|
758
|
-
*/function
|
|
766
|
+
*/function Gv(e){return 0!=(1&e.flags)&&null===e.element.name}function Yv(e,t,n){var 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&&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){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function $v(e,t,n,r){var o=eg(e.root,e.renderer,e,t,n);return tg(o,e.component,r),ng(o),o}function Jv(e,t,n){var r=eg(e,e.renderer,null,null,t);return tg(r,n,n),ng(r),r}function Xv(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,eg(e.root,o,e,t.element.componentProvider,n)}function eg(e,t,n,r,o){var i=new Array(o.nodes.length),a=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:a,initIndex:-1}}function tg(e,t,n){e.component=t,e.context=n}function ng(e){var t;Ih(e)&&(t=th(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];ah.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Bh(e,t,i),s=void 0;if(33554432&i.flags){var l=Dh(i.element.componentView);s=ah.createComponentView(e,i,l,u)}Uh(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?cv(e,i):void 0},16777216&i.flags&&(a.viewContainer=av(e,i,a));break;case 2:a=Kv(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Ov(e,i)});break;case 16:a={instance:Tv(e,i)};break;case 16384:(a=r[o])||(a={instance:Pv(e,i)}),32768&i.flags&&tg(th(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new sp;break;case 8:Zv(e,t,i),a=void 0}r[o]=a}cg(e,jv.CreateViewNodes),hg(e,201326592,268435456,0)}function rg(e){ag(e),ah.updateDirectives(e,1),fg(e,jv.CheckNoChanges),ah.updateRenderer(e,1),cg(e,jv.CheckNoChanges),e.state&=-97}function og(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Jp(e,0,256),ag(e),ah.updateDirectives(e,0),fg(e,jv.CheckAndUpdate),hg(e,67108864,536870912,0);var t=Jp(e,256,512);Fv(e,2097152|(t?1048576:0)),ah.updateRenderer(e,0),cg(e,jv.CheckAndUpdate),hg(e,134217728,536870912,0),Fv(e,8388608|((t=Jp(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Jp(e,768,1024)}function ig(e,t,n,r,o,i,a,u,s,l,c,d,p){return 0===n?function h(e,t,n,r,o,i,a,u,s,l,c,f){switch(201347067&t.flags){case 1:return function d(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings.length,p=!1;return d>0&&Qh(e,t,0,n)&&(p=!0),d>1&&Qh(e,t,1,r)&&(p=!0),d>2&&Qh(e,t,2,o)&&(p=!0),d>3&&Qh(e,t,3,i)&&(p=!0),d>4&&Qh(e,t,4,a)&&(p=!0),d>5&&Qh(e,t,5,u)&&(p=!0),d>6&&Qh(e,t,6,s)&&(p=!0),d>7&&Qh(e,t,7,l)&&(p=!0),d>8&&Qh(e,t,8,c)&&(p=!0),d>9&&Qh(e,t,9,f)&&(p=!0),p}(e,t,n,r,o,i,a,u,s,l,c,f);case 2:return function p(e,t,n,r,o,i,a,u,s,l,c,f){var d=!1,p=t.bindings,h=p.length;if(h>0&&vh(e,t,0,n)&&(d=!0),h>1&&vh(e,t,1,r)&&(d=!0),h>2&&vh(e,t,2,o)&&(d=!0),h>3&&vh(e,t,3,i)&&(d=!0),h>4&&vh(e,t,4,a)&&(d=!0),h>5&&vh(e,t,5,u)&&(d=!0),h>6&&vh(e,t,6,s)&&(d=!0),h>7&&vh(e,t,7,l)&&(d=!0),h>8&&vh(e,t,8,c)&&(d=!0),h>9&&vh(e,t,9,f)&&(d=!0),d){var v=t.text.prefix;h>0&&(v+=Wv(n,p[0])),h>1&&(v+=Wv(r,p[1])),h>2&&(v+=Wv(o,p[2])),h>3&&(v+=Wv(i,p[3])),h>4&&(v+=Wv(a,p[4])),h>5&&(v+=Wv(u,p[5])),h>6&&(v+=Wv(s,p[6])),h>7&&(v+=Wv(l,p[7])),h>8&&(v+=Wv(c,p[8])),h>9&&(v+=Wv(f,p[9]));var g=eh(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return d}(e,t,n,r,o,i,a,u,s,l,c,f);case 16384:return function h(e,t,n,r,o,i,a,u,s,l,c,f){var d=nh(e,t.nodeIndex),p=d.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&hh(e,t,0,n)&&(h=!0,v=Mv(e,d,t,0,n,v)),g>1&&hh(e,t,1,r)&&(h=!0,v=Mv(e,d,t,1,r,v)),g>2&&hh(e,t,2,o)&&(h=!0,v=Mv(e,d,t,2,o,v)),g>3&&hh(e,t,3,i)&&(h=!0,v=Mv(e,d,t,3,i,v)),g>4&&hh(e,t,4,a)&&(h=!0,v=Mv(e,d,t,4,a,v)),g>5&&hh(e,t,5,u)&&(h=!0,v=Mv(e,d,t,5,u,v)),g>6&&hh(e,t,6,s)&&(h=!0,v=Mv(e,d,t,6,s,v)),g>7&&hh(e,t,7,l)&&(h=!0,v=Mv(e,d,t,7,l,v)),g>8&&hh(e,t,8,c)&&(h=!0,v=Mv(e,d,t,8,c,v)),g>9&&hh(e,t,9,f)&&(h=!0,v=Mv(e,d,t,9,f,v)),v&&p.ngOnChanges(v),65536&t.flags&&Xp(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function v(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings,p=!1,h=d.length;if(h>0&&vh(e,t,0,n)&&(p=!0),h>1&&vh(e,t,1,r)&&(p=!0),h>2&&vh(e,t,2,o)&&(p=!0),h>3&&vh(e,t,3,i)&&(p=!0),h>4&&vh(e,t,4,a)&&(p=!0),h>5&&vh(e,t,5,u)&&(p=!0),h>6&&vh(e,t,6,s)&&(p=!0),h>7&&vh(e,t,7,l)&&(p=!0),h>8&&vh(e,t,8,c)&&(p=!0),h>9&&vh(e,t,9,f)&&(p=!0),p){var v=rh(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(d.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=a),h>5&&(g[5]=u),h>6&&(g[6]=s),h>7&&(g[7]=l),h>8&&(g[8]=c),h>9&&(g[9]=f);break;case 64:g={},h>0&&(g[d[0].name]=n),h>1&&(g[d[1].name]=r),h>2&&(g[d[2].name]=o),h>3&&(g[d[3].name]=i),h>4&&(g[d[4].name]=a),h>5&&(g[d[5].name]=u),h>6&&(g[d[6].name]=s),h>7&&(g[d[7].name]=l),h>8&&(g[d[8].name]=c),h>9&&(g[d[9].name]=f);break;case 128:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return p}(e,t,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(e,t,r,o,i,a,u,s,l,c,d,p):function v(e,t,n){switch(201347067&t.flags){case 1:return function r(e,t,n){for(var r=!1,o=0;o<n.length;o++)Qh(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function o(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)vh(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Wv(n[i],r[i]);a=t.text.prefix+a;var u=eh(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function i(e,t,n){for(var r=nh(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)hh(e,t,u,n[u])&&(i=!0,a=Mv(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&Xp(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function a(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)vh(e,t,i,n[i])&&(o=!0);if(o){var a=rh(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,f(l))}a.value=u}return o}
|
|
759
767
|
/**
|
|
760
768
|
* @license
|
|
761
769
|
* Copyright Google Inc. All Rights Reserved.
|
|
762
770
|
*
|
|
763
771
|
* Use of this source code is governed by an MIT-style license that can be
|
|
764
772
|
* found in the LICENSE file at https://angular.io/license
|
|
765
|
-
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function
|
|
773
|
+
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function ag(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=th(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,mh(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ug(e,t,n,r,o,i,a,u,s,l,c,f,d){return 0===n?function p(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings.length;d>0&&gh(e,t,0,n),d>1&&gh(e,t,1,r),d>2&&gh(e,t,2,o),d>3&&gh(e,t,3,i),d>4&&gh(e,t,4,a),d>5&&gh(e,t,5,u),d>6&&gh(e,t,6,s),d>7&&gh(e,t,7,l),d>8&&gh(e,t,8,c),d>9&&gh(e,t,9,f)}(e,t,r,o,i,a,u,s,l,c,f,d):function h(e,t,n){for(var r=0;r<n.length;r++)gh(e,t,r,n[r])}(e,t,r),!1}function sg(e,t){if(oh(e,t.nodeIndex).dirty)throw uh(ah.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function lg(e){if(!(128&e.state)){if(fg(e,jv.Destroy),cg(e,jv.Destroy),Fv(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function n(e){if(16&e.state){var t=wh(e);if(t){var n=t.template._projectedViews;n&&(tv(n,n.indexOf(e)),ah.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function r(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(th(e,n).renderElement):2&r.flags?e.renderer.destroyNode(eh(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&oh(e,n).destroy()}}(e),Ih(e)&&e.renderer.destroy(),e.state|=128}}function cg(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?dg(th(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function fg(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=th(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)dg(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function dg(e,t){var n=e.state;switch(t){case jv.CheckNoChanges:0==(128&n)&&(12==(12&n)?rg(e):64&n&&pg(e,jv.CheckNoChangesProjectedViews));break;case jv.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?rg(e):64&n&&pg(e,t));break;case jv.CheckAndUpdate:0==(128&n)&&(12==(12&n)?og(e):64&n&&pg(e,jv.CheckAndUpdateProjectedViews));break;case jv.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?og(e):64&n&&pg(e,t));break;case jv.Destroy:lg(e);break;case jv.CreateViewNodes:ng(e)}}function pg(e,t){fg(e,t),cg(e,t)}function hg(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(ah.setCurrentNode(e,a.nodeIndex),r){case 0:Uv(e,a);break;case 1:sg(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}
|
|
766
774
|
/**
|
|
767
775
|
* @license
|
|
768
776
|
* Copyright Google Inc. All Rights Reserved.
|
|
769
777
|
*
|
|
770
778
|
* Use of this source code is governed by an MIT-style license that can be
|
|
771
779
|
* found in the LICENSE file at https://angular.io/license
|
|
772
|
-
*/!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"}(Dv||(Dv={}));var hy=!1;function vy(){if(!hy){hy=!0;var e=Cs()?function t(){return{setCurrentNode:Fy,createRootView:gy,createEmbeddedView:_y,createComponentView:wy,createNgModuleRef:by,overrideProvider:Py,overrideComponentView:Ry,clearOverrides:Ny,checkAndUpdateView:Vy,checkNoChangesView:Sy,destroyView:My,createDebugContext:function(e,t){return new Wy(e,t)},handleEvent:Hy,updateDirectives:Ly,updateRenderer:By}}():function n(){return{setCurrentNode:function(){},createRootView:yy,createEmbeddedView:Yv,createComponentView:Jv,createNgModuleRef:vv,overrideProvider:lh,overrideComponentView:lh,clearOverrides:lh,checkAndUpdateView:ry,checkNoChangesView:ny,destroyView:sy,createDebugContext:function(e,t){return new Wy(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Ay:jy,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Ay:jy,e)}}}();ih.setCurrentNode=e.setCurrentNode,ih.createRootView=e.createRootView,ih.createEmbeddedView=e.createEmbeddedView,ih.createComponentView=e.createComponentView,ih.createNgModuleRef=e.createNgModuleRef,ih.overrideProvider=e.overrideProvider,ih.overrideComponentView=e.overrideComponentView,ih.clearOverrides=e.clearOverrides,ih.checkAndUpdateView=e.checkAndUpdateView,ih.checkNoChangesView=e.checkNoChangesView,ih.destroyView=e.destroyView,ih.resolveDep=jv,ih.createDebugContext=e.createDebugContext,ih.handleEvent=e.handleEvent,ih.updateDirectives=e.updateDirectives,ih.updateRenderer=e.updateRenderer,ih.dirtyParentQueries=Lv}}function yy(e,t,n,r,o,i){return $v(my(e,o,o.injector.get(us),t,n),r,i)}function gy(e,t,n,r,o,i){var a=o.injector.get(us),u=my(e,o,new Jy(a),t,n),s=Dy(r);return Yy(Cy.create,$v,null,[u,s,i])}function my(e,t,n,r,o){var i=t.injector.get(bc),a=t.injector.get(Bf);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function _y(e,t,n,r){var o=Dy(n);return Yy(Cy.create,Yv,null,[e,t,o,r])}function wy(e,t,n,r){return n=Ty.get(t.element.componentProvider.provider.token)||Dy(n),Yy(Cy.create,Jv,null,[e,t,n,r])}function by(e,t,n,r){return vv(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Ey.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ey.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Oy.forEach(function(r,o){I(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Ey.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Oh(o.deps),n.value=o.value)}if(Oy.size>0){var i=new Set(e.modules);Oy.forEach(function(t,n){if(i.has(I(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Oh(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[fh(n)]=o}})}}(e=e.factory(function(){return lh})),e):e}(r))}var Cy,xy,Iy,ky,Ey=new Map,Oy=new Map,Ty=new Map;function Py(e){var t;Ey.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Oy.set(e.token,e)}function Ry(e,t){var n=Rh(Rh(nv(t)).nodes[0].element.componentView);Ty.set(e,n)}function Ny(){Ey.clear(),Oy.clear(),Ty.clear()}function Dy(e){if(0===Ey.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ey.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return lh});for(var r=0;r<t.length;r++)o(e,t[r]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ey.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Oh(i.deps),o.value=i.value)}}}}function Ay(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return oy(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?nh(e,t).value:void 0}function jy(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return ay(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?nh(e,t).value:void 0}function Vy(e){return Yy(Cy.detectChanges,ry,null,[e])}function Sy(e){return Yy(Cy.checkNoChanges,ny,null,[e])}function My(e){return Yy(Cy.destroy,sy,null,[e])}function Fy(e,t){Iy=e,ky=t}function Hy(e,t,n,r){return Fy(e,t),Yy(Cy.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Ly(e,t){if(128&e.state)throw sh(Cy[xy]);return Fy(e,qy(e,0)),e.def.updateDirectives(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?Uy(e,u,o,i):zy(e,u,o,i),16384&u.flags&&Fy(e,qy(e,r)),224&u.flags?nh(e,u.nodeIndex).value:void 0},e)}function By(e,t){if(128&e.state)throw sh(Cy[xy]);return Fy(e,Ky(e,0)),e.def.updateRenderer(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?Uy(e,u,o,i):zy(e,u,o,i),3&u.flags&&Fy(e,Ky(e,r)),224&u.flags?nh(e,u.nodeIndex).value:void 0},e)}function Uy(e,t,n,r){if(oy.apply(void 0,f([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+(h=function l(e){return e.replace(Qy,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=Zy(s))}var c=t.parent,d=eh(e,c.nodeIndex).renderElement;if(c.element.name)for(var p in i)null!=(s=i[p])?e.renderer.setAttribute(d,p,s):e.renderer.removeAttribute(d,p);else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}var h}function zy(e,t,n,r){ay.apply(void 0,f([e,t,n],r))}!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"}(Cy||(Cy={}));var Qy=/([A-Z])/g;function Zy(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function qy(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Ky(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Wy=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=wh(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return eh(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return fv(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Gy(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Gy(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!xh(e);)e=e.parent;return e.parent?eh(e.parent,wh(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?bh(this.view,this.nodeDef):bh(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function a(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),u=-1;t.factory(function(){var t;return++u===i?(t=e.error).bind.apply(t,f([e],r)):lh}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function Gy(e,t,n){for(var r in t.references)n[r]=zv(e,t,t.references[r])}function Yy(e,t,n,r){var o=xy,i=Iy,a=ky;try{xy=e;var u=t.apply(n,r);return Iy=i,ky=a,xy=o,u}catch(e){if(function s(e){return!!Ff(e)}(e)||!Iy)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),uh(e,t),e}(e,$y())}}function $y(){return Iy?new Wy(Iy,ky):null}var Jy=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Xy(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Xy=function(){function e(e){this.delegate=e,this.debugContextFactory=$y,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function t(e){xp.delete(e.nativeNode)}(Ip(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new wp(n,null,r);o.name=e,kp(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&kp(new _p(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&kp(new _p(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Ip(e),r=Ip(t);n&&r&&n instanceof wp&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Ip(e),o=Ip(t),i=Ip(n);r&&o&&r instanceof wp&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Ip(e),r=Ip(t);n&&r&&n instanceof wp&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=$y()||null;return r&&kp(new wp(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=Ip(e);o&&o instanceof wp&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Ip(e);r&&r instanceof wp&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Ip(e);n&&n instanceof wp&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Ip(e);n&&n instanceof wp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Ip(e);o&&o instanceof wp&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Ip(e);r&&r instanceof wp&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Ip(e);r&&r instanceof wp&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Ip(e);r&&r.listeners.push(new mp(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),eg=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){vy();var t=function n(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Rh(this._ngModuleDefFactory));return ih.createNgModuleRef(this.moduleType,e||yr.NULL,this._bootstrapComponents,t)},t}(Nr),tg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createRenderer=function(t,n){var r=e.prototype.createRenderer.call(this,t,n);return r.debugContextFactory=function(e){return new ng(e)},r},t}(Jy),ng=function(){function e(e){this._nativeNode=e}return Object.defineProperty(e.prototype,"nodeIndex",{get:function(){return lu(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return lu(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return uu(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return ru(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=lu(this._nativeNode),t=e.lViewData[He].data[e.nodeIndex],n=4095&t.flags;if(n>0){var r=t.flags>>16;return this.view[He].data.slice(r,r+n).map(function(e){return e.type})}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=lu(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[He].data[t];if(n&&n.localNames){for(var r={},o=0;o<n.localNames.length;o+=2){var i=n.localNames[o+1];r[n.localNames[o]]=-1===i?It(n,e):e[i]}return r}return null}(n.lViewData,n.nodeIndex)),n.localRefs||{}}(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))},e}();
|
|
780
|
+
*/!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"}(jv||(jv={}));var vg=!1;function gg(){if(!vg){vg=!0;var e=xs()?function t(){return{setCurrentNode:Hg,createRootView:mg,createEmbeddedView:wg,createComponentView:bg,createNgModuleRef:Cg,overrideProvider:Rg,overrideComponentView:Dg,clearOverrides:Ng,checkAndUpdateView:Vg,checkNoChangesView:Mg,destroyView:Fg,createDebugContext:function(e,t){return new Gg(e,t)},handleEvent:Lg,updateDirectives:Bg,updateRenderer:Ug}}():function n(){return{setCurrentNode:function(){},createRootView:yg,createEmbeddedView:$v,createComponentView:Xv,createNgModuleRef:gv,overrideProvider:ch,overrideComponentView:ch,clearOverrides:ch,checkAndUpdateView:og,checkNoChangesView:rg,destroyView:lg,createDebugContext:function(e,t){return new Gg(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Ag:Sg,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Ag:Sg,e)}}}();ah.setCurrentNode=e.setCurrentNode,ah.createRootView=e.createRootView,ah.createEmbeddedView=e.createEmbeddedView,ah.createComponentView=e.createComponentView,ah.createNgModuleRef=e.createNgModuleRef,ah.overrideProvider=e.overrideProvider,ah.overrideComponentView=e.overrideComponentView,ah.clearOverrides=e.clearOverrides,ah.checkAndUpdateView=e.checkAndUpdateView,ah.checkNoChangesView=e.checkNoChangesView,ah.destroyView=e.destroyView,ah.resolveDep=Sv,ah.createDebugContext=e.createDebugContext,ah.handleEvent=e.handleEvent,ah.updateDirectives=e.updateDirectives,ah.updateRenderer=e.updateRenderer,ah.dirtyParentQueries=Bv}}function yg(e,t,n,r,o,i){return Jv(_g(e,o,o.injector.get(ss),t,n),r,i)}function mg(e,t,n,r,o,i){var a=o.injector.get(ss),u=_g(e,o,new Xg(a),t,n),s=jg(r);return $g(xg.create,Jv,null,[u,s,i])}function _g(e,t,n,r,o){var i=t.injector.get(Cc),a=t.injector.get(Uf);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function wg(e,t,n,r){var o=jg(n);return $g(xg.create,$v,null,[e,t,o,r])}function bg(e,t,n,r){return n=Pg.get(t.element.componentProvider.provider.token)||jg(n),$g(xg.create,Xv,null,[e,t,n,r])}function Cg(e,t,n,r){return gv(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Og.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Og.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Tg.forEach(function(r,o){I(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Og.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Th(o.deps),n.value=o.value)}if(Tg.size>0){var i=new Set(e.modules);Tg.forEach(function(t,n){if(i.has(I(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Th(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[dh(n)]=o}})}}(e=e.factory(function(){return ch})),e):e}(r))}var xg,Ig,kg,Eg,Og=new Map,Tg=new Map,Pg=new Map;function Rg(e){var t;Og.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Tg.set(e.token,e)}function Dg(e,t){var n=Dh(Dh(rv(t)).nodes[0].element.componentView);Pg.set(e,n)}function Ng(){Og.clear(),Tg.clear(),Pg.clear()}function jg(e){if(0===Og.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Og.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return ch});for(var r=0;r<t.length;r++)o(e,t[r]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Og.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Th(i.deps),o.value=i.value)}}}}function Ag(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return ig(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?rh(e,t).value:void 0}function Sg(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return ug(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?rh(e,t).value:void 0}function Vg(e){return $g(xg.detectChanges,og,null,[e])}function Mg(e){return $g(xg.checkNoChanges,rg,null,[e])}function Fg(e){return $g(xg.destroy,lg,null,[e])}function Hg(e,t){kg=e,Eg=t}function Lg(e,t,n,r){return Hg(e,t),$g(xg.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Bg(e,t){if(128&e.state)throw lh(xg[Ig]);return Hg(e,Kg(e,0)),e.def.updateDirectives(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?zg(e,u,o,i):Qg(e,u,o,i),16384&u.flags&&Hg(e,Kg(e,r)),224&u.flags?rh(e,u.nodeIndex).value:void 0},e)}function Ug(e,t){if(128&e.state)throw lh(xg[Ig]);return Hg(e,Wg(e,0)),e.def.updateRenderer(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?zg(e,u,o,i):Qg(e,u,o,i),3&u.flags&&Hg(e,Wg(e,r)),224&u.flags?rh(e,u.nodeIndex).value:void 0},e)}function zg(e,t,n,r){if(ig.apply(void 0,f([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+(h=function l(e){return e.replace(Zg,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=qg(s))}var c=t.parent,d=th(e,c.nodeIndex).renderElement;if(c.element.name)for(var p in i)null!=(s=i[p])?e.renderer.setAttribute(d,p,s):e.renderer.removeAttribute(d,p);else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}var h}function Qg(e,t,n,r){ug.apply(void 0,f([e,t,n],r))}!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"}(xg||(xg={}));var Zg=/([A-Z])/g;function qg(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Kg(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Wg(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Gg=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=bh(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return th(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return dv(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Yg(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Yg(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!Ih(e);)e=e.parent;return e.parent?th(e.parent,bh(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Ch(this.view,this.nodeDef):Ch(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function a(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),u=-1;t.factory(function(){var t;return++u===i?(t=e.error).bind.apply(t,f([e],r)):ch}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function Yg(e,t,n){for(var r in t.references)n[r]=Qv(e,t,t.references[r])}function $g(e,t,n,r){var o=Ig,i=kg,a=Eg;try{Ig=e;var u=t.apply(n,r);return kg=i,Eg=a,Ig=o,u}catch(e){if(function s(e){return!!Hf(e)}(e)||!kg)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),sh(e,t),e}(e,Jg())}}function Jg(){return kg?new Gg(kg,Eg):null}var Xg=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new ey(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),ey=function(){function e(e){this.delegate=e,this.debugContextFactory=Jg,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function t(e){Ip.delete(e.nativeNode)}(kp(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new bp(n,null,r);o.name=e,Ep(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Ep(new wp(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Ep(new wp(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=kp(e),r=kp(t);n&&r&&n instanceof bp&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=kp(e),o=kp(t),i=kp(n);r&&o&&r instanceof bp&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=kp(e),r=kp(t);n&&r&&n instanceof bp&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=Jg()||null;return r&&Ep(new bp(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=kp(e);o&&o instanceof bp&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=kp(e);r&&r instanceof bp&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=kp(e);n&&n instanceof bp&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=kp(e);n&&n instanceof bp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=kp(e);o&&o instanceof bp&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=kp(e);r&&r instanceof bp&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=kp(e);r&&r instanceof bp&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=kp(e);r&&r.listeners.push(new _p(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),ty=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){gg();var t=function n(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Dh(this._ngModuleDefFactory));return ah.createNgModuleRef(this.moduleType,e||yr.NULL,this._bootstrapComponents,t)},t}(Nr),ny=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.createRenderer=function(t,n){var r=e.prototype.createRenderer.call(this,t,n);return r.debugContextFactory=function(e){return new ry(e)},r},t}(Xg),ry=function(){function e(e){this._nativeNode=e}return Object.defineProperty(e.prototype,"nodeIndex",{get:function(){return cu(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return cu(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return su(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return ou(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=cu(this._nativeNode),t=e.lViewData[Le].data[e.nodeIndex],n=4095&t.flags;if(n>0){var r=t.flags>>16;return this.view[Le].data.slice(r,r+n).map(function(e){return e.type})}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=cu(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[Le].data[t];if(n&&n.localNames){for(var r={},o=0;o<n.localNames.length;o+=2){var i=n.localNames[o+1];r[n.localNames[o]]=-1===i?kt(n,e):e[i]}return r}return null}(n.lViewData,n.nodeIndex)),n.localRefs||{}}(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))},e}();
|
|
773
781
|
/**
|
|
774
782
|
* @license
|
|
775
783
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -805,21 +813,21 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
805
813
|
* Use of this source code is governed by an MIT-style license that can be
|
|
806
814
|
* found in the LICENSE file at https://angular.io/license
|
|
807
815
|
*/
|
|
808
|
-
e.ɵangular_packages_core_core_p=
|
|
816
|
+
e.ɵangular_packages_core_core_p=Yp,e.ɵangular_packages_core_core_m=Kp,e.ɵangular_packages_core_core_n=Wp,e.ɵangular_packages_core_core_o=Gp,e.ɵangular_packages_core_core_g=pd,e.ɵangular_packages_core_core_k=Op,e.ɵangular_packages_core_core_l=Sp,e.ɵangular_packages_core_core_c=Pe,e.ɵangular_packages_core_core_d=ud,e.ɵangular_packages_core_core_e=Yf,e.ɵangular_packages_core_core_f=td,e.ɵangular_packages_core_core_q=jd,e.ɵangular_packages_core_core_s=Pd,e.ɵangular_packages_core_core_r=Td,e.ɵangular_packages_core_core_v=Nd,e.ɵangular_packages_core_core_t=Rd,e.ɵangular_packages_core_core_u=Dd,e.ɵangular_packages_core_core_z=Un,e.ɵangular_packages_core_core_bh=g,e.ɵangular_packages_core_core_ba=Fa,e.ɵangular_packages_core_core_bb=sn,e.ɵangular_packages_core_core_bc=yn,e.ɵangular_packages_core_core_bd=Dn,e.ɵangular_packages_core_core_bg=yo,e.ɵangular_packages_core_core_bk=Ct,e.ɵangular_packages_core_core_h=eu,e.ɵangular_packages_core_core_i=tu,e.ɵangular_packages_core_core_j=ru,e.ɵangular_packages_core_core_a=N,e.ɵangular_packages_core_core_b=j,e.ɵangular_packages_core_core_bi=d,e.ɵangular_packages_core_core_w=Ev,e.ɵangular_packages_core_core_x=Xg,e.ɵangular_packages_core_core_y=ih,e.createPlatform=Jd,e.assertPlatform=ep,e.destroyPlatform=function oy(){Zd&&!Zd.destroyed&&Zd.destroy()},e.getPlatform=tp,e.PlatformRef=np,e.ApplicationRef=op,e.createPlatformFactory=Xd,e.NgProbeToken=$d,e.enableProdMode=function iy(){if(Cs)throw new Error("Cannot enable prod mode after platform setup.");bs=!1},e.isDevMode=xs,e.APP_ID=dd,e.PACKAGE_ROOT_URL=_d,e.PLATFORM_INITIALIZER=gd,e.PLATFORM_ID=yd,e.APP_BOOTSTRAP_LISTENER=md,e.APP_INITIALIZER=cd,e.ApplicationInitStatus=fd,e.DebugElement=bp,e.DebugNode=wp,e.asNativeElements=function ay(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=kp,e.Testability=Kd,e.TestabilityRegistry=Wd,e.setTestabilityGetter=function uy(e){Gd=e},e.TRANSLATIONS=Zp,e.TRANSLATIONS_FORMAT=qp,e.LOCALE_ID=Qp,e.ApplicationModule=$p,e.wtfCreateScope=Sd,e.wtfLeave=Vd,e.wtfStartTimeRange=Md,e.wtfEndTimeRange=Fd,e.Type=Nc,e.EventEmitter=Jl,e.ErrorHandler=Uf,e.Sanitizer=Cc,e.ANALYZE_FOR_ENTRY_COMPONENTS=M,e.Attribute=F,e.ContentChild=L,e.ContentChildren=H,e.Query=V,e.ViewChild=U,e.ViewChildren=B,e.Component=sf,e.Directive=uf,e.HostBinding=pf,e.HostListener=hf,e.Input=ff,e.Output=df,e.Pipe=lf,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=If,e.Version=ls,e.VERSION=ds,e.defineInjectable=C,e.defineInjector=x,e.forwardRef=cr,e.resolveForwardRef=fr,e.Injectable=jf,e.INJECTOR=vr,e.Injector=yr,e.inject=Re,e.ReflectiveInjector=ad,e.createInjector=Nu,e.ResolvedReflectiveFactory=Xf,e.ReflectiveKey=Kf,e.InjectionToken=E,e.Inject=we,e.Optional=be,e.Self=Ce,e.SkipSelf=xe,e.Host=Ie,e.NgZone=Hd,e.ɵNoopNgZone=qd,e.RenderComponentType=os,e.Renderer=as,e.Renderer2=cs,e.RendererFactory2=ss,e.RootRenderer=us,e.COMPILER_OPTIONS=Ed,e.Compiler=kd,e.CompilerFactory=Od,e.ModuleWithComponentFactories=bd,e.ComponentFactory=Wu,e.ComponentRef=Ku,e.ComponentFactoryResolver=Xu,e.ElementRef=ns,e.NgModuleFactory=Nr,e.NgModuleRef=Dr,e.NgModuleFactoryLoader=ap,e.getModuleFactory=function sy(e){var t=up.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}
|
|
809
817
|
/**
|
|
810
818
|
* @license
|
|
811
819
|
* Copyright Google Inc. All Rights Reserved.
|
|
812
820
|
*
|
|
813
821
|
* Use of this source code is governed by an MIT-style license that can be
|
|
814
822
|
* found in the LICENSE file at https://angular.io/license
|
|
815
|
-
*/,e.QueryList=
|
|
823
|
+
*/,e.QueryList=sp,e.SystemJsNgModuleLoader=fp,e.SystemJsNgModuleLoaderConfig=lp,e.TemplateRef=Xl,e.ViewContainerRef=pp,e.EmbeddedViewRef=mp,e.ViewRef=yp,e.ChangeDetectorRef=vp,e.DefaultIterableDiffer=Pp,e.IterableDiffers=Fp,e.KeyValueDiffers=Hp,e.SimpleChange=pt,e.WrappedValue=dt,e.platformCore=zp,e.ɵALLOW_MULTIPLE_PLATFORMS=Yd,e.ɵAPP_ID_RANDOM_PROVIDER=hd,e.ɵdefaultIterableDiffers=Bp,e.ɵdefaultKeyValueDiffers=Up,e.ɵdevModeEqual=ft,e.ɵisListLikeIterable=ht,e.ɵisDefaultChangeDetectionStrategy=function ly(t){return null==t||t===e.ChangeDetectionStrategy.Default}
|
|
816
824
|
/**
|
|
817
825
|
* @license
|
|
818
826
|
* Copyright Google Inc. All Rights Reserved.
|
|
819
827
|
*
|
|
820
828
|
* Use of this source code is governed by an MIT-style license that can be
|
|
821
829
|
* found in the LICENSE file at https://angular.io/license
|
|
822
|
-
*/,e.ɵConsole=
|
|
830
|
+
*/,e.ɵConsole=wd,e.ɵgetInjectableDef=I,e.ɵinject=Re,e.ɵsetCurrentInjector=Oe,e.ɵAPP_ROOT=Eu,e.ɵivyEnabled=!1,e.ɵComponentFactory=Wu,e.ɵCodegenComponentFactoryResolver=es,e.ɵresolveComponentResources=function cy(e){var t=[],n=new Map;function r(r){var o=n.get(r);if(!o){var i=e(r);n.set(r,o=i.then(q)),t.push(o)}return o}return Q.forEach(function(e){e.templateUrl&&r(e.templateUrl).then(function(t){e.template=t,e.templateUrl=void 0});var t=e.styleUrls,n=e.styles||(e.styles=[]),o=e.styles.length;t&&t.forEach(function(i,a){n.push(""),r(i).then(function(r){n[o+a]=r,t.splice(t.indexOf(i),1),0==t.length&&(e.styleUrls=void 0)})})}),Q.clear(),Promise.all(t).then(function(){return null})},e.ɵReflectionCapabilities=Mc,e.ɵRenderDebugInfo=is,e.ɵ_sanitizeHtml=Ks,e.ɵ_sanitizeStyle=kc,e.ɵ_sanitizeUrl=Os,e.ɵglobal=G,e.ɵlooseIdentical=ee,e.ɵstringify=te,e.ɵmakeDecorator=R,e.ɵisObservable=ld,e.ɵisPromise=sd,e.ɵclearOverrides=function fy(){return gg(),ah.clearOverrides()},e.ɵinitServicesIfNeeded=gg,e.ɵoverrideComponentView=function dy(e,t){return gg(),ah.overrideComponentView(e,t)},e.ɵoverrideProvider=
|
|
823
831
|
/**
|
|
824
832
|
* @license
|
|
825
833
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -827,7 +835,7 @@ e.ɵangular_packages_core_core_p=Gp,e.ɵangular_packages_core_core_m=qp,e.ɵangu
|
|
|
827
835
|
* Use of this source code is governed by an MIT-style license that can be
|
|
828
836
|
* found in the LICENSE file at https://angular.io/license
|
|
829
837
|
*/
|
|
830
|
-
function
|
|
838
|
+
function py(e){return gg(),ah.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=Av,e.ɵdefineBase=ce,e.ɵdefineComponent=ie,e.ɵdefineDirective=de,e.ɵdefinePipe=pe,e.ɵdefineNgModule=se,e.ɵdetectChanges=_a,e.ɵrenderComponent=function hy(e,t){void 0===t&&(t={});var n=t.rendererFactory||Mr,r=t.sanitizer||null,o=he(e);o.type!=e&&(o.type=e);var i,a=Pi(n,t.host||o.selectors[0][0]),u=o.onPush?68:66,s=mu(t.scheduler,t.playerHandler),l=n.createRenderer(a,o),c=si(null,l,Oi(-1,null,1,0,null,null,null),s,u,void 0,t.injector||null),f=Rn(c,null);try{n.begin&&n.begin(),i=yu(gu(a,o,c,l,r),o,c,s,t.hostFeatures||null),ui(c,null)}finally{Nn(f),n.end&&n.end()}return i},e.ɵRender3ComponentFactory=_s,e.ɵRender3ComponentRef=ws,e.ɵdirectiveInject=za,e.ɵinjectAttribute=Qa,e.ɵgetFactoryOf=Yn,e.ɵgetInheritedFactory=$n,e.ɵtemplateRefExtractor=yc,e.ɵProvidersFeature=qu,e.ɵInheritDefinitionFeature=bu,e.ɵNgOnChangesFeature=Iu,e.ɵLifecycleHooksFeature=_u,e.ɵRender3NgModuleRef=jl,e.ɵmarkDirty=Ca,e.ɵNgModuleFactory=Al,e.ɵNO_CHANGE=go,e.ɵcontainer=oa,e.ɵnextContext=pi,e.ɵelementStart=xi,e.ɵnamespaceHTML=_i,e.ɵnamespaceMathML=mi,e.ɵnamespaceSVG=yi,e.ɵelement=wi,e.ɵlistener=Ri,e.ɵtext=Zi,e.ɵembeddedViewStart=sa,e.ɵquery=vc,e.ɵregisterContentQuery=Za,e.ɵprojection=ha,e.ɵbind=xa,e.ɵinterpolation1=ka,e.ɵinterpolation2=Ea,e.ɵinterpolation3=Oa,e.ɵinterpolation4=Ta,e.ɵinterpolation5=Pa,e.ɵinterpolation6=Ra,e.ɵinterpolation7=Da,e.ɵinterpolation8=Na,e.ɵinterpolationV=Ia,e.ɵpipeBind1=ql,e.ɵpipeBind2=Kl,e.ɵpipeBind3=Wl,e.ɵpipeBind4=Gl,e.ɵpipeBindV=Yl,e.ɵpureFunction0=Sl,e.ɵpureFunction1=Vl,e.ɵpureFunction2=Ml,e.ɵpureFunction3=Fl,e.ɵpureFunction4=Hl,e.ɵpureFunction5=Ll,e.ɵpureFunction6=Bl,e.ɵpureFunction7=Ul,e.ɵpureFunction8=zl,e.ɵpureFunctionV=Ql,e.ɵgetCurrentView=on,e.ɵrestoreView=un,e.ɵcontainerRefreshStart=aa,e.ɵcontainerRefreshEnd=ua,e.ɵqueryRefresh=gc,e.ɵloadQueryList=Sa,e.ɵelementEnd=ji,e.ɵelementProperty=Si,e.ɵprojectionDef=da,e.ɵreference=Aa,e.ɵenableBindings=nn,e.ɵdisableBindings=rn,e.ɵelementAttribute=Ai,e.ɵelementContainerStart=bi,e.ɵelementContainerEnd=Ci,e.ɵelementStyling=Li,e.ɵelementStylingMap=zi,e.ɵelementStyleProp=Ui,e.ɵelementStylingApply=Bi,e.ɵelementClassProp=Hi,e.ɵtextBinding=qi,e.ɵtemplate=ra,e.ɵembeddedViewEnd=la,e.ɵstore=ja,e.ɵload=Va,e.ɵpipe=Zl,e.ɵwhenRendered=function vy(e){return function t(e){return jt(e)[Ge]}(e).clean},e.ɵi18n=bl,e.ɵi18nAttributes=Cl,e.ɵi18nExp=El,e.ɵi18nStart=vl,e.ɵi18nEnd=ml,e.ɵi18nApply=Ol,e.ɵi18nPostprocess=yl,e.ɵWRAP_RENDERER_FACTORY2=ys,e.ɵsetClassMetadata=
|
|
831
839
|
/**
|
|
832
840
|
* @license
|
|
833
841
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -835,7 +843,7 @@ function dg(e){return vy(),ih.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEM
|
|
|
835
843
|
* Use of this source code is governed by an MIT-style license that can be
|
|
836
844
|
* found in the LICENSE file at https://angular.io/license
|
|
837
845
|
*/
|
|
838
|
-
function
|
|
846
|
+
function gy(e,t,n,r){var o,a=e;null!==t&&(void 0!==a.decorators?(o=a.decorators).push.apply(o,f(t)):a.decorators=t),null!==n&&(a.ctorParameters=n),null!==r&&(a.propDecorators=void 0!==a.propDecorators?i({},a.propDecorators,r):r)},e.ɵRender3DebugRendererFactory2=ny,e.ɵcompileComponent=Jc,e.ɵcompileDirective=Xc,e.ɵcompileNgModule=Zc,e.ɵcompileNgModuleDefs=qc,e.ɵpatchComponentDefWithScope=Kc,e.ɵcompilePipe=af,e.ɵsanitizeHtml=Ec,e.ɵsanitizeStyle=Oc,e.ɵsanitizeUrl=Tc,e.ɵsanitizeResourceUrl=Pc,e.ɵbypassSanitizationTrustHtml=function yy(e){return bc(e,"Html")},e.ɵbypassSanitizationTrustStyle=function my(e){return bc(e,"Style")},e.ɵbypassSanitizationTrustScript=function _y(e){return bc(e,"Script")},e.ɵbypassSanitizationTrustUrl=function wy(e){return bc(e,"Url")},e.ɵbypassSanitizationTrustResourceUrl=function by(e){return bc(e,"ResourceUrl")},e.ɵgetContext=Jn,e.ɵbindPlayerFactory=function Cy(e,t){return new yo(e,t)},e.ɵaddPlayer=function xy(e,t){var n=Jn(e);if(n){var r=n.native,o=n.lViewData,i=function a(e,t){if(!(t=t||Jn(e)))return null;var n=wo(t.nodeIndex-He,t.lViewData);return Co(n)||xo(n)}(r,n),u=au(o);bo(i,u,r,t,0,e),ya(u,2)}},e.ɵgetPlayers=du,e.ɵcompileNgModuleFactory__POST_R3__=function Iy(e,t,n){return Promise.resolve(new Al(n))},e.ɵSWITCH_COMPILE_COMPONENT__POST_R3__=vf,e.ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__=gf,e.ɵSWITCH_COMPILE_PIPE__POST_R3__=yf,e.ɵSWITCH_COMPILE_NGMODULE__POST_R3__=kf,e.ɵSWITCH_COMPILE_INJECTABLE__POST_R3__=
|
|
839
847
|
/**
|
|
840
848
|
* @license
|
|
841
849
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -850,7 +858,7 @@ function vg(e,t,n,r){var o,a=e;null!==t&&(void 0!==a.decorators?(o=a.decorators)
|
|
|
850
858
|
* Use of this source code is governed by an MIT-style license that can be
|
|
851
859
|
* found in the LICENSE file at https://angular.io/license
|
|
852
860
|
*/
|
|
853
|
-
function
|
|
861
|
+
function ky(e,t){var n=null;Object.defineProperty(e,g,{get:function(){if(null===n){var r=t||{providedIn:null},o=Pf(r)||Df(r)||Rf(r)||Nf(r),i={name:e.name,type:e,providedIn:r.providedIn,ctorDeps:Uc(e),userDeps:void 0};if((Pf(r)||Df(r))&&void 0!==r.deps&&(i.userDeps=zc(r.deps)),o)if(Pf(r))i.useClass=r.useClass;else if(Rf(r))i.useValue=r.useValue;else if(Df(r))i.useFactory=r.useFactory;else{if(!Nf(r))throw new Error("Unreachable state.");i.useExisting=r.useExisting}else i.useClass=e;n=me().compileInjectable(Rc,"ng://"+e.name+"/ngInjectableDef.js",i)}return n}})},e.ɵSWITCH_IVY_ENABLED__POST_R3__=!0,e.ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__=function Ey(){return ru(sn(),yn(),null)},e.ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__=function Oy(e){return eu(e,sn(),yn())},e.ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__=function Ty(e,t){return tu(e,t,sn(),yn())},e.ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__=function Py(e,t){return function n(e,t,r,i){var a;$a||($a=function(e){function n(t,n,r){var o=e.call(this)||this;return o._lContainer=t,o._hostTNode=n,o._hostView=r,o._viewRefs=[],o}return o(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return eu(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new nu(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=Ln(this._hostTNode,this._hostView),t=Lt(e,this._hostView),n=function r(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.injectorIndex;)o=o.parent;return o}for(var i=Ht(e),a=t,u=t[qe];i>1;)u=(a=a[nt])[qe],i--;return u}(e,this._hostView,this._hostTNode);return Mt(e)&&null!=n?new nu(n,t):new gr},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[yt].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[yt].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=this._adjustIndex(n),o=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},n.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;!o&&i&&(o=i.get(Dr,null));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._view,r=this._adjustIndex(t);return Wr(n,this._lContainer,this._hostView,r,this._hostTNode.index),Kr(n,!0,uo(r,this._lContainer[yt],this._lContainer[mt])),e.attachToViewContainerRef(this),this._viewRefs.splice(r,0,e),e},n.prototype.move=function(e,t){var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Yr(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1);return Gr(this._lContainer,t,!!this._hostTNode.detached),this._viewRefs.splice(t,1)[0]||null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[yt].length+t:e},n}(e));var u=i[r.index];if(Dt(u))(a=u)[gt]=-1;else{var s=i[$e].createComment("");if(Nt(i)){var l=i[$e],c=kt(r,i);ro(l,oo(l,c),s,function f(e,t){return Vr(e)?e.nextSibling(t):t.nextSibling}(l,c))}else io(s,r,i);i[r.index]=a=na(u,r,i,s,!0),va(i,r.index,a)}return new $a(a,r,i)}(e,t,sn(),yn())},e.ɵSWITCH_RENDERER2_FACTORY__POST_R3__=function Ry(){return function e(t){var n=t[$e];if(Vr(n))return n;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(yn())},e.ɵpublishGlobalUtil=vu,e.ɵpublishDefaultGlobalUtils=function Dy(){hu||(hu=!0,vu("getComponent",ou),vu("getViewComponent",iu),vu("getHostElement",fu),vu("getInjector",su),vu("getRootComponents",uu),vu("getDirectives",lu),vu("getPlayers",du),vu("markDirty",Ca))},e.ɵSWITCH_INJECTOR_FACTORY__POST_R3__=function(){return function e(){var e=sn();return new Gn(e,yn())}()},e.ɵregisterModuleFactory=function Ny(e,t){var n=up.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);up.set(e,t)},e.ɵEMPTY_ARRAY=[],e.ɵEMPTY_MAP={},e.ɵand=
|
|
854
862
|
/**
|
|
855
863
|
* @license
|
|
856
864
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -858,4 +866,4 @@ function Ig(e,t){var n=null;Object.defineProperty(e,y,{get:function(){if(null===
|
|
|
858
866
|
* Use of this source code is governed by an MIT-style license that can be
|
|
859
867
|
* found in the LICENSE file at https://angular.io/license
|
|
860
868
|
*/
|
|
861
|
-
function
|
|
869
|
+
function jy(e,t,n,r,o,i){e|=1;var a=Oh(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Dh(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||ch},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function Ay(e,t,n,r,o,i){return new ov(e,t,n,r,o,i)},e.ɵcmf=function Sy(e,t,n){return new ty(e,t,n)},e.ɵcrt=function Vy(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function My(e,t,n,r,o,i,a,u){var s=[];if(a)for(var l in a){var f=c(a[l],2);s[f[0]]={flags:8,name:l,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var d=[];if(u)for(var p in u)d.push({type:1,propName:p,target:null,eventName:u[p]});return Ev(e,t|=16384,n,r,o,o,i,s,d)},e.ɵeld=function Fy(t,n,r,o,i,a,u,s,l,f,d,p){var h;void 0===u&&(u=[]),f||(f=ch);var v=Oh(r),g=v.matchedQueries,y=v.references,m=v.matchedQueryIds,_=null,w=null;a&&(_=(h=c(Fh(a),2))[0],w=h[1]),s=s||[];for(var b=new Array(s.length),C=0;C<s.length;C++){var x=c(s[C],3),I=x[0],k=x[2],E=c(Fh(x[1]),2),O=E[0],T=E[1],P=void 0,R=void 0;switch(15&I){case 4:R=k;break;case 1:case 8:P=k}b[C]={flags:I,ns:O,name:T,nonMinifiedName:T,securityContext:P,suffix:R}}l=l||[];var D=new Array(l.length);for(C=0;C<l.length;C++){var N=c(l[C],2);D[C]={type:0,target:N[0],eventName:N[1],propName:null}}var j=(u=u||[]).map(function(e){var t=c(e,2),n=t[1],r=c(Fh(t[0]),2);return[r[0],r[1],n]});return p=function A(t){if(t&&"$$undefined"===t.id){var n=null!=t.encapsulation&&t.encapsulation!==e.ViewEncapsulation.None||t.styles.length||Object.keys(t.data).length;t.id=n?"c"+ph++:"$$empty"}return t&&"$$empty"===t.id&&(t=null),t||null}(p),d&&(n|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:n|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:m,references:y,ngContentIndex:o,childCount:i,bindings:b,bindingFlags:Hh(b),outputs:D,element:{ns:_,name:w,attrs:j,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:f||ch},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=xh,e.ɵgetComponentViewDefinitionFactory=rv,e.ɵinlineInterpolate=function Hy(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,g,y,m,_){switch(e){case 1:return t+Lh(n)+r;case 2:return t+Lh(n)+r+Lh(o)+i;case 3:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u;case 4:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l;case 5:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l+Lh(c)+f;case 6:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l+Lh(c)+f+Lh(d)+p;case 7:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l+Lh(c)+f+Lh(d)+p+Lh(h)+v;case 8:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l+Lh(c)+f+Lh(d)+p+Lh(h)+v+Lh(g)+y;case 9:return t+Lh(n)+r+Lh(o)+i+Lh(a)+u+Lh(s)+l+Lh(c)+f+Lh(d)+p+Lh(h)+v+Lh(g)+y+Lh(m)+_;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function Ly(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+Lh(t[r+1]);return n+t[2*e]},e.ɵmod=function By(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===Eu&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[dh(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function Uy(e,t,n,r){return n=fr(n),{index:-1,deps:Th(r,te(t)),flags:e,token:t,value:n}},e.ɵncd=function zy(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}}},e.ɵnov=function Qy(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=th(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return eh(e,n.nodeIndex).renderText;if(20240&n.flags)return nh(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function Zy(e,t,n){return Ev(-1,e|=16,null,0,t,t,n)},e.ɵprd=function qy(e,t,n,r,o){return Ev(-1,e,t,0,n,r,o)},e.ɵpad=function Ky(e,t){return qv(32,e,new Array(t))},e.ɵpod=function Wy(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var a=n[i];o[t[a]]=a}return qv(64,e,o)},e.ɵppd=function Gy(e,t){return qv(128,e,new Array(t+1))},e.ɵqud=function Yy(e,t,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});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:Eh(t),bindings:r},ngContent:null}},e.ɵted=function $y(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};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}},e.ɵunv=function Jy(e,t,n,r){if(dt.isWrapped(r)){r=dt.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=dt.unwrap(e.oldValues[o]);e.oldValues[o]=new dt(i)}return r},e.ɵvid=function Xy(e,t,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,d=!1,p=null,h=0;h<t.length;h++){var v=t[h];if(v.nodeIndex=h,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,d=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Yv(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(p=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[dh(v.provider.token)]=v:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[dh(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,Gv(v)||(c=v);else for(;l&&h===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Gv(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||ch,updateRenderer:r||ch,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}},Object.defineProperty(e,"__esModule",{value:!0})});
|