@angular/core 7.0.0-rc.1 → 7.0.3
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 +36 -33
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +3 -3
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +1856 -1463
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +155 -94
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +7 -6
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +0 -3
- package/esm2015/core.js +6 -6
- package/esm2015/index.js +2 -2
- package/esm2015/public_api.js +2 -2
- package/esm2015/src/application_init.js +5 -1
- package/esm2015/src/application_module.js +2 -2
- package/esm2015/src/application_ref.js +11 -9
- package/esm2015/src/application_tokens.js +7 -7
- package/esm2015/src/change_detection/change_detection_util.js +3 -1
- package/esm2015/src/change_detection/change_detector_ref.js +2 -1
- package/esm2015/src/change_detection/constants.js +1 -1
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +2 -1
- package/esm2015/src/change_detection/differs/iterable_differs.js +8 -6
- package/esm2015/src/change_detection/differs/keyvalue_differs.js +6 -5
- package/esm2015/src/change_detection/pipe_transform.js +2 -2
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/core_render3_private_export.js +5 -4
- package/esm2015/src/debug/debug_node.js +6 -6
- package/esm2015/src/di/defs.js +5 -5
- package/esm2015/src/di/forward_ref.js +4 -4
- package/esm2015/src/di/injectable.js +5 -2
- package/esm2015/src/di/injection_token.js +3 -1
- package/esm2015/src/di/injector.js +3 -3
- package/esm2015/src/di/metadata.js +16 -1
- package/esm2015/src/di/provider.js +16 -6
- package/esm2015/src/di/r3_injector.js +2 -2
- package/esm2015/src/di/reflective_injector.js +2 -2
- package/esm2015/src/di/reflective_key.js +3 -1
- package/esm2015/src/di/reflective_provider.js +3 -3
- package/esm2015/src/error_handler.js +3 -1
- package/esm2015/src/event_emitter.js +2 -1
- package/esm2015/src/i18n/tokens.js +4 -4
- package/esm2015/src/is_dev_mode.js +4 -2
- package/esm2015/src/ivy_switch/runtime/index.js +2 -2
- package/esm2015/src/ivy_switch/runtime/ivy_switch_on.js +4 -2
- package/esm2015/src/ivy_switch/runtime/jit.js +2 -2
- package/esm2015/src/ivy_switch/runtime/legacy.js +7 -1
- package/esm2015/src/ivy_switch/runtime/local.js +2 -2
- package/esm2015/src/linker/compiler.js +5 -4
- package/esm2015/src/linker/component_factory.js +4 -2
- package/esm2015/src/linker/component_factory_resolver.js +2 -1
- package/esm2015/src/linker/element_ref.js +2 -2
- package/esm2015/src/linker/ng_module_factory.js +3 -3
- package/esm2015/src/linker/ng_module_factory_loader.js +4 -3
- package/esm2015/src/linker/query_list.js +3 -1
- package/esm2015/src/linker/system_js_ng_module_factory_loader.js +3 -3
- package/esm2015/src/linker/template_ref.js +2 -1
- package/esm2015/src/linker/view_container_ref.js +2 -1
- package/esm2015/src/linker/view_ref.js +4 -2
- package/esm2015/src/metadata/di.js +13 -5
- package/esm2015/src/metadata/directives.js +20 -7
- package/esm2015/src/metadata/lifecycle_hooks.js +10 -5
- package/esm2015/src/metadata/ng_module.js +8 -6
- package/esm2015/src/metadata/view.js +1 -1
- package/esm2015/src/platform_core_providers.js +2 -2
- package/esm2015/src/profile/profile.js +5 -5
- package/esm2015/src/profile/wtf_impl.js +2 -2
- package/esm2015/src/r3_symbols.js +1 -1
- package/esm2015/src/reflection/reflection_capabilities.js +3 -3
- package/esm2015/src/render/api.js +20 -7
- package/esm2015/src/render3/component.js +52 -18
- package/esm2015/src/render3/component_ref.js +15 -15
- package/esm2015/src/render3/context_discovery.js +35 -126
- package/esm2015/src/render3/debug.js +33 -56
- package/esm2015/src/render3/definition.js +42 -37
- package/esm2015/src/render3/di.js +4 -28
- package/esm2015/src/render3/discovery_utils.js +10 -7
- package/esm2015/src/render3/i18n.js +60 -34
- package/esm2015/src/render3/index.js +3 -3
- package/esm2015/src/render3/instructions.js +162 -275
- package/esm2015/src/render3/interfaces/container.js +7 -5
- package/esm2015/src/render3/interfaces/context.js +60 -0
- package/esm2015/src/render3/interfaces/definition.js +7 -1
- package/esm2015/src/render3/interfaces/i18n.js +338 -0
- package/esm2015/src/render3/interfaces/node.js +12 -126
- package/esm2015/src/render3/interfaces/player.js +73 -1
- package/esm2015/src/render3/interfaces/styling.js +18 -22
- package/esm2015/src/render3/interfaces/view.js +19 -26
- package/esm2015/src/render3/jit/compiler_facade.js +22 -0
- package/esm2015/src/render3/jit/compiler_facade_interface.js +229 -0
- package/esm2015/src/render3/jit/directive.js +57 -93
- package/esm2015/src/render3/jit/environment.js +7 -3
- package/esm2015/src/render3/jit/injectable.js +21 -46
- package/esm2015/src/render3/jit/module.js +16 -43
- package/esm2015/src/render3/jit/pipe.js +6 -12
- package/esm2015/src/render3/jit/util.js +14 -17
- package/esm2015/src/render3/node_assert.js +1 -1
- package/esm2015/src/render3/node_manipulation.js +99 -109
- package/esm2015/src/render3/players.js +67 -0
- package/esm2015/src/render3/styling/class_and_style_bindings.js +347 -88
- package/esm2015/src/render3/styling/core_player_handler.js +2 -2
- package/esm2015/src/render3/styling/player_factory.js +48 -0
- package/esm2015/src/render3/styling/util.js +165 -17
- package/esm2015/src/render3/util.js +73 -20
- package/esm2015/src/render3/view_engine_compatibility.js +56 -40
- package/esm2015/src/sanitization/security.js +2 -2
- package/esm2015/src/testability/testability.js +5 -6
- package/esm2015/src/type.js +5 -2
- package/esm2015/src/util/decorators.js +2 -1
- package/esm2015/src/util.js +15 -1
- package/esm2015/src/version.js +6 -4
- package/esm2015/src/view/refs.js +3 -3
- package/esm2015/src/view/services.js +8 -6
- package/esm2015/src/zone/ng_zone.js +2 -2
- package/esm2015/testing/src/async.js +2 -2
- package/esm2015/testing/src/component_fixture.js +2 -2
- package/esm2015/testing/src/fake_async.js +7 -7
- package/esm2015/testing/src/fake_async_fallback.js +7 -7
- package/esm2015/testing/src/metadata_override.js +1 -1
- package/esm2015/testing/src/r3_test_bed.js +8 -6
- package/esm2015/testing/src/test_bed.js +10 -8
- package/esm2015/testing/src/test_bed_common.js +6 -6
- package/esm2015/testing/src/test_compiler.js +3 -3
- package/esm5/core.js +6 -6
- package/esm5/src/application_init.js +5 -1
- package/esm5/src/application_module.js +2 -2
- package/esm5/src/application_ref.js +11 -9
- package/esm5/src/application_tokens.js +7 -7
- package/esm5/src/change_detection/change_detection_util.js +3 -1
- package/esm5/src/change_detection/change_detector_ref.js +2 -1
- package/esm5/src/change_detection/constants.js +2 -1
- package/esm5/src/change_detection/differs/default_iterable_differ.js +2 -1
- package/esm5/src/change_detection/differs/iterable_differs.js +2 -1
- package/esm5/src/change_detection/differs/keyvalue_differs.js +2 -1
- package/esm5/src/change_detection/pipe_transform.js +1 -1
- package/esm5/src/core_render3_private_export.js +5 -4
- package/esm5/src/debug/debug_node.js +5 -5
- package/esm5/src/di/defs.js +3 -3
- package/esm5/src/di/forward_ref.js +3 -3
- package/esm5/src/di/injectable.js +6 -5
- package/esm5/src/di/injection_token.js +3 -1
- package/esm5/src/di/injector.js +3 -3
- package/esm5/src/di/metadata.js +6 -1
- package/esm5/src/di/provider.js +1 -1
- package/esm5/src/di/r3_injector.js +2 -2
- package/esm5/src/di/reflective_injector.js +2 -2
- package/esm5/src/di/reflective_key.js +3 -1
- package/esm5/src/di/reflective_provider.js +2 -2
- package/esm5/src/error_handler.js +3 -1
- package/esm5/src/event_emitter.js +2 -1
- package/esm5/src/i18n/tokens.js +5 -5
- package/esm5/src/is_dev_mode.js +4 -2
- package/esm5/src/ivy_switch/runtime/ivy_switch_on.js +3 -2
- package/esm5/src/ivy_switch/runtime/legacy.js +4 -1
- package/esm5/src/linker/compiler.js +5 -4
- package/esm5/src/linker/component_factory.js +5 -1
- package/esm5/src/linker/component_factory_resolver.js +4 -1
- package/esm5/src/linker/element_ref.js +2 -2
- package/esm5/src/linker/ng_module_factory.js +3 -3
- package/esm5/src/linker/ng_module_factory_loader.js +4 -3
- package/esm5/src/linker/query_list.js +3 -1
- package/esm5/src/linker/system_js_ng_module_factory_loader.js +3 -3
- package/esm5/src/linker/template_ref.js +2 -1
- package/esm5/src/linker/view_container_ref.js +2 -1
- package/esm5/src/linker/view_ref.js +4 -2
- package/esm5/src/metadata/di.js +10 -3
- package/esm5/src/metadata/directives.js +9 -6
- package/esm5/src/metadata/lifecycle_hooks.js +1 -1
- package/esm5/src/metadata/ng_module.js +4 -3
- package/esm5/src/metadata/view.js +4 -1
- package/esm5/src/platform_core_providers.js +2 -2
- package/esm5/src/profile/profile.js +5 -5
- package/esm5/src/profile/wtf_impl.js +1 -1
- package/esm5/src/r3_symbols.js +1 -1
- package/esm5/src/reflection/reflection_capabilities.js +3 -3
- package/esm5/src/render/api.js +11 -5
- package/esm5/src/render3/component.js +45 -16
- package/esm5/src/render3/component_ref.js +12 -13
- package/esm5/src/render3/context_discovery.js +33 -65
- package/esm5/src/render3/debug.js +31 -50
- package/esm5/src/render3/definition.js +35 -31
- package/esm5/src/render3/di.js +4 -20
- package/esm5/src/render3/discovery_utils.js +12 -7
- package/esm5/src/render3/i18n.js +40 -30
- package/esm5/src/render3/index.js +3 -3
- package/esm5/src/render3/instructions.js +143 -230
- package/esm5/src/render3/interfaces/container.js +6 -5
- package/esm5/src/render3/interfaces/context.js +13 -0
- package/esm5/src/render3/interfaces/definition.js +1 -1
- package/esm5/src/render3/interfaces/i18n.js +25 -0
- package/esm5/src/render3/interfaces/node.js +1 -1
- package/esm5/src/render3/interfaces/player.js +1 -1
- package/esm5/src/render3/interfaces/styling.js +1 -8
- package/esm5/src/render3/interfaces/view.js +18 -17
- package/esm5/src/render3/jit/compiler_facade.js +21 -0
- package/esm5/src/render3/jit/compiler_facade_interface.js +15 -0
- package/esm5/src/render3/jit/directive.js +44 -79
- package/esm5/src/render3/jit/environment.js +7 -3
- package/esm5/src/render3/jit/injectable.js +26 -46
- package/esm5/src/render3/jit/module.js +16 -31
- package/esm5/src/render3/jit/pipe.js +6 -9
- package/esm5/src/render3/jit/util.js +12 -17
- package/esm5/src/render3/node_assert.js +1 -1
- package/esm5/src/render3/node_manipulation.js +89 -101
- package/esm5/src/render3/players.js +59 -0
- package/esm5/src/render3/styling/class_and_style_bindings.js +248 -85
- package/esm5/src/render3/styling/core_player_handler.js +2 -2
- package/esm5/src/render3/styling/player_factory.js +29 -0
- package/esm5/src/render3/styling/util.js +132 -14
- package/esm5/src/render3/util.js +54 -21
- package/esm5/src/render3/view_engine_compatibility.js +46 -32
- package/esm5/src/sanitization/security.js +3 -3
- package/esm5/src/testability/testability.js +4 -4
- package/esm5/src/type.js +2 -2
- package/esm5/src/util/decorators.js +1 -1
- package/esm5/src/util.js +13 -1
- package/esm5/src/version.js +6 -3
- package/esm5/src/view/refs.js +1 -1
- package/esm5/src/view/services.js +7 -10
- package/esm5/src/zone/ng_zone.js +2 -2
- package/esm5/testing/src/async.js +2 -2
- package/esm5/testing/src/component_fixture.js +2 -2
- package/esm5/testing/src/fake_async.js +7 -7
- package/esm5/testing/src/fake_async_fallback.js +7 -7
- package/esm5/testing/src/metadata_override.js +1 -1
- package/esm5/testing/src/r3_test_bed.js +8 -7
- package/esm5/testing/src/test_bed.js +10 -8
- package/esm5/testing/src/test_bed_common.js +4 -4
- package/esm5/testing/src/test_compiler.js +3 -3
- package/fesm2015/core.js +2486 -1951
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +36 -32
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +1830 -1439
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +36 -33
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -2
- package/src/application_init.d.ts +4 -0
- package/src/application_module.d.ts +1 -1
- package/src/application_ref.d.ts +10 -8
- package/src/application_tokens.d.ts +6 -6
- package/src/change_detection/change_detection_util.d.ts +2 -0
- package/src/change_detection/change_detector_ref.d.ts +1 -0
- package/src/change_detection/constants.d.ts +1 -0
- package/src/change_detection/differs/default_iterable_differ.d.ts +1 -0
- package/src/change_detection/differs/iterable_differs.d.ts +8 -6
- package/src/change_detection/differs/keyvalue_differs.d.ts +5 -4
- package/src/change_detection/pipe_transform.d.ts +1 -1
- package/src/core_render3_private_export.d.ts +7 -5
- package/src/debug/debug_node.d.ts +5 -5
- package/src/di/defs.d.ts +4 -4
- package/src/di/forward_ref.d.ts +3 -3
- package/src/di/injectable.d.ts +10 -7
- package/src/di/injection_token.d.ts +2 -0
- package/src/di/injector.d.ts +5 -3
- package/src/di/metadata.d.ts +24 -1
- package/src/di/provider.d.ts +19 -5
- package/src/di/r3_injector.d.ts +1 -1
- package/src/di/reflective_injector.d.ts +1 -1
- package/src/di/reflective_key.d.ts +2 -0
- package/src/di/reflective_provider.d.ts +2 -2
- package/src/error_handler.d.ts +2 -0
- package/src/event_emitter.d.ts +1 -0
- package/src/i18n/tokens.d.ts +4 -4
- package/src/is_dev_mode.d.ts +3 -1
- package/src/ivy_switch/runtime/ivy_switch_on.d.ts +2 -1
- package/src/ivy_switch/runtime/legacy.d.ts +3 -0
- package/src/linker/compiler.d.ts +5 -4
- package/src/linker/component_factory.d.ts +5 -1
- package/src/linker/component_factory_resolver.d.ts +3 -0
- package/src/linker/element_ref.d.ts +1 -1
- package/src/linker/ng_module_factory.d.ts +2 -2
- package/src/linker/ng_module_factory_loader.d.ts +3 -2
- package/src/linker/query_list.d.ts +2 -0
- package/src/linker/system_js_ng_module_factory_loader.d.ts +2 -2
- package/src/linker/template_ref.d.ts +1 -0
- package/src/linker/view_container_ref.d.ts +1 -0
- package/src/linker/view_ref.d.ts +3 -1
- package/src/metadata/di.d.ts +13 -5
- package/src/metadata/directives.d.ts +19 -6
- package/src/metadata/lifecycle_hooks.d.ts +9 -4
- package/src/metadata/ng_module.d.ts +7 -7
- package/src/metadata/view.d.ts +3 -0
- package/src/platform_core_providers.d.ts +1 -1
- package/src/profile/profile.d.ts +4 -4
- package/src/profile/wtf_impl.d.ts +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/src/render/api.d.ts +10 -7
- package/src/render3/component.d.ts +14 -3
- package/src/render3/context_discovery.d.ts +6 -58
- package/src/render3/definition.d.ts +0 -4
- package/src/render3/di.d.ts +1 -3
- package/src/render3/discovery_utils.d.ts +7 -1
- package/src/render3/i18n.d.ts +4 -0
- package/src/render3/index.d.ts +2 -2
- package/src/render3/instructions.d.ts +43 -50
- package/src/render3/interfaces/container.d.ts +36 -22
- package/src/render3/interfaces/context.d.ts +52 -0
- package/src/render3/interfaces/definition.d.ts +8 -3
- package/src/render3/interfaces/i18n.d.ts +326 -0
- package/src/render3/interfaces/node.d.ts +12 -89
- package/src/render3/interfaces/player.d.ts +58 -4
- package/src/render3/interfaces/styling.d.ts +17 -15
- package/src/render3/interfaces/view.d.ts +28 -28
- package/src/render3/jit/compiler_facade.d.ts +3 -0
- package/src/render3/jit/compiler_facade_interface.d.ts +131 -0
- package/src/render3/jit/directive.d.ts +3 -0
- package/src/render3/jit/util.d.ts +3 -3
- package/src/render3/node_manipulation.d.ts +21 -22
- package/src/render3/players.d.ts +32 -0
- package/src/render3/styling/class_and_style_bindings.d.ts +31 -24
- package/src/render3/styling/player_factory.d.ts +31 -0
- package/src/render3/styling/util.d.ts +31 -9
- package/src/render3/util.d.ts +32 -15
- package/src/render3/view_engine_compatibility.d.ts +3 -0
- package/src/sanitization/security.d.ts +2 -2
- package/src/testability/testability.d.ts +5 -6
- package/src/type.d.ts +6 -1
- package/src/util/decorators.d.ts +1 -0
- package/src/util.d.ts +10 -0
- package/src/version.d.ts +4 -1
- package/src/view/services.d.ts +2 -2
- package/src/zone/ng_zone.d.ts +1 -1
- package/testing/src/async.d.ts +1 -1
- package/testing/src/component_fixture.d.ts +1 -1
- package/testing/src/fake_async.d.ts +6 -6
- package/testing/src/fake_async_fallback.d.ts +6 -6
- package/testing/src/metadata_override.d.ts +1 -1
- package/testing/src/r3_test_bed.d.ts +4 -4
- package/testing/src/test_bed.d.ts +12 -10
- package/testing/src/test_bed_common.d.ts +6 -6
- package/testing/src/test_compiler.d.ts +2 -2
- package/testing/testing.metadata.json +1 -1
- package/esm2015/src/render3/player.js +0 -51
- package/esm5/src/render3/player.js +0 -39
- package/src/render3/player.d.ts +0 -3
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.0.
|
|
2
|
+
* @license Angular v7.0.3
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t((e.ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright Google Inc. All Rights Reserved.
|
|
10
10
|
*
|
|
11
11
|
* Use of this source code is governed by an MIT-style license that can be
|
|
12
12
|
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/function
|
|
13
|
+
*/function d(e){for(var t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function p(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright Google Inc. All Rights Reserved.
|
|
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
|
|
20
|
+
*/var h=d({ngComponentDef:d}),v=d({ngDirectiveDef:d}),y=d({ngInjectableDef:d}),g=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,28 +25,28 @@
|
|
|
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
|
|
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(y)?e[y]:null}function k(e){return e.hasOwnProperty(g)?e[g]:null}
|
|
29
29
|
/**
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright Google Inc. All Rights Reserved.
|
|
32
32
|
*
|
|
33
33
|
* Use of this source code is governed by an MIT-style license that can be
|
|
34
34
|
* found in the LICENSE file at https://angular.io/license
|
|
35
|
-
*/var
|
|
35
|
+
*/var E=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?C({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),P="__annotations__",O="__parameters__",T="__prop__metadata__";
|
|
36
36
|
/**
|
|
37
37
|
* @license
|
|
38
38
|
* Copyright Google Inc. All Rights Reserved.
|
|
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
|
|
42
|
+
*/function R(e,t,n,r,o){var i=N(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(P)?n[P]:Object.defineProperty(n,P,{value:[]})[P]).push(u),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function N(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 D(e,t,n){var r=N(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(O)?e[O]:Object.defineProperty(e,O,{value:[]})[O];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 A(e,t,n,r){var o=N(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(T)?o[T]:Object.defineProperty(o,T,{value:{}})[T];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 V,S,M
|
|
49
|
+
*/var j,V,S,M=new E("AnalyzeForEntryComponents"),F=D("Attribute",function(e){return{attributeName:e}}),H=A("ContentChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},S=function S(){}),L=A("ContentChild",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},S),B=A("ViewChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},S),Q=A("ViewChild",function(e,t){return i({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},S);(
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -54,7 +54,7 @@ function x(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
|
+
j=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[j.OnPush=0]="OnPush",j[j.Default=1]="Default",(V=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[V.CheckOnce=0]="CheckOnce",V[V.Checked=1]="Checked",V[V.CheckAlways=2]="CheckAlways",V[V.Detached=3]="Detached",V[V.Errored=4]="Errored",V[V.Destroyed=5]="Destroyed";
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -62,21 +62,22 @@ V=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[V.OnPush=0]="OnPush
|
|
|
62
62
|
* Use of this source code is governed by an MIT-style license that can be
|
|
63
63
|
* found in the LICENSE file at https://angular.io/license
|
|
64
64
|
*/
|
|
65
|
-
var U="undefined"!=typeof window&&window,
|
|
65
|
+
var U="undefined"!=typeof window&&window,z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global||U||z,q=Promise.resolve(0),K=null;function G(){if(!K){var e=Z.Symbol;if(e&&e.iterator)K=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(K=r)}}return K}function W(e){"undefined"==typeof Zone?q.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Y(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function $(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map($).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
* Copyright Google Inc. All Rights Reserved.
|
|
69
69
|
*
|
|
70
70
|
* Use of this source code is governed by an MIT-style license that can be
|
|
71
71
|
* found in the LICENSE file at https://angular.io/license
|
|
72
|
-
*/
|
|
72
|
+
*/
|
|
73
|
+
function J(e){return e.__forward_ref__=J,e.toString=function(){return $(this())},e}function X(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===J?e():e}
|
|
73
74
|
/**
|
|
74
75
|
* @license
|
|
75
76
|
* Copyright Google Inc. All Rights Reserved.
|
|
76
77
|
*
|
|
77
78
|
* Use of this source code is governed by an MIT-style license that can be
|
|
78
79
|
* found in the LICENSE file at https://angular.io/license
|
|
79
|
-
*/var
|
|
80
|
+
*/var ee=D("Inject",function(e){return{token:e}}),te=D("Optional"),ne=D("Self"),re=D("SkipSelf"),oe=D("Host"),ie="__source",ae=new Object,ue=ae,se=new E("INJECTOR"),le=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=ae),t===ae)throw new Error("NullInjectorError: No provider for "+$(e)+"!");return t},e}(),ce=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new _e(e,t):new _e(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=ae,e.NULL=new le,e.ngInjectableDef=C({providedIn:"any",factory:function(){return ke(se)}}),e}(),fe=function(e){return e},de=[],pe=fe,he=function(){return Array.prototype.slice.call(arguments)},ve=d({provide:String,useValue:d}),ye=ce.NULL,ge=/\n/gm,me="ɵ",_e=function(){function e(e,t,n){void 0===t&&(t=ye),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(ce,{token:ce,fn:fe,deps:de,value:this,useNew:!1}),r.set(se,{token:se,fn:fe,deps:de,value:this,useNew:!1}),function e(t,n){if(n)if((n=X(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ce("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ce("Unexpected provider",n);var o=X(n.provide),i=function a(e){var t=function n(e){var t=de,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=X(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof te||u==te?o|=1:u instanceof re||u==re?o&=-3:u instanceof ne||u==ne?o&=-5:s=u instanceof ee?u.token:X(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=X(e.useExisting),options:6}]}else if(!(n||ve in e))throw Ce("'deps' required",e);return t}(e),r=fe,o=de,i=!1,a=X(e.provide);if(ve in e)o=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,r=X(e.useClass);else{if("function"!=typeof a)throw Ce("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!==he)throw we(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:he,value:de});u.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==he)throw we(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function u(t,n,r,o,i,a){var u,s;if(!n||4&a)2&a||(s=o.get(t,i,0));else{if((s=n.value)==pe)throw Error(me+"Circular dependency");if(s===de){n.value=pe;var l=n.useNew,c=n.fn,d=n.deps,p=de;if(d.length){p=[];for(var h=0;h<d.length;h++){var v=d[h],y=v.options,g=2&y?r.get(v.token):void 0;p.push(e(v.token,g,r,g||4&y?o:ye,1&y?null:ce.THROW_IF_NOT_FOUND,0))}}n.value=s=l?new((u=c).bind.apply(u,f([void 0],p))):c.apply(void 0,p)}}return s}(t,n,r,o,i,a)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==pe&&(n.value=de),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[ie]&&o.unshift(e[ie]),t.message=be("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push($(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function we(e){return Ce("Cannot mix multi providers and regular providers",e)}function be(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==me?e.substr(2):e;var r=$(t);if(t instanceof Array)r=t.map($).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):$(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ge,"\n ")}function Ce(e,t){return new Error(be(e,t))}var xe=void 0;function Ie(e){var t=xe;return xe=e,t}function ke(e,t){if(void 0===t&&(t=0),void 0===xe)throw new Error("inject() must be called from an injection context");if(null===xe){var n=I(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+$(e)+"]")}return xe.get(e,8&t?null:void 0,t)}function Ee(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var u=r[a];u instanceof te||"Optional"===u.ngMetadataName?i|=8:u instanceof re||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof ne||"Self"===u.ngMetadataName?i|=2:o=u instanceof ee?u.token:u}t.push(ke(o,i))}else t.push(ke(r))}return t}
|
|
80
81
|
/**
|
|
81
82
|
* @license
|
|
82
83
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -90,14 +91,14 @@ var U="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"
|
|
|
90
91
|
*
|
|
91
92
|
* Use of this source code is governed by an MIT-style license that can be
|
|
92
93
|
* found in the LICENSE file at https://angular.io/license
|
|
93
|
-
*/var
|
|
94
|
+
*/var Te=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Re=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ne=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,De=function(){function e(e){this._reflect=e||Z.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(Te.exec(n)||Re.exec(n)&&!Ne.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&&Ae(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(O)&&e[O],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(!Oe(e))return[];var t=je(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?Ae(e.decorators):e.hasOwnProperty(P)?e[P]:null},e.prototype.annotations=function(e){if(!Oe(e))return[];var t=je(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]=Ae(r[e])}),o}return e.hasOwnProperty(T)?e[T]:null},e.prototype.propMetadata=function(e){if(!Oe(e))return{};var t=je(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 Pe&&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:"./"+$(e)},e.prototype.resourceUri=function(e){return"./"+$(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Ae(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 je(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
94
95
|
/**
|
|
95
96
|
* @license
|
|
96
97
|
* Copyright Google Inc. All Rights Reserved.
|
|
97
98
|
*
|
|
98
99
|
* Use of this source code is governed by an MIT-style license that can be
|
|
99
100
|
* found in the LICENSE file at https://angular.io/license
|
|
100
|
-
*/var Se
|
|
101
|
+
*/var Ve,Se=new Set;function Me(e){return e.templateUrl||e.styleUrls&&e.styleUrls.length}function Fe(e){return"string"==typeof e?e:e.text()}
|
|
101
102
|
/**
|
|
102
103
|
* @license
|
|
103
104
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -112,7 +113,7 @@ var U="undefined"!=typeof window&&window,Z="undefined"!=typeof self&&"undefined"
|
|
|
112
113
|
* Use of this source code is governed by an MIT-style license that can be
|
|
113
114
|
* found in the LICENSE file at https://angular.io/license
|
|
114
115
|
*/
|
|
115
|
-
|
|
116
|
+
Ve=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Ve.Emulated=0]="Emulated",Ve[Ve.Native=1]="Native",Ve[Ve.None=2]="None",Ve[Ve.ShadowDom=3]="ShadowDom";
|
|
116
117
|
/**
|
|
117
118
|
* @license
|
|
118
119
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -120,7 +121,7 @@ Se=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Se.Emulated=0]="Emulated",Se[S
|
|
|
120
121
|
* Use of this source code is governed by an MIT-style license that can be
|
|
121
122
|
* found in the LICENSE file at https://angular.io/license
|
|
122
123
|
*/
|
|
123
|
-
var
|
|
124
|
+
var He={},Le=[],Be=0;function Qe(t){var n=t.type,r=n.prototype,o={},i={type:n,diPublic:null,consts:t.consts,vars:t.vars,hostVars:t.hostVars||0,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onInit:r.ngOnInit||null,doCheck:r.ngDoCheck||null,afterContentInit:r.ngAfterContentInit||null,afterContentChecked:r.ngAfterContentChecked||null,afterViewInit:r.ngAfterViewInit||null,afterViewChecked:r.ngAfterViewChecked||null,onDestroy:r.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,providers:Le,viewProviders:Le,id:"c",styles:t.styles||Le,_:null};return i._=function a(e){return""+{toString:e}}(function(){var e=t.directives,n=t.features,r=t.pipes;i.id+=Be++,i.inputs=qe(t.inputs,o),i.outputs=qe(t.outputs),n&&n.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(Ue)}:null,i.pipeDefs=r?function(){return("function"==typeof r?r():r).map(ze)}:null}),i}function Ue(e){return $e(e)||Je(e)}function ze(e){return Xe(e)}function Ze(e){return{type:e.type,bootstrap:e.bootstrap||Le,declarations:e.declarations||Le,imports:e.imports||Le,exports:e.exports||Le,transitiveCompileScopes:null}}function qe(e,t){if(null==e)return He;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 Ke(e){var t={};return{inputs:qe(e.inputs,t),declaredInputs:t,outputs:qe(e.outputs)}}var Ge,We=Qe;function Ye(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function $e(e){return e[h]||null}function Je(e){return e[v]||null}function Xe(e){return e[m]||null}function et(e){return e[_]||null}
|
|
124
125
|
/**
|
|
125
126
|
* @license
|
|
126
127
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -135,14 +136,14 @@ var Le={},Be=[],Qe=0;function ze(t){var n=t.type,r=t.pipes,o=t.directives,i={},a
|
|
|
135
136
|
* Use of this source code is governed by an MIT-style license that can be
|
|
136
137
|
* found in the LICENSE file at https://angular.io/license
|
|
137
138
|
*/
|
|
138
|
-
|
|
139
|
+
function tt(){var e=Z.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}
|
|
139
140
|
/**
|
|
140
141
|
* @license
|
|
141
142
|
* Copyright Google Inc. All Rights Reserved.
|
|
142
143
|
*
|
|
143
144
|
* Use of this source code is governed by an MIT-style license that can be
|
|
144
145
|
* found in the LICENSE file at https://angular.io/license
|
|
145
|
-
|
|
146
|
+
*/!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.Injector=2]="Injector"}(Ge||(Ge={}));
|
|
146
147
|
/**
|
|
147
148
|
* @license
|
|
148
149
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -150,7 +151,7 @@ var tt=16,nt=0,rt=1,ot=2,it=3,at=4,ut=5,st=6,lt=7,ct=8,ft=9,dt=10,pt=11,ht=12,vt
|
|
|
150
151
|
* Use of this source code is governed by an MIT-style license that can be
|
|
151
152
|
* found in the LICENSE file at https://angular.io/license
|
|
152
153
|
*/
|
|
153
|
-
var
|
|
154
|
+
var nt="__ngContext__",rt=17,ot=0,it=1,at=2,ut=3,st=4,lt=5,ct=6,ft=7,dt=8,pt=9,ht=10,vt=11,yt=12,gt=13,mt=14,_t=15,wt=16;
|
|
154
155
|
/**
|
|
155
156
|
* @license
|
|
156
157
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -165,21 +166,28 @@ var Bt,Qt=0,zt=4,Ut=5,Zt=8,qt=8,Kt=9,Wt="ngProjectAs";function Gt(e){return!!e.l
|
|
|
165
166
|
* Use of this source code is governed by an MIT-style license that can be
|
|
166
167
|
* found in the LICENSE file at https://angular.io/license
|
|
167
168
|
*/
|
|
169
|
+
function bt(e,t){var n=It(e),r=It(t);return n&&r?function o(e,t,n){for(var r=e[G()](),o=t[G()]();;){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,bt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Y(e,t)}var Ct=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}(),xt=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 It(e){return!!kt(e)&&(Array.isArray(e)||!(e instanceof Map)&&G()in e)}function kt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
168
170
|
/**
|
|
169
171
|
* @license
|
|
170
172
|
* Copyright Google Inc. All Rights Reserved.
|
|
171
173
|
*
|
|
172
174
|
* Use of this source code is governed by an MIT-style license that can be
|
|
173
175
|
* found in the LICENSE file at https://angular.io/license
|
|
174
|
-
*/
|
|
175
|
-
|
|
176
|
+
*/var Et=0,Pt=1,Ot=6,Tt=7;function Rt(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function Nt(e,t){return t[e+rt]}function Dt(e){for(;Array.isArray(e);)e=e[lt];return e}function At(e,t){return Dt(t[e+rt])}function jt(e,t){return Dt(t[e.index])}function Vt(e,t){return t[ot].data[e+rt]}function St(e,t){var n=t[e];return n.length>=rt?n:n[lt]}function Mt(e){return 0!=(16384&e.flags)}function Ft(e){return 4096==(4096&e.flags)}function Ht(e){return Array.isArray(e)&&"number"==typeof e[Et]}function Lt(e){for(var t=Array.isArray(e)?e:Ut(e);t&&!(64&t[it]);)t=t[at];return t}function Bt(e){return Lt(e)[pt]}function Qt(e){return e[nt]}function Ut(e){var t=Qt(e);return t?Array.isArray(t)?t:t.lViewData:null}
|
|
177
|
+
/**
|
|
178
|
+
* @license
|
|
179
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
180
|
+
*
|
|
181
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
182
|
+
* found in the LICENSE file at https://angular.io/license
|
|
183
|
+
*/function zt(e){var t=Qt(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=Yt(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[ot].firstChild;n;){for(var r=$t(n),o=Jt(n,r),i=r;i<o;i++)if(e[i]===t)return n.index;n=Wt(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");i=function l(e,t,n){var r=t[ot].data[e],o=$t(r),i=Jt(r,o);return!n&&4096&r.flags&&o++,t.slice(o,i)}(r,n,!1)}else if(-1==(r=Gt(n,e)))return null;var c=Qt(g=Dt(n[r])),f=c&&!Array.isArray(c)?c:Zt(n,r,g);if(o&&void 0===f.component&&(f.component=o,Kt(f.component,f)),i&&void 0===f.directives){f.directives=i;for(var d=0;d<i.length;d++)Kt(i[d],f)}Kt(f.native,f),t=f}}else for(var p=e,h=p;h=h.parentNode;){var v=Qt(h);if(v){if(n=void 0,!(n=Array.isArray(v)?v:v.lViewData))return null;var y=Gt(n,p);if(y>=0){var g;Kt(g=Dt(n[y]),f=Zt(n,y,g)),t=f;break}}}return t||null}function Zt(e,t,n){return{lViewData:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function qt(e){var t,n=Qt(e);if(Array.isArray(n)){var r=Yt(n,e);(o=Zt(n,r,(t=St(r,n))[lt])).component=e,Kt(e,o),Kt(o.native,o)}else{var o;t=St((o=n).nodeIndex,o.lViewData)}return t}function Kt(e,t){e[nt]=t}function Gt(e,t){for(var n=e[ot].firstChild;n;){if(jt(n,e)===t)return n.index;n=Wt(n)}return-1}function Wt(e){return e.child?e.child:e.next?e.next:e.parent&&e.parent.next||null}function Yt(e,t){var n=e[ot].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(St(o,e)[pt]===t)return o}else if(St(rt,e)[pt]===t)return rt;return-1}function $t(e){return e.flags>>15}function Jt(e,t){var n=4095&e.flags;return n?t+n:-1}
|
|
176
184
|
/**
|
|
177
185
|
* @license
|
|
178
186
|
* Copyright Google Inc. All Rights Reserved.
|
|
179
187
|
*
|
|
180
188
|
* Use of this source code is governed by an MIT-style license that can be
|
|
181
189
|
* found in the LICENSE file at https://angular.io/license
|
|
182
|
-
*/function
|
|
190
|
+
*/function Xt(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 en(e,t){if(t.firstTemplatePass)for(var n=e>>15,r=n+(4095&e),o=n;o<r;o++){var i=t.data[o];tn(i,t,o),nn(i,t,o),rn(i,t,o)}}function tn(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 nn(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 rn(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function on(e,t,n){16&e[it]&&(an(e,t.initHooks,t.checkHooks,n),e[it]&=-17)}function an(e,t,n,r){var o=r?t:n;o&&un(e,o)}function un(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}function sn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}
|
|
183
191
|
/**
|
|
184
192
|
* @license
|
|
185
193
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -187,35 +195,36 @@ function $t(e,t){var n=en(e),r=en(t);return n&&r?function o(e,t,n){for(var r=e[G
|
|
|
187
195
|
* Use of this source code is governed by an MIT-style license that can be
|
|
188
196
|
* found in the LICENSE file at https://angular.io/license
|
|
189
197
|
*/
|
|
190
|
-
|
|
198
|
+
var ln,cn=8,fn=8,dn=9,pn="ngProjectAs";function hn(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(ln||(ln={}));var vn={createRenderer:function(e,t){return document}};
|
|
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
|
-
*/
|
|
205
|
+
*/
|
|
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
|
-
*/
|
|
212
|
+
*/
|
|
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 hr,vr,yr,gr,mr,_r,wr,br,Cr,xr,Ir=Promise.resolve(null),kr="__CIRCULAR__";function Er(){return hr}function Nr(){return vr}function Pr(){return xr&&xr[pt]}function Or(){return xr}function Rr(e){Ar=e}function Tr(){return mr}function Dr(){return xr}var Ar=null;function jr(e){return e[lt]||(e[lt]=[])}function Vr(e){return e[nt].cleanup||(e[nt].cleanup=[])}var Sr=!1,Mr=!0,Fr=-1;function Hr(){return Fr}var Lr=[0,1];function Br(e,t){var n=xr;return wr=e&&e[nt],Cr=e&&1==(1&e[at]),Mr=e&&wr.firstTemplatePass,Fr=e&&wr.bindingStartIndex,hr=e&&e[dt],mr=t,_r=!0,xr=Ar=e,n&&(n[it]=br),br=e&&e[it],n}function Qr(e,t){t||(Sr||Ft(xr,wr.viewHooks,wr.viewCheckHooks,Cr),xr[at]&=-6),xr[at]|=16,xr[st]=wr.bindingStartIndex,Br(e,null)}function zr(){Ur();var e=Mr;wr.firstTemplatePass=Mr=!1,Sr||Mt(xr,wr,Cr),function t(e){for(var t=bn(e);null!==t;t=t[ot])if(t.length<tt&&null===t[Qt])for(var n=t,r=0;r<n[zt].length;r++){var o=n[zt][r];$r(o,o[nt],o[ct],2)}}(xr),function n(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-tt,e.contentQueries[t+1])}}(wr),Sr||Ft(xr,wr.contentHooks,wr.contentCheckHooks,Cr),function r(e,t){if(null!=e)for(var n=0;n<e.length;n++)$o(e[n],t)}(wr.components,e)}function Ur(){if(wr.expandoInstructions){Fr=xr[st]=wr.expandoStartIndex;for(var e=-1,t=-1,n=0;n<wr.expandoInstructions.length;n++){var r=wr.expandoInstructions[n];"number"==typeof r?r<=0?(t=-r,"number"==typeof xr[Fr]&&(Fr+=Kt),e=Fr):Fr+=r:(xr[st]=Fr,r(e-tt,t),e++)}}}function Zr(){Sr||(Mt(xr,wr,Cr),Ft(xr,wr.contentHooks,wr.contentCheckHooks,Cr))}function qr(e,t,n,r,o){var i=t.blueprint.slice();return i[rt]=i[gt]=xr,i[at]=25|r,i[ct]=n,i[ft]=xr?xr[ft]:null,i[dt]=e,i[pt]=o||null,i}function Kr(e,t,n){return{native:t,data:n,dynamicLContainerNode:null}}function Wr(e,t,n,r,o,i){var a,u=_r?mr:mr&&mr.parent,s=u&&xr&&u!==xr[ut],l=s?u:null,c=null!=i,f=Kr(0,n,c?i:null);if(-1===e||2===t)a=(i?i[nt].node:null)||Ro(t,e,null,null,l,null);else{var d=e+tt,p=wr.data;if(xr[d]=f,null==p[d]){var h=p[d]=Ro(t,d,r,o,l,null);!_r&&mr&&(mr.next=h,mr.dynamicContainerNode&&(mr.dynamicContainerNode.next=h))}a=p[d],wr.firstChild||3!==t||(wr.firstChild=a),_r&&mr&&(null==mr.child&&s||2===mr.type)&&(mr.child=a)}if(2==(2&t)&&c){var v=i;v[ut]=a,v[nt].firstTemplatePass&&(v[nt].node=a)}return mr=a,_r=!0,a}function Gr(e){var t=e[nt];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),e.push(null))}function Yr(){_r=!1,mr=null,yr=0,gr=!0}function $r(e,t,n,r){var o,i=_r,a=mr;if(64&e[at])ii(e[ct]);else try{_r=!0,mr=null,o=Br(e,e[ut]),oo(),t.template(r,n),2&r?zr():e[nt].firstTemplatePass=Mr=!1}finally{Qr(o,1==(1&r)),_r=i,mr=a}}function Jr(e){return void 0===e&&(e=1),(Ar=function t(e,n){for(;e>0;)n=n[gt],e--;return n}(e,Ar))[ct]}function Xr(e,t,n){var r=Br(e,e[ut]);try{vr.begin&&vr.begin(),n?(oo(),n(eo(e),t),zr()):(Zr(),Ur(),$o(tt,!1))}finally{vr.end&&vr.end(),Qr(r)}}function eo(e){return 1&e[at]?3:2}var to=null;function no(){to="http://www.w3.org/2000/svg/"}function ro(){to="http://www.w3.org/1998/MathML/"}function oo(){to=null}function io(e,t,n,r){ao(e,t,n,r),ko()}function ao(e,t,n,r){var o=uo(t),i=Wr(e,3,o,t,n||null,null);n&&_o(o,n),Pn(o,i,xr),lo(r),0===yr&&Ct(o,xr),yr++}function uo(e,t){var n=t||hr;return Gt(n)?n.createElement(e,to):null===to?n.createElement(e):n.createElementNS(to,e)}function so(e,t){return on(e,t).native}function lo(e,t){void 0===t&&(t=so),gr&&(Mr?function n(e,t,r){var o=r?{"":-1}:null,i=t.currentMatches=po(e);co(e,i);var a=0;if(i)for(var u=0;u<i.length;u+=2){var s=i[u],l=u+1;ho(s,l,i),a+=s.hostVars,yo(i[l],s,o)}o&&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)}}(e,r,o),fo(a)}(mr,wr,e||null):function r(){var e=4095&mr.flags;if(an(mr)&&br&&(br=br.clone()),e>0)for(var t=mr.flags>>15,n=t+e,r=t;r<n;r++){var o=wr.data[r];o.template&&Bo(o),Lo(r,o.factory(),o)}}(),function o(e){var t=mr.localNames,n=mr;if(t)for(var r=mr.index+1,o=0;o<t.length;o+=2){var i=t[o+1],a=-1===i?e(n,xr):xr[i];xr[r++]=a}}(t))}function co(e,t){var n=t?t.length/2:0,r=-(e.index-tt);(wr.expandoInstructions||(wr.expandoInstructions=[])).push(r,n)}function fo(e){for(var t=0;t<e;t++)xr.push(li),wr.blueprint.push(li),wr.data.push(null)}function po(e){var t=wr.directiveRegistry,n=null;if(t)for(var r=0;r<t.length;r++){var o=t[r];Sn(e,o.selectors)&&(n||(n=[]),o.diPublic&&o.diPublic(o),o.template?(4096&e.flags&&Lt(e),Bo(o),n.unshift(o,null)):n.push(o,null))}return n}function ho(e,t,n){if(null===n[t]){n[t]=kr;var r=e.factory();return Lo(n[t]=xr.length,r,e)}return n[t]===kr&&function o(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(e.type),null}function vo(){Mr&&(wr.components||(wr.components=[])).push(mr.index)}function yo(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function go(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=mo(-1,e,t,n,r,o,i))}function mo(e,t,n,r,o,i,a){var u=tt+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(li,e);return n[vt]=-1,n[st]=e,n}(u,s);return l[nt]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,directives:null,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,currentMatches:null,firstChild:null}}function _o(e,t){for(var n=Gt(hr),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===Wt)r+=2;else if(0===o){var i=t[r+1],a=t[r+2],u=t[r+3];n?hr.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u),r+=4}else u=t[r+1],n?hr.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}function wo(e,t){vr=e;var n=e.createRenderer(null,null);return"string"==typeof t?Gt(n)?n.selectRootElement(t):n.querySelector(t):t}function bo(e,t,n,r){Yr();var o=Wr(0,3,t,null,null,qr(hr,go(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),null,n.onPush?4:2,r));return Mr&&(wr.expandoInstructions=Lr.slice(),n.diPublic&&n.diPublic(n),o.flags=xr.length<<15|4096),xr[tt]}function Co(e,t,n){void 0===n&&(n=!1);var r=mr;if(3===r.type){var o=function i(){return null==mr||mr===xr[ut]?ln(xr):on(mr,xr)}();if(Gt(hr)){var a=hr.listen(o.native,e,t);Io(xr,a)}else{var u=function s(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);o.native.addEventListener(e,u,n);var l=jr(xr);l.push(u),Mr&&Vr(xr).push(e,r.index,l.length-1,n)}}void 0===r.outputs&&(r.outputs=To(r.flags,1));var c,f=r.outputs;f&&(c=f[e])&&function d(e,t){for(var n=0;n<e.length;n+=2){var r=xr[e[n]][e[n+1]].subscribe(t);xo(xr,r,r.unsubscribe)}}(c,t)}function xo(e,t,n){e||(e=xr),jr(e).push(t),e[nt].firstTemplatePass&&Vr(e).push(n,e[lt].length-1)}function Io(e,t){jr(e).push(t),e[nt].firstTemplatePass&&Vr(e).push(e[lt].length-1,null)}function ko(){_r?_r=!1:mr=mr.parent,br&&(br=br.addNode(mr)),At(mr.flags,wr),yr--}function Eo(e,t,n,r){if(n!==li){var o=Ii(e);if(null==n)Gt(hr)?hr.removeAttribute(o.native,t):o.native.removeAttribute(t);else{var i=null==r?nn(n):r(n);Gt(hr)?hr.setAttribute(o.native,t,i):o.native.setAttribute(t,i)}}}function No(e,t,n,r){if(n!==li){var o=Ii(e),i=ki(e);i&&void 0===i.inputs&&(i.inputs=To(i.flags,0));var a,u=i&&i.inputs;if(u&&(a=u[t]))!function s(e,t){for(var n=0;n<e.length;n+=2)xr[e[n]][e[n+1]]=t}(a,n),function l(e){!e.data||2&e.data[at]||(e.data[at]|=4)}(o);else{n=null!=r?r(n):n;var c=o.native;Gt(hr)?hr.setProperty(c,t,n):c.setProperty?c.setProperty(t,n):c[t]=n}}}function Po(){gr=!0}function Oo(){gr=!1}function Ro(e,t,n,r,o,i){return{type:e,index:t,injectorIndex:o?o.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:o,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function To(e,t){var n=4095&e,r=null;if(n>0)for(var o=e>>15,i=o+n,a=0===t,u=wr.data,s=o;s<i;s++){var l=u[s],c=a?l.inputs:l.outputs;for(var f in c)if(c.hasOwnProperty(f)){var d=c[f];(r=r||{}).hasOwnProperty(f)?r[f].push(s,d):r[f]=[s,d]}}return r}function Do(e,t,n){!function r(e,t,n){Qn(e,t+e[5],n)}(jo(e),t,!!n)}function Ao(e,t,n){var r=mr;r.stylingTemplate||(r.stylingTemplate=function o(e,t,n){var r=[null],o=Ln(null,n,r),i={},a={},u=0;if(t)for(var s=!1,l=0;l<t.length;l++)if(1===(d=t[l]))s=!0;else{var c=d;if(s){var f=t[++l];r.push(f),i[c]=r.length-1}else u++,i[c]=0}if(o[5]=u,e)for(s=!1,l=0;l<e.length;l++){var d;if(1===(d=e[l]))s=!0;else{var p=d;s?(f=e[++l],r.push(f),a[p]=r.length-1):a[p]=0}}var h=Object.keys(i),v=Object.keys(a),y=h.length,g=h.length+v.length,m=3*g*2+8;for(l=8;l<m;l++)o.push(null);var _=3*g+8;for(l=0;l<g;l++){var w=l>=y,b=(c=w?v[l-y]:h[l],w?a[c]:i[c]),C=r[b],x=3*l+_,I=3*l+8,k=dr(c,w,n||null);rr(o,I,Gn(k,b,x)),tr(o,I,c),nr(o,I,null),rr(o,x,Gn(k|(null!==C?1:0),b,I)),tr(o,x,c),nr(o,x,null)}return rr(o,4,Gn(0,0,_)),ur(o,r.length>1),o}(e,t,n)),(t&&t.length||e&&e.length)&&Vo(r.index-tt)}function jo(e){var t=xi(e);if(!Array.isArray(t)){var n=t,r=ki(e);t=xr[e+tt]=function o(e,t){var n=t.slice();return n[0]=e,n}(n,r.stylingTemplate)}return t}function Vo(e){!function t(e,n,r,o){if(function i(e){return qn(e,4)}(e)){for(var a=e[0].native,u=Xn(e),s=er(e),l=8;l<e.length;l+=3)if(qn(e,l)){var c=ar(e,l),f=ir(e,l),d=or(e,l),p=!!(2&d),h=f;l<u&&!fr(h,p)&&(h=ir(e,Jn(d))),fr(h,p)||(h=Yn(e,d)),p?Un(a,c,!!h,n,o):zn(a,c,h,n,4&d?s:null,r),Zn(e,l,!1)}ur(e,!1)}}(jo(e),hr)}function So(e,t,n,r){var o=null;n&&(o=r?nn(n)+r:n),Qn(jo(e),t,o)}function Mo(e,t,n){!function r(e,t,n){var r=t===e[6],o=(n=n||null)===e[7];if(!r||!o){var i=Fn,a=!1;r||(e[6]=t,"string"==typeof t?(i=t.split(/\s+/),a=!0):i=t?Object.keys(t):Fn),t=t||Hn,o||(e[7]=n);var u=n?Object.keys(n):Fn;n=n||Hn;for(var s=u.length,l=!1,c=Xn(e),f=0,d=u.length+i.length;c<e.length&&f<d;){var p=f>=s;if(!p&&!o||p&&!r){var h=p?f-s:f,v=p?i[h]:u[h],y=p?!!a||t[v]:n[v];if((k=ar(e,c))===v){var g=ir(e,c);pr(E=or(e,c),g,y)&&(nr(e,c,y),pr(E,b=Yn(e,E),y)&&(Zn(e,c,!0),l=!0))}else{var m=sr(e,v,c);if(m>0){var _=ir(e,m),w=or(e,m);if(lr(e,c,m),pr(w,_,y)){var b=Yn(e,w);nr(e,c,y),pr(w,b,y)&&(Zn(e,c,!0),l=!0)}}else cr(e,c,p,v,dr(v,p,er(e)),y),l=!0}}c+=3,f++}for(;c<e.length;){var C=2==(2&(E=or(e,c)));(!C&&!o||C&&!r)&&fr(g=ir(e,c),C)&&(Zn(e,c,!0),nr(e,c,null),l=!0),c+=3}for(var x=er(e);f<d;){var I=f>=s;if(!I&&!o||I&&!r){h=I?f-s:f;var k=I?i[h]:u[h],E=(g=I?!!a||t[k]:n[k],1|dr(k,I,x));e.push(E,k,g),l=!0}f++}l&&ur(e,!0)}}(jo(e),t,n)}function Fo(e,t){var n=yn(t,hr),r=Wr(e,3,n,null,null);_r=!1,Pn(n,r,xr)}function Ho(e,t){if(t!==li){var n=Ii(e);Gt(hr)?hr.setValue(n.native,nn(t)):n.native.textContent=nn(t)}}function Lo(e,t,n){var r=on(mr,xr),o=Qo(e,t,n,r);return n.template&&(r.data[ct]=t),Mr&&Dt(e,n.onInit,n.doCheck,wr),mr&&mr.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]}(e,o,n.inputs,mr),n.contentQueries&&n.contentQueries(),o}function Bo(e){var t=on(mr,xr),n=go(e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery),r=ni(xr,mr.index,qr(vr.createRenderer(t.native,e),n,null,e.onPush?4:2,Pr()));t.data=r,r[ut]=mr,Mr&&(vo(),mr.flags=xr.length<<15|4096)}function Qo(e,t,n,r){if(Ct(t,xr),r&&Ct(r.native,xr),xr[e]=t,Mr){var o=mr.flags;0===o?mr.flags=e<<15|4096&o|1:mr.flags++,wr.data.push(n),wr.blueprint.push(null),n.hostBindings&&function i(e,t){wr.expandoInstructions.push(t.hostBindings,t.hostVars)}(0,n)}else{var a=n.diPublic;a&&a(n)}return null!=n.attributes&&3==mr.type&&_o(r.native,n.attributes),t}function zo(e,t){return[t?null:0,e,null,null,[],null]}function Uo(e,t,n,r,o,i,a,u){var s=qo(e,o||null,i||null);Mr&&(s.tViews=mo(-1,t,n,r,wr.directiveRegistry,wr.pipeRegistry,null)),lo(a,u),br&&(br=br.addNode(mr)),At(s.flags,wr),_r=!1}function Zo(e){var t=qo(e,null,null);Mr&&(t.tViews=[]),_r=!1}function qo(e,t,n){var r=zo(xr),o=hr.createComment(""),i=Wr(e,0,o,t,n,r);return r[Ut]=kn(i,xr),Pn(o,i,xr),ni(xr,e+tt,r),br&&(r[it]=br.container()),i}function Ko(e){mr=rn(e,wr.data),_r=!0,xr[mr.index].data[Qt]=0,Sr||Mt(xr,wr,Cr)}function Wo(){_r?_r=!1:mr=mr.parent;for(var e=xr[mr.index].data,t=e[Qt];t<e[zt].length;)wn(e,mr,t)}function Go(e,t,n){var r=2===mr.type?mr.parent:mr,o=xr[r.index],i=xr,a=o.data,u=function s(e,t,n,r){for(var o=e[zt],i=n;i<o.length;i++){var a=o[i][nt].id;if(a===r)return o[i];if(!(a<r))break;wn(e,t,i)}return null}(a,r,a[Qt],e);return u?(_r=!0,Br(u,u[nt].node)):(u=qr(hr,function l(e,t,n,r){var o=r.tViews;return(e>=o.length||null==o[e])&&(o[e]=mo(e,null,t,n,wr.directiveRegistry,wr.pipeRegistry,null)),o[e]}(e,t,n,r),null,2,Pr()),a[it]&&(u[it]=a[it].createView()),Wr(e,2,null,null,null,u),Br(u,u[nt].node)),o&&(Cr&&mn(u,a,i,a[Qt],-1),a[Qt]++),eo(u)}function Yo(){var e=xr[ut];zr(),Qr(xr[rt]),mr=e,_r=!1}function $o(e,t){var n=Tt(xr[e]).data;Jo(n)&&6&n[at]&&(t&&function r(e){for(var t=e[nt],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),si(n,n[ct]))}function Jo(e){return 8==(8&e[at])}function Xo(e,t){var n=hn(xr)[ut];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?Mn(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 ei=[];function ti(e,t,n){void 0===t&&(t=0);var r=Wr(e,1,null,null,n||null,null);null===r.projection&&(r.projection=t),_r=!1;for(var o=hn(xr),i=o[ut].projection[t],a=o[rt],u=-1;i;){if(1===i.type){var s=hn(a),l=s[ut].projection[i.projection];if(l){ei[++u]=i,ei[++u]=a,i=l,a=s[rt];continue}}else{var c=a[i.index];i.flags|=8192,Dn(c,i,r,xr,a)}null===i.next&&a!==o[rt]&&(a=ei[u--],i=ei[u--]),i=i.next}}function ni(e,t,n){return e[ht]?e[ht][ot]=n:Mr&&(wr.childIndex=t),e[ht]=n,n}function ri(e){for(var t=e;t&&!(64&t[at]);)t[at]|=4,t=t[rt];t[at]|=4;var n=t[ct],r=0===n.flags;n.flags|=1,r&&oi(n)}function oi(e){var t;e.clean==Ir&&(e.clean=new Promise(function(e){return t=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,ii(e)),2&e.flags){e.flags&=-3;var n=e.playerHandler;n&&n.flushPlayers()}e.clean=Ir,t(null)}))}function ii(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];Xr(It(n),n)}}function ai(e){si(bt(e).data,e)}function ui(e){ii(e[ct])}function si(e,t){var n=e[nt],r=Br(e,e[ut]),o=n.template,i=n.viewQuery;try{oo(),function a(e,t,n){e&&1&t&&e(1,n)}(i,e[at],t),o(eo(e),t),zr(),function u(e,t){e&&e(2,t)}(i,t)}finally{Qr(r)}}var li={};function ci(e){return Ni(xr[st]++,e)?e:li}function fi(e){for(var t=!1,n=1;n<e.length;n+=2)Ni(xr[st]++,e[n])&&(t=!0);if(!t)return li;var r=e[0];for(n=1;n<e.length;n+=2)r+=nn(e[n])+e[n+1];return r}function di(e,t,n){return Ni(xr[st]++,t)?e+nn(t)+n:li}function pi(e,t,n,r,o){var i=Oi(xr[st],t,r);return xr[st]+=2,i?e+nn(t)+n+nn(r)+o:li}function hi(e,t,n,r,o,i,a){var u=Ri(xr[st],t,r,i);return xr[st]+=3,u?e+nn(t)+n+nn(r)+o+nn(i)+a:li}function vi(e,t,n,r,o,i,a,u,s){var l=Ti(xr[st],t,r,i,u);return xr[st]+=4,l?e+nn(t)+n+nn(r)+o+nn(i)+a+nn(u)+s:li}function yi(e,t,n,r,o,i,a,u,s,l,c){var f=Ti(xr[st],t,r,i,u);return f=Ni(xr[st]+4,l)||f,xr[st]+=5,f?e+nn(t)+n+nn(r)+o+nn(i)+a+nn(u)+s+nn(l)+c:li}function gi(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=Ti(xr[st],t,r,i,u);return p=Oi(xr[st]+4,l,f)||p,xr[st]+=6,p?e+nn(t)+n+nn(r)+o+nn(i)+a+nn(u)+s+nn(l)+c+nn(f)+d:li}function mi(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=Ti(xr[st],t,r,i,u);return v=Ri(xr[st]+4,l,f,p)||v,xr[st]+=7,v?e+nn(t)+n+nn(r)+o+nn(i)+a+nn(u)+s+nn(l)+c+nn(f)+d+nn(p)+h:li}function _i(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y){var g=Ti(xr[st],t,r,i,u);return g=Ti(xr[st]+4,l,f,p,v)||g,xr[st]+=8,g?e+nn(t)+n+nn(r)+o+nn(i)+a+nn(u)+s+nn(l)+c+nn(f)+d+nn(p)+h+nn(v)+y:li}function wi(e,t){var n=e+tt;n>=wr.data.length&&(wr.data[n]=null),xr[n]=t}function bi(e){return rn(e,Ar)}function Ci(e){return xr[yt][e]}function xi(e){return rn(e,xr)}function Ii(e){return function t(e,n){return Tt(rn(e,n))}(e,xr)}function ki(e){return wr.data[e+tt]}function Ei(e){return xr[e]}function Ni(e,t){if(xr[e]===li)xr[e]=t;else{if(!function n(e,t,r){return!(e!=e&&t!=t)&&e!==t}(xr[e],t))return!1;!function r(e,t,n,o){if(t){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+o+"'.";throw e&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(i)}}(Cr,Sr,xr[e],t),xr[e]=t}return!0}function Pi(e,t){return xr[e]=t}function Oi(e,t,n){var r=Ni(e,t);return Ni(e+1,n)||r}function Ri(e,t,n,r){var o=Oi(e,t,n);return Ni(e+2,r)||o}function Ti(e,t,n,r,o){var i=Oi(e,t,n);return Oi(e+2,r,o)||i}function Di(){return wr}function Ai(e){var t=(xr[yt]||(xr[yt]=[])).push(e);if(Mr){var n=xr.length-1,r=wr.contentQueries||(wr.contentQueries=[]);n!==(wr.contentQueries.length?wr.contentQueries[wr.contentQueries.length-2]:-1)&&r.push(n,t-1)}}var ji=Ir;
|
|
219
|
+
*/
|
|
220
|
+
function yn(e,t){return null==e.parent?function n(e){var t=e[ct];return t&&2!==t.type?jt(t,e[at]):null}(t):jt(e.parent,t)}function gn(e,t){if(-1===e.index){var n=t[mt];return n>-1?t[at][n]:null}return t[at][e.parent.index]}function mn(e,t){var n=gn(e,t);return n?n[Tt]:null}var _n=[];function wn(e,t,n,r,o){for(var i=e[ot].node,a=-1,u=e,s=i.child;s;){var l=null;if(3===s.type){Cn(t,n,r,jt(s,u),o);var c=u[s.index];Ht(c)&&Cn(t,n,r,c[Ot],o)}else if(0===s.type){var f=u[s.index];Cn(t,n,r,f[Ot],o),r&&(f[Tt]=r),f[Pt].length&&(l=(u=f[Pt][0])[ot].node,o=f[Ot])}else if(1===s.type){var d=bn(u),p=d[ct].projection[s.projection];_n[++a]=s,_n[++a]=u,p&&(l=(u=d[at])[ot].data[p.index])}else l=s.child;if(null===l)for(null===s.next&&8192&s.flags&&(u=_n[a--],s=_n[a--]),l=s.next;!l;){if(null===(s=s.parent||u[ot].node)||s===i)return null;0===s.type&&(o=(u=u[at])[s.index][Ot]),l=2===s.type&&u[ut]?(u=u[ut])[ot].node:s.next}s=l}}function bn(e){for(var t=e[ct];t&&2===t.type;)t=(e=e[at])[ct];return e}function Cn(e,t,n,r,o){0===e?hn(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?hn(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function xn(e,t){return hn(t)?t.createText(Rt(e)):t.createTextNode(Rt(e))}function In(e,t,n){var r=mn(e[ot].node,e);r&&wn(e,t?0:1,e[vt],r,n)}function kn(e,t,n,r,o){var i=t[Pt];r>0&&(i[r-1][ut]=e),r<i.length?(e[ut]=i[r],i.splice(r,0,e)):(i.push(e),e[ut]=null),o>-1&&(e[mt]=o,e[at]=n),e[st]&&e[st].insertView(r),e[it]|=8}function En(e,t,n){var r=e[Pt],o=r[t];t>0&&(r[t-1][ut]=o[ut]),r.splice(t,1),n||In(o,!1),o[st]&&o[st].removeView(),o[mt]=-1,o[at]=null,o[it]&=-9}function Pn(e,t,n){var r=e[Pt][n];En(e,n,!!t.detached),Tn(r)}function On(e){var t=e[ot].childIndex;return-1===t?null:e[t]}function Tn(e){var t=e[vt];hn(t)&&t.destroyNode&&wn(e,2,t,null),function n(e){if(-1===e[ot].childIndex)return Nn(e);for(var t=On(e);t;){var n=null;if(t.length>=rt?t[ot].childIndex>-1&&(n=On(t)):t[Pt].length&&(n=t[Pt][0]),null==n){for(;t&&!t[ut]&&t!==e;)Nn(t),t=Rn(t,e);Nn(t||e),n=t&&t[ut]}t=n}}(e),e[it]|=32}function Rn(e,t){var n;return e.length>=rt&&(n=e[ct])&&2===n.type?gn(n,e):e[at]===t?null:e[at]}function Nn(e){if(e.length>=rt){var t=e;!function n(e){var t=e[ot].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(Dt(e[t[n+1]]).removeEventListener(t[n],e[dt][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[dt][t[n]])():t[n].call(e[dt][t[n+1]]);e[dt]=null}}(t),function r(e){var t,n=e[ot];null!=n&&null!=(t=n.destroyHooks)&&un(e,t)}(t),function o(e){var t=e[ot]&&e[ot].pipeDestroyHooks;t&&un(e,t)}(t),-1===t[ot].id&&hn(t[vt])&&t[vt].destroy()}}function Dn(e,t){if(An(e,t)){var n=t[ct];return null==e.parent&&2===n.type?mn(n,t):yn(e,t)}return null}function An(e,t){var n=e,r=e.parent;return e.parent&&4===e.parent.type&&(r=(n=Sn(e)).parent),null===r&&(r=t[ct]),r&&2===r.type?function o(e,t){var n=gn(e,t);return null!=n&&null!=n[Tt]}(r,t):function i(e){return null==e.parent||!(3!==e.parent.type||4096&e.parent.flags)}(n)}function jn(e,t,n,r){hn(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Vn(e,t,n){if(null!==e&&An(t,n)){var r=n[vt],o=yn(t,n),i=t.parent||n[ct];if(2===i.type){var a=gn(i,n),u=a[Pt],s=u.indexOf(n);jn(r,a[Tt],e,Mn(s,u,a[Ot]))}else 4===i.type?jn(r,Dn(Sn(t),n),e,o):hn(r)?r.appendChild(o,e):o.appendChild(e);return!0}return!1}function Sn(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function Mn(e,t,n){if(e+1<t.length){var r=t[e+1],o=r[ct];return o.child?jt(o.child,r):n}return n}function Fn(e,t,n){if(null!==t&&An(e,n)){var r=yn(e,n),o=n[vt];return hn(o)?o.removeChild(r,t):r.removeChild(t),!0}return!1}function Hn(e,t,n,r){var o=jt(e,r);Vn(o,t,n),Kt(o,r);var i=Dn(t,n),a=r[e.index];if(0===e.type){a[Tt]=i;for(var u=a[Pt],s=0;s<u.length;s++)In(u[s],!0,a[Ot])}else{if(4===e.type)for(var l=e.child;l;)Hn(l,t,n,r),l=l.next;Ht(a)&&(a[Tt]=i,Vn(a[Ot],t,n))}}
|
|
212
221
|
/**
|
|
213
222
|
* @license
|
|
214
223
|
* Copyright Google Inc. All Rights Reserved.
|
|
215
224
|
*
|
|
216
225
|
* Use of this source code is governed by an MIT-style license that can be
|
|
217
226
|
* found in the LICENSE file at https://angular.io/license
|
|
218
|
-
*/function
|
|
227
|
+
*/function Ln(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(Bn(u))return!1;c=!0}}else{var p=Qn(8&u?"class":d,s);if(-1===p){if(Bn(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(Bn(u))return!1;c=!0}}}else{if(!c&&!Bn(u)&&!Bn(d))return!1;if(c&&Bn(d))continue;c=!1,u=d|1&u}}return Bn(u)||c}function Bn(e){return 0==(1&e)}function Qn(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 Un(e,t){for(var n=0;n<t.length;n++)if(Ln(e,t[n]))return!0;return!1}function zn(e,t,n){for(var r=function o(e){var t=e.attrs;if(null!=t){var n=t.indexOf(pn);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++)if(r===n[i]||null===r&&Un(e,t[i]))return i+1;return 0}var Zn=function Zn(e,t){this.fn=e,this.value=t},qn=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}();
|
|
219
228
|
/**
|
|
220
229
|
* @license
|
|
221
230
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -223,21 +232,29 @@ function sn(e,t){return null==e.parent?ln(t):on(e.parent,t)}function ln(e){var t
|
|
|
223
232
|
* Use of this source code is governed by an MIT-style license that can be
|
|
224
233
|
* found in the LICENSE file at https://angular.io/license
|
|
225
234
|
*/
|
|
226
|
-
function
|
|
235
|
+
function Kn(e,t,n){return[null,t||null,n||[null],0,0,e||null,null,null]}function Gn(e,t){for(var n=e+rt,r=t[n],o=t;Array.isArray(r);)o=r,r=r[lt];if(function i(e){return"number"!=typeof e[it]&&"number"!=typeof e[Et]}(o))return o;var a=Vt(e,t).stylingTemplate;return o!==t&&(n=lt),o[n]=a?function u(e,t){var n=t.slice();return n[5]=e,n}(r,a):Kn(r)}function Wn(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 qn)).queuePlayer(r,i),!0)}function Yn(e){return e[0]}function $n(e){return e[0]=[5,null,null,null,null]}var Jn=[],Xn={};function er(e,t,n){var r=8+4*t,o=Cr(e,r),i=br(e,r);if(Nr(i,o,n instanceof Zn?n.value:n)){var a=2==(2&i),u=n instanceof Zn?new Qr(n,e[5],a?2:3):null,s=u?n.value:n,l=mr(e,r),c=!1;if(vr(e,u,l)){var f=yr(e,u,l);gr(e,r,u?f:0),c=!0}hr(e,r,s);var d=cr(i),p=Cr(e,d);if(!p||Nr(i,p,s)){var h=!1,v=!0;!Tr(s,a)&&Tr(p,a)&&(h=!0,v=!1),rr(e,d,h),rr(e,r,v),Ir(e,!0)}c&&kr(e,!0)}}function tr(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?hn(r)?r.setStyle(e,t,n,ln.DashCase):e.style.setProperty(t,n):hn(r)?r.removeStyle(e,t,ln.DashCase):e.style.removeProperty(t)}function nr(e,t,n,r,o,i){o||i?(o&&o.setValue(t,n),i&&i.setValue(t,n)):n?hn(r)?r.addClass(e,t):e.classList.add(t):hn(r)?r.removeClass(e,t):e.classList.remove(t)}function rr(e,t,n){var r=t>=8?t+0:t;n?e[r]|=1:e[r]&=-2}function or(e,t){return 1==(1&e[t>=8?t+0:t])}function ir(e,t){return 2==(2&e[t>=8?t+0:t])}function ar(e,t){return 4==(4&e[t>=8?t+0:t])}function ur(e,t,n){return 15&e|t<<4|n<<18}function sr(e,t){var n=lr(t);return e[2][n]}function lr(e){return e>>4&16383}function cr(e){var t=e>>18&16383;return t>=8?t:-1}function fr(e){return cr(e[3])}function dr(e){return e[1]}function pr(e,t,n){e[t+1]=n}function hr(e,t,n){e[t+2]=n}function vr(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 yr(e,t,n){var r=e[0]||$n(e);return n>0?r[n]=t:(r.splice(n=r[0],0,t,null),r[0]+=2),n}function gr(e,t,n){e[t+3]=n}function mr(e,t){return e[t+3]||0}function _r(e,t){var n=mr(e,t);if(n){var r=e[0];if(r)return r[n]}return null}function wr(e,t,n){e[3===t?t:t+0]=n}function br(e,t){return e[3===t?t:t+0]}function Cr(e,t){return e[t+2]}function xr(e,t){return e[t+1]}function Ir(e,t){rr(e,3,t)}function kr(e,t){t?e[3]|=8:e[3]&=-9}function Er(e,t,n){for(var r=(n||0)+1;r<e.length;r+=4)if(e[r]==t)return r-1;return-1}function Pr(e,t,n){var r=Cr(e,t),o=xr(e,t),i=br(e,t),a=mr(e,t),u=i,s=br(e,n),l=cr(u);l>=0&&wr(e,l,ur(c=br(e,l),lr(c),n));var c,f=cr(s);f>=0&&wr(e,f,ur(c=br(e,f),lr(c),t)),hr(e,t,Cr(e,n)),pr(e,t,xr(e,n)),wr(e,t,br(e,n)),gr(e,t,mr(e,n)),hr(e,n,r),pr(e,n,o),wr(e,n,i),gr(e,n,a)}function Or(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=cr(br(e,n));if(r>0){var o=lr(br(e,r));wr(e,r,ur((or(e,r)?1:0)|(ir(e,r)?2:0)|(ar(e,r)?4:0),o,n))}}}(e,t+4)}function Tr(e,t){return t?!!e:null!==e}function Rr(e,t,n){return t?2:n&&n(e)?4:0}function Nr(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Dr,Ar,jr,Vr,Sr,Mr,Fr,Hr,Lr,Br,Qr=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){if(this._dirty){var t=this._factory.fn(this._element,this._type,this._values,e||null);return this._values={},this._dirty=!1,t}},e}(),Ur=Promise.resolve(null),zr="__CIRCULAR__";
|
|
227
236
|
/**
|
|
228
237
|
* @license
|
|
229
238
|
* Copyright Google Inc. All Rights Reserved.
|
|
230
239
|
*
|
|
231
240
|
* Use of this source code is governed by an MIT-style license that can be
|
|
232
241
|
* found in the LICENSE file at https://angular.io/license
|
|
233
|
-
*/var Bi="__ngOnChanges_";function Qi(e){var t=e.declaredInputs,n=e.type.prototype,r=function(e){if(t.hasOwnProperty(e)){for(var r=t[e],o=Bi+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[Bi];n||(n={},Object.defineProperty(this,Bi,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[e];i?i.currentValue=t:n[e]=new Xt(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=zi(e.onInit)),e.doCheck=zi(e.doCheck)}function zi(e){return function(){var t=this[Bi];null!=t&&(this.ngOnChanges(t),this[Bi]=null),e&&e.apply(this)}}
|
|
242
|
+
*/function Zr(){return Dr}function qr(){return Ar}function Kr(){return Br&&Br[yt]}function Gr(){return Br}function Wr(e){Jr=e}function Yr(){return Sr}function $r(){return Br}var Jr=null;function Xr(e){return e[dt]||(e[dt]=[])}function eo(e){return e[ot].cleanup||(e[ot].cleanup=[])}var to=!1,no=!0,ro=-1;function oo(){return ro}function io(e,t){var n=Br;return Fr=e&&e[ot],Lr=e&&1==(1&e[it]),no=e&&Fr.firstTemplatePass,ro=e&&Fr.bindingStartIndex,Dr=e&&e[vt],Sr=t,Mr=!0,Br=Jr=e,n&&(n[st]=Hr),Hr=e&&e[st],n}function ao(e,t){t||(to||an(Br,Fr.viewHooks,Fr.viewCheckHooks,Lr),Br[it]&=-6),Br[it]|=16,Br[ft]=Fr.bindingStartIndex,io(e,null)}function uo(){so();var e=no;Fr.firstTemplatePass=no=!1,to||on(Br,Fr,Lr),function t(e){for(var t=On(e);null!==t;t=t[ut])if(t.length<rt&&-1===t[Et])for(var n=t,r=0;r<n[Pt].length;r++){var o=n[Pt][r];yo(o,o[ot],o[pt],2)}}(Br),function n(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-rt,e.contentQueries[t+1])}}(Fr),to||an(Br,Fr.contentHooks,Fr.contentCheckHooks,Lr),function r(e,t){if(null!=e)for(var n=0;n<e.length;n++)di(e[n],t)}(Fr.components,e)}function so(){if(Fr.expandoInstructions){ro=Br[ft]=Fr.expandoStartIndex;for(var e=-1,t=-1,n=0;n<Fr.expandoInstructions.length;n++){var r=Fr.expandoInstructions[n];"number"==typeof r?r<=0?(t=-r,"number"==typeof Br[ro]&&(ro+=dn),e=ro):ro+=r:(Br[ft]=ro,r(e-rt,t),e++)}}}function lo(){to||(on(Br,Fr,Lr),an(Br,Fr.contentHooks,Fr.contentCheckHooks,Lr))}function co(e,t,n,r,o){var i=t.blueprint.slice();return i[it]=25|r,i[at]=i[wt]=Br,i[pt]=n,i[ht]=Br?Br[ht]:null,i[vt]=e,i[yt]=o||null,i}function fo(e,t,n,r,o){var i=e+rt;Br[i]=n;var a=Fr.data[i];return null==a&&(a=Fr.data[i]=qo(t,i,r,o,null),Sr&&(!Mr||null!=Sr.child||null===a.parent&&2!==Sr.type?Mr||(Sr.next=a):Sr.child=a)),null==Fr.firstChild&&3===t&&(Fr.firstChild=a),Sr=a,Mr=!0,a}function po(e,t){return null==t[ot].node&&(t[ot].node=qo(2,e,null,null,null)),Mr=!0,Sr=t[ct]=t[ot].node}function ho(e){var t=e[ot];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),e.push(null))}function vo(){Mr=!1,Sr=null,jr=0,Vr=!0}function yo(e,t,n,r){var o,i=Mr,a=Sr;if(64&e[it])wi(e[pt]);else try{Mr=!0,Sr=null,o=io(e,e[ct]),xo(),t.template(r,n),2&r?uo():e[ot].firstTemplatePass=no=!1}finally{ao(o,1==(1&r)),Mr=i,Sr=a}}function go(e){return void 0===e&&(e=1),(Jr=function t(e,n){for(;e>0;)n=n[wt],e--;return n}(e,Jr))[pt]}function mo(e,t,n){var r=io(e,e[ct]);try{Ar.begin&&Ar.begin(),n?(xo(),n(_o(e),t),uo()):(lo(),so(),di(rt,!1))}finally{Ar.end&&Ar.end(),ao(r)}}function _o(e){return 1&e[it]?3:2}var wo=null;function bo(){wo="http://www.w3.org/2000/svg/"}function Co(){wo="http://www.w3.org/1998/MathML/"}function xo(){wo=null}function Io(e,t,n,r){ko(e,t,n,r),Bo()}function ko(e,t,n,r){var o=Eo(t),i=fo(e,3,o,t,n||null);n&&So(o,n),Vn(o,i,Br),Po(r),0===jr&&Kt(o,Br),jr++}function Eo(e,t){var n=t||Dr;return hn(n)?n.createElement(e,wo):null===wo?n.createElement(e):n.createElementNS(wo,e)}function Po(e,t){void 0===t&&(t=jt),Vr&&(no?function n(e,t,r){var o=r?{"":-1}:null,i=t.currentMatches=Ro(e);Oo(e,i);var a=0;if(i)for(var u=0;u<i.length;u+=2){var s=i[u],l=u+1;No(s,l,i),a+=s.hostVars,Ao(i[l],s,o)}o&&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)}}(e,r,o),To(a)}(Sr,Fr,e||null):function r(){var e=4095&Sr.flags;if(Mt(Sr)&&Hr&&(Hr=Hr.clone()),e>0)for(var t=Sr.flags>>15,n=t+e,r=t;r<n;r++){var o=Fr.data[r];o.template&&ni(o),ti(r,o.factory(),o)}}(),function o(e){var t=Sr.localNames,n=Sr;if(t)for(var r=Sr.index+1,o=0;o<t.length;o+=2){var i=t[o+1],a=-1===i?e(n,Br):Br[i];Br[r++]=a}}(t))}function Oo(e,t){var n=t?t.length/2:0,r=-(e.index-rt);n>0&&(Fr.expandoInstructions||(Fr.expandoInstructions=[])).push(r,n)}function To(e){for(var t=0;t<e;t++)Br.push(Ii),Fr.blueprint.push(Ii),Fr.data.push(null)}function Ro(e){var t=Fr.directiveRegistry,n=null;if(t)for(var r=0;r<t.length;r++){var o=t[r];Un(e,o.selectors)&&(n||(n=[]),o.diPublic&&o.diPublic(o),o.template?(4096&e.flags&&sn(e),ni(o),n.unshift(o,null)):n.push(o,null))}return n}function No(e,t,n){if(null===n[t]){n[t]=zr;var r=e.factory();return ti(n[t]=Br.length,r,e)}return n[t]===zr&&function o(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(e.type),null}function Do(){no&&(Fr.components||(Fr.components=[])).push(Sr.index)}function Ao(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function jo(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=Vo(-1,e,t,n,r,o,i))}function Vo(e,t,n,r,o,i,a){var u=rt+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(Ii,e);return n[mt]=-1,n[ft]=e,n}(u,s);return l[ot]={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,currentMatches:null,firstChild:null}}function So(e,t){for(var n=hn(Dr),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===pn)r+=2;else if(0===o){var i=t[r+1],a=t[r+2],u=t[r+3];n?Dr.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u),r+=4}else u=t[r+1],n?Dr.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}function Mo(e,t){Ar=e;var n=e.createRenderer(null,null);return"string"==typeof t?hn(n)?n.selectRootElement(t):n.querySelector(t):t}function Fo(e,t,n){void 0===n&&(n=!1);var r=Sr;if(3===r.type){var o=jt(Sr,Br);if(hn(Dr)){var i=Dr.listen(o,e,t);Lo(Br,i)}else{var a=function u(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);o.addEventListener(e,a,n);var s=Xr(Br);s.push(a),no&&eo(Br).push(e,r.index,s.length-1,n)}}void 0===r.outputs&&(r.outputs=Ko(r.flags,1));var l,c=r.outputs;c&&(l=c[e])&&function f(e,t){for(var n=0;n<e.length;n+=2){var r=Br[e[n]][e[n+1]].subscribe(t);Ho(Br,r,r.unsubscribe)}}(l,t)}function Ho(e,t,n){e||(e=Br),Xr(e).push(t),e[ot].firstTemplatePass&&eo(e).push(n,e[dt].length-1)}function Lo(e,t){Xr(e).push(t),e[ot].firstTemplatePass&&eo(e).push(e[dt].length-1,null)}function Bo(){Mr?Mr=!1:Sr=Sr.parent,Hr&&(Hr=Hr.addNode(Sr)),en(Sr.flags,Fr),jr--}function Qo(e,t,n,r){if(n!==Ii){var o=At(e,Br);if(null==n)hn(Dr)?Dr.removeAttribute(o,t):o.removeAttribute(t);else{var i=null==r?Rt(n):r(n);hn(Dr)?Dr.setAttribute(o,t,i):o.setAttribute(t,i)}}}function Uo(e,t,n,r){if(n!==Ii){var o=At(e,Br),i=Vt(e,Br);i&&void 0===i.inputs&&(i.inputs=Ko(i.flags,0));var a,u=i&&i.inputs;u&&(a=u[t])?(function s(e,t){for(var n=0;n<e.length;n+=2)Br[e[n]][e[n+1]]=t}(a,n),Ft(i)&&function l(e){var t=St(e,Br);2&t[it]||(t[it]|=4)}(e+rt)):3===i.type&&(n=null!=r?r(n):n,hn(Dr)?Dr.setProperty(o,t,n):o.setProperty?o.setProperty(t,n):o[t]=n)}}function zo(){Vr=!0}function Zo(){Vr=!1}function qo(e,t,n,r,o){var i=Mr?Sr:Sr&&Sr.parent,a=i&&Br&&i!==Br[ct]?i:null;return{type:e,index:t,injectorIndex:a?a.injectorIndex:-1,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:a,detached:null,stylingTemplate:null,projection:null}}function Ko(e,t){var n=4095&e,r=null;if(n>0)for(var o=e>>15,i=o+n,a=0===t,u=Fr.data,s=o;s<i;s++){var l=u[s],c=a?l.inputs:l.outputs;for(var f in c)if(c.hasOwnProperty(f)){var d=c[f];(r=r||{}).hasOwnProperty(f)?r[f].push(s,d):r[f]=[s,d]}}return r}function Go(e,t,n){var r=n instanceof Zn?n:!!n;!function o(e,t,n){er(e,t+e[4],n)}(Gn(e,Br),t,r)}function Wo(e,t,n){var r=Sr;r.stylingTemplate||(r.stylingTemplate=function o(e,t,n){var r=[null],o=Kn(null,n,r),i={},a={},u=0;if(t)for(var s=!1,l=0;l<t.length;l++)if(1===(d=t[l]))s=!0;else{var c=d;if(s){var f=t[++l];r.push(f),i[c]=r.length-1}else u++,i[c]=0}if(o[4]=u,e)for(s=!1,l=0;l<e.length;l++){var d;if(1===(d=e[l]))s=!0;else{var p=d;s?(f=e[++l],r.push(f),a[p]=r.length-1):a[p]=0}}var h=Object.keys(i),v=Object.keys(a),y=h.length,g=h.length+v.length,m=4*g*2+8;for(l=8;l<m;l++)o.push(null);var _=4*g+8;for(l=0;l<g;l++){var w=l>=y,b=(c=w?v[l-y]:h[l],w?a[c]:i[c]),C=r[b],x=4*l+_,I=4*l+8,k=Rr(c,w,n||null);wr(o,I,ur(k,b,x)),pr(o,I,c),hr(o,I,null),gr(o,I,0),wr(o,x,ur(k|(null!==C?1:0),b,I)),pr(o,x,c),hr(o,x,null),gr(o,x,0)}return wr(o,3,ur(0,0,_)),Ir(o,r.length>1),o}(e,t,n)),(t&&t.length||e&&e.length)&&Yo(r.index-rt)}function Yo(e){(function t(e,n,r,o,i){var a=0;if(function u(e){return or(e,3)}(e)){for(var s=8&e[3],l=e[5],c=fr(e),f=dr(e),d=8;d<e.length;d+=4)if(or(e,d)){var p=xr(e,d),h=Cr(e,d),v=br(e,d),y=_r(e,d),g=!!(2&v),m=h;d<c&&!Tr(m,g)&&(m=Cr(e,cr(v))),Tr(m,g)||(m=sr(e,v)),g?nr(l,p,!!m,n,o,y):tr(l,p,m,n,4&v?f:null,i,y),rr(e,d,!1)}if(s){var _=Array.isArray(r)?Bt(r):r,w=Yn(e),b=w[0];for(d=1;d<b;d+=2){var C=w[d],x=d+1,I=w[x];if(C){var k=C.buildPlayer(I);void 0!==k&&(null!=k&&Wn(w,_,l,k,x)&&a++,I&&I.destroy())}else I&&I.destroy()}kr(e,!1)}Ir(e,!1)}return a})(Gn(e,Br),Dr,Br)>0&&_i(Bt(Br),2)}function $o(e,t,n,r){var o=null;n&&(o=r?Rt(n)+r:n),er(Gn(e,Br),t,o)}function Jo(e,t,n){!function r(e,t,n){n=n||null;var r=e[5],o=t instanceof Zn?new Qr(t,r,2):null,i=n instanceof Zn?new Qr(n,r,3):null,a=o?t.value:t,u=i?n.value:n,s=a===e[6],l=u===e[7];if(!s||!l){e[6]=a,e[7]=u;var c=Jn,f=!1,d=!1,p=o?1:0;vr(e,o,1)&&(yr(e,o,1),d=!0);var h=i?3:0;vr(e,i,3)&&(yr(e,i,3),d=!0),s||("string"==typeof a?(c=a.split(/\s+/),f=!0):c=a?Object.keys(a):Jn);for(var v=a||Xn,y=u?Object.keys(u):Jn,g=u||Xn,m=y.length,_=!1,w=fr(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],P=x?p:h;if((F=xr(e,w))===k){var O=Cr(e,w),T=br(e,w);gr(e,w,P),Nr(T,O,E)&&(hr(e,w,E),d=d||!!P,Nr(T,A=sr(e,T),E)&&(rr(e,w,!0),_=!0))}else{var R=Er(e,k,w);if(R>0){var N=Cr(e,R),D=br(e,R);if(Pr(e,w,R),Nr(D,N,E)){var A=sr(e,D);hr(e,w,E),Nr(D,A,E)&&(rr(e,w,!0),d=d||!!P,_=!0)}}else{var j=Rr(k,x,dr(e));d=d||!!P,Or(e,w,x,k,j,E,P),_=!0}}}w+=4,b++}for(;w<e.length;){var V=2==(2&(T=br(e,w)));(!V&&!l||V&&!s)&&Tr(O=Cr(e,w),V)&&(rr(e,w,!0),hr(e,w,null),gr(e,w,P=V?p:h),_=!0),w+=4}for(var S=dr(e);b<C;){var M=b>=m;if(!M&&!l||M&&!s){I=M?b-m:b;var F=M?c[I]:y[I];O=M?!!f||v[F]:g[F],T=1|Rr(F,M,S),e.push(T,F,O,P=M?p:h),_=!0}b++}_&&Ir(e,!0),d&&kr(e,!0)}}(Gn(e,Br),t,n)}function Xo(e,t){var n=xn(t,Dr),r=fo(e,3,n,null,null);Mr=!1,Vn(n,r,Br)}function ei(e,t){if(t!==Ii){var n=At(e,Br);hn(Dr)?Dr.setValue(n,Rt(t)):n.textContent=Rt(t)}}function ti(e,t,n){var r=ri(e,t,n,jt(Sr,Br));return n.template&&(St(Sr.index,Br)[pt]=t),no&&Xt(e,n.onInit,n.doCheck,Fr),Sr&&Sr.attrs&&function o(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]}(e,r,n.inputs,Sr),n.contentQueries&&n.contentQueries(),r}function ni(e){var t=jt(Sr,Br),n=jo(e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery),r=gi(Br,Sr.index,co(Ar.createRenderer(t,e),n,null,e.onPush?4:2,Kr()));r[ct]=Sr,r[lt]=Br[Sr.index],Br[Sr.index]=r,no&&(Do(),Sr.flags=Br.length<<15|4096)}function ri(e,t,n,r){if(Kt(t,Br),r&&Kt(r,Br),Br[e]=t,no){var o=Sr.flags;0===o?Sr.flags=e<<15|4096&o|1:Sr.flags++,Fr.data.push(n),Fr.blueprint.push(null),n.hostBindings&&function i(e,t){Fr.expandoInstructions.push(t.hostBindings,t.hostVars)}(0,n)}else{var a=n.diPublic;a&&a(n)}return null!=n.attributes&&3==Sr.type&&So(r,n.attributes),t}function oi(e,t,n,r,o){return[o?-1:0,[],n,null,null,e,r,Dn(t,n)]}function ii(e,t,n,r,o,i,a,u){var s=ui(e,o||null,i||null);no&&(s.tViews=Vo(-1,t,n,r,Fr.directiveRegistry,Fr.pipeRegistry,null)),Po(a,u),Hr&&(Hr=Hr.addNode(Sr)),en(s.flags,Fr),Mr=!1}function ai(e){var t=ui(e,null,null);no&&(t.tViews=[]),Mr=!1}function ui(e,t,n){var r=e+rt,o=Dr.createComment(""),i=fo(e,0,o,t,n),a=Br[r]=oi(Br[r],i,Br,o);return Vn(o,i,Br),gi(Br,e+rt,a),Hr&&(a[st]=Hr.container()),i}function si(e){Sr=Nt(e,Fr.data),Mr=!0,Br[e+rt][Et]=0,to||on(Br,Fr,Lr)}function li(){Mr?Mr=!1:Sr=Sr.parent;for(var e=Br[Sr.index],t=e[Et];t<e[Pt].length;)Pn(e,Sr,t)}function ci(e,t,n){var r=2===Sr.type?Sr.parent:Sr,o=Br[r.index],i=Br,a=function u(e,t,n,r){for(var o=e[Pt],i=n;i<o.length;i++){var a=o[i][ot].id;if(a===r)return o[i];if(!(a<r))break;Pn(e,t,i)}return null}(o,r,o[Et],e);return a?(Mr=!0,io(a,a[ot].node)):(a=co(Dr,function s(e,t,n,r){var o=r.tViews;return(e>=o.length||null==o[e])&&(o[e]=Vo(e,null,t,n,Fr.directiveRegistry,Fr.pipeRegistry,null)),o[e]}(e,t,n,r),null,2,Kr()),o[st]&&(a[st]=o[st].createView()),po(e,a),io(a,a[ot].node)),o&&(Lr&&kn(a,o,i,o[Et],-1),o[Et]++),_o(a)}function fi(){var e=Br[ct];uo(),ao(Br[at]),Sr=e,Mr=!1}function di(e,t){var n=St(e,Br);pi(n)&&6&n[it]&&(t&&function r(e){for(var t=e[ot],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),xi(n,n[pt]))}function pi(e){return 8==(8&e[it])}function hi(e,t){var n=bn(Br)[ct];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?zn(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 vi=[];function yi(e,t,n){void 0===t&&(t=0);var r=fo(e,1,null,null,n||null);null===r.projection&&(r.projection=t),Mr=!1;for(var o=bn(Br),i=o[ct].projection[t],a=o[at],u=-1;i;){if(1===i.type){var s=bn(a),l=s[ct].projection[i.projection];if(l){vi[++u]=i,vi[++u]=a,i=l,a=s[at];continue}}else i.flags|=8192,Hn(i,r,Br,a);null===i.next&&a!==o[at]&&(a=vi[u--],i=vi[u--]),i=i.next}}function gi(e,t,n){return e[gt]?e[gt][ut]=n:no&&(Fr.childIndex=t),e[gt]=n,n}function mi(e){for(var t=e;t&&!(64&t[it]);)t[it]|=4,t=t[at];t[it]|=4,_i(t[pt],1)}function _i(e,t){var n,r=0===e.flags;e.flags|=t,r&&e.clean==Ur&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,wi(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=Ur,n(null)}))}function wi(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];mo(Ut(n),n)}}function bi(e){xi(qt(e),e)}function Ci(e){wi(e[pt])}function xi(e,t){var n=e[ot],r=io(e,e[ct]),o=n.template,i=n.viewQuery;try{xo(),function a(e,t,n){e&&1&t&&e(1,n)}(i,e[it],t),o(_o(e),t),uo(),function u(e,t){e&&e(2,t)}(i,t)}finally{ao(r)}}var Ii={};function ki(e){return Li(Br[ft]++,e)?e:Ii}function Ei(e){for(var t=!1,n=1;n<e.length;n+=2)Li(Br[ft]++,e[n])&&(t=!0);if(!t)return Ii;var r=e[0];for(n=1;n<e.length;n+=2)r+=Rt(e[n])+e[n+1];return r}function Pi(e,t,n){return Li(Br[ft]++,t)?e+Rt(t)+n:Ii}function Oi(e,t,n,r,o){var i=Qi(Br[ft],t,r);return Br[ft]+=2,i?e+Rt(t)+n+Rt(r)+o:Ii}function Ti(e,t,n,r,o,i,a){var u=Ui(Br[ft],t,r,i);return Br[ft]+=3,u?e+Rt(t)+n+Rt(r)+o+Rt(i)+a:Ii}function Ri(e,t,n,r,o,i,a,u,s){var l=zi(Br[ft],t,r,i,u);return Br[ft]+=4,l?e+Rt(t)+n+Rt(r)+o+Rt(i)+a+Rt(u)+s:Ii}function Ni(e,t,n,r,o,i,a,u,s,l,c){var f=zi(Br[ft],t,r,i,u);return f=Li(Br[ft]+4,l)||f,Br[ft]+=5,f?e+Rt(t)+n+Rt(r)+o+Rt(i)+a+Rt(u)+s+Rt(l)+c:Ii}function Di(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=zi(Br[ft],t,r,i,u);return p=Qi(Br[ft]+4,l,f)||p,Br[ft]+=6,p?e+Rt(t)+n+Rt(r)+o+Rt(i)+a+Rt(u)+s+Rt(l)+c+Rt(f)+d:Ii}function Ai(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=zi(Br[ft],t,r,i,u);return v=Ui(Br[ft]+4,l,f,p)||v,Br[ft]+=7,v?e+Rt(t)+n+Rt(r)+o+Rt(i)+a+Rt(u)+s+Rt(l)+c+Rt(f)+d+Rt(p)+h:Ii}function ji(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y){var g=zi(Br[ft],t,r,i,u);return g=zi(Br[ft]+4,l,f,p,v)||g,Br[ft]+=8,g?e+Rt(t)+n+Rt(r)+o+Rt(i)+a+Rt(u)+s+Rt(l)+c+Rt(f)+d+Rt(p)+h+Rt(v)+y:Ii}function Vi(e,t){var n=e+rt;n>=Fr.data.length&&(Fr.data[n]=null),Br[n]=t}function Si(e){return Nt(e,Jr)}function Mi(e){return Br[_t][e]}function Fi(e){return Nt(e,Br)}function Hi(e){return Br[e]}function Li(e,t){if(Br[e]===Ii)Br[e]=t;else{if(!
|
|
234
243
|
/**
|
|
235
244
|
* @license
|
|
236
245
|
* Copyright Google Inc. All Rights Reserved.
|
|
237
246
|
*
|
|
238
247
|
* Use of this source code is governed by an MIT-style license that can be
|
|
239
248
|
* found in the LICENSE file at https://angular.io/license
|
|
240
|
-
*/
|
|
249
|
+
*/
|
|
250
|
+
function n(e,t,r){return!(e!=e&&t!=t)&&e!==t}(Br[e],t))return!1;!function r(e,t,n,o){if(t){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+o+"'.";throw e&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(i)}}(Lr,to,Br[e],t),Br[e]=t}return!0}function Bi(e,t){return Br[e]=t}function Qi(e,t,n){var r=Li(e,t);return Li(e+1,n)||r}function Ui(e,t,n,r){var o=Qi(e,t,n);return Li(e+2,r)||o}function zi(e,t,n,r,o){var i=Qi(e,t,n);return Qi(e+2,r,o)||i}function Zi(){return Fr}function qi(e){var t=(Br[_t]||(Br[_t]=[])).push(e);if(no){var n=Br.length-1,r=Fr.contentQueries||(Fr.contentQueries=[]);n!==(Fr.contentQueries.length?Fr.contentQueries[Fr.contentQueries.length-2]:-1)&&r.push(n,t-1)}}var Ki=Ur,Gi=[0,1];
|
|
251
|
+
/**
|
|
252
|
+
* @license
|
|
253
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
254
|
+
*
|
|
255
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
256
|
+
* found in the LICENSE file at https://angular.io/license
|
|
257
|
+
*/function Wi(e,t,n,r,o){vo();var i=n[ot],a=co(r,jo(t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery),null,t.onPush?4:2,o),u=fo(0,3,e,null,null);return i.firstTemplatePass&&(i.expandoInstructions=Gi.slice(),t.diPublic&&t.diPublic(t),u.flags=n.length<<15|4096),a[lt]=n[rt],a[ct]=u,n[rt]=a}function Yi(e,t,n,r,o,i){var a=ri(r.length,n.factory(),n,e);return o.components.push(a),t[pt]=a,i&&i.forEach(function(e){return e(a,n)}),r[ot].firstTemplatePass&&To(n.hostVars),so(),a}function $i(e,t){return{components:[],scheduler:e,clean:Ki,playerHandler:t||null,flags:0}}function Ji(e,t){var n=Ut(e)[ot],r=n.data.length-1;Xt(r,t.onInit,t.doCheck,n),en(r<<15|1,n)}
|
|
241
258
|
/**
|
|
242
259
|
* @license
|
|
243
260
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -245,35 +262,35 @@ function Fi(e){return"function"==typeof e.template}function Hi(e){for(var t=func
|
|
|
245
262
|
* Use of this source code is governed by an MIT-style license that can be
|
|
246
263
|
* found in the LICENSE file at https://angular.io/license
|
|
247
264
|
*/
|
|
265
|
+
function Xi(e){return"function"==typeof e.template}function ea(e){for(var t=function n(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=function(){var n,r,o=void 0;if(Xi(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=ta(e.inputs),a.declaredInputs=ta(e.declaredInputs),a.outputs=ta(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&&(e.hostBindings=u?function(e,t){s(e,t),u(e,t)}:s),Xi(e)&&Xi(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(){h(),d()}:h);var v=e.contentQueriesRefresh,y=o.contentQueriesRefresh;y&&(e.contentQueriesRefresh=v?function(e,t){y(e,t),v(e,t)}:y),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 g=o.features;if(g)try{for(var m=l(g),_=m.next();!_.done;_=m.next()){var w=_.value;w&&w!==ea&&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 ta(e){return e===He?{}:e===Le?[]:e}
|
|
248
266
|
/**
|
|
249
267
|
* @license
|
|
250
268
|
* Copyright Google Inc. All Rights Reserved.
|
|
251
269
|
*
|
|
252
270
|
* Use of this source code is governed by an MIT-style license that can be
|
|
253
271
|
* found in the LICENSE file at https://angular.io/license
|
|
254
|
-
*/function
|
|
272
|
+
*/var na="__ngOnChanges_";function ra(e){var t=e.declaredInputs,n=e.type.prototype,r=function(e){if(t.hasOwnProperty(e)){for(var r=t[e],o=na+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[na];n||(n={},Object.defineProperty(this,na,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[e];i?i.currentValue=t:n[e]=new xt(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=oa(e.onInit)),e.doCheck=oa(e.doCheck)}function oa(e){return function(){var t=this[na];null!=t&&(this.ngOnChanges(t),this[na]=null),e&&e.apply(this)}}
|
|
255
273
|
/**
|
|
256
274
|
* @license
|
|
257
275
|
* Copyright Google Inc. All Rights Reserved.
|
|
258
276
|
*
|
|
259
277
|
* Use of this source code is governed by an MIT-style license that can be
|
|
260
278
|
* found in the LICENSE file at https://angular.io/license
|
|
261
|
-
*/function ga(e){e.diPublic=
|
|
279
|
+
*/var ia=255,aa=0;function ua(e,t){var n=la(e,t);if(-1!==n)return n;var r=t[ot];r.firstTemplatePass&&(e.injectorIndex=t.length,sa(r.data,e),sa(t,null),sa(r.blueprint,null));var o=ca(e,t),i=32767&o,a=fa(o,t),u=a[ot].data,s=e.injectorIndex;if(-1!==o)for(var l=0;l<fn;l++){var c=i+l;t[s+l]=a[c]|u[c]}return t[s+fn]=o,s}function sa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function la(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+fn]?-1:e.injectorIndex}function ca(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[ct],r=1;n&&-1===n.injectorIndex;)n=(t=t[wt])[ct],r++;return n?n.injectorIndex|r<<15:-1}function fa(e,t){for(var n=e>>15,r=t;n>0;)r=r[wt],n--;return r}function da(e){!function n(e,t,r){!function o(e,t,n){if(t.firstTemplatePass){var r=n[b];null==r&&(r=n[b]=aa++);var o=r&ia,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[ot],r.type)}(function t(){return ua(Yr(),$r())}(),$r(),e)}function pa(e,t){return void 0===t&&(t=0),va(Yr(),$r(),e,t)}function ha(e){var t=Yr().attrs;if(t)for(var n=0;n<t.length;n+=2){var r=t[n];if(1===r)break;if(r==e)return t[n+1]}}function va(e,t,n,r){void 0===r&&(r=0);var o=function i(e){var t=e[b];return"number"==typeof t?t&ia:t}(n);if("function"==typeof o)return o();if(null!=o){var a=la(e,t),u=a,s=t,l=-1;for((4&r||-1===u)&&(_a(r,l=-1===u?ca(e,t):s[u+fn])?u=-1:(u=32767&l,s=fa(l,s)));-1!==u;){for(;-1!==u&&!ma(o,u,s[ot].data);){if(_a(r,l=s[u+fn])){u=-1;break}if(!ma(o,u,s)){u=-1;break}u=32767&l,s=fa(l,s)}if(-1===u)break;var c=void 0;if(c=ga(u,s,n))return c;if(u===a&&t===s&&(c=ya(n,s[ot])))return c;u=32767&l,s=fa(l,s)}}var f=Ie(t[ht]);try{return ke(n,r)}finally{Ie(f)}}function ya(e,t){var n=t.currentMatches;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(o.type===e)return No(o,r+1,n)}return null}function ga(e,t,n){var r=t[ot].data[e+cn].flags,o=4095&r;if(0!==o)for(var i=r>>15,a=i+o,u=t[ot].data,s=i;s<a;s++){var l=u[s];if(l.type===n&&l.diPublic)return t[s]}return null}function ma(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 _a(e,t){return 2&e||1&e&&t>>15>0}var wa=function(){function e(e,t){this._tNode=e,this._hostView=t,this._injectorIndex=ua(e,t)}return e.prototype.get=function(e){return function t(e,n){Sr=e,Br=n}(this._tNode,this._hostView),va(this._tNode,this._hostView,e)},e}();function ba(e){var t=e,n=$e(t)||Je(t)||Xe(t)||I(t)||k(t);return n&&void 0!==n.factory?n.factory:null}function Ca(e){var t=ba(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}
|
|
262
280
|
/**
|
|
263
281
|
* @license
|
|
264
282
|
* Copyright Google Inc. All Rights Reserved.
|
|
265
283
|
*
|
|
266
284
|
* Use of this source code is governed by an MIT-style license that can be
|
|
267
285
|
* found in the LICENSE file at https://angular.io/license
|
|
268
|
-
*/
|
|
286
|
+
*/function xa(e){e.diPublic=da}
|
|
269
287
|
/**
|
|
270
288
|
* @license
|
|
271
289
|
* Copyright Google Inc. All Rights Reserved.
|
|
272
290
|
*
|
|
273
291
|
* Use of this source code is governed by an MIT-style license that can be
|
|
274
292
|
* found in the LICENSE file at https://angular.io/license
|
|
275
|
-
*/
|
|
276
|
-
function wa(e){var t=Error("No component factory found for "+J(e)+". Did you add it to @NgModule.entryComponents?");return t[Ia]=e,t}var ba,Ca,xa,Ia="ngComponent",ka=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw wa(e)},e}(),Ea=function(){function e(){}return e.NULL=new ka,e}(),Na=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 wa(e);return new Pa(t,this._ngModule)},e}(),Pa=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 i(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(_a),Oa=function Oa(){},Ra=function Ra(){},Ta=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,"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[at])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&Jo(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Cn(this._view)},e.prototype.onDestroy=function(e){Io(this._view,e)},e.prototype.markForCheck=function(){ri(this._view)},e.prototype.detach=function(){this._view[at]&=-9},e.prototype.reattach=function(){this._view[at]|=8},e.prototype.detectChanges=function(){var e=Nr();e.begin&&e.begin(),ai(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function e(t){Sr=!0;try{ai(t)}finally{Sr=!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[rt][this._componentIndex]},e}(),Da=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return i(t,e),t.prototype.detectChanges=function(){ui(this._view)},t.prototype.checkNoChanges=function(){!function e(t){Sr=!0;try{ui(t)}finally{Sr=!1}}(this._view)},t}(Ta);function Aa(e,t,n){return ba||(ba=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(e)),new ba(on(t,n).native)}function ja(e,t,n,r){Ca||(Ca=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 i(t,e),t.prototype.createEmbeddedView=function(e,t,n,r,o){var i=function a(e,t,n,r,o,i){var a=_r,u=mr;_r=!0,mr=null;var s=qr(r,e,t,2,Pr());return s[gt]=n,o&&(s[it]=o.createView()),Wr(-1,2,null,null,null,s),e.firstTemplatePass&&(e.node.injectorIndex=i),_r=a,mr=u,s}(this._tView,e,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);t&&mn(i,t,r,o,n.parent.index),$r(i,this._tView,e,1);var u=new Ta(i,e,-1);return u._tViewNode=i[ut],u},t}(e));var o=on(n,r);return new Ca(r,Aa(t,n,r),n.tViews,Er(),o.data[it],n.injectorIndex)}function Va(e,t,n){if(function r(e){return 4096==(4096&e.flags)}(e)){var o=e.flags>>15,i=on(e,t).data;return new Ta(i,n,o)}if(3===e.type){var a=hn(t);return new Ta(a,a[ct],-1)}return null}
|
|
293
|
+
*/var Ia=function Ia(){},ka=function ka(){};
|
|
277
294
|
/**
|
|
278
295
|
* @license
|
|
279
296
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -281,6 +298,7 @@ function wa(e){var t=Error("No component factory found for "+J(e)+". Did you add
|
|
|
281
298
|
* Use of this source code is governed by an MIT-style license that can be
|
|
282
299
|
* found in the LICENSE file at https://angular.io/license
|
|
283
300
|
*/
|
|
301
|
+
function Ea(e){var t=Error("No component factory found for "+$(e)+". Did you add it to @NgModule.entryComponents?");return t[Ra]=e,t}var Pa,Oa,Ta,Ra="ngComponent",Na=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Ea(e)},e}(),Da=function(){function e(){}return e.NULL=new Na,e}(),Aa=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 Ea(e);return new ja(t,this._ngModule)},e}(),ja=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}(ka),Va=function Va(){},Sa=function Sa(){},Ma=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,"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[it])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&pi(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Tn(this._view)},e.prototype.onDestroy=function(e){Lo(this._view,e)},e.prototype.markForCheck=function(){mi(this._view)},e.prototype.detach=function(){this._view[it]&=-9},e.prototype.reattach=function(){this._view[it]|=8},e.prototype.detectChanges=function(){var e=qr();e.begin&&e.begin(),bi(this.context),e.end&&e.end()},e.prototype.checkNoChanges=function(){!function e(t){to=!0;try{bi(t)}finally{to=!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[at][this._componentIndex]},e}(),Fa=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(){Ci(this._view)},t.prototype.checkNoChanges=function(){!function e(t){to=!0;try{Ci(t)}finally{to=!1}}(this._view)},t}(Ma);function Ha(e,t,n){return Pa||(Pa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Pa(jt(t,n))}function La(e,t,n,r){Oa||(Oa=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=Mr,u=Sr;Mr=!0,Sr=null;var s=co(r,e,t,2,Kr());return s[wt]=n,o&&(s[st]=o.createView()),po(-1,s),e.firstTemplatePass&&(e.node.injectorIndex=i),Mr=a,Sr=u,s}(this._tView,e,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);t&&kn(i,t,r,o,n.index),yo(i,this._tView,e,1);var u=new Ma(i,e,-1);return u._tViewNode=i[ct],u},t}(e));var i=r[n.index];return new Oa(r,Ha(t,n,r),n.tViews,Zr(),i[st],n.injectorIndex)}function Ba(e,t,n){if(Ft(e)){var r=e.flags>>15,o=St(e.index,t);return new Ma(o,n,r)}if(3===e.type){var i=bn(t);return new Ma(i,i[pt],-1)}return null}
|
|
284
302
|
/**
|
|
285
303
|
* @license
|
|
286
304
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -288,7 +306,14 @@ function wa(e){var t=Error("No component factory found for "+J(e)+". Did you add
|
|
|
288
306
|
* Use of this source code is governed by an MIT-style license that can be
|
|
289
307
|
* found in the LICENSE file at https://angular.io/license
|
|
290
308
|
*/
|
|
291
|
-
function
|
|
309
|
+
function Qa(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Ua,za=Qa,Za=Qa,qa=Qa,Ka=Qa,Ga=Qa,Wa=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return za(e)},e}(),Ya=function Ya(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},$a=function $a(){},Ja=function Ja(){},Xa=(new E("Renderer2Interceptor"),function Xa(){}),eu=function eu(){};(Ua=e.RendererStyleFlags2||(e.RendererStyleFlags2={}))[Ua.Important=1]="Important",Ua[Ua.DashCase=2]="DashCase";var tu=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ga()},e}(),nu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){var t=$e(e);return new uu(t)},t}(Da);
|
|
310
|
+
/**
|
|
311
|
+
* @license
|
|
312
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
313
|
+
*
|
|
314
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
315
|
+
* found in the LICENSE file at https://angular.io/license
|
|
316
|
+
*/function ru(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var ou=new E("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return $i(ke(iu))}}),iu=new E("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),au=new E("WRAP_RENDERER_FACTORY2"),uu=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 ru(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ru(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(au,function(e){return e})(r.injector.get(eu)):vn;var a=i?Eo(this.selector,o.createRenderer(null,this.componentDef)):Mo(o,n),u=this.componentDef.onPush?68:66,s=r&&!i?r.injector.get(ou):$i(requestAnimationFrame.bind(window)),l=o.createRenderer(a,this.componentDef),c=co(l,Vo(-1,null,1,0,null,null,null),s,u);c[ht]=r&&r.injector||null;var f,d,p=io(c,null);try{o.begin&&o.begin();var h=Wi(a,this.componentDef,c,l);if(d=Vt(0,c),t)for(var v=0,y=d.projection=[],g=0;g<t.length;g++){for(var m=t[g],_=null,w=null,b=0;b<m.length;b++){ho(c);var C=fo(++v,3,m[b],null,null);w?w.next=C:_=C,w=C}y.push(_)}f=Yi(a,h,this.componentDef,c,s,[Ji]),yo(h,h[ot],f,1),h[it]&=-2}finally{io(p,null),o.end&&o.end()}var x=new su(this.componentType,f,c,e,Ha(Wa,d,c));return i&&(x.hostView._tViewNode.child=d),x},t}(ka),su=(new nu,function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.location=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Fa(r),a.hostView._tViewNode=po(-1,r),a.injector=o,a.componentType=t,a}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}(Ia)),lu=/{\$([^}]+)}/g;function cu(e,t,n){var r=$r();r[ot].firstTemplatePass&&(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[ct]&&(e.parent=t)),Vn(jt(e,r),e,r);var o=r[e.index];return 0!==e.type&&Ht(o)&&Vn(o[Ot],e,r),e}function fu(e,t){}function du(e){}function pu(e,t,n){void 0===n&&(n=0)}function hu(){}function vu(e,t){var n=$r();if(t){var r=Zr(),o=Vt(e,n).parent||n[ct],i=o;vo();for(var a=0;a<t.length;a++){var u=t[a];switch(-536870912&u){case 1073741824:var s=Vt(536870911&u,n);i=cu(s,o,i),o=s;break;case 1610612736:case-2147483648:case-1610612736:i=cu(Vt(536870911&u,n),o,i);break;case 536870912:var l=xn(t[++a],r);ho(n),i=cu(fo(n.length-1-rt,3,l,null,null),o,i),vo();break;case-1073741824:i=o,o=o.parent||n[ct];break;case-536870912:var c=536870911&u,f=At(c,n),d=Vt(c,n);Fn(d,f||null,n);var p=Fi(c);if(Ht(p)){var h=p;0!==d.type&&Fn(d,h[Ot]||null,n),d.detached=!0,h[Tt]=null}}}}}
|
|
292
317
|
/**
|
|
293
318
|
* @license
|
|
294
319
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -296,21 +321,21 @@ function Sa(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Ma=S
|
|
|
296
321
|
* Use of this source code is governed by an MIT-style license that can be
|
|
297
322
|
* found in the LICENSE file at https://angular.io/license
|
|
298
323
|
*/
|
|
299
|
-
var
|
|
324
|
+
var yu=new E("The presence of this token marks an injector as being the root injector."),gu={},mu={},_u=[],wu=void 0;
|
|
300
325
|
/**
|
|
301
326
|
* @license
|
|
302
327
|
* Copyright Google Inc. All Rights Reserved.
|
|
303
328
|
*
|
|
304
329
|
* Use of this source code is governed by an MIT-style license that can be
|
|
305
330
|
* found in the LICENSE file at https://angular.io/license
|
|
306
|
-
*/function
|
|
331
|
+
*/function bu(){return void 0===wu&&(wu=new le),wu}function Cu(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||bu(),new xu(e,n,t)}var xu=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Eu([e],function(e){return r.processInjectorType(e,new Set)}),t&&Eu(t,function(e){return r.processProvider(e)}),this.records.set(se,ku(void 0,this)),this.isRootInjector=this.records.has(yu),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.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()}},e.prototype.get=function(e,t,n){void 0===t&&(t=ue),void 0===n&&(n=0),this.assertNotDestroyed();var r=Ie(this);try{if(!(4&n)){var o=this.records.get(e);if(void 0===o){var i=function a(e){return"function"==typeof e||"object"==typeof e&&e instanceof E}
|
|
307
332
|
/**
|
|
308
333
|
* @license
|
|
309
334
|
* Copyright Google Inc. All Rights Reserved.
|
|
310
335
|
*
|
|
311
336
|
* Use of this source code is governed by an MIT-style license that can be
|
|
312
337
|
* found in the LICENSE file at https://angular.io/license
|
|
313
|
-
*/(e)&&
|
|
338
|
+
*/(e)&&I(e);i&&this.injectableDefInScope(i)&&(o=Iu(e),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return 2&n&&bu(),this.parent.get(e,t)}finally{Ie(r)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=k(e=X(e)),o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||_u;if(void 0!==o&&(r=k(o)),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+$(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,ku(r.factory)),null!=r.imports){t.add(i);try{Eu(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&Eu(r.providers,function(e){return n.processProvider(e)}),Eu(a,function(e){return n.processProvider(e)})}},e.prototype.processProvider=function(e){var t=Pu(e=X(e))?e:X(e.provide),n=function r(e){var t=X(e),n=gu,r=void 0;if(Pu(e))return Iu(e);if(t=X(e.provide),function o(e){return ve in e}(e))n=e.useValue;else if(function i(e){return!!e.useExisting}(e))r=function(){return ke(e.useExisting)};else if(function a(e){return!!e.useFactory}(e))r=function(){return e.useFactory.apply(e,f(Ee(e.deps||[])))};else{var u=e.useClass||t;if(!function s(e){return!!e.deps}(e))return Iu(u);r=function(){return new(u.bind.apply(u,f([void 0],Ee(e.deps))))}}return ku(r,n)}(e);if(Pu(e)||!0!==e.multi){var o=this.records.get(t);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+$(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=ku(void 0,gu,!0)).factory=function(){return Ee(i.multi)},this.records.set(t,i);t=e,i.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===mu)throw new Error("Circular dep for "+$(e));return t.value===gu&&(t.value=mu,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},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Iu(e){var t=I(e);if(null===t){if(e instanceof E)throw new Error("Token "+$(e)+" is missing an ngInjectableDef definition.");return ku(function(){return new e})}return ku(t.factory)}function ku(e,t,n){return void 0===t&&(t=gu),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Eu(e,t){e.forEach(function(e){return Array.isArray(e)?Eu(e,t):t(e)})}function Pu(e){return"function"==typeof e}var Ou={provide:Da,useFactory:function(){return new nu},deps:[]},Tu=function(e){function t(t,n){var r=e.call(this)||this;r._bootstrapComponents=[],r.destroyCbs=[];var o=et(t);return r._bootstrapComponents=o.bootstrap,r.injector=Cu(t,n,[Ou,{provide:Va,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new nu,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}(Va),Ru=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 Tu(this.moduleType,e)},t}(Sa);
|
|
314
339
|
/**
|
|
315
340
|
* @license
|
|
316
341
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -318,35 +343,35 @@ var $a=new N("The presence of this token marks an injector as being the root inj
|
|
|
318
343
|
* Use of this source code is governed by an MIT-style license that can be
|
|
319
344
|
* found in the LICENSE file at https://angular.io/license
|
|
320
345
|
*/
|
|
321
|
-
function
|
|
346
|
+
function Nu(e,t,n){var r=oo()+e;return function o(){return Lr}()?Bi(r,n?t.call(n):t()):Hi(r)}function Du(e,t,n,r){var o=oo()+e;return Li(o,n)?Bi(o+1,r?t.call(r,n):t(n)):Hi(o+1)}function Au(e,t,n,r,o){var i=oo()+e;return Qi(i,n,r)?Bi(i+2,o?t.call(o,n,r):t(n,r)):Hi(i+2)}function ju(e,t,n,r,o,i){var a=oo()+e;return Ui(a,n,r,o)?Bi(a+3,i?t.call(i,n,r,o):t(n,r,o)):Hi(a+3)}function Vu(e,t,n,r,o,i,a){var u=oo()+e;return zi(u,n,r,o,i)?Bi(u+4,a?t.call(a,n,r,o,i):t(n,r,o,i)):Hi(u+4)}function Su(e,t,n,r,o,i,a,u){var s=oo()+e,l=zi(s,n,r,o,i);return Li(s+4,a)||l?Bi(s+5,u?t.call(u,n,r,o,i,a):t(n,r,o,i,a)):Hi(s+5)}function Mu(e,t,n,r,o,i,a,u,s){var l=oo()+e,c=zi(l,n,r,o,i);return Qi(l+4,a,u)||c?Bi(l+6,s?t.call(s,n,r,o,i,a,u):t(n,r,o,i,a,u)):Hi(l+6)}function Fu(e,t,n,r,o,i,a,u,s,l){var c=oo()+e,f=zi(c,n,r,o,i);return Ui(c+4,a,u,s)||f?Bi(c+7,l?t.call(l,n,r,o,i,a,u,s):t(n,r,o,i,a,u,s)):Hi(c+7)}function Hu(e,t,n,r,o,i,a,u,s,l,c){var f=oo()+e,d=zi(f,n,r,o,i);return zi(f+4,a,u,s,l)||d?Bi(f+8,c?t.call(c,n,r,o,i,a,u,s,l):t(n,r,o,i,a,u,s,l)):Hi(f+8)}function Lu(e,t,n,r){for(var o=oo()+e,i=!1,a=0;a<n.length;a++)Li(o++,n[a])&&(i=!0);return i?Bi(o,t.apply(r,n)):Hi(o)}
|
|
322
347
|
/**
|
|
323
348
|
* @license
|
|
324
349
|
* Copyright Google Inc. All Rights Reserved.
|
|
325
350
|
*
|
|
326
351
|
* Use of this source code is governed by an MIT-style license that can be
|
|
327
352
|
* found in the LICENSE file at https://angular.io/license
|
|
328
|
-
*/function
|
|
353
|
+
*/function Bu(e,t){var n,r=Zi(),o=e+rt;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();return Vi(e,a),a}function Qu(e,t,n){var r=Fi(e);return Ku(e)?Du(t,r.transform,n,r):r.transform(n)}function Uu(e,t,n,r){var o=Fi(e);return Ku(e)?Au(t,o.transform,n,r,o):o.transform(n,r)}function zu(e,t,n,r,o){var i=Fi(e);return Ku(e)?ju(t,i.transform,n,r,o,i):i.transform(n,r,o)}function Zu(e,t,n,r,o,i){var a=Fi(e);return Ku(e)?Vu(t,a.transform,n,r,o,i,a):a.transform(n,r,o,i)}function qu(e,t,n){var r=Fi(e);return Ku(e)?Lu(t,r.transform,n,r):r.transform.apply(r,n)}function Ku(e){return Zi().data[e+rt].pure}
|
|
329
354
|
/**
|
|
330
355
|
* @license
|
|
331
356
|
* Copyright Google Inc. All Rights Reserved.
|
|
332
357
|
*
|
|
333
358
|
* Use of this source code is governed by an MIT-style license that can be
|
|
334
359
|
* found in the LICENSE file at https://angular.io/license
|
|
335
|
-
*/var
|
|
360
|
+
*/var Gu=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),Wu=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Za(e,Wa)},e}(),Yu=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=as(this.deep,e,t,null!=r?r:null):this.shallow=as(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=$u(this.shallow),n=$u(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=Ju(this.shallow),n=Ju(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){Xu(e,this.shallow),Xu(e,this.deep)},e.prototype.addNode=function(e){return os(this.deep,e),Mt(e)?(os(this.shallow,e),e.parent&&Mt(e.parent)&&os(this.parent.shallow,e),this.parent):(function t(e){return null===e.parent||Mt(e.parent)}(e)&&os(this.shallow,e),this)},e.prototype.removeView=function(){es(this.shallow),es(this.deep)},e}();
|
|
336
361
|
/**
|
|
337
362
|
* @license
|
|
338
363
|
* Copyright Google Inc. All Rights Reserved.
|
|
339
364
|
*
|
|
340
365
|
* Use of this source code is governed by an MIT-style license that can be
|
|
341
366
|
* found in the LICENSE file at https://angular.io/license
|
|
342
|
-
*/function
|
|
367
|
+
*/function $u(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 Ju(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 Xu(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function es(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 ts(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 ns(e,t,n){var r=n[b];if("function"==typeof r)return r();var o=function i(e,t,n){var r=t[ot].data;if(r)for(var o=e.flags,i=o>>15,a=i+(4095&o),u=i;u<a;u++){var s=r[u];if(s.type===n&&s.diPublic)return u}return null}(e,t,n);return null!==o?t[o]:null}function rs(e,t){return 3===e.type||4===e.type?Ha(Wa,e,t):0===e.type?La(Wu,Wa,e,t):null}function os(e,t){for(var n=$r();e;){var r=e.predicate,o=r.type;if(o)null!==(s=ns(t,n,r.read||o))&&is(e,s);else for(var i=r.selector,a=0;a<i.length;a++){var u=ts(t,i[a]);if(null!==u){var s=null;null!==(s=r.read?ns(t,n,r.read):u>-1?n[u]:rs(t,n))&&is(e,s)}}e=e.next}}function is(e,t){e.values.push(t),e.list.setDirty()}function as(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 us=function(){function e(){this.dirty=!0,this.changes=new Gu,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[G()]=function(){return this._values[G()]()},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 ss(e,t,n,r){var o=new us;return function i(e){return Sr&&Sr!==Br[ct]&&!Mt(Sr)&&(Hr&&(Hr=Hr.clone()),Sr.flags|=16384),Hr||(Hr=new e(null,null,null))}(Yu).track(o,t,n,r),Ho(null,o,o.destroy),null!=e&&Vi(e,o),o}function ls(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}
|
|
343
368
|
/**
|
|
344
369
|
* @license
|
|
345
370
|
* Copyright Google Inc. All Rights Reserved.
|
|
346
371
|
*
|
|
347
372
|
* Use of this source code is governed by an MIT-style license that can be
|
|
348
373
|
* found in the LICENSE file at https://angular.io/license
|
|
349
|
-
*/function
|
|
374
|
+
*/function cs(e,t){return La(Wu,Wa,e,t)}
|
|
350
375
|
/**
|
|
351
376
|
* @license
|
|
352
377
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -360,14 +385,14 @@ function du(e,t,n){var r=Hr()+e;return function o(){return Cr}()?Pi(r,n?t.call(n
|
|
|
360
385
|
*
|
|
361
386
|
* Use of this source code is governed by an MIT-style license that can be
|
|
362
387
|
* found in the LICENSE file at https://angular.io/license
|
|
363
|
-
*/var
|
|
388
|
+
*/var fs="__SANITIZER_TRUSTED_BRAND__";function ds(e,t){return e instanceof String&&e[fs]===t}function ps(e,t){var n=new String(e);return n[fs]=t,n}
|
|
364
389
|
/**
|
|
365
390
|
* @license
|
|
366
391
|
* Copyright Google Inc. All Rights Reserved.
|
|
367
392
|
*
|
|
368
393
|
* Use of this source code is governed by an MIT-style license that can be
|
|
369
394
|
* found in the LICENSE file at https://angular.io/license
|
|
370
|
-
*/var
|
|
395
|
+
*/var hs=!0,vs=!1;function ys(){return vs=!0,hs}
|
|
371
396
|
/**
|
|
372
397
|
* @license
|
|
373
398
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -375,14 +400,14 @@ function du(e,t,n){var r=Hr()+e;return function o(){return Cr}()?Pi(r,n?t.call(n
|
|
|
375
400
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
401
|
* found in the LICENSE file at https://angular.io/license
|
|
377
402
|
*/
|
|
378
|
-
var
|
|
403
|
+
var gs=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
404
|
/**
|
|
380
405
|
* @license
|
|
381
406
|
* Copyright Google Inc. All Rights Reserved.
|
|
382
407
|
*
|
|
383
408
|
* Use of this source code is governed by an MIT-style license that can be
|
|
384
409
|
* 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}(),
|
|
410
|
+
*/()?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}(),ms=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,_s=/^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 ws(e){return(e=String(e)).match(ms)||e.match(_s)?e:(ys()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}
|
|
386
411
|
/**
|
|
387
412
|
* @license
|
|
388
413
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -390,7 +415,7 @@ var $u=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.def
|
|
|
390
415
|
* Use of this source code is governed by an MIT-style license that can be
|
|
391
416
|
* found in the LICENSE file at https://angular.io/license
|
|
392
417
|
*/
|
|
393
|
-
function
|
|
418
|
+
function bs(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 Cs(){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 xs,Is,ks=bs("area,br,col,hr,img,wbr"),Es=bs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ps=bs("rp,rt"),Os=Cs(Ps,Es),Ts=Cs(Es,bs("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")),Rs=Cs(Ps,bs("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")),Ns=Cs(ks,Ts,Rs,Os),Ds=bs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),As=bs("srcset"),js=bs("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"),Vs=Cs(Ds,As,js),Ss=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(Ns.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(Vs.hasOwnProperty(u)){var s=i.value;Ds[u]&&(s=ws(s)),As[u]&&(n=s,s=(n=String(n)).split(",").map(function(e){return ws(e.trim())}).join(", ")),this.buf.push(" ",a,'="',Hs(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ns.hasOwnProperty(t)&&!ks.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Hs(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}(),Ms=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fs=/([^\#-~ |!])/g;function Hs(e){return e.replace(/&/g,"&").replace(Ms,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Fs,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Ls(e,t){var n=null;try{xs=xs||new gs(e);var r=t?String(t):"";n=xs.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=xs.getInertBodyElement(r)}while(r!==i);var a=new Ss,u=a.sanitizeChildren(Bs(n)||n);return ys()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=Bs(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function Bs(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
394
419
|
/**
|
|
395
420
|
* @license
|
|
396
421
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -405,49 +430,49 @@ function ts(e){var t,n,r={};try{for(var o=c(e.split(",")),i=o.next();!i.done;i=o
|
|
|
405
430
|
* Use of this source code is governed by an MIT-style license that can be
|
|
406
431
|
* found in the LICENSE file at https://angular.io/license
|
|
407
432
|
*/
|
|
408
|
-
|
|
433
|
+
Is=e.SecurityContext||(e.SecurityContext={}))[Is.NONE=0]="NONE",Is[Is.HTML=1]="HTML",Is[Is.STYLE=2]="STYLE",Is[Is.SCRIPT=3]="SCRIPT",Is[Is.URL=4]="URL",Is[Is.RESOURCE_URL=5]="RESOURCE_URL";var Qs=function Qs(){},Us=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"),zs=/^url\(([^)]+)\)$/;
|
|
409
434
|
/**
|
|
410
435
|
* @license
|
|
411
436
|
* Copyright Google Inc. All Rights Reserved.
|
|
412
437
|
*
|
|
413
438
|
* Use of this source code is governed by an MIT-style license that can be
|
|
414
439
|
* found in the LICENSE file at https://angular.io/license
|
|
415
|
-
*/function
|
|
440
|
+
*/function Zs(e){if(!(e=String(e).trim()))return"";var t=e.match(zs);return t&&ws(t[1])===t[1]||e.match(Us)&&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:(ys()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
|
|
416
441
|
/**
|
|
417
442
|
* @license
|
|
418
443
|
* Copyright Google Inc. All Rights Reserved.
|
|
419
444
|
*
|
|
420
445
|
* Use of this source code is governed by an MIT-style license that can be
|
|
421
446
|
* found in the LICENSE file at https://angular.io/license
|
|
422
|
-
*/function
|
|
447
|
+
*/function qs(t){var n=Kr();return n?n.sanitize(e.SecurityContext.HTML,t)||"":ds(t,"Html")?t.toString():Ls(document,Rt(t))}function Ks(t){var n=Kr();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":ds(t,"Style")?t.toString():Zs(Rt(t))}function Gs(t){var n=Kr();return n?n.sanitize(e.SecurityContext.URL,t)||"":ds(t,"Url")?t.toString():ws(Rt(t))}function Ws(t){var n=Kr();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(ds(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Ys={"ɵdefineBase":Ke,"ɵdefineComponent":Qe,"ɵdefineDirective":We,defineInjectable:C,defineInjector:x,"ɵdefineNgModule":Ze,"ɵdefinePipe":Ye,"ɵdirectiveInject":pa,"ɵgetFactoryOf":ba,"ɵgetInheritedFactory":Ca,inject:ke,"ɵinjectAttribute":ha,"ɵtemplateRefExtractor":cs,"ɵNgOnChangesFeature":ra,"ɵPublicFeature":xa,"ɵInheritDefinitionFeature":ea,"ɵelementAttribute":Qo,"ɵbind":ki,"ɵcontainer":ai,"ɵnextContext":go,"ɵcontainerRefreshStart":si,"ɵcontainerRefreshEnd":li,"ɵloadQueryList":Mi,"ɵnamespaceHTML":xo,"ɵnamespaceMathML":Co,"ɵnamespaceSVG":bo,"ɵenableBindings":zo,"ɵdisableBindings":Zo,"ɵelementStart":ko,"ɵelementEnd":Bo,"ɵelement":Io,"ɵEC":function $s(e,t,n){var r=Dr.createComment("");Vn(r,fo(e,4,r,null,t||null),Br),Po(n)},"ɵeC":function Js(){Mr?Mr=!1:Sr=Sr.parent,Hr&&(Hr=Hr.addNode(Sr)),en(Sr.flags,Fr)},"ɵpureFunction0":Nu,"ɵpureFunction1":Du,"ɵpureFunction2":Au,"ɵpureFunction3":ju,"ɵpureFunction4":Vu,"ɵpureFunction5":Su,"ɵpureFunction6":Mu,"ɵpureFunction7":Fu,"ɵpureFunction8":Hu,"ɵpureFunctionV":Lu,"ɵgetCurrentView":Gr,"ɵrestoreView":Wr,"ɵinterpolation1":Pi,"ɵinterpolation2":Oi,"ɵinterpolation3":Ti,"ɵinterpolation4":Ri,"ɵinterpolation5":Ni,"ɵinterpolation6":Di,"ɵinterpolation7":Ai,"ɵinterpolation8":ji,"ɵinterpolationV":Ei,"ɵelementClassProp":Go,"ɵlistener":Fo,"ɵload":Fi,"ɵprojection":yi,"ɵelementProperty":Uo,"ɵpipeBind1":Qu,"ɵpipeBind2":Uu,"ɵpipeBind3":zu,"ɵpipeBind4":Zu,"ɵpipeBindV":qu,"ɵprojectionDef":hi,"ɵpipe":Bu,"ɵquery":ss,"ɵqueryRefresh":ls,"ɵregisterContentQuery":qi,"ɵreference":Si,"ɵelementStyling":Wo,"ɵelementStylingMap":Jo,"ɵelementStyleProp":$o,"ɵelementStylingApply":Yo,"ɵtemplate":ii,"ɵtext":Xo,"ɵtextBinding":ei,"ɵembeddedViewStart":ci,"ɵembeddedViewEnd":fi,"ɵi18nAttribute":fu,"ɵi18nExp":du,"ɵi18nStart":pu,"ɵi18nEnd":hu,"ɵi18nApply":vu,"ɵsanitizeHtml":qs,"ɵsanitizeStyle":Ks,"ɵ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:Ks(t)},"ɵsanitizeResourceUrl":Ws,"ɵsanitizeScript":function Xs(t){var n=Kr();if(n)return n.sanitize(e.SecurityContext.SCRIPT,t)||"";if(ds(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")},"ɵsanitizeUrl":Gs},el=null;
|
|
423
448
|
/**
|
|
424
449
|
* @license
|
|
425
450
|
* Copyright Google Inc. All Rights Reserved.
|
|
426
451
|
*
|
|
427
452
|
* Use of this source code is governed by an MIT-style license that can be
|
|
428
453
|
* found in the LICENSE file at https://angular.io/license
|
|
429
|
-
*/function
|
|
454
|
+
*/function tl(){return el=el||new De}function nl(e){return rl(tl().parameters(e))}function rl(e){var t=tt();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(i instanceof te||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof re||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof ne||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof oe||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof ee)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}
|
|
430
455
|
/**
|
|
431
456
|
* @license
|
|
432
457
|
* Copyright Google Inc. All Rights Reserved.
|
|
433
458
|
*
|
|
434
459
|
* Use of this source code is governed by an MIT-style license that can be
|
|
435
460
|
* found in the LICENSE file at https://angular.io/license
|
|
436
|
-
*/(e)})}var
|
|
461
|
+
*/(t,e)})}var ol=[];function il(e,t){var n=sl(t.declarations||ol),r=null;Object.defineProperty(e,_,{configurable:!0,get:function(){return null===r&&(r=tt().compileNgModule(Ys,"ng://"+e.name+"/ngModuleDef.js",{type:e,bootstrap:sl(t.bootstrap||ol),declarations:n,imports:sl(t.imports||ol).map(ll),exports:sl(t.exports||ol).map(ll),emitInline:!0})),r}});var o=null;Object.defineProperty(e,g,{get:function(){if(null===o){var n={name:e.name,type:e,deps:nl(e),providers:t.providers||ol,imports:[t.imports||ol,t.exports||ol]};o=tt().compileInjector(Ys,"ng://"+e.name+"/ngInjectorDef.js",n)}return o},configurable:!1})}function al(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return Je(e)||$e(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return Xe(e)})}}function ul(e){if(!cl(e))throw new Error(e.name+" does not have an ngModuleDef");var t=et(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){Xe(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),t.imports.forEach(function(e){var t=e;if(!cl(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");var r=ul(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(cl(t)){var r=ul(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 et(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function sl(e){var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,f(sl(e))):t.push(e)}),t}function ll(e){return function t(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function cl(e){return!!et(e)}
|
|
437
462
|
/**
|
|
438
463
|
* @license
|
|
439
464
|
* Copyright Google Inc. All Rights Reserved.
|
|
440
465
|
*
|
|
441
466
|
* Use of this source code is governed by an MIT-style license that can be
|
|
442
467
|
* found in the LICENSE file at https://angular.io/license
|
|
443
|
-
*/function
|
|
468
|
+
*/function fl(e,t){var n=tl().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:nl(e),host:t.host||dl,propMetadata:n,inputs:t.inputs||Le,outputs:t.outputs||Le,queries:pl(n,hl),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 dl={};function pl(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()})}
|
|
444
469
|
/**
|
|
445
470
|
* @license
|
|
446
471
|
* Copyright Google Inc. All Rights Reserved.
|
|
447
472
|
*
|
|
448
473
|
* Use of this source code is governed by an MIT-style license that can be
|
|
449
474
|
* found in the LICENSE file at https://angular.io/license
|
|
450
|
-
*/function
|
|
475
|
+
*/(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 hl(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function vl(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}var yl=d({provide:String,useValue:d});function gl(e){return void 0!==e.useClass}function ml(e){return yl in e}function _l(e){return void 0!==e.useFactory}function wl(e){return void 0!==e.useExisting}
|
|
451
476
|
/**
|
|
452
477
|
* @license
|
|
453
478
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -462,7 +487,7 @@ os=e.SecurityContext||(e.SecurityContext={}))[os.NONE=0]="NONE",os[os.HTML=1]="H
|
|
|
462
487
|
* Use of this source code is governed by an MIT-style license that can be
|
|
463
488
|
* found in the LICENSE file at https://angular.io/license
|
|
464
489
|
*/
|
|
465
|
-
var
|
|
490
|
+
var bl=function Cl(t,n){var r=null;!function o(e){Me(e)&&Se.add(e)}(n),Object.defineProperty(t,h,{get:function(){var o=tt();if(null===r){if(Me(n)){var a=["Component '"+$(t)+"' is not resolved:"];throw n.templateUrl&&a.push(" - templateUrl: "+$(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({},fl(t,n),{template:n.template||"",preserveWhitespaces:n.preserveWhitespaces||!1,styles:n.styles||Le,animations:n.animations,viewQueries:pl(tl().propMetadata(t),vl),directives:new Map,pipes:new Map,encapsulation:n.encapsulation||e.ViewEncapsulation.Emulated,viewProviders:n.viewProviders||null});if(r=o.compileComponent(Ys,"ng://"+$(t)+"/template.html",u),function s(e){return void 0!==e.ngSelectorScope}(t)){var l=ul(t.ngSelectorScope);al(r,l)}}return r},configurable:!1})},xl=function Il(e,t){var n=null;Object.defineProperty(e,v,{get:function(){if(null===n){var r=fl(e,t);n=tt().compileDirective(Ys,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",r)}return n},configurable:!1})},kl=function El(e,t){var n=null;Object.defineProperty(e,m,{get:function(){return null===n&&(n=tt().compilePipe(Ys,"ng://"+Rt(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:nl(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})},Pl=il,Ol=al;
|
|
466
491
|
/**
|
|
467
492
|
* @license
|
|
468
493
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -470,7 +495,7 @@ var el=function tl(t,r){var o=null;!function i(e){Fe(e)&&Me.add(e)}(r),Object.de
|
|
|
470
495
|
* Use of this source code is governed by an MIT-style license that can be
|
|
471
496
|
* found in the LICENSE file at https://angular.io/license
|
|
472
497
|
*/
|
|
473
|
-
function
|
|
498
|
+
function Tl(){}var Rl=bl,Nl=xl,Dl=kl,Al=Tl,jl=Tl,Vl=Tl,Sl=d({provide:String,useValue:d}),Ml=[];function Fl(e,t){if(!t){var n=(s=new De).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],Ee(n))))}}if(Sl in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return ke(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,f(Ee(i.deps||Ml)))}}if(t.useClass){var a=t,u=t.deps;if(!u){var s=new De;u=s.parameters(e)}return function(){var e;return new((e=a.useClass).bind.apply(e,f([void 0],Ee(u))))}}var l=t.deps;return l||(s=new De,l=s.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],Ee(l))))}}
|
|
474
499
|
/**
|
|
475
500
|
* @license
|
|
476
501
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -478,14 +503,14 @@ function sl(){}var ll=el,cl=nl,fl=ol,dl=sl,pl=sl,hl=sl,vl=p({provide:String,useV
|
|
|
478
503
|
* Use of this source code is governed by an MIT-style license that can be
|
|
479
504
|
* found in the LICENSE file at https://angular.io/license
|
|
480
505
|
*/
|
|
481
|
-
var
|
|
506
|
+
var Hl,Ll=R("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return jl(e,t)}),Bl=R("Component",function(t){return void 0===t&&(t={}),i({changeDetection:e.ChangeDetectionStrategy.Default},t)},Ll,void 0,function(e,t){return Al(e,t)}),Ql=R("Pipe",function(e){return i({pure:!0},e)},void 0,void 0,function(e,t){return Vl(e,t)}),Ul=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]}},zl=A("Input",function(e){return{bindingPropertyName:e}},void 0,Ul(function(e){return e.inputs||{}})),Zl=A("Output",function(e){return{bindingPropertyName:e}},void 0,Ul(function(e){return e.outputs||{}})),ql=A("HostBinding",function(e){return{hostPropertyName:e}}),Kl=A("HostListener",function(e,t){return{eventName:e,args:t}}),Gl=R("NgModule",function(e){return e},void 0,void 0,function(e,t){return function n(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=f(n,[t.exports])),e.ngInjectorDef=x({factory:Fl(e,{useClass:e}),providers:t&&t.providers,imports:n})}(e,t)}),Wl=new(Hl=function Hl(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("7.0.3"),Yl=R("Injectable",void 0,void 0,void 0,function(e,t){return function n(e,t){t&&void 0!==t.providedIn&&!I(e)&&(e.ngInjectableDef=C({providedIn:t.providedIn,factory:Fl(e,t)}))}(e,t)}),$l="ngDebugContext",Jl="ngOriginalError",Xl="ngErrorLogger";function ec(e){return e[$l]}function tc(e){return e[Jl]}function nc(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}
|
|
482
507
|
/**
|
|
483
508
|
* @license
|
|
484
509
|
* Copyright Google Inc. All Rights Reserved.
|
|
485
510
|
*
|
|
486
511
|
* Use of this source code is governed by an MIT-style license that can be
|
|
487
512
|
* found in the LICENSE file at https://angular.io/license
|
|
488
|
-
*/var
|
|
513
|
+
*/var rc=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[Xl]||nc}(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?ec(e)?ec(e):this._findContext(tc(e)):null},e.prototype._findOriginalError=function(e){for(var t=tc(e);t&&tc(t);)t=tc(t);return t},e}();function oc(e){return e.length>1?" ("+
|
|
489
514
|
/**
|
|
490
515
|
* @license
|
|
491
516
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -493,7 +518,7 @@ var ml,_l=T("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,f
|
|
|
493
518
|
* Use of this source code is governed by an MIT-style license that can be
|
|
494
519
|
* found in the LICENSE file at https://angular.io/license
|
|
495
520
|
*/
|
|
496
|
-
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
|
|
521
|
+
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 $(e.token)}).join(" -> ")+")":""}function ic(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[Jl]=t,r}(i,r):Error(i);return a.addKey=ac,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[Jl]=r,a}function ac(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function uc(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($).join(" "):"?")}return Error("Cannot resolve all parameters for '"+$(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+$(e)+"' is decorated with Injectable.")}
|
|
497
522
|
/**
|
|
498
523
|
* @license
|
|
499
524
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -501,14 +526,14 @@ function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.pu
|
|
|
501
526
|
* Use of this source code is governed by an MIT-style license that can be
|
|
502
527
|
* found in the LICENSE file at https://angular.io/license
|
|
503
528
|
*/
|
|
504
|
-
var
|
|
529
|
+
var sc=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=$(this.token)}return e.get=function(e){return lc.get(X(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return lc.numberOfKeys},enumerable:!0,configurable:!0}),e}(),lc=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof sc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new sc(e,sc.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),cc=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 De),fc=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}(),dc=[],pc=function pc(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},hc=function hc(e,t){this.factory=e,this.dependencies=t};function vc(e){return new pc(sc.get(e.provide),[function t(e){var t,n;if(e.useClass){var r=X(e.useClass);t=cc.factory(r),n=gc(r)}else e.useExisting?(t=function(e){return e},n=[fc.fromKey(sc.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 mc(e,t,n)})}return gc(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=dc);return new hc(t,n)}(e)],e.multi||!1)}function yc(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 pc(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 Pe)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(vc),new Map);return Array.from(t.values())}function gc(e){var t=cc.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw uc(e,t);return t.map(function(n){return mc(e,n,t)})}function mc(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return _c(t instanceof ee?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var u=t[a];u instanceof Pe?r=u:u instanceof ee?r=u.token:u instanceof te?o=!0:u instanceof ne||u instanceof re?i=u:u instanceof E&&(r=u)}if(null!=(r=X(r)))return _c(r,o,i);throw uc(e,n)}function _c(e,t,n){return new fc(sc.get(e),t,n)}
|
|
505
530
|
/**
|
|
506
531
|
* @license
|
|
507
532
|
* Copyright Google Inc. All Rights Reserved.
|
|
508
533
|
*
|
|
509
534
|
* Use of this source code is governed by an MIT-style license that can be
|
|
510
535
|
* found in the LICENSE file at https://angular.io/license
|
|
511
|
-
*/var
|
|
536
|
+
*/var wc=new Object,bc=function(){function e(){}return e.resolve=function(e){return yc(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new Cc(e,t)},e}(),Cc=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]=wc}return e.prototype.get=function(e,t){return void 0===t&&(t=ue),this._getByKey(sc.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=bc.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(bc.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 ic(e,n,function(e){return"Cannot instantiate cyclic dependency!"+oc(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 ic(e,r,function(e){var n=$(e[0].token);return t.message+": Error during instantiation of "+n+"!"+oc(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ue)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof ne?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]===wc&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return wc},e.prototype._throwOrNull=function(e,t){if(t!==ue)return t;throw function n(e,t){return ic(e,t,function(e){return"No provider for "+$(e[0].token)+"!"+oc(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==wc?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof re?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==wc)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}
|
|
512
537
|
/**
|
|
513
538
|
* @license
|
|
514
539
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -522,28 +547,35 @@ var Bl=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
522
547
|
*
|
|
523
548
|
* Use of this source code is governed by an MIT-style license that can be
|
|
524
549
|
* found in the LICENSE file at https://angular.io/license
|
|
525
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=
|
|
550
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=sc.get(ce),e}();function xc(e){return!!e&&"function"==typeof e.then}function Ic(e){return!!e&&"function"==typeof e.subscribe}
|
|
551
|
+
/**
|
|
552
|
+
* @license
|
|
553
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
554
|
+
*
|
|
555
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
556
|
+
* found in the LICENSE file at https://angular.io/license
|
|
557
|
+
*/var kc=new E("Application Initializer"),Ec=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]();xc(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},a([Yl(),u(0,ee(kc)),u(0,te()),s("design:paramtypes",[Array])],e)}(),Pc=new E("AppId");function Oc(){return""+Rc()+Rc()+Rc()}var Tc={provide:Pc,useFactory:Oc,deps:[]};function Rc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Nc=new E("Platform Initializer"),Dc=new E("Platform ID"),Ac=new E("appBootstrapListener"),jc=new E("Application Packages Root URL"),Vc=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},a([Yl()],e)}(),Sc=function Sc(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Mc(){throw new Error("Runtime compiler is not loaded")}var Fc,Hc,Lc=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Mc()},e.prototype.compileModuleAsync=function(e){throw Mc()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Mc()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Mc()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},a([Yl()],e)}(),Bc=new E("compilerOptions"),Qc=function Qc(){};function Uc(){var e=Z.wtf;return!(!e||!(Fc=e.trace)||(Hc=Fc.events,0))}function zc(e,t){return void 0===t&&(t=null),Hc.createScope(e,t)}function Zc(e,t){return Fc.leaveScope(e,t),t}function qc(e,t){return Fc.beginTimeRange(e,t)}function Kc(e){Fc.endTimeRange(e)}
|
|
526
558
|
/**
|
|
527
559
|
* @license
|
|
528
560
|
* Copyright Google Inc. All Rights Reserved.
|
|
529
561
|
*
|
|
530
562
|
* Use of this source code is governed by an MIT-style license that can be
|
|
531
563
|
* found in the LICENSE file at https://angular.io/license
|
|
532
|
-
*/var
|
|
564
|
+
*/var Gc=Uc();function Wc(e,t){return null}var Yc=Gc?zc:function(e,t){return Wc},$c=Gc?Zc:function(e,t){return t},Jc=Gc?qc:function(e,t){return null},Xc=Gc?Kc:function(e){return null},ef=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 Gu(!1),this.onMicrotaskEmpty=new Gu(!1),this.onStable=new Gu(!1),this.onError=new Gu(!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 of(e),t.invokeTask(r,o,i,a)}finally{af(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return of(e),t.invoke(r,o,i,a,u)}finally{af(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,rf(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,nf,tf,tf);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 tf(){}var nf={};function rf(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 of(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function af(e){e._nesting--,rf(e)}var uf,sf=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gu,this.onMicrotaskEmpty=new Gu,this.onStable=new Gu,this.onError=new Gu}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}(),lf=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=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(){ef.assertNotInAngularZone(),W(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())W(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([Yl(),s("design:paramtypes",[ef])],e)}(),cf=function(){function e(){this._applications=new Map,ff.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),ff.findTestabilityInTree(this,e,t)},a([Yl(),s("design:paramtypes",[])],e)}(),ff=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),df=new E("AllowMultipleToken"),pf=function pf(e,t){this.name=e,this.token=t};
|
|
533
565
|
/**
|
|
534
566
|
* @license
|
|
535
567
|
* Copyright Google Inc. All Rights Reserved.
|
|
536
568
|
*
|
|
537
569
|
* Use of this source code is governed by an MIT-style license that can be
|
|
538
570
|
* found in the LICENSE file at https://angular.io/license
|
|
539
|
-
*/
|
|
571
|
+
*/function hf(e){if(uf&&!uf.destroyed&&!uf.injector.get(df,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");uf=e.get(mf);var t=e.get(Nc,null);return t&&t.forEach(function(e){return e()}),uf}function vf(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new E(r);return function(t){void 0===t&&(t=[]);var i=gf();if(!i||i.injector.get(df,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});hf(ce.create({providers:a,name:r}))}return yf(o)}}function yf(e){var t=gf();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 gf(){return uf&&!uf.destroyed?uf:null}var mf=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 sf:("zone.js"===e?void 0:e)||new ef({enableLongStackTrace:ys()})}(t?t.ngZone:void 0),i=[{provide:ef,useValue:r}];return r.run(function(){var t=ce.create({providers:i,parent:n.injector,name:e.moduleType.name}),o=e.create(t),a=o.injector.get(rc,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return bf(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 xc(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(Ec);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=_f({},t);return function o(e,t,n){return e.get(Qc).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(wf);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+$(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([Yl(),s("design:paramtypes",[ce])],e)}();function _f(e,t){return Array.isArray(t)?t.reduce(_f,e):i({},e,t)}var wf=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=ys(),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(){ef.assertNotInAngularZone(),W(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){ef.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 ka?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof ja?null:this._injector.get(Va),i=n.create(ce.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(lf,null);return a&&i.injector.get(cf).registerApplication(i.location.nativeElement,a),this._loadComponent(i),ys()&&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,$c(t)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;bf(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ac,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),bf(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=Yc("ApplicationRef#tick()"),r=a([Yl(),s("design:paramtypes",[ef,Vc,ce,rc,Da,Ec])],e)}();function bf(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
540
572
|
/**
|
|
541
573
|
* @license
|
|
542
574
|
* Copyright Google Inc. All Rights Reserved.
|
|
543
575
|
*
|
|
544
576
|
* Use of this source code is governed by an MIT-style license that can be
|
|
545
577
|
* found in the LICENSE file at https://angular.io/license
|
|
546
|
-
*/
|
|
578
|
+
*/
|
|
547
579
|
/**
|
|
548
580
|
* @license
|
|
549
581
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -557,28 +589,28 @@ var Bl=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
557
589
|
*
|
|
558
590
|
* Use of this source code is governed by an MIT-style license that can be
|
|
559
591
|
* found in the LICENSE file at https://angular.io/license
|
|
560
|
-
*/var
|
|
592
|
+
*/var Cf=function Cf(){},xf=new Map,If=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Gu,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[G()]=function(){return this._results[G()]()},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)},[])}
|
|
561
593
|
/**
|
|
562
594
|
* @license
|
|
563
595
|
* Copyright Google Inc. All Rights Reserved.
|
|
564
596
|
*
|
|
565
597
|
* Use of this source code is governed by an MIT-style license that can be
|
|
566
598
|
* found in the LICENSE file at https://angular.io/license
|
|
567
|
-
*/(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}(),
|
|
599
|
+
*/(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}(),kf=function kf(){},Ef={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Pf=function(){function e(e,t){this._compiler=e,this._config=t||Ef}return e.prototype.load=function(e){return this._compiler instanceof Lc?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 Of(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 Of(e,n,r)})},a([Yl(),u(1,te()),s("design:paramtypes",[Lc,kf])],e)}();function Of(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}
|
|
568
600
|
/**
|
|
569
601
|
* @license
|
|
570
602
|
* Copyright Google Inc. All Rights Reserved.
|
|
571
603
|
*
|
|
572
604
|
* Use of this source code is governed by an MIT-style license that can be
|
|
573
605
|
* found in the LICENSE file at https://angular.io/license
|
|
574
|
-
*/var
|
|
606
|
+
*/var Tf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ka(e,Wa)},e}(),Rf=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return qa()},e}(),Nf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Rf),Df=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Nf),Af=function Af(e,t){this.name=e,this.callback=t},jf=function(){function e(e,t,n){this.nativeNode=e,this._debugContext=n,this.listeners=[],this.parent=null,t&&t instanceof Vf&&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}(),Vf=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 Sf(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return Mf(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}(jf);
|
|
575
607
|
/**
|
|
576
608
|
* @license
|
|
577
609
|
* Copyright Google Inc. All Rights Reserved.
|
|
578
610
|
*
|
|
579
611
|
* Use of this source code is governed by an MIT-style license that can be
|
|
580
612
|
* found in the LICENSE file at https://angular.io/license
|
|
581
|
-
*/function
|
|
613
|
+
*/function Sf(e,t,n){e.childNodes.forEach(function(e){e instanceof Vf&&(t(e)&&n.push(e),Sf(e,t,n))})}function Mf(e,t,n){e instanceof Vf&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Vf&&Mf(e,t,n)})}var Ff=new Map;function Hf(e){return Ff.get(e)||null}function Lf(e){Ff.set(e.nativeNode,e)}
|
|
582
614
|
/**
|
|
583
615
|
* @license
|
|
584
616
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -586,21 +618,21 @@ var Bl=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
586
618
|
* Use of this source code is governed by an MIT-style license that can be
|
|
587
619
|
* found in the LICENSE file at https://angular.io/license
|
|
588
620
|
*/
|
|
589
|
-
var
|
|
621
|
+
var Bf=function(){function e(){}return e.prototype.supports=function(e){return It(e)},e.prototype.create=function(e){return new Uf(e)},e}(),Qf=function(e,t){return t},Uf=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||Qf}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<Kf(n,r,o)?t:n,a=Kf(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=[]),!It(e))throw new Error("Error trying to diff '"+$(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&&Y(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Y(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[G()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Y(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Y(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))?(Y(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Y(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new zf(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 qf),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 qf),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}(),zf=function zf(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},Zf=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)&&Y(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}(),qf=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 Zf,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 Kf(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}
|
|
590
622
|
/**
|
|
591
623
|
* @license
|
|
592
624
|
* Copyright Google Inc. All Rights Reserved.
|
|
593
625
|
*
|
|
594
626
|
* Use of this source code is governed by an MIT-style license that can be
|
|
595
627
|
* found in the LICENSE file at https://angular.io/license
|
|
596
|
-
*/var
|
|
628
|
+
*/var Gf,Wf=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||kt(e)},e.prototype.create=function(){return new Yf},e}(),Yf=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||kt(e)))throw new Error("Error trying to diff '"+$(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 $f(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){Y(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}(),$f=function $f(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},Jf=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 re,new te]]}},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}
|
|
597
629
|
/**
|
|
598
630
|
* @license
|
|
599
631
|
* Copyright Google Inc. All Rights Reserved.
|
|
600
632
|
*
|
|
601
633
|
* Use of this source code is governed by an MIT-style license that can be
|
|
602
634
|
* found in the LICENSE file at https://angular.io/license
|
|
603
|
-
*/(e)+"'")},e.ngInjectableDef=
|
|
635
|
+
*/(e)+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new Bf])}}),e}(),Xf=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 re,new te]]}},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}(),ed=[new Wf],td=new Jf([new Bf]),nd=new Xf(ed),rd=vf(null,"core",[{provide:Dc,useValue:"unknown"},{provide:mf,deps:[ce]},{provide:cf,deps:[]},{provide:Vc,deps:[]}]),od=new E("LocaleId"),id=new E("Translations"),ad=new E("TranslationsFormat");
|
|
604
636
|
/**
|
|
605
637
|
* @license
|
|
606
638
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -608,7 +640,7 @@ var wf=function(){function e(){}return e.prototype.supports=function(e){return e
|
|
|
608
640
|
* Use of this source code is governed by an MIT-style license that can be
|
|
609
641
|
* found in the LICENSE file at https://angular.io/license
|
|
610
642
|
*/
|
|
611
|
-
function
|
|
643
|
+
function ud(){return td}function sd(){return nd}function ld(e){return e||"en-US"}(Gf=e.MissingTranslationStrategy||(e.MissingTranslationStrategy={}))[Gf.Error=0]="Error",Gf[Gf.Warning=1]="Warning",Gf[Gf.Ignore=2]="Ignore";var cd=[{provide:wf,useClass:wf,deps:[ef,Vc,ce,rc,Da,Ec]},{provide:Ec,useClass:Ec,deps:[[new te,kc]]},{provide:Lc,useClass:Lc,deps:[]},Tc,{provide:Jf,useFactory:ud,deps:[]},{provide:Xf,useFactory:sd,deps:[]},{provide:od,useFactory:ld,deps:[[new ee(od),new te,new re]]}],fd=function(){return a([Gl({providers:cd}),s("design:paramtypes",[wf])],function e(t){})}();
|
|
612
644
|
/**
|
|
613
645
|
* @license
|
|
614
646
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -616,7 +648,7 @@ function Lf(){return jf}function Bf(){return Vf}function Qf(e){return e||"en-US"
|
|
|
616
648
|
* Use of this source code is governed by an MIT-style license that can be
|
|
617
649
|
* found in the LICENSE file at https://angular.io/license
|
|
618
650
|
*/
|
|
619
|
-
function
|
|
651
|
+
function dd(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 pd(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function hd(e,t){return e.nodes[t]}function vd(e,t){return e.nodes[t]}function yd(e,t){return e.nodes[t]}function gd(e,t){return e.nodes[t]}function md(e,t){return e.nodes[t]}var _d=function _d(){},wd={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};
|
|
620
652
|
/**
|
|
621
653
|
* @license
|
|
622
654
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -624,28 +656,28 @@ function Zf(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.init
|
|
|
624
656
|
* Use of this source code is governed by an MIT-style license that can be
|
|
625
657
|
* found in the LICENSE file at https://angular.io/license
|
|
626
658
|
*/
|
|
627
|
-
function
|
|
659
|
+
function bd(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 Cd(n,t),n}(o,e)}function Cd(e,t){e[$l]=t,e[Xl]=t.logError.bind(t)}function xd(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
628
660
|
/**
|
|
629
661
|
* @license
|
|
630
662
|
* Copyright Google Inc. All Rights Reserved.
|
|
631
663
|
*
|
|
632
664
|
* Use of this source code is governed by an MIT-style license that can be
|
|
633
665
|
* found in the LICENSE file at https://angular.io/license
|
|
634
|
-
*/var
|
|
666
|
+
*/var Id=function(){},kd=new Map;function Ed(e){var t=kd.get(e);return t||(t=$(e)+"_"+kd.size,kd.set(e,t)),t}var Pd=0;function Od(e,t,n,r){return!(!(2&e.state)&&Y(e.oldValues[t.bindingIndex+n],r))}function Td(e,t,n,r){return!!Od(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Rd(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!bt(o,r)){var i=t.bindings[n].name;throw bd(wd.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Nd(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Dd(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Ad(e,t,n,r){try{return Nd(33554432&e.def.nodes[t].flags?vd(e,t).componentView:e),wd.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function jd(e){return e.parent?vd(e.parent,e.parentNodeDef.nodeIndex):null}function Vd(e){return e.parent?e.parentNodeDef.parent:null}function Sd(e,t){switch(201347067&t.flags){case 1:return vd(e,t.nodeIndex).renderElement;case 2:return hd(e,t.nodeIndex).renderText}}function Md(e,t){return e?e+":"+t:t}function Fd(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Hd(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Ld(e){return 1<<e%32}function Bd(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|=Ld(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Qd(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,ie,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Ed(r)}})}function Ud(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?vd(t,r.renderParent.nodeIndex).renderElement:void 0:n}var zd=new WeakMap;function Zd(e){var t=zd.get(e);return t||((t=e(function(){return Id})).factory=e,zd.set(e,t)),t}function qd(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Sd(e,e.def.lastRenderRootNode))),Kd(e,t,0,e.def.nodes.length-1,n,r,o)}function Kd(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&Wd(e,s,t,o,i,a),u+=s.childCount}}function Gd(e,t,n,r,o,i){for(var a=e;a&&!Fd(a);)a=a.parent;for(var u=a.parent,s=Vd(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&Wd(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++)Yd(e,d[c],n,r,o,i)}}function Wd(e,t,n,r,o,i){if(8&t.flags)Gd(e,t.ngContent.index,n,r,o,i);else{var a=Sd(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Yd(e,a,n,r,o,i),32&t.bindingFlags&&Yd(vd(e,t.nodeIndex).componentView,a,n,r,o,i)):Yd(e,a,n,r,o,i),16777216&t.flags)for(var u=vd(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)qd(u[s],n,r,o,i);1&t.flags&&!t.element.name&&Kd(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function Yd(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 $d=/^:([^:]+):(.+)$/;function Jd(e){if(":"===e[0]){var t=e.match($d);return[t[1],t[2]]}return["",e]}function Xd(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function ep(e){return null!=e?e.toString():""}function tp(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=Ud(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 np(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=rp(e,n.nodeIndex,Md(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 rp(e,t,n){return function(r){return Ad(e,t,n,r)}}function op(t,n,r,o){if(!Td(t,n,r,o))return!1;var i=n.bindings[r],a=vd(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)}
|
|
635
667
|
/**
|
|
636
668
|
* @license
|
|
637
669
|
* Copyright Google Inc. All Rights Reserved.
|
|
638
670
|
*
|
|
639
671
|
* Use of this source code is governed by an MIT-style license that can be
|
|
640
672
|
* found in the LICENSE file at https://angular.io/license
|
|
641
|
-
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var
|
|
673
|
+
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var ip=new Object,ap=Ed(ce),up=Ed(se),sp=Ed(Va);function lp(e,t,n){void 0===n&&(n=ce.THROW_IF_NOT_FOUND);var r=Ie(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 ap:case up:case sp: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]=cp(e,a)),u===ip?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]=ip,e._providers[l]=cp(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(r)}}function cp(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(lp(e,n[0]));case 2:return new t(lp(e,n[0]),lp(e,n[1]));case 3:return new t(lp(e,n[0]),lp(e,n[1]),lp(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=lp(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(lp(e,n[0]));case 2:return t(lp(e,n[0]),lp(e,n[1]));case 3:return t(lp(e,n[0]),lp(e,n[1]),lp(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=lp(e,n[i]);return t.apply(void 0,f(o))}}(e,t.value,t.deps);break;case 2048:n=lp(e,t.deps[0]);break;case 256:n=t.value}return n===ip||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?ip:n}function fp(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,vp(n,t),wd.dirtyParentQueries(r),pp(r),r}function dp(e,t,n){var r=t?Sd(t,t.def.lastRenderRootNode):e.renderElement;qd(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function pp(e){qd(e,3,null,null,void 0)}function hp(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vp(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
|
|
642
674
|
/**
|
|
643
675
|
* @license
|
|
644
676
|
* Copyright Google Inc. All Rights Reserved.
|
|
645
677
|
*
|
|
646
678
|
* Use of this source code is governed by an MIT-style license that can be
|
|
647
679
|
* found in the LICENSE file at https://angular.io/license
|
|
648
|
-
*/var
|
|
680
|
+
*/var yp=new Object;function gp(e){return e.viewDefFactory}var mp=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=Zd(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=wd.createRootView(e,t||[],n,o,r,yp),u=yd(a,i).instance;return n&&a.renderer.setAttribute(vd(a,0).renderElement,"ng-version",Wl.full),new _p(a,new xp(a),u)},t}(ka),_p=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 Wa(vd(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Pp(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}(Ia);function wp(e,t,n){return new bp(e,t,n)}var bp=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 Wa(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Pp(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=Vd(e),e=e.parent;return e?new Pp(e,t):new Pp(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=fp(this._data,e);wd.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new xp(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 ja||(o=i.get(Va));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;
|
|
649
681
|
/**
|
|
650
682
|
* @license
|
|
651
683
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -653,56 +685,56 @@ function ed(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
653
685
|
* Use of this source code is governed by an MIT-style license that can be
|
|
654
686
|
* found in the LICENSE file at https://angular.io/license
|
|
655
687
|
*/
|
|
656
|
-
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,
|
|
688
|
+
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,hp(i,n,o),function a(e,t){var n=jd(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),wd.dirtyParentQueries(o),dp(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];vp(r,t),null==n&&(n=r.length),hp(r,n,o),wd.dirtyParentQueries(o),pp(o),dp(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=fp(this._data,e);t&&wd.destroyView(t)},e.prototype.detach=function(e){var t=fp(this._data,e);return t?new xp(t):null},e}();function Cp(e){return new xp(e)}var xp=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 qd(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(){Nd(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{wd.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){wd.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)),wd.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,pp(this._view),wd.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 Ip(e,t){return new kp(e,t)}var kp=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 xp(wd.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Wa(vd(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Wu);function Ep(e,t){return new Pp(e,t)}var Pp=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=ce.THROW_IF_NOT_FOUND),wd.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Ed(e)},t)},e}();function Op(e){return new Tp(e.renderer)}var Tp=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(Jd(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(Jd(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 Rp(e,t,n,r){return new Np(e,t,n,r)}var Np=function(){function e(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]=cp(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=ce.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),lp(this,{token:e,tokenKey:Ed(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Da)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+$(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!==ip){var u=a.ngOnDestroy;"function"!=typeof u||o.has(a)||(u.apply(a),o.add(a))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Dp=Ed(Ja),Ap=Ed(tu),jp=Ed(Wa),Vp=Ed(Tf),Sp=Ed(Wu),Mp=Ed(Rf),Fp=Ed(ce),Hp=Ed(se);
|
|
657
689
|
/**
|
|
658
690
|
* @license
|
|
659
691
|
* Copyright Google Inc. All Rights Reserved.
|
|
660
692
|
*
|
|
661
693
|
* Use of this source code is governed by an MIT-style license that can be
|
|
662
694
|
* found in the LICENSE file at https://angular.io/license
|
|
663
|
-
*/function
|
|
695
|
+
*/function Lp(e,t,n,r,o,i,a,u,s){var l=Bd(n),c=l.matchedQueries,f=l.references,d=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=X(i);var p=Qd(a,$(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:Xd(u),outputs:s,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function Bp(e,t){return Zp(e,t)}function Qp(e,t){for(var n=e;n.parent&&!Fd(n);)n=n.parent;return qp(n.parent,Vd(n),!0,t.provider.value,t.provider.deps)}function Up(e,t){var n=qp(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(!Ic(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(zp(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function zp(e,t,n){return function(r){return Ad(e,t,n,r)}}function Zp(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return qp(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(Wp(e,t,n,i[0]));case 2:return r(Wp(e,t,n,i[0]),Wp(e,t,n,i[1]));case 3:return r(Wp(e,t,n,i[0]),Wp(e,t,n,i[1]),Wp(e,t,n,i[2]));default:for(var u=Array(a),s=0;s<a;s++)u[s]=Wp(e,t,n,i[s]);return r.apply(void 0,f(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return Wp(e,t.parent,n,r.deps[0]);case 256:return r.value}}function qp(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Wp(e,t,n,o[0]));case 2:return new r(Wp(e,t,n,o[0]),Wp(e,t,n,o[1]));case 3:return new r(Wp(e,t,n,o[0]),Wp(e,t,n,o[1]),Wp(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Wp(e,t,n,o[u]);return new(r.bind.apply(r,f([void 0],a)))}}var Kp,Gp={};function Wp(e,t,n,r,o){if(void 0===o&&(o=ce.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Mp&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case Dp:return Op(Yp(u,t,n));case Ap:return Yp(u,t,n).renderer;case jp:return new Wa(vd(u,t.nodeIndex).renderElement);case Vp:return vd(u,t.nodeIndex).viewContainer;case Sp:if(t.element.template)return vd(u,t.nodeIndex).template;break;case Mp:return Cp(Yp(u,t,n));case Fp:case Hp:return Ep(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=yd(u,s.nodeIndex);return l||(l={instance:Zp(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Fd(u),t=Vd(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,Gp);return c!==Gp||o===Gp?c:i.root.ngModule.injector.get(r.token,o)}function Yp(e,t,n){var r;if(n)r=vd(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Fd(r);)r=r.parent;return r}function $p(e,t,n,r,o,i){if(32768&n.flags){var a=vd(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=Ct.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new xt(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function Jp(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&&eh(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=Xp(e,a,t,r)),a=a.parent}}function Xp(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&&eh(e,o,i.flags&n,r++),o+=i.childCount}return r}function eh(e,t,n,r){var o=yd(e,t);if(o){var i=o.instance;i&&(wd.setCurrentNode(e,t),1048576&n&&pd(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&pd(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
|
|
664
696
|
/**
|
|
665
697
|
* @license
|
|
666
698
|
* Copyright Google Inc. All Rights Reserved.
|
|
667
699
|
*
|
|
668
700
|
* Use of this source code is governed by an MIT-style license that can be
|
|
669
701
|
* found in the LICENSE file at https://angular.io/license
|
|
670
|
-
*/function
|
|
702
|
+
*/function th(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Hd(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&&md(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&&md(e,o).setDirty(),o+=i.childCount}}function nh(e,t){var n=md(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=rh(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=yd(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=rh(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 rh(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(oh(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=vd(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(rh(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=jd(f);d&&d===s&&rh(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];rh(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function oh(e,t,n){if(null!=n)switch(n){case 1:return vd(e,t.nodeIndex).renderElement;case 0:return new Wa(vd(e,t.nodeIndex).renderElement);case 2:return vd(e,t.nodeIndex).template;case 3:return vd(e,t.nodeIndex).viewContainer;case 4:return yd(e,t.nodeIndex).instance}}
|
|
671
703
|
/**
|
|
672
704
|
* @license
|
|
673
705
|
* Copyright Google Inc. All Rights Reserved.
|
|
674
706
|
*
|
|
675
707
|
* Use of this source code is governed by an MIT-style license that can be
|
|
676
708
|
* found in the LICENSE file at https://angular.io/license
|
|
677
|
-
*/function
|
|
709
|
+
*/function ih(e,t,n){var r=Ud(e,t,n);r&&Gd(e,n.ngContent.index,1,r,null,void 0)}
|
|
678
710
|
/**
|
|
679
711
|
* @license
|
|
680
712
|
* Copyright Google Inc. All Rights Reserved.
|
|
681
713
|
*
|
|
682
714
|
* Use of this source code is governed by an MIT-style license that can be
|
|
683
715
|
* found in the LICENSE file at https://angular.io/license
|
|
684
|
-
*/function
|
|
716
|
+
*/function ah(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:Xd(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function uh(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=Ud(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function sh(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
685
717
|
/**
|
|
686
718
|
* @license
|
|
687
719
|
* Copyright Google Inc. All Rights Reserved.
|
|
688
720
|
*
|
|
689
721
|
* Use of this source code is governed by an MIT-style license that can be
|
|
690
722
|
* found in the LICENSE file at https://angular.io/license
|
|
691
|
-
*/function
|
|
723
|
+
*/function lh(e){return 0!=(1&e.flags)&&null===e.element.name}function ch(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 fh(e,t,n,r){var o=hh(e.root,e.renderer,e,t,n);return vh(o,e.component,r),yh(o),o}function dh(e,t,n){var r=hh(e,e.renderer,null,null,t);return vh(r,n,n),yh(r),r}function ph(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,hh(e.root,o,e,t.element.componentProvider,n)}function hh(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 vh(e,t,n){e.component=t,e.context=n}function yh(e){var t;Fd(e)&&(t=vd(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];wd.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=tp(e,t,i),s=void 0;if(33554432&i.flags){var l=Zd(i.element.componentView);s=wd.createComponentView(e,i,l,u)}np(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Ip(e,i):void 0},16777216&i.flags&&(a.viewContainer=wp(e,i,a));break;case 2:a=uh(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Bp(e,i)});break;case 16:a={instance:Qp(e,i)};break;case 16384:(a=r[o])||(a={instance:Up(e,i)}),32768&i.flags&&vh(vd(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 If;break;case 8:ih(e,t,i),a=void 0}r[o]=a}Ih(e,Kp.CreateViewNodes),Oh(e,201326592,268435456,0)}function gh(e){wh(e),wd.updateDirectives(e,1),kh(e,Kp.CheckNoChanges),wd.updateRenderer(e,1),Ih(e,Kp.CheckNoChanges),e.state&=-97}function mh(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,dd(e,0,256),wh(e),wd.updateDirectives(e,0),kh(e,Kp.CheckAndUpdate),Oh(e,67108864,536870912,0);var t=dd(e,256,512);Jp(e,2097152|(t?1048576:0)),wd.updateRenderer(e,0),Ih(e,Kp.CheckAndUpdate),Oh(e,134217728,536870912,0),Jp(e,8388608|((t=dd(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,dd(e,768,1024)}function _h(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&&op(e,t,0,n)&&(p=!0),d>1&&op(e,t,1,r)&&(p=!0),d>2&&op(e,t,2,o)&&(p=!0),d>3&&op(e,t,3,i)&&(p=!0),d>4&&op(e,t,4,a)&&(p=!0),d>5&&op(e,t,5,u)&&(p=!0),d>6&&op(e,t,6,s)&&(p=!0),d>7&&op(e,t,7,l)&&(p=!0),d>8&&op(e,t,8,c)&&(p=!0),d>9&&op(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&&Td(e,t,0,n)&&(d=!0),h>1&&Td(e,t,1,r)&&(d=!0),h>2&&Td(e,t,2,o)&&(d=!0),h>3&&Td(e,t,3,i)&&(d=!0),h>4&&Td(e,t,4,a)&&(d=!0),h>5&&Td(e,t,5,u)&&(d=!0),h>6&&Td(e,t,6,s)&&(d=!0),h>7&&Td(e,t,7,l)&&(d=!0),h>8&&Td(e,t,8,c)&&(d=!0),h>9&&Td(e,t,9,f)&&(d=!0),d){var v=t.text.prefix;h>0&&(v+=sh(n,p[0])),h>1&&(v+=sh(r,p[1])),h>2&&(v+=sh(o,p[2])),h>3&&(v+=sh(i,p[3])),h>4&&(v+=sh(a,p[4])),h>5&&(v+=sh(u,p[5])),h>6&&(v+=sh(s,p[6])),h>7&&(v+=sh(l,p[7])),h>8&&(v+=sh(c,p[8])),h>9&&(v+=sh(f,p[9]));var y=hd(e,t.nodeIndex).renderText;e.renderer.setValue(y,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=yd(e,t.nodeIndex),p=d.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Od(e,t,0,n)&&(h=!0,v=$p(e,d,t,0,n,v)),y>1&&Od(e,t,1,r)&&(h=!0,v=$p(e,d,t,1,r,v)),y>2&&Od(e,t,2,o)&&(h=!0,v=$p(e,d,t,2,o,v)),y>3&&Od(e,t,3,i)&&(h=!0,v=$p(e,d,t,3,i,v)),y>4&&Od(e,t,4,a)&&(h=!0,v=$p(e,d,t,4,a,v)),y>5&&Od(e,t,5,u)&&(h=!0,v=$p(e,d,t,5,u,v)),y>6&&Od(e,t,6,s)&&(h=!0,v=$p(e,d,t,6,s,v)),y>7&&Od(e,t,7,l)&&(h=!0,v=$p(e,d,t,7,l,v)),y>8&&Od(e,t,8,c)&&(h=!0,v=$p(e,d,t,8,c,v)),y>9&&Od(e,t,9,f)&&(h=!0,v=$p(e,d,t,9,f,v)),v&&p.ngOnChanges(v),65536&t.flags&&pd(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&&Td(e,t,0,n)&&(p=!0),h>1&&Td(e,t,1,r)&&(p=!0),h>2&&Td(e,t,2,o)&&(p=!0),h>3&&Td(e,t,3,i)&&(p=!0),h>4&&Td(e,t,4,a)&&(p=!0),h>5&&Td(e,t,5,u)&&(p=!0),h>6&&Td(e,t,6,s)&&(p=!0),h>7&&Td(e,t,7,l)&&(p=!0),h>8&&Td(e,t,8,c)&&(p=!0),h>9&&Td(e,t,9,f)&&(p=!0),p){var v=gd(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(d.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=a),h>5&&(y[5]=u),h>6&&(y[6]=s),h>7&&(y[7]=l),h>8&&(y[8]=c),h>9&&(y[9]=f);break;case 64:y={},h>0&&(y[d[0].name]=n),h>1&&(y[d[1].name]=r),h>2&&(y[d[2].name]=o),h>3&&(y[d[3].name]=i),h>4&&(y[d[4].name]=a),h>5&&(y[d[5].name]=u),h>6&&(y[d[6].name]=s),h>7&&(y[d[7].name]=l),h>8&&(y[d[8].name]=c),h>9&&(y[d[9].name]=f);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,u);break;case 7:y=g.transform(r,o,i,a,u,s);break;case 8:y=g.transform(r,o,i,a,u,s,l);break;case 9:y=g.transform(r,o,i,a,u,s,l,c);break;case 10:y=g.transform(r,o,i,a,u,s,l,c,f)}}v.value=y}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++)op(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++)Td(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=sh(n[i],r[i]);a=t.text.prefix+a;var u=hd(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=yd(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Od(e,t,u,n[u])&&(i=!0,a=$p(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&pd(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++)Td(e,t,i,n[i])&&(o=!0);if(o){var a=gd(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}
|
|
692
724
|
/**
|
|
693
725
|
* @license
|
|
694
726
|
* Copyright Google Inc. All Rights Reserved.
|
|
695
727
|
*
|
|
696
728
|
* Use of this source code is governed by an MIT-style license that can be
|
|
697
729
|
* found in the LICENSE file at https://angular.io/license
|
|
698
|
-
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function
|
|
730
|
+
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function wh(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=vd(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Dd(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function bh(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&&Rd(e,t,0,n),d>1&&Rd(e,t,1,r),d>2&&Rd(e,t,2,o),d>3&&Rd(e,t,3,i),d>4&&Rd(e,t,4,a),d>5&&Rd(e,t,5,u),d>6&&Rd(e,t,6,s),d>7&&Rd(e,t,7,l),d>8&&Rd(e,t,8,c),d>9&&Rd(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++)Rd(e,t,r,n[r])}(e,t,r),!1}function Ch(e,t){if(md(e,t.nodeIndex).dirty)throw bd(wd.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function xh(e){if(!(128&e.state)){if(kh(e,Kp.Destroy),Ih(e,Kp.Destroy),Jp(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=jd(e);if(t){var n=t.template._projectedViews;n&&(vp(n,n.indexOf(e)),wd.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(vd(e,n).renderElement):2&r.flags?e.renderer.destroyNode(hd(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&md(e,n).destroy()}}(e),Fd(e)&&e.renderer.destroy(),e.state|=128}}function Ih(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?Eh(vd(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function kh(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=vd(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Eh(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Eh(e,t){var n=e.state;switch(t){case Kp.CheckNoChanges:0==(128&n)&&(12==(12&n)?gh(e):64&n&&Ph(e,Kp.CheckNoChangesProjectedViews));break;case Kp.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?gh(e):64&n&&Ph(e,t));break;case Kp.CheckAndUpdate:0==(128&n)&&(12==(12&n)?mh(e):64&n&&Ph(e,Kp.CheckAndUpdateProjectedViews));break;case Kp.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?mh(e):64&n&&Ph(e,t));break;case Kp.Destroy:xh(e);break;case Kp.CreateViewNodes:yh(e)}}function Ph(e,t){kh(e,t),Ih(e,t)}function Oh(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(wd.setCurrentNode(e,a.nodeIndex),r){case 0:nh(e,a);break;case 1:Ch(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}
|
|
699
731
|
/**
|
|
700
732
|
* @license
|
|
701
733
|
* Copyright Google Inc. All Rights Reserved.
|
|
702
734
|
*
|
|
703
735
|
* Use of this source code is governed by an MIT-style license that can be
|
|
704
736
|
* found in the LICENSE file at https://angular.io/license
|
|
705
|
-
*/!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"}(Ep||(Ep={}));var sh=!1;function lh(){if(!sh){sh=!0;var e=Yu()?function t(){return{setCurrentNode:Dh,createRootView:fh,createEmbeddedView:ph,createComponentView:hh,createNgModuleRef:vh,overrideProvider:xh,overrideComponentView:Ih,clearOverrides:kh,checkAndUpdateView:Oh,checkNoChangesView:Rh,destroyView:Th,createDebugContext:function(e,t){return new Qh(e,t)},handleEvent:Ah,updateDirectives:jh,updateRenderer:Vh}}():function n(){return{setCurrentNode:function(){},createRootView:ch,createEmbeddedView:Up,createComponentView:qp,createNgModuleRef:lp,overrideProvider:rd,overrideComponentView:rd,clearOverrides:rd,checkAndUpdateView:$p,checkNoChangesView:Yp,destroyView:nh,createDebugContext:function(e,t){return new Qh(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?Nh:Ph,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Nh:Ph,e)}}}();Xf.setCurrentNode=e.setCurrentNode,Xf.createRootView=e.createRootView,Xf.createEmbeddedView=e.createEmbeddedView,Xf.createComponentView=e.createComponentView,Xf.createNgModuleRef=e.createNgModuleRef,Xf.overrideProvider=e.overrideProvider,Xf.overrideComponentView=e.overrideComponentView,Xf.clearOverrides=e.clearOverrides,Xf.checkAndUpdateView=e.checkAndUpdateView,Xf.checkNoChangesView=e.checkNoChangesView,Xf.destroyView=e.destroyView,Xf.resolveDep=Pp,Xf.createDebugContext=e.createDebugContext,Xf.handleEvent=e.handleEvent,Xf.updateDirectives=e.updateDirectives,Xf.updateRenderer=e.updateRenderer,Xf.dirtyParentQueries=jp}}function ch(e,t,n,r,o,i){return Zp(dh(e,o,o.injector.get(Gi),t,n),r,i)}function fh(e,t,n,r,o,i){var a=o.injector.get(Gi),u=dh(e,o,new qh(a),t,n),s=Eh(r);return Uh(yh.create,Zp,null,[u,s,i])}function dh(e,t,n,r,o){var i=t.injector.get(Cs),a=t.injector.get(Sl);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function ph(e,t,n,r){var o=Eh(n);return Uh(yh.create,Up,null,[e,t,o,r])}function hh(e,t,n,r){return n=Ch.get(t.element.componentProvider.provider.token)||Eh(n),Uh(yh.create,qp,null,[e,t,n,r])}function vh(e,t,n,r){return lp(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===wh.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=wh.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){bh.forEach(function(r,o){k(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=wh.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=bd(o.deps),n.value=o.value)}if(bh.size>0){var i=new Set(e.modules);bh.forEach(function(t,n){if(i.has(k(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:bd(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[id(n)]=o}})}}(e=e.factory(function(){return rd})),e):e}(r))}var yh,gh,mh,_h,wh=new Map,bh=new Map,Ch=new Map;function xh(e){var t;wh.set(e.token,e),"function"==typeof e.token&&(t=k(e.token))&&"function"==typeof t.providedIn&&bh.set(e.token,e)}function Ih(e,t){var n=Id(Id(Yd(t)).nodes[0].element.componentView);Ch.set(e,n)}function kh(){wh.clear(),bh.clear(),Ch.clear()}function Eh(e){if(0===wh.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&&wh.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return rd});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=wh.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=bd(i.deps),o.value=i.value)}}}}function Nh(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Jp(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Yf(e,t).value:void 0}function Ph(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return eh(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Yf(e,t).value:void 0}function Oh(e){return Uh(yh.detectChanges,$p,null,[e])}function Rh(e){return Uh(yh.checkNoChanges,Yp,null,[e])}function Th(e){return Uh(yh.destroy,nh,null,[e])}function Dh(e,t){mh=e,_h=t}function Ah(e,t,n,r){return Dh(e,t),Uh(yh.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function jh(e,t){if(128&e.state)throw nd(yh[gh]);return Dh(e,Lh(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?Sh(e,u,o,i):Mh(e,u,o,i),16384&u.flags&&Dh(e,Lh(e,r)),224&u.flags?Yf(e,u.nodeIndex).value:void 0},e)}function Vh(e,t){if(128&e.state)throw nd(yh[gh]);return Dh(e,Bh(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?Sh(e,u,o,i):Mh(e,u,o,i),3&u.flags&&Dh(e,Bh(e,r)),224&u.flags?Yf(e,u.nodeIndex).value:void 0},e)}function Sh(e,t,n,r){if(Jp.apply(void 0,d([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(Fh,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=Hh(s))}var c=t.parent,f=Wf(e,c.nodeIndex).renderElement;if(c.element.name)for(var p in i)null!=(s=i[p])?e.renderer.setAttribute(f,p,s):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function Mh(e,t,n,r){eh.apply(void 0,d([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"}(yh||(yh={}));var Fh=/([A-Z])/g;function Hh(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Lh(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 Bh(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 Qh=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=hd(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Wf(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return ip(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){zh(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&&zh(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&&!gd(e);)e=e.parent;return e.parent?Wf(e.parent,hd(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?vd(this.view,this.nodeDef):vd(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,d([e],r)):rd}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,d(r)))},e}();function zh(e,t,n){for(var r in t.references)n[r]=Mp(e,t,t.references[r])}function Uh(e,t,n,r){var o=gh,i=mh,a=_h;try{gh=e;var u=t.apply(n,r);return mh=i,_h=a,gh=o,u}catch(e){if(function s(e){return!!Al(e)}(e)||!mh)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),td(e,t),e}(e,Zh())}}function Zh(){return mh?new Qh(mh,_h):null}var qh=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Kh(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}(),Kh=function(){function e(e){this.delegate=e,this.debugContextFactory=Zh,this.data=this.delegate.data}return Object.defineProperty(e.prototype,"debugContext",{get:function(){return this.debugContextFactory()},enumerable:!0,configurable:!0}),e.prototype.destroyNode=function(e){!function t(e){gf.delete(e.nativeNode)}(mf(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.debugContext;if(r){var o=new hf(n,null,r);o.name=e,_f(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.debugContext;return n&&_f(new pf(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.debugContext;return n&&_f(new pf(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=mf(e),r=mf(t);n&&r&&n instanceof hf&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=mf(e),o=mf(t),i=mf(n);r&&o&&r instanceof hf&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=mf(e),r=mf(t);n&&r&&n instanceof hf&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=Zh();return r&&_f(new hf(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=mf(e);o&&o instanceof hf&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=mf(e);r&&r instanceof hf&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=mf(e);n&&n instanceof hf&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=mf(e);n&&n instanceof hf&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=mf(e);o&&o instanceof hf&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=mf(e);r&&r instanceof hf&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=mf(e);r&&r instanceof hf&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=mf(e);r&&r.listeners.push(new df(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}(),Wh=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 i(t,e),t.prototype.create=function(e){lh();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}}(Id(this._ngModuleDefFactory));return Xf.createNgModuleRef(this.moduleType,e||fe.NULL,this._bootstrapComponents,t)},t}(Ra),Gh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.createRenderer=function(t,n){var r=e.prototype.createRenderer.call(this,t,n);return r.debugContextFactory=function(){return new Yh(Dr())},r},t}(qh),Yh=function(){function e(e){this.viewData=e,this.nodeIndex=e?e.length:null}return Object.defineProperty(e.prototype,"view",{get:function(){return this.viewData},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return null!==this.nodeIndex?new ha(this.view[nt].data[this.nodeIndex],this.view):fe.NULL},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(null===this.nodeIndex)return null;var e=this.view[nt].components;return e&&-1==e.indexOf(this.nodeIndex)?null:this.view[this.nodeIndex].data[ct]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=this.view[nt].data;if(null===this.nodeIndex||null==e)return[];var t=this.view[nt].data[this.nodeIndex],n=t>>15;return e.slice(n,n+(4095&t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){throw new Error("Not implemented yet in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return null===this.nodeIndex?null:this.view[this.nodeIndex].view[ct]},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,d(t))},e}(),$h=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||t.play()}this._players.length=0},e.prototype.queuePlayer=function(e){this._players.push(e)},e}();
|
|
737
|
+
*/!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"}(Kp||(Kp={}));var Th=!1;function Rh(){if(!Th){Th=!0;var e=ys()?function t(){return{setCurrentNode:Xh,createRootView:Dh,createEmbeddedView:jh,createComponentView:Vh,createNgModuleRef:Sh,overrideProvider:zh,overrideComponentView:Zh,clearOverrides:qh,checkAndUpdateView:Yh,checkNoChangesView:$h,destroyView:Jh,createDebugContext:function(e,t){return new lv(e,t)},handleEvent:ev,updateDirectives:tv,updateRenderer:nv}}():function n(){return{setCurrentNode:function(){},createRootView:Nh,createEmbeddedView:fh,createComponentView:ph,createNgModuleRef:Rp,overrideProvider:Id,overrideComponentView:Id,clearOverrides:Id,checkAndUpdateView:mh,checkNoChangesView:gh,destroyView:xh,createDebugContext:function(e,t){return new lv(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?Gh:Wh,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Gh:Wh,e)}}}();wd.setCurrentNode=e.setCurrentNode,wd.createRootView=e.createRootView,wd.createEmbeddedView=e.createEmbeddedView,wd.createComponentView=e.createComponentView,wd.createNgModuleRef=e.createNgModuleRef,wd.overrideProvider=e.overrideProvider,wd.overrideComponentView=e.overrideComponentView,wd.clearOverrides=e.clearOverrides,wd.checkAndUpdateView=e.checkAndUpdateView,wd.checkNoChangesView=e.checkNoChangesView,wd.destroyView=e.destroyView,wd.resolveDep=Wp,wd.createDebugContext=e.createDebugContext,wd.handleEvent=e.handleEvent,wd.updateDirectives=e.updateDirectives,wd.updateRenderer=e.updateRenderer,wd.dirtyParentQueries=th}}function Nh(e,t,n,r,o,i){return dh(Ah(e,o,o.injector.get(eu),t,n),r,i)}function Dh(e,t,n,r,o,i){var a=o.injector.get(eu),u=Ah(e,o,new pv(a),t,n),s=Kh(r);return fv(Mh.create,dh,null,[u,s,i])}function Ah(e,t,n,r,o){var i=t.injector.get(Qs),a=t.injector.get(rc);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function jh(e,t,n,r){var o=Kh(n);return fv(Mh.create,fh,null,[e,t,o,r])}function Vh(e,t,n,r){return n=Uh.get(t.element.componentProvider.provider.token)||Kh(n),fv(Mh.create,ph,null,[e,t,n,r])}function Sh(e,t,n,r){return Rp(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Bh.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Bh.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Qh.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=Bh.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Qd(o.deps),n.value=o.value)}if(Qh.size>0){var i=new Set(e.modules);Qh.forEach(function(t,n){if(i.has(I(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Qd(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Ed(n)]=o}})}}(e=e.factory(function(){return Id})),e):e}(r))}var Mh,Fh,Hh,Lh,Bh=new Map,Qh=new Map,Uh=new Map;function zh(e){var t;Bh.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Qh.set(e.token,e)}function Zh(e,t){var n=Zd(Zd(gp(t)).nodes[0].element.componentView);Uh.set(e,n)}function qh(){Bh.clear(),Qh.clear(),Uh.clear()}function Kh(e){if(0===Bh.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&&Bh.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Id});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=Bh.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Qd(i.deps),o.value=i.value)}}}}function Gh(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return _h(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?gd(e,t).value:void 0}function Wh(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return bh(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?gd(e,t).value:void 0}function Yh(e){return fv(Mh.detectChanges,mh,null,[e])}function $h(e){return fv(Mh.checkNoChanges,gh,null,[e])}function Jh(e){return fv(Mh.destroy,xh,null,[e])}function Xh(e,t){Hh=e,Lh=t}function ev(e,t,n,r){return Xh(e,t),fv(Mh.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function tv(e,t){if(128&e.state)throw xd(Mh[Fh]);return Xh(e,uv(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?rv(e,u,o,i):ov(e,u,o,i),16384&u.flags&&Xh(e,uv(e,r)),224&u.flags?gd(e,u.nodeIndex).value:void 0},e)}function nv(e,t){if(128&e.state)throw xd(Mh[Fh]);return Xh(e,sv(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?rv(e,u,o,i):ov(e,u,o,i),3&u.flags&&Xh(e,sv(e,r)),224&u.flags?gd(e,u.nodeIndex).value:void 0},e)}function rv(e,t,n,r){if(_h.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(iv,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=av(s))}var c=t.parent,d=vd(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 ov(e,t,n,r){bh.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"}(Mh||(Mh={}));var iv=/([A-Z])/g;function av(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function uv(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 sv(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 lv=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=Vd(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return vd(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Ep(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){cv(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&&cv(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&&!Fd(e);)e=e.parent;return e.parent?vd(e.parent,Vd(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?Sd(this.view,this.nodeDef):Sd(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)):Id}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function cv(e,t,n){for(var r in t.references)n[r]=oh(e,t,t.references[r])}function fv(e,t,n,r){var o=Fh,i=Hh,a=Lh;try{Fh=e;var u=t.apply(n,r);return Hh=i,Lh=a,Fh=o,u}catch(e){if(function s(e){return!!ec(e)}(e)||!Hh)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Cd(e,t),e}(e,dv())}}function dv(){return Hh?new lv(Hh,Lh):null}var pv=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new hv(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}(),hv=function(){function e(e){this.delegate=e,this.debugContextFactory=dv,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function t(e){Ff.delete(e.nativeNode)}(Hf(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 Vf(n,null,r);o.name=e,Lf(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Lf(new jf(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Lf(new jf(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Hf(e),r=Hf(t);n&&r&&n instanceof Vf&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Hf(e),o=Hf(t),i=Hf(n);r&&o&&r instanceof Vf&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Hf(e),r=Hf(t);n&&r&&n instanceof Vf&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=dv()||null;return r&&Lf(new Vf(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=Hf(e);o&&o instanceof Vf&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Hf(e);r&&r instanceof Vf&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Hf(e);n&&n instanceof Vf&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Hf(e);n&&n instanceof Vf&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Hf(e);o&&o instanceof Vf&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Hf(e);r&&r instanceof Vf&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Hf(e);r&&r instanceof Vf&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Hf(e);r&&r.listeners.push(new Af(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}(),vv=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){Rh();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}}(Zd(this._ngModuleDefFactory));return wd.createNgModuleRef(this.moduleType,e||ce.NULL,this._bootstrapComponents,t)},t}(Sa);function yv(e){var t=zt(e);if(!t)throw new Error("Invalid ng target");return t}
|
|
706
738
|
/**
|
|
707
739
|
* @license
|
|
708
740
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -710,6 +742,7 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
710
742
|
* Use of this source code is governed by an MIT-style license that can be
|
|
711
743
|
* found in the LICENSE file at https://angular.io/license
|
|
712
744
|
*/
|
|
745
|
+
var gv=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 mv(e)},r},t}(pv),mv=function(){function e(e){this._nativeNode=e}return Object.defineProperty(e.prototype,"nodeIndex",{get:function(){return yv(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return yv(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return function e(t){var n=yv(t);return new wa(n.lViewData[ot].data[n.nodeIndex],n.lViewData)}(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){
|
|
713
746
|
/**
|
|
714
747
|
* @license
|
|
715
748
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -717,6 +750,13 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
717
750
|
* Use of this source code is governed by an MIT-style license that can be
|
|
718
751
|
* found in the LICENSE file at https://angular.io/license
|
|
719
752
|
*/
|
|
753
|
+
/**
|
|
754
|
+
* @license
|
|
755
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
756
|
+
*
|
|
757
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
758
|
+
* found in the LICENSE file at https://angular.io/license
|
|
759
|
+
*/return function e(t){var n=yv(t);return 4096&n.lViewData[ot].data[n.nodeIndex].flags?St(n.nodeIndex,n.lViewData)[pt]:null}(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=yv(this._nativeNode),t=e.lViewData[ot].data[e.nodeIndex],n=4095&t.flags;if(n>0){var r=t.flags>>15;return this.view[ot].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=yv(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[ot].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?jt(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}();
|
|
720
760
|
/**
|
|
721
761
|
* @license
|
|
722
762
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -738,14 +778,13 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
738
778
|
* Use of this source code is governed by an MIT-style license that can be
|
|
739
779
|
* found in the LICENSE file at https://angular.io/license
|
|
740
780
|
*/
|
|
741
|
-
e.ɵangular_packages_core_core_l=zf,e.ɵangular_packages_core_core_i=Lf,e.ɵangular_packages_core_core_j=Bf,e.ɵangular_packages_core_core_k=Qf,e.ɵangular_packages_core_core_f=uc,e.ɵangular_packages_core_core_g=wf,e.ɵangular_packages_core_core_h=Pf,e.ɵangular_packages_core_core_c=tc,e.ɵangular_packages_core_core_d=Ul,e.ɵangular_packages_core_core_e=Gl,e.ɵangular_packages_core_core_m=Nc,e.ɵangular_packages_core_core_o=xc,e.ɵangular_packages_core_core_n=Cc,e.ɵangular_packages_core_core_r=Ec,e.ɵangular_packages_core_core_p=Ic,e.ɵangular_packages_core_core_q=kc,e.ɵangular_packages_core_core_bb=g,e.ɵangular_packages_core_core_w=Dr,e.ɵangular_packages_core_core_x=Ni,e.ɵangular_packages_core_core_v=Tr,e.ɵangular_packages_core_core_bf=Bn,e.ɵangular_packages_core_core_be=rn,e.ɵangular_packages_core_core_y=Aa,e.ɵangular_packages_core_core_z=ja,e.ɵangular_packages_core_core_ba=Va,e.ɵangular_packages_core_core_a=A,e.ɵangular_packages_core_core_b=j,e.ɵangular_packages_core_core_bc=p,e.ɵangular_packages_core_core_s=_p,e.ɵangular_packages_core_core_t=qh,e.ɵangular_packages_core_core_u=Jf,e.createPlatform=qc,e.assertPlatform=Wc,e.destroyPlatform=function Jh(){Hc&&!Hc.destroyed&&Hc.destroy()},e.getPlatform=Gc,e.PlatformRef=Yc,e.ApplicationRef=Jc,e.createPlatformFactory=Kc,e.NgProbeToken=Zc,e.enableProdMode=function Xh(){if(Gu)throw new Error("Cannot enable prod mode after platform setup.");Wu=!1},e.isDevMode=Yu,e.APP_ID=ac,e.PACKAGE_ROOT_URL=pc,e.PLATFORM_INITIALIZER=cc,e.PLATFORM_ID=fc,e.APP_BOOTSTRAP_LISTENER=dc,e.APP_INITIALIZER=oc,e.ApplicationInitStatus=ic,e.DebugElement=hf,e.DebugNode=pf,e.asNativeElements=function ev(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=mf,e.Testability=Bc,e.TestabilityRegistry=Qc,e.setTestabilityGetter=function tv(e){zc=e},e.TRANSLATIONS=Ff,e.TRANSLATIONS_FORMAT=Hf,e.LOCALE_ID=Mf,e.ApplicationModule=Uf,e.wtfCreateScope=Oc,e.wtfLeave=Rc,e.wtfStartTimeRange=Tc,e.wtfEndTimeRange=Dc,e.Type=Pe,e.EventEmitter=Pu,e.ErrorHandler=Sl,e.Sanitizer=Cs,e.ANALYZE_FOR_ENTRY_COMPONENTS=F,e.Attribute=H,e.ContentChild=B,e.ContentChildren=L,e.Query=M,e.ViewChild=z,e.ViewChildren=Q,e.Component=wl,e.Directive=_l,e.HostBinding=kl,e.HostListener=El,e.Input=xl,e.Output=Il,e.Pipe=bl,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=Nl,e.Version=ml,e.VERSION=Pl,e.defineInjectable=x,e.defineInjector=I,e.forwardRef=X,e.resolveForwardRef=ee,e.Injectable=Ol,e.inject=Ee,e.INJECTOR=le,e.Injector=fe,e.ReflectiveInjector=ec,e.createInjector=ru,e.ResolvedReflectiveFactory=Kl,e.ReflectiveKey=Bl,e.InjectionToken=N,e.Inject=te,e.Optional=ne,e.Self=re,e.SkipSelf=oe,e.Host=ie,e.NgZone=Ac,e.ɵNoopNgZone=Lc,e.RenderComponentType=Zi,e.Renderer=Ki,e.Renderer2=Yi,e.RendererFactory2=Gi,e.RootRenderer=Wi,e.COMPILER_OPTIONS=wc,e.Compiler=_c,e.CompilerFactory=bc,e.ModuleWithComponentFactories=vc,e.ComponentFactory=_a,e.ComponentRef=ma,e.ComponentFactoryResolver=Ea,e.ElementRef=Ba,e.NgModuleFactory=Ra,e.NgModuleRef=Oa,e.NgModuleFactoryLoader=ef,e.getModuleFactory=function nv(e){var t=tf.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}
|
|
742
781
|
/**
|
|
743
782
|
* @license
|
|
744
783
|
* Copyright Google Inc. All Rights Reserved.
|
|
745
784
|
*
|
|
746
785
|
* Use of this source code is governed by an MIT-style license that can be
|
|
747
786
|
* found in the LICENSE file at https://angular.io/license
|
|
748
|
-
|
|
787
|
+
*/
|
|
749
788
|
/**
|
|
750
789
|
* @license
|
|
751
790
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -753,7 +792,22 @@ e.ɵangular_packages_core_core_l=zf,e.ɵangular_packages_core_core_i=Lf,e.ɵangu
|
|
|
753
792
|
* Use of this source code is governed by an MIT-style license that can be
|
|
754
793
|
* found in the LICENSE file at https://angular.io/license
|
|
755
794
|
*/
|
|
756
|
-
|
|
795
|
+
e.ɵangular_packages_core_core_l=cd,e.ɵangular_packages_core_core_i=ud,e.ɵangular_packages_core_core_j=sd,e.ɵangular_packages_core_core_k=ld,e.ɵangular_packages_core_core_f=Oc,e.ɵangular_packages_core_core_g=Bf,e.ɵangular_packages_core_core_h=Wf,e.ɵangular_packages_core_core_c=Cc,e.ɵangular_packages_core_core_d=fc,e.ɵangular_packages_core_core_e=yc,e.ɵangular_packages_core_core_m=Gc,e.ɵangular_packages_core_core_o=zc,e.ɵangular_packages_core_core_n=Uc,e.ɵangular_packages_core_core_r=Kc,e.ɵangular_packages_core_core_p=Zc,e.ɵangular_packages_core_core_q=qc,e.ɵangular_packages_core_core_bd=y,e.ɵangular_packages_core_core_w=$r,e.ɵangular_packages_core_core_x=Li,e.ɵangular_packages_core_core_v=Yr,e.ɵangular_packages_core_core_z=Zn,e.ɵangular_packages_core_core_bg=Nt,e.ɵangular_packages_core_core_ba=Ha,e.ɵangular_packages_core_core_bb=La,e.ɵangular_packages_core_core_bc=Ba,e.ɵangular_packages_core_core_a=D,e.ɵangular_packages_core_core_b=A,e.ɵangular_packages_core_core_be=d,e.ɵangular_packages_core_core_s=Lp,e.ɵangular_packages_core_core_t=pv,e.ɵangular_packages_core_core_u=_d,e.createPlatform=hf,e.assertPlatform=yf,e.destroyPlatform=function _v(){uf&&!uf.destroyed&&uf.destroy()},e.getPlatform=gf,e.PlatformRef=mf,e.ApplicationRef=wf,e.createPlatformFactory=vf,e.NgProbeToken=pf,e.enableProdMode=function wv(){if(vs)throw new Error("Cannot enable prod mode after platform setup.");hs=!1},e.isDevMode=ys,e.APP_ID=Pc,e.PACKAGE_ROOT_URL=jc,e.PLATFORM_INITIALIZER=Nc,e.PLATFORM_ID=Dc,e.APP_BOOTSTRAP_LISTENER=Ac,e.APP_INITIALIZER=kc,e.ApplicationInitStatus=Ec,e.DebugElement=Vf,e.DebugNode=jf,e.asNativeElements=function bv(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=Hf,e.Testability=lf,e.TestabilityRegistry=cf,e.setTestabilityGetter=function Cv(e){ff=e},e.TRANSLATIONS=id,e.TRANSLATIONS_FORMAT=ad,e.LOCALE_ID=od,e.ApplicationModule=fd,e.wtfCreateScope=Yc,e.wtfLeave=$c,e.wtfStartTimeRange=Jc,e.wtfEndTimeRange=Xc,e.Type=Pe,e.EventEmitter=Gu,e.ErrorHandler=rc,e.Sanitizer=Qs,e.ANALYZE_FOR_ENTRY_COMPONENTS=M,e.Attribute=F,e.ContentChild=L,e.ContentChildren=H,e.Query=S,e.ViewChild=Q,e.ViewChildren=B,e.Component=Bl,e.Directive=Ll,e.HostBinding=ql,e.HostListener=Kl,e.Input=zl,e.Output=Zl,e.Pipe=Ql,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=Gl,e.Version=Hl,e.VERSION=Wl,e.defineInjectable=C,e.defineInjector=x,e.forwardRef=J,e.resolveForwardRef=X,e.Injectable=Yl,e.inject=ke,e.INJECTOR=se,e.Injector=ce,e.ReflectiveInjector=bc,e.createInjector=Cu,e.ResolvedReflectiveFactory=hc,e.ReflectiveKey=sc,e.InjectionToken=E,e.Inject=ee,e.Optional=te,e.Self=ne,e.SkipSelf=re,e.Host=oe,e.NgZone=ef,e.ɵNoopNgZone=sf,e.RenderComponentType=Ya,e.Renderer=Ja,e.Renderer2=tu,e.RendererFactory2=eu,e.RootRenderer=Xa,e.COMPILER_OPTIONS=Bc,e.Compiler=Lc,e.CompilerFactory=Qc,e.ModuleWithComponentFactories=Sc,e.ComponentFactory=ka,e.ComponentRef=Ia,e.ComponentFactoryResolver=Da,e.ElementRef=Wa,e.NgModuleFactory=Sa,e.NgModuleRef=Va,e.NgModuleFactoryLoader=Cf,e.getModuleFactory=function xv(e){var t=xf.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}
|
|
796
|
+
/**
|
|
797
|
+
* @license
|
|
798
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
799
|
+
*
|
|
800
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
801
|
+
* found in the LICENSE file at https://angular.io/license
|
|
802
|
+
*/,e.QueryList=If,e.SystemJsNgModuleLoader=Pf,e.SystemJsNgModuleLoaderConfig=kf,e.TemplateRef=Wu,e.ViewContainerRef=Tf,e.EmbeddedViewRef=Df,e.ViewRef=Nf,e.ChangeDetectorRef=Rf,e.DefaultIterableDiffer=Uf,e.IterableDiffers=Jf,e.KeyValueDiffers=Xf,e.SimpleChange=xt,e.WrappedValue=Ct,e.platformCore=rd,e.ɵALLOW_MULTIPLE_PLATFORMS=df,e.ɵAPP_ID_RANDOM_PROVIDER=Tc,e.ɵdefaultIterableDiffers=td,e.ɵdefaultKeyValueDiffers=nd,e.ɵdevModeEqual=bt,e.ɵisListLikeIterable=It,e.ɵisDefaultChangeDetectionStrategy=function Iv(t){return null==t||t===e.ChangeDetectionStrategy.Default},e.ɵConsole=Vc,e.ɵgetInjectableDef=I,e.ɵinject=ke,e.ɵsetCurrentInjector=Ie,e.ɵAPP_ROOT=yu,e.ɵivyEnabled=!1,e.ɵComponentFactory=ka,e.ɵCodegenComponentFactoryResolver=Aa,e.ɵresolveComponentResources=function kv(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(Fe)),t.push(o)}return o}return Se.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)})})}),Se.clear(),Promise.all(t).then(function(){return null})},e.ɵReflectionCapabilities=De,e.ɵRenderDebugInfo=$a,e.ɵ_sanitizeHtml=Ls,e.ɵ_sanitizeStyle=Zs,e.ɵ_sanitizeUrl=ws,e.ɵglobal=Z,e.ɵlooseIdentical=Y,e.ɵstringify=$,e.ɵmakeDecorator=R,e.ɵisObservable=Ic,e.ɵisPromise=xc,e.ɵclearOverrides=function Ev(){return Rh(),wd.clearOverrides()},e.ɵinitServicesIfNeeded=Rh,e.ɵoverrideComponentView=function Pv(e,t){return Rh(),wd.overrideComponentView(e,t)},e.ɵoverrideProvider=
|
|
803
|
+
/**
|
|
804
|
+
* @license
|
|
805
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
806
|
+
*
|
|
807
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
808
|
+
* found in the LICENSE file at https://angular.io/license
|
|
809
|
+
*/
|
|
810
|
+
function Ov(e){return Rh(),wd.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=Gp,e.ɵdefineBase=Ke,e.ɵdefineComponent=Qe,e.ɵdefineDirective=We,e.ɵdefinePipe=Ye,e.ɵdefineNgModule=Ze,e.ɵdetectChanges=bi,e.ɵrenderComponent=function Tv(e,t){void 0===t&&(t={});var n=t.rendererFactory||vn,r=t.sanitizer||null,o=$e(e);o.type!=e&&(o.type=e);var i=Mo(n,t.host||o.selectors[0][0]),a=o.onPush?68:66,u=$i(t.scheduler||requestAnimationFrame.bind(window),t.playerHandler||null),s=n.createRenderer(i,o),l=co(s,Vo(-1,null,1,0,null,null,null),u,a);l[ht]=t.injector||null;var c,f=io(l,null);try{n.begin&&n.begin();var d=Wi(i,o,l,s,r);c=Yi(i,d,o,l,u,t.hostFeatures||null),lo(),xi(d,c)}finally{ao(f),n.end&&n.end()}return c},e.ɵRender3ComponentFactory=uu,e.ɵRender3ComponentRef=su,e.ɵdirectiveInject=pa,e.ɵinjectAttribute=ha,e.ɵgetFactoryOf=ba,e.ɵgetInheritedFactory=Ca,e.ɵtemplateRefExtractor=cs,e.ɵPublicFeature=xa,e.ɵInheritDefinitionFeature=ea,e.ɵNgOnChangesFeature=ra,e.ɵRender3NgModuleRef=Tu,e.ɵmarkDirty=function Rv(e){mi(qt(e))},e.ɵNgModuleFactory=Ru,e.ɵNO_CHANGE=Ii,e.ɵcontainer=ai,e.ɵnextContext=go,e.ɵelementStart=ko,e.ɵnamespaceHTML=xo,e.ɵnamespaceMathML=Co,e.ɵnamespaceSVG=bo,e.ɵelement=Io,e.ɵlistener=Fo,e.ɵtext=Xo,e.ɵembeddedViewStart=ci,e.ɵquery=ss,e.ɵregisterContentQuery=qi,e.ɵprojection=yi,e.ɵbind=ki,e.ɵinterpolation1=Pi,e.ɵinterpolation2=Oi,e.ɵinterpolation3=Ti,e.ɵinterpolation4=Ri,e.ɵinterpolation5=Ni,e.ɵinterpolation6=Di,e.ɵinterpolation7=Ai,e.ɵinterpolation8=ji,e.ɵinterpolationV=Ei,e.ɵpipeBind1=Qu,e.ɵpipeBind2=Uu,e.ɵpipeBind3=zu,e.ɵpipeBind4=Zu,e.ɵpipeBindV=qu,e.ɵpureFunction0=Nu,e.ɵpureFunction1=Du,e.ɵpureFunction2=Au,e.ɵpureFunction3=ju,e.ɵpureFunction4=Vu,e.ɵpureFunction5=Su,e.ɵpureFunction6=Mu,e.ɵpureFunction7=Fu,e.ɵpureFunction8=Hu,e.ɵpureFunctionV=Lu,e.ɵgetCurrentView=Gr,e.ɵrestoreView=Wr,e.ɵcontainerRefreshStart=si,e.ɵcontainerRefreshEnd=li,e.ɵqueryRefresh=ls,e.ɵloadQueryList=Mi,e.ɵelementEnd=Bo,e.ɵelementProperty=Uo,e.ɵprojectionDef=hi,e.ɵreference=Si,e.ɵenableBindings=zo,e.ɵdisableBindings=Zo,e.ɵelementAttribute=Qo,e.ɵelementStyling=Wo,e.ɵelementStylingMap=Jo,e.ɵelementStyleProp=$o,e.ɵelementStylingApply=Yo,e.ɵelementClassProp=Go,e.ɵtextBinding=ei,e.ɵtemplate=ii,e.ɵembeddedViewEnd=fi,e.ɵstore=Vi,e.ɵload=Fi,e.ɵpipe=Bu,e.ɵwhenRendered=function Nv(e){return function t(e){return Lt(e)[pt]}(e).clean},e.ɵi18nAttribute=fu,e.ɵi18nExp=du,e.ɵi18nStart=pu,e.ɵi18nEnd=hu,e.ɵi18nApply=vu,e.ɵi18nExpMapping=function Dv(e,t){for(var n=e.split(lu),r=1;r<n.length;r+=2)n[r]=t[n[r]];return n},e.ɵi18nInterpolation1=function Av(e,t){if(!Li($r()[ft]++,t))return Ii;for(var n="",r=0;r<e.length;r++)n+=1&r?Rt(t):e[r];return n},e.ɵi18nInterpolation2=function jv(e,t,n){var r=$r(),o=Qi(r[ft],t,n);if(r[ft]+=2,!o)return Ii;for(var i="",a=0;a<e.length;a++)i+=1&a?Rt(1&e[a]?n:t):e[a];return i},e.ɵi18nInterpolation3=function Vv(e,t,n,r){var o=$r(),i=Ui(o[ft],t,n,r);if(o[ft]+=3,!i)return Ii;for(var a="",u=0;u<e.length;u++)if(1&u){var s=e[u];a+=Rt(2&s?r:1&s?n:t)}else a+=e[u];return a},e.ɵi18nInterpolation4=function Sv(e,t,n,r,o){var i=$r(),a=zi(i[ft],t,n,r,o);if(i[ft]+=4,!a)return Ii;for(var u="",s=0;s<e.length;s++)if(1&s){var l=e[s],c=1&l;u+=Rt(2&l?c?o:r:c?n:t)}else u+=e[s];return u},e.ɵi18nInterpolation5=function Mv(e,t,n,r,o,i){var a=$r(),u=zi(a[ft],t,n,r,o);if(u=Li(a[ft]+4,i)||u,a[ft]+=5,!u)return Ii;for(var s="",l=0;l<e.length;l++)if(1&l){var c=e[l],f=1&c;s+=Rt(4&c?i:2&c?f?o:r:f?n:t)}else s+=e[l];return s},e.ɵi18nInterpolation6=function Fv(e,t,n,r,o,i,a){var u=$r(),s=zi(u[ft],t,n,r,o);if(s=Qi(u[ft]+4,i,a)||s,u[ft]+=6,!s)return Ii;for(var l="",c=0;c<e.length;c++)if(1&c){var f=e[c],d=1&f;l+=Rt(4&f?d?a:i:2&f?d?o:r:d?n:t)}else l+=e[c];return l},e.ɵi18nInterpolation7=function Hv(e,t,n,r,o,i,a,u){var s=$r(),l=zi(s[ft],t,n,r,o);if(l=Ui(s[ft]+4,i,a,u)||l,s[ft]+=7,!l)return Ii;for(var c="",f=0;f<e.length;f++)if(1&f){var d=e[f],p=2&d,h=1&d;c+=Rt(4&d?p?u:h?a:i:p?h?o:r:h?n:t)}else c+=e[f];return c},e.ɵi18nInterpolation8=function Lv(e,t,n,r,o,i,a,u,s){var l=$r(),c=zi(l[ft],t,n,r,o);if(c=zi(l[ft]+4,i,a,u,s)||c,l[ft]+=8,!c)return Ii;for(var f="",d=0;d<e.length;d++)if(1&d){var p=e[d],h=2&p,v=1&p;f+=Rt(4&p?h?v?s:u:v?a:i:h?v?o:r:v?n:t)}else f+=e[d];return f},e.ɵi18nInterpolationV=function Bv(e,t){for(var n=$r(),r=!1,o=0;o<t.length;o++)Li(n[ft]++,t[o])&&(r=!0);if(!r)return Ii;var i="";for(o=0;o<e.length;o++)i+=1&o?Rt(t[e[o]]):e[o];return i},e.ɵi18nMapping=function Qv(e,t,n,r,o){var i=e.split(lu),a=new Array(r?r.length+1:1).fill(void 0);return function e(t,n,r,o,i,a,u,s){var l=[],c=[],f=0,d=0,p=i&&i[t]?i[t]:null,h=a&&a[t]?a[t]:null;for(o[t]=l;n<r.length;n++){var v=r[n];if(1&n){var y=void 0;if(p&&void 0!==p[v]){y=p[v];var g=u?u.indexOf(v):-1;-1!==g&&g+1!==t?l.push(-2147483648|y):(l.push(1073741824|y),f++),c.push(v)}else if(h&&void 0!==h[v])l.push(1610612736|(y=h[v])),c.push(v);else if(l.push(-1073741824),t>0&&0==--f)break;if(void 0!==y&&y>d&&(d=y),u){var m=u.indexOf(v)+1;0!==m&&m!==t&&(n=e(m,n,r,o,i,a,u,s))}}else v&&l.push(536870912,v)}if(i){var _=i[t];if(_)for(var w=Object.keys(_),b=0;b<w.length;b++)-1===c.indexOf(x=w[b])&&(l.push(-536870912|(I=_[x])),I>d&&(d=I))}if(a){var C=a[t];if(C)for(w=Object.keys(C),b=0;b<w.length;b++){var x,I;-1===c.indexOf(x=w[b])&&(l.push(-536870912|(I=C[x])),I>d&&(d=I))}}if(0===t&&"number"==typeof s)for(b=d+1;b<=s;b++)l.push(-1610612736|b);return n}(0,0,i,a,t,n,r,o),a},e.ɵWRAP_RENDERER_FACTORY2=au,e.ɵRender3DebugRendererFactory2=gv,e.ɵcompileNgModuleDefs=Pl,e.ɵpatchComponentDefWithScope=Ol,e.ɵcompileComponent=bl,e.ɵcompileDirective=xl,e.ɵcompilePipe=kl,e.ɵsanitizeHtml=qs,e.ɵsanitizeStyle=Ks,e.ɵsanitizeUrl=Gs,e.ɵsanitizeResourceUrl=Ws,e.ɵbypassSanitizationTrustHtml=function Uv(e){return ps(e,"Html")},e.ɵbypassSanitizationTrustStyle=function zv(e){return ps(e,"Style")},e.ɵbypassSanitizationTrustScript=function Zv(e){return ps(e,"Script")},e.ɵbypassSanitizationTrustUrl=function qv(e){return ps(e,"Url")},e.ɵbypassSanitizationTrustResourceUrl=function Kv(e){return ps(e,"ResourceUrl")},e.ɵgetContext=zt,e.ɵbindPlayerFactory=function Gv(e,t){return new Zn(e,t)},e.ɵaddPlayer=
|
|
757
811
|
/**
|
|
758
812
|
* @license
|
|
759
813
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -761,7 +815,7 @@ function uv(e){return lh(),Xf.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEM
|
|
|
761
815
|
* Use of this source code is governed by an MIT-style license that can be
|
|
762
816
|
* found in the LICENSE file at https://angular.io/license
|
|
763
817
|
*/
|
|
764
|
-
function
|
|
818
|
+
function Wv(e,t){var n=zt(e);if(n){var r=n.native,o=n.lViewData,i=function a(e,t){if(!(t=t||zt(e)))return null;var n=Gn(t.nodeIndex-rt,t.lViewData);return Yn(n)||$n(n)}(r,n),u=function s(e){return function t(e){var t;for(t=Array.isArray(e)?e:Ut(e);t&&!(64&t[it]);)t=t[at];return t}(Array.isArray(e)?e:yv(e).lViewData)[pt]}(o);Wn(i,u,r,t,0,e),_i(u,2)}},e.ɵgetPlayers=function Yv(e){var t=zt(e);if(!t)return[];var n=Gn(t.nodeIndex-rt,t.lViewData),r=n?Yn(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):[]},e.ɵcompileNgModuleFactory__POST_NGCC__=function $v(e,t,n){return Promise.resolve(new Ru(n))},e.ɵR3_COMPILE_COMPONENT__POST_NGCC__=Rl,e.ɵR3_COMPILE_DIRECTIVE__POST_NGCC__=Nl,e.ɵR3_COMPILE_INJECTABLE__POST_NGCC__=function Jv(e,t){var n=null;Object.defineProperty(e,y,{get:function(){if(null===n){var r=t||{providedIn:null},o=gl(r)||_l(r)||ml(r)||wl(r),i={name:e.name,type:e,providedIn:r.providedIn,ctorDeps:nl(e),userDeps:void 0};if((gl(r)||_l(r))&&void 0!==r.deps&&(i.userDeps=rl(r.deps)),o)if(gl(r))i.useClass=r.useClass;else if(ml(r))i.useValue=r.useValue;else if(_l(r))i.useFactory=r.useFactory;else{if(!wl(r))throw new Error("Unreachable state.");i.useExisting=r.useExisting}else i.useClass=e;n=tt().compileInjectable(Ys,"ng://"+e.name+"/ngInjectableDef.js",i)}return n}})},e.ɵR3_COMPILE_NGMODULE__POST_NGCC__=function Xv(e,t){il(e,t),function n(e,t){var n=sl(t.declarations||ol),r=ul(e);n.forEach(function(t){t.hasOwnProperty(h)?al($e(t),r):t.hasOwnProperty(v)||t.hasOwnProperty(m)||(t.ngSelectorScope=e)})}(e,t)},e.ɵR3_COMPILE_PIPE__POST_NGCC__=Dl,e.ɵivyEnable__POST_NGCC__=!0,e.ɵR3_ELEMENT_REF_FACTORY__POST_NGCC__=
|
|
765
819
|
/**
|
|
766
820
|
* @license
|
|
767
821
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -769,7 +823,14 @@ function Ov(e,t){var n=_t(e),r=Bn(n.native,n);r.push(t),t.addEventListener(200,f
|
|
|
769
823
|
* Use of this source code is governed by an MIT-style license that can be
|
|
770
824
|
* found in the LICENSE file at https://angular.io/license
|
|
771
825
|
*/
|
|
772
|
-
function
|
|
826
|
+
function ey(e){return Ha(e,Yr(),$r())},e.ɵR3_TEMPLATE_REF_FACTORY__POST_NGCC__=function ty(e,t){return La(e,t,Yr(),$r())},e.ɵR3_CHANGE_DETECTOR_REF_FACTORY__POST_NGCC__=function ny(){return Ba(Yr(),$r(),null)},e.ɵR3_VIEW_CONTAINER_REF_FACTORY__POST_NGCC__=function ry(e,t){return function n(e,t,r,i){var a;Ta||(Ta=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 Ha(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new wa(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=ca(this._hostTNode,this._hostView),t=fa(e,this._hostView),n=t[ot].data[32767&e];return-1===e?new le:new wa(n,t)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[Pt].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[Pt].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(Va,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 kn(n,this._lContainer,this._hostView,r,this._hostTNode.index),In(n,!0,Mn(r,this._lContainer[Pt],this._lContainer[Ot])),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);Pn(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1);return En(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[Pt].length+t:e},n}(e));var u=i[r.index];if(Ht(u))(a=u)[Et]=-1;else{var s=i[vt].createComment("");i[r.index]=a=oi(u,r,i,s,!0),Vn(s,r,i),gi(i,r.index,a)}return new Ta(a,r,i)}(e,t,Yr(),$r())},e.ɵR3_RENDERER2_FACTORY__POST_NGCC__=function oy(){return function e(t){var n=t[vt];if(hn(n))return n;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}($r())}
|
|
827
|
+
/**
|
|
828
|
+
* @license
|
|
829
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
830
|
+
*
|
|
831
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
832
|
+
* found in the LICENSE file at https://angular.io/license
|
|
833
|
+
*/,e.ɵregisterModuleFactory=function iy(e,t){var n=xf.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);xf.set(e,t)},e.ɵEMPTY_ARRAY=[],e.ɵEMPTY_MAP={},e.ɵand=
|
|
773
834
|
/**
|
|
774
835
|
* @license
|
|
775
836
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -777,4 +838,4 @@ function jv(e){return Aa(e,Tr(),Dr())},e.ɵR3_TEMPLATE_REF_FACTORY__POST_NGCC__=
|
|
|
777
838
|
* Use of this source code is governed by an MIT-style license that can be
|
|
778
839
|
* found in the LICENSE file at https://angular.io/license
|
|
779
840
|
*/
|
|
780
|
-
function
|
|
841
|
+
function ay(e,t,n,r,o,i){e|=1;var a=Bd(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?Zd(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Id},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function uy(e,t,n,r,o,i){return new mp(e,t,n,r,o,i)},e.ɵcmf=function sy(e,t,n){return new vv(e,t,n)},e.ɵcrt=function ly(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function cy(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 Lp(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=Id);var v=Bd(r),y=v.matchedQueries,g=v.references,m=v.matchedQueryIds,_=null,w=null;a&&(_=(h=c(Jd(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(Jd(x[1]),2),P=E[0],O=E[1],T=void 0,R=void 0;switch(15&I){case 4:R=k;break;case 1:case 8:T=k}b[C]={flags:I,ns:P,name:O,nonMinifiedName:O,securityContext:T,suffix:R}}l=l||[];var N=new Array(l.length);for(C=0;C<l.length;C++){var D=c(l[C],2);N[C]={type:0,target:D[0],eventName:D[1],propName:null}}var A=(u=u||[]).map(function(e){var t=c(e,2),n=t[1],r=c(Jd(t[0]),2);return[r[0],r[1],n]});return p=function j(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"+Pd++:"$$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:y,matchedQueryIds:m,references:g,ngContentIndex:o,childCount:i,bindings:b,bindingFlags:Xd(b),outputs:N,element:{ns:_,name:w,attrs:A,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:f||Id},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=Md,e.ɵgetComponentViewDefinitionFactory=gp,e.ɵinlineInterpolate=function dy(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y,g,m,_){switch(e){case 1:return t+ep(n)+r;case 2:return t+ep(n)+r+ep(o)+i;case 3:return t+ep(n)+r+ep(o)+i+ep(a)+u;case 4:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l;case 5:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l+ep(c)+f;case 6:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l+ep(c)+f+ep(d)+p;case 7:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l+ep(c)+f+ep(d)+p+ep(h)+v;case 8:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l+ep(c)+f+ep(d)+p+ep(h)+v+ep(y)+g;case 9:return t+ep(n)+r+ep(o)+i+ep(a)+u+ep(s)+l+ep(c)+f+ep(d)+p+ep(h)+v+ep(y)+g+ep(m)+_;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function py(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+ep(t[r+1]);return n+t[2*e]},e.ɵmod=function hy(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===yu&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Ed(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function vy(e,t,n,r){return n=X(n),{index:-1,deps:Qd(r,$(t)),flags:e,token:t,value:n}},e.ɵncd=function yy(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 gy(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=vd(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return hd(e,n.nodeIndex).renderText;if(20240&n.flags)return yd(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function my(e,t,n){return Lp(-1,e|=16,null,0,t,t,n)},e.ɵprd=function _y(e,t,n,r,o){return Lp(-1,e,t,0,n,r,o)},e.ɵpad=function wy(e,t){return ah(32,e,new Array(t))},e.ɵpod=function by(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 ah(64,e,o)},e.ɵppd=function Cy(e,t){return ah(128,e,new Array(t+1))},e.ɵqud=function xy(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:Ld(t),bindings:r},ngContent:null}},e.ɵted=function Iy(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 ky(e,t,n,r){if(Ct.isWrapped(r)){r=Ct.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=Ct.unwrap(e.oldValues[o]);e.oldValues[o]=new Ct(i)}return r},e.ɵvid=function Ey(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 y=v.element;y.publicProviders=l?l.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,f=!1,d=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(ch(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 g=0!=(32768&v.flags);0==(8192&v.flags)||g?l.element.publicProviders[Ed(v.provider.token)]=v:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Ed(v.provider.token)]=v),g&&(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,lh(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)&&lh(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Id,updateRenderer:r||Id,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})});
|