open_source_licenses.txt @vcd/sdk 15.0.10 GA ====================================================================== The following copyright statements and licenses apply to various open source software packages (or portions thereof) that are included in this VMware service. The VMware service may also include other VMware components, which may contain additional open source software packages. One or more such open_source_licenses.txt files may therefore accompany this VMware service. The VMware service that includes this file does not necessarily use all the open source software packages referred to below and may also only use portions of a given package. ==================== TABLE OF CONTENTS ==================== The following is a listing of the open source components detailed in this document. This list is provided for your convenience; please read further if you wish to review the copyright notice(s) and the full text of the license associated with each component. SECTION 1: Apache License, V2.0 >>> rxjs-7.8.0 SECTION 2: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES >>> @vcd/bindings-9.1.1 >>> tslib-2.3.0 >>> zone.js-0.12.0 >>> @ngrx/store-15.4.0 >>> @angular/animations-15.2.0 >>> @angular/common-15.2.0 >>> @angular/compiler-15.2.0 >>> @angular/core-15.2.0 >>> @angular/forms-15.2.0 >>> @angular/platform-browser-dynamic-15.2.0 >>> @angular/platform-browser-15.2.0 >>> @angular/router-15.2.0 APPENDIX. Standard License Files >>> Apache License, V2.0 -------------------- SECTION 1: Apache License, V2.0 -------------------- >>> rxjs-7.8.0 License : Apache 2.0 ADDITIONAL LICENSE INFORMATION > 0BSD package/dist/bundles/rxjs.umd.js Copyright (c) Microsoft Corporation See SECTION 10 in 'LICENSE TEXT REFERENCE TABLE' package/dist/bundles/rxjs.umd.js.map Copyright (c) Microsoft Corporation See SECTION 7 in 'LICENSE TEXT REFERENCE TABLE' package/dist/bundles/rxjs.umd.min.js (c) b.value See SECTION 4 in 'LICENSE TEXT REFERENCE TABLE' > Apache2.0 package/dist/bundles/rxjs.umd.js Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors See SECTION 9 in 'LICENSE TEXT REFERENCE TABLE' package/dist/bundles/rxjs.umd.min.js Copyright (c) Microsoft Corporation See SECTION 8 in 'LICENSE TEXT REFERENCE TABLE' package/LICENSE.txt Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors See SECTION 1 in 'LICENSE TEXT REFERENCE TABLE' -------------------- SECTION 2: BSD-STYLE, MIT-STYLE, OR SIMILAR STYLE LICENSES -------------------- >>> @vcd/bindings-9.1.1 >>> tslib-2.3.0 Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADDITIONAL LICENSE INFORMATION > 0BSD package/CopyrightNotice.txt Copyright (c) Microsoft Corporation See SECTION 6 in 'LICENSE TEXT REFERENCE TABLE' package/LICENSE.txt Copyright (c) Microsoft Corporation See SECTION 6 in 'LICENSE TEXT REFERENCE TABLE' package/tslib.d.ts Copyright (c) Microsoft Corporation See SECTION 6 in 'LICENSE TEXT REFERENCE TABLE' package/tslib.es6.js Copyright (c) Microsoft Corporation See SECTION 6 in 'LICENSE TEXT REFERENCE TABLE' package/tslib.js Copyright (c) Microsoft Corporation See SECTION 6 in 'LICENSE TEXT REFERENCE TABLE' >>> zone.js-0.12.0 License : MIT >>> @ngrx/store-15.4.0 Found in: package/schematics-core/utility/ast-utils.js Copyright Google Inc. Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license ADDITIONAL LICENSE INFORMATION > MIT package/schematics-core/utility/ast-utils.js.map Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/change.js.map Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/find-component.js Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/find-component.js.map Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/find-module.js Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/find-module.js.map Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/strings.js Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics-core/utility/strings.js.map Copyright Google Inc. See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/animations-15.2.0 > MIT package/browser/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/browser/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/browser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/animation_ast_builder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/animation_timeline_builder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/animation_transition_expr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/animation_transition_instruction.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/style_normalization/animation_style_normalizer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/dsl/style_normalization/web_animations_style_normalizer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/error_helpers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/animation_driver.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/shared.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/timeline_animation_engine.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/transition_animation_engine.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/web_animations/animatable_props_set.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/render/web_animations/dom_animation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/src/warning_helpers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/testing/src/mock_animation_driver.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/browser/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/animation_event.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/animation_metadata.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/animations.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/players/animation_group_player.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/players/animation_player.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/animations.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/animations.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 20 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/browser.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/browser.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 25 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/browser/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/browser/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 21 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/animations.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/animations.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 22 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/browser.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/browser.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 23 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/browser/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/browser/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 24 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/common-15.2.0 > MIT package/esm2020/http/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/backend.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/client.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/context.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/headers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/interceptor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/jsonp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/params.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/provider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/request.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/response.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/xhr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/src/xsrf.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/src/api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/src/backend.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/src/module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/src/provider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/http/testing/src/request.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/common.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/common_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/cookie.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_class.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_component_outlet.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_for_of.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_if.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/asserts.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/error_helper.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudflare_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudinary_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/image_loaders/image_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/image_loaders/imgix_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_optimized_image/url.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_plural.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_style.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_switch.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_template_outlet.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom_adapter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom_tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/currencies.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/format_date.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/format_number.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/locale_data_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/locale_data.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/localization.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/hash_location_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/location.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/location_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/platform_location.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/location/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/async_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/case_conversion_pipes.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/date_pipe_config.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/date_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/i18n_plural_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/i18n_select_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/invalid_pipe_argument_error.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/json_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/keyvalue_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/number_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/pipes/slice_pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform_id.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/viewport_scroller.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/xhr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/mock_location_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/provide_location_mocks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/location_shim.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/location_upgrade_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/params.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/common.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/common.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 41 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/http.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/http.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 34 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/http/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/http/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 29 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 32 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/upgrade.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/upgrade.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 43 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/common.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/common.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 40 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/http.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/http.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 33 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/http/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/http/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 30 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 31 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/upgrade.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/upgrade.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 42 in 'LICENSE TEXT REFERENCE TABLE' package/http/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/http/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/locales/af.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/af.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/af-NA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/af-NA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/agq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/agq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ak.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ak.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/am.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/am.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-AE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-AE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-BH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-BH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-DZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-DZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-EG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-EG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-EH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-EH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-IL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-IL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-IQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-IQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-JO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-JO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-KM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-KM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-KW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-KW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-LB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-LB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-LY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-LY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-MA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-MA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-OM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-OM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-PS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-PS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-QA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-QA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-SY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-TD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-TD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-TN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-TN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-YE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ar-YE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/asa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/asa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/as.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/as.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ast.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/az.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bas.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bas.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/be.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bem.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/be.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bem.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/be-tarask.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/be-tarask.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bez.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bez.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bn-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bn-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bo-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bo-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/br.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/br.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/brx.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/brx.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/bs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-AD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-AD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-ES-valencia.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-ES-valencia.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-FR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-FR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-IT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca-IT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ca.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ccp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ccp-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ccp-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ccp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ceb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ceb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ce.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ce.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cgg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cgg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/chr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/chr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ckb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ckb-IR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ckb-IR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ckb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cs.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/cy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/da.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/da-GL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/da-GL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/da.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dav.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dav.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-AT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-AT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-IT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-IT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-LI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-LI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/de.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dje.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dje.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/doi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/doi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dsb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dsb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dua.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dua.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dyo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dyo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/dz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ebu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ebu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ee.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ee.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ee-TG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ee-TG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/el-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/el-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/el.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/el.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-001.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-001.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-150.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-150.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-AU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-BZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-DM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-FM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-GY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-IO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-JE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-JE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-JM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-JM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-KY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-LS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-MY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-NZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-PW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-RW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-RW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-SZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-TZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-UG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-UG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-UM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-UM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-VU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-WS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-WS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/en-ZW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/eo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/eo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-419.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-419.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-AR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-AR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-BZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-CU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-DO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-DO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-EA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-EA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-EC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-EC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-GT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-GT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-HN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-HN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-IC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-IC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-MX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-MX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-NI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-NI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-PY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-SV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-SV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-US.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-US.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-UY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-UY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-VE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/es-VE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/et.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/et.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/eu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/eu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ewo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ewo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/af.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/af.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/af-NA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/af-NA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/agq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/agq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ak.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ak.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/am.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/am.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-AE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-AE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-BH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-BH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-DZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-DZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-EG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-EG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-EH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-EH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-IL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-IL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-IQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-IQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-JO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-JO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-KM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-KM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-KW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-KW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-LB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-LB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-LY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-LY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-MA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-MA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-OM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-OM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-PS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-PS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-QA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-QA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-SY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-TD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-TD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-TN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-TN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-YE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ar-YE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/asa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/asa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/as.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/as.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ast.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/az.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bas.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bas.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/be.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bem.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/be.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bem.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/be-tarask.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/be-tarask.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bez.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bez.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bn-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bn-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bo-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bo-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/br.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/br.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/brx.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/brx.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/bs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-AD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-AD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-ES-valencia.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-ES-valencia.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-FR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-FR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-IT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca-IT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ca.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ccp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ccp-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ccp-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ccp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ceb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ceb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ce.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ce.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cgg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cgg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/chr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/chr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ckb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ckb-IR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ckb-IR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ckb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cs.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/cy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/da.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/da-GL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/da-GL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/da.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dav.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dav.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-AT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-AT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-IT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-IT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-LI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-LI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/de.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dje.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dje.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/doi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/doi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dsb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dsb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dua.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dua.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dyo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dyo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/dz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ebu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ebu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ee.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ee.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ee-TG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ee-TG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/el-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/el-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/el.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/el.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-001.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-001.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-150.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-150.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-AU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-BZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-DM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-FM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-GY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-IO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-JE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-JE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-JM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-JM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-KY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-LS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-MY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-NZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-PW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-RW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-RW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-SZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-TZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-UG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-UG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-UM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-UM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-VU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-WS.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-WS.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/en-ZW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/eo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/eo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-419.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-419.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-AR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-AR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-BZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-CU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-DO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-DO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-EA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-EA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-EC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-EC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-GT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-GT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-HN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-HN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-IC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-IC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-MX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-MX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-NI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-NI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-PY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-SV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-SV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-US.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-US.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-UY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-UY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-VE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/es-VE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/et.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/et.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/eu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/eu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ewo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ewo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fa-AF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fa-AF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-SN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Adlm-SN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-Latn-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ff-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fil.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fil.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fo-DK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fo-DK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-BL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-DZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-DZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-HT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-HT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-KM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-KM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-ML.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-ML.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-MU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-NC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-NC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-PF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-PF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-PM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-PM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-RE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-RE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-RW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-RW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-SY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-TN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-VU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-VU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-WF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-WF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-YT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fr-YT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fur.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fur.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/fy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ga.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ga-GB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ga-GB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ga.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw-FR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw-FR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw-LI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw-LI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gsw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/guz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/guz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/gv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ha-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/haw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/haw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/he.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/he.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hi-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hi-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hr-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hr-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hsb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hsb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/hy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ia.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ia.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/id.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/id.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ig.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ig.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ii.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ii.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/is.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/is.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-SM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-SM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-VA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/it-VA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ja.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ja.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jgo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jgo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jmc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jmc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/jv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ka.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kam.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ka.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kam.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kde.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kde.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kea.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kea.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kgp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kgp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/khq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/khq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ki.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ki.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kkj.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kkj.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kln.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kln.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/km.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/km.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ko.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kok.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kok.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ko-KP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ko-KP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ko.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks-Deva.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks-Deva.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksf.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksf.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ksh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ku.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ku.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/kw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ky.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ky.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lag.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lag.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lkt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lkt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-AO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-AO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-CF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-CF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-CG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln-CG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ln.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lrc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lrc-IQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lrc-IQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lrc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/luo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/luo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/luy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/luy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/lv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mai.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mai.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mas.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mas.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mas-TZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mas-TZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mer.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mfe.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mfe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mgh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mgh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mgo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mgo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ml.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ml.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mni-Beng.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mni-Beng.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mni.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mni.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-BN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-BN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-ID.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-ID.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ms-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mua.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mua.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/my.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/my.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mzn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/mzn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/naq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/naq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nb-SJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nb-SJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nds.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nds.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nds-NL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nds-NL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ne.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ne-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ne-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ne.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-AW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-AW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-BQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-BQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-CW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-CW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-SR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-SR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-SX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nl-SX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nmg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nmg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nnh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nnh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/no.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/no.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nus.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nus.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nyn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/nyn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/om.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/om-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/om-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/om.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/or.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/or.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/os.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/os.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/os-RU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/os-RU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa-Guru.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa-Guru.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pcm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pcm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ps.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ps.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ps-PK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ps-PK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-AO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-AO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-CV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-CV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-MZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-MZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-PT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-PT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-ST.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-ST.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-TL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/pt-TL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu-BO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu-BO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu-EC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu-EC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/qu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ro.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rof.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rof.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ro-MD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ro-MD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ro.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-BY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-BY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-KG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-KG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-KZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-KZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-MD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-MD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-UA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ru-UA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rwk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rwk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/rw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sah.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sah.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/saq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/saq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sat.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sat.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sat-Olck.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sat-Olck.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sbp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sbp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd-Deva.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd-Deva.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/seh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/seh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ses.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se-SE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/se-SE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ses.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi-Tfng.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/shi-Tfng.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/si.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/si.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/smn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/smn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-ET.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-ET.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/so.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq-MK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq-MK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sq-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-ME.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-ME.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Cyrl-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-ME.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-ME.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr-Latn-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/su.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/su-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/su-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/su.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv-AX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv-AX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-CD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-CD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-UG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/sw-UG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-LK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-LK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-MY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-MY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ta-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/te.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/te.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/teo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/teo-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/teo-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/teo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/th.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/th.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ti.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ti-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ti-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ti.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/to.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/to.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tr-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tr-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/twq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/twq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tzm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/tzm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ug.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ug.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/und.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/und.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ur.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ur-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ur-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/ur.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/uz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai-Vaii.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vai-Vaii.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vun.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/vun.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/wae.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/wae.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/wo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/wo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/xh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/xh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/xog.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/xog.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yav.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yav.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yo-BJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yo-BJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl-CO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl-CO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl-VE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yrl-VE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue-Hans.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue-Hans.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue-Hant.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue-Hant.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/yue.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zgh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zgh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hans-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh-Hant-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/extra/zu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fa-AF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fa-AF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-SN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Adlm-SN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-LR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-LR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-NG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-NG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-SL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-Latn-SL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ff-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fil.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fil.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fo-DK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fo-DK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-BL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-CM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-DZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-DZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-HT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-HT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-KM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-KM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-ML.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-ML.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-MU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-NC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-NC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-PF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-PF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-PM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-PM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-RE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-RE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-RW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-RW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-SY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-TN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-VU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-VU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-WF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-WF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-YT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fr-YT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fur.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fur.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/fy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ga.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ga-GB.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ga-GB.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ga.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/af.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/af-NA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/agq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ak.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/am.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-AE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-BH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-DJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-DZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-EG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-EH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-ER.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-IL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-IQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-JO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-KM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-KW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-LB.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-LY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-MA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-MR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-OM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-PS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-QA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-SA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-SD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-SO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-SS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-SY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-TD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-TN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ar-YE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/asa.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/as.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ast.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/az-Cyrl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/az.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/az-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bas.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/be.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bem.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/be-tarask.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bez.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bm.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bn-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bo-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/br.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/brx.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bs-Cyrl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bs.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/bs-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ca-AD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ca-ES-valencia.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ca-FR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ca-IT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ca.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ccp-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ccp.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ceb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ce.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/cgg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/chr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ckb-IR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ckb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/cs.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/cy.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/da-GL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/da.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dav.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-AT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-BE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-CH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-IT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-LI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/de-LU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dje.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/doi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dsb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dua.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dyo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/dz.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ebu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ee.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ee-TG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/el-CY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/el.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-001.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-150.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-AU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BB.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-BZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CX.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-CY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-DE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-DG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-DK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-DM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-ER.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-FI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-FJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-FK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-FM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GB.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-GY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-HK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-IE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-IL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-IM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-IO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-JE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-JM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-KE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-KI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-KN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-KY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-LC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-LR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-LS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MP.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MV.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-MY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-NZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-PW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-RW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SB.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SX.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-SZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TV.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-TZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-UG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-UM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-VC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-VG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-VI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-VU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-WS.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-ZA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-ZM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/en-ZW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/eo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-419.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-AR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-BO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-BR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-BZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-CL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-CO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-CR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-CU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-DO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-EA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-EC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-GQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-GT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-HN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-IC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-MX.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-NI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-PA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-PE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-PH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-PR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-PY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-SV.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-US.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-UY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/es-VE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/et.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/eu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ewo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fa-AF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fa.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-BF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-CM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-GH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-GM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-GW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-LR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-MR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-NE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-NG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-SL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Adlm-SN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-CM.js Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-GN.js Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-BF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-CM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-GH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-GM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-GN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-GW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-LR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-MR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-NE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-NG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-Latn-SL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ff-MR.js Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fil.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fo-DK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-BE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-BF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-BI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-BJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-BL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-CM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-DJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-DZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-GA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-GF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-GN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-GP.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-GQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-HT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-KM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-LU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-ML.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-MU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-NC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-NE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-PF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-PM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-RE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-RW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-SC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-SN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-SY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-TD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-TG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-TN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-VU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-WF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fr-YT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fur.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/fy.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ga-GB.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ga.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gd.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gsw-FR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gsw.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gsw-LI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/guz.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/gv.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ha-GH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ha.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ha-NE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/haw.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/he.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hi-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hr-BA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hsb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/hy.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ia.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/id.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ig.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ii.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/is.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/it-CH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/it.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/it-SM.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/it-VA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ja.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/jgo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/jmc.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/jv.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kab.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ka.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kam.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kde.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kea.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kgp.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/khq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ki.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kkj.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kln.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/km.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ko.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kok.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ko-KP.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ks-Arab.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ksb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ks-Deva.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ksf.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ksh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ks.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ku.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/kw.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ky.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lag.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lkt.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ln-AO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ln-CF.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ln-CG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ln.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lrc-IQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lrc.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lt.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/luo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/luy.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/lv.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mai.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mas.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mas-TZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mer.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mfe.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mgh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mgo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ml.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mni-Beng.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mni.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ms-BN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ms-ID.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ms.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ms-SG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mt.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mua.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/my.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/mzn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/naq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nb.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nb-SJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nd.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nds.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nds-NL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ne-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ne.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-AW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-BE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-BQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-CW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-SR.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nl-SX.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nmg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nnh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/no.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nus.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/nyn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/om.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/om-KE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/or.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/os.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/os-RU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pa-Arab.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pa-Guru.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pa.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pcm.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ps.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ps-PK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-AO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-CH.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-CV.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-GQ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-GW.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-LU.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-MO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-MZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-PT.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-ST.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/pt-TL.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/qu-BO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/qu-EC.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/qu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/rm.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/rn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/rof.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ro.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ro-MD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru-BY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru-KG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru-KZ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru-MD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ru-UA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/rw.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/rwk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sah.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sa.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/saq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sat.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sat-Olck.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sbp.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sc.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sd-Arab.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sd-Deva.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sd.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/se-FI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/seh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/se.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/se-SE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ses.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/shi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/shi-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/shi-Tfng.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/si.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/smn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/so-DJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/so-ET.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/so.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/so-KE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sq-MK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sq-XK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Cyrl-BA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Cyrl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Cyrl-ME.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Cyrl-XK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Latn-BA.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Latn-ME.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sr-Latn-XK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/su.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/su-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sv-AX.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sv-FI.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sv.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sw-CD.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sw.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sw-KE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/sw-UG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ta.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ta-LK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ta-MY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ta-SG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/te.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/teo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/teo-KE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tg.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/th.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ti-ER.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ti.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/to.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tr-CY.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tr.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tt.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/twq.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/tzm.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ug.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/uk.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/und.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ur-IN.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/ur.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/uz-Arab.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/uz-Cyrl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/uz.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/uz-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/vai.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/vai-Latn.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/vai-Vaii.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/vi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/vun.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/wae.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/wo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/xh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/xog.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yav.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yi.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yo-BJ.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yo.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yrl-CO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yrl.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yrl-VE.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yue-Hans.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yue-Hant.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/yue.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zgh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hans-HK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hans.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hans-MO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hans-SG.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hant-HK.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hant.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh-Hant-MO.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zh.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/global/zu.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw-FR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw-FR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw-LI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw-LI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gsw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/guz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/guz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/gv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha-GH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha-GH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha-NE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ha-NE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/haw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/haw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/he.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/he.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hi-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hi-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hr-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hr-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hsb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hsb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/hy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ia.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ia.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/id.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/id.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ig.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ig.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ii.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ii.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/is.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/is.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-SM.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-SM.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-VA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/it-VA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ja.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ja.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jgo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jgo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jmc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jmc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/jv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ka.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kam.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ka.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kam.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kde.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kde.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kea.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kea.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kgp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kgp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/khq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/khq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ki.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ki.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kkj.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kkj.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kln.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kln.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/km.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/km.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ko.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kok.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kok.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ko-KP.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ko-KP.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ko.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks-Deva.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks-Deva.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksf.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksf.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ksh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ku.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ku.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/kw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ky.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ky.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lag.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lag.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lkt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lkt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-AO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-AO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-CF.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-CF.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-CG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln-CG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ln.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lrc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lrc-IQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lrc-IQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lrc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/luo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/luo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/luy.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/luy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/lv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mai.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mai.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mas.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mas.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mas-TZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mas-TZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mer.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mfe.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mfe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mgh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mgh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mgo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mgo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ml.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ml.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mni-Beng.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mni-Beng.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mni.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mni.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-BN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-BN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-ID.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-ID.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ms-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mua.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mua.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/my.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/my.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mzn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/mzn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/naq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/naq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nb.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nb-SJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nb-SJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nds.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nds.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nds-NL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nds-NL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ne.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ne-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ne-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ne.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-AW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-AW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-BE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-BE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-BQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-BQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-CW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-CW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-SR.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-SR.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-SX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nl-SX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nmg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nmg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nnh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nnh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/no.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/no.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nus.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nus.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nyn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/nyn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/om.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/om-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/om-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/om.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/or.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/or.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/os.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/os.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/os-RU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/os-RU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa-Guru.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa-Guru.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pcm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pcm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ps.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ps.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ps-PK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ps-PK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-AO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-AO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-CH.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-CH.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-CV.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-CV.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-GQ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-GQ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-GW.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-GW.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-LU.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-LU.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-MZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-MZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-PT.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-PT.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-ST.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-ST.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-TL.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/pt-TL.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu-BO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu-BO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu-EC.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu-EC.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/qu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ro.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rof.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rof.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ro-MD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ro-MD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ro.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-BY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-BY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-KG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-KG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-KZ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-KZ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-MD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-MD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-UA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ru-UA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rwk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rwk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/rw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sa.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sah.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sah.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sa.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/saq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/saq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sat.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sat.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sat-Olck.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sat-Olck.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sbp.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sbp.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sc.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sc.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd-Deva.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd-Deva.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sd.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/seh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/seh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ses.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se-SE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/se-SE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ses.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi-Tfng.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/shi-Tfng.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/si.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/si.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/smn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/smn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-DJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-DJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-ET.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-ET.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/so.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq-MK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq-MK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sq-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-ME.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-ME.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Cyrl-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-BA.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-BA.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-ME.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-ME.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-XK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr-Latn-XK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/su.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/su-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/su-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/su.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv-AX.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv-AX.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv-FI.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv-FI.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sv.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-CD.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-CD.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-UG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/sw-UG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-LK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-LK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-MY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-MY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ta-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/te.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/te.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/teo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/teo-KE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/teo-KE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/teo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tg.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tg.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/th.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/th.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ti.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ti-ER.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ti-ER.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ti.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/to.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/to.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tr-CY.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tr-CY.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tr.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tt.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tt.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/twq.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/twq.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tzm.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/tzm.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ug.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ug.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uk.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uk.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/und.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/und.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ur.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ur-IN.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ur-IN.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/ur.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Arab.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Arab.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Cyrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Cyrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/uz.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai-Latn.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai-Latn.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai-Vaii.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vai-Vaii.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vun.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/vun.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/wae.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/wae.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/wo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/wo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/xh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/xh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/xog.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/xog.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yav.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yav.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yi.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yi.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yo-BJ.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yo-BJ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yo.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yo.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl-CO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl-CO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl-VE.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yrl-VE.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue-Hans.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue-Hans.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue-Hant.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue-Hant.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/yue.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zgh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zgh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-SG.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hans-SG.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant-HK.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant-HK.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant-MO.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh-Hant-MO.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zh.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zu.d.ts Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/locales/zu.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/upgrade/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/compiler-15.2.0 > MIT package/esm2020/compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/assertions.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/chars.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler_facade_interface.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler_util/expression_converter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/config.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/constant_pool.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/core.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/expression_parser/ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/expression_parser/lexer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/expression_parser/parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/big_integer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/digest.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/extractor_merger.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/i18n_ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/i18n_html_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/i18n_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/message_bundle.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/parse_util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/placeholder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/serializer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/xliff2.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/xliff.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/xmb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/xml_helper.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/serializers/xtb.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/translation_bundle.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/injectable_compiler_2.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/jit_compiler_facade.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/entities.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/html_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/html_tags.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/html_whitespaces.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/icu_ast_expander.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/interpolation_config.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/lexer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/tags.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/xml_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/ml_parser/xml_tags.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/abstract_emitter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/abstract_js_emitter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/map_util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/output_ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/output_jit.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/output_jit_trusted_types.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/output/source_map.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/parse_util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/class_metadata.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/component.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/factory.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/injectable.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/ng_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/partial/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_ast.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_class_metadata_compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_identifiers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_injector_compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_jit.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_module_compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_pipe_compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/r3_template_transform.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/i18n/context.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/i18n/icu_serializer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/i18n/meta.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/i18n/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/style_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/t2_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/t2_binder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/template.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/resource_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/schema/dom_element_schema_registry.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/schema/dom_security_schema.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/schema/element_schema_registry.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/schema/trusted_types_sinks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/selector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/shadow_css.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/style_url_resolver.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/template_parser/binding_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/template_parser/template_preparser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/compiler.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/compiler.mjs.map Copyright Google LLC See SECTION 11 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 15 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/compiler.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/compiler.mjs.map Copyright Google LLC See SECTION 11 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 15 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/core-15.2.0 > MIT package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/application_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/application_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/application_tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/change_detection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/change_detector_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/constants.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/differs/default_iterable_differ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/differs/default_keyvalue_differ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/differs/iterable_differs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/differs/keyvalue_differs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/change_detection/pipe_transform.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler/compiler_facade_interface.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler/compiler_facade.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/console.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/core.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/core_private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/core_render3_private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/debug/debug_node.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/create_injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/forward_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/initializer_token.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injectable.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injection_token.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injector_compatibility.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injector_marker.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/injector_token.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/inject_switch.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/interface/defs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/interface/injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/interface/provider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/internal_tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/jit/environment.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/jit/injectable.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/jit/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/metadata_attr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/metadata.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/null_injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/provider_collection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/provider_token.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/r3_injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/reflective_errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/reflective_injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/reflective_key.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/reflective_provider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/di/scope.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/error_details_base_url.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/error_handler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/event_emitter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/locale_data_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/locale_en.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/localization.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/i18n/tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/interface/simple_change.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/interface/type.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/compiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/component_factory.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/component_factory_resolver.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/element_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/ng_module_factory_loader_impl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/ng_module_factory_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/ng_module_factory.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/ng_module_registration.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/query_list.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/template_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/view_container_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/linker/view_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/di.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/directives.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/do_boostrap.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/ng_module_def.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/ng_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/resource_loading.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/schema.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/metadata/view.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform_core_providers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/r3_symbols.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/reflection/platform_reflection_capabilities.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/reflection/reflection_capabilities.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/assert.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/bindings.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/collect_native_nodes.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/component.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/component_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/context_discovery.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/definition_factory.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/definition.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/di.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/di_setup.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/errors_di.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/features/copy_definition_feature.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/features/host_directives_feature.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/features/inherit_definition_feature.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/features/ng_onchanges_feature.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/features/standalone_feature.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/fields.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/global_utils_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/hooks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_apply.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_debug.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_insert_before_index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_locale_id.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_parse.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_postprocess.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_tree_shaking.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/i18n/i18n_util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/advance.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/all.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/attribute.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/change_detection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/class_map_interpolation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/di_attr.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/di.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/element_container.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/element.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/element_validation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/host_property.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/i18n_icu_container_visitor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/i18n.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/interpolation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/listener.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/namespace.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/next_context.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/projection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/property.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/shared.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/storage.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/style_map_interpolation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/style_prop_interpolation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/styling.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/template.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/text_interpolation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/instructions/text.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/container.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/context.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/definition.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/document.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/i18n.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/injector.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/lview_tracking.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/projection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/public_definitions.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/query.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/renderer_dom.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/renderer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/sanitization.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/styling.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/type_checks.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/interfaces/view.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/environment.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/module_patch.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/partial.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/jit/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/metadata.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/namespaces.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/ng_module_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/node_assert.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/node_manipulation_i18n.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/node_manipulation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/node_selector_matcher.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/pipe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/profiler.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/pure_function.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/query.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/state.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/styling/class_differ.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/styling/static_styling.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/styling/style_binding_list.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/styling/styling_parser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/tokens.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/change_detection_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/discovery_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/global_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/injector_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/misc_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/stringify_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/view_traversal_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/util/view_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view_engine_compatibility_prebound.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render3/view_ref.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render/api_flags.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render/api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/render.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/bypass.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/html_sanitizer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/iframe_attrs_validation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/inert_body.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/sanitization.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/sanitizer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/security.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/sanitization/url_sanitizer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/testability/testability.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/array_utils.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/assert.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/char_code.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/closure.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/coercion.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/comparison.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/decorators.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/dom.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/empty.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/global.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/is_dev_mode.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/iterable.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/lang.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/microtask.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/ng_dev_mode.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/ng_i18n_closure_mode.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/ng_jit_mode.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/ng_reflect.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/noop.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/property.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/raf.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/security/trusted_type_defs.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/security/trusted_types_bypass.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/security/trusted_types.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/stringify.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util/symbol.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/view/provider_flags.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/zone/async-stack-tagging.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/zone.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/zone/ng_zone.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/async.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/component_fixture.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/fake_async.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/logger.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/metadata_override.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/metadata_overrider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/ng_zone_mock.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/resolvers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/styling.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing_internal.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/core.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/core.mjs.map Copyright Google LLC See SECTION 11 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map Copyright Google LLC See SECTION 28 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/core.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/core.mjs.map Copyright Google LLC See SECTION 11 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map Copyright Google LLC See SECTION 28 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/migrations/relative-link-resolution/bundle.js Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/migrations/relative-link-resolution/bundle.js.map Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/migrations/router-link-with-href/bundle.js Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/migrations/router-link-with-href/bundle.js.map Copyright Google LLC See SECTION 5 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/ng-generate/standalone-migration/bundle.js Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/schematics/ng-generate/standalone-migration/bundle.js.map Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/forms-15.2.0 > MIT package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/abstract_control_directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/abstract_form_group_directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/checkbox_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/control_container.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/control_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/default_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/error_examples.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/form_interface.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_control.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_control_status.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_form.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_model_group.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_model.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/ng_no_validate_directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/number_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/radio_control_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/range_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/reactive_directives/form_control_directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/reactive_directives/form_control_name.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/reactive_directives/form_group_directive.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/reactive_directives/form_group_name.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/reactive_errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/select_control_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/select_multiple_control_value_accessor.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/shared.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/template_driven_errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/validators.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/errors.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/form_builder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/form_providers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/forms.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/model/abstract_model.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/model/form_array.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/model/form_control.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/model/form_group.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/validators.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/forms.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/forms.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 46 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/forms.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/forms.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 47 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/platform-browser-dynamic-15.2.0 > MIT package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/compiler_factory.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform-browser-dynamic.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform_core_dynamic.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform_providers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/resource_loader/resource_loader_cache.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/resource_loader/resource_loader_impl.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/metadata_overrider.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/platform_core_dynamic_testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/private_export_testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/platform-browser-dynamic.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/platform-browser-dynamic.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 39 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 14 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/platform-browser-dynamic.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/platform-browser-dynamic.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 39 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 13 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/platform-browser-15.2.0 > MIT package/animations/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/src/animation_builder.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/src/animations.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/src/module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/animations/src/providers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/browser_adapter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/generic_browser_adapter.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/meta.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/server-transition.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/testability.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/title.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/tools/browser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/tools/common_tools.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/tools/tools.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/browser/transfer_state.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/debug/by.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/debug/ng_probe.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/dom_renderer.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/events/dom_events.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/events/event_manager.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/events/hammer_gestures.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/events/key_events.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/shared_styles_host.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/dom/util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/platform-browser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/security/dom_sanitization_service.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/browser.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/browser_util.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/matchers.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/mock_platform_location_flag.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/animations.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/animations.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 18 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/platform-browser.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/platform-browser.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 37 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 19 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/animations.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/animations.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 16 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/platform-browser.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/platform-browser.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 38 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 17 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' >>> @angular/router-15.2.0 > MIT package/esm2020/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/apply_redirects.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/components/empty_outlet.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/create_router_state.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/create_url_tree.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/create_url_tree_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/deprecated_load_children.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/router_link_active.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/router_link.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/directives/router_outlet.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/events.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/models.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/navigation_canceling_error.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/navigation_transition.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/activate_routes.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/apply_redirects.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/check_guards.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/prioritized_guard_value.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/recognize.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/resolve_data.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/operators/switch_tap.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/page_title_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/private_export.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/provide_router.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/recognize.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_config_loader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_config.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/route_reuse_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_outlet_context.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_preloader.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_scroller.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/router_state.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/shared.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/url_handling_strategy.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/url_tree.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/collection.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/config_matching.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/config.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/navigations.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/preactivation.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/tree.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/utils/type_guards.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/src/version.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/router_testing_harness.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/router_testing_module.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/testing/src/testing.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/index.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/public_api.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/esm2020/upgrade/src/upgrade.mjs Copyright Google LLC See SECTION 2 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/router.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/router.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 44 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 36 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/upgrade.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2015/upgrade.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 27 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/router.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/router.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 45 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/testing.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 35 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/upgrade.mjs (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' package/fesm2020/upgrade.mjs.map [NOTE: VMWARE, INC. ELECTS TO USE AND DISTRIBUTE THIS SUBPACKAGE UNDER THE TERMS OF THE MIT LICENSE, THE TEXT OF WHICH IS SET FORTH BELOW. THE ORIGINAL LICENSE TERMS ARE REPRODUCED BELOW ONLY AS A REFERENCE.] Copyright Google LLC See SECTION 26 in 'LICENSE TEXT REFERENCE TABLE' package/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/testing/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 3 in 'LICENSE TEXT REFERENCE TABLE' package/upgrade/index.d.ts (c) 2010-2022 Google LLC. https://angular.io See SECTION 12 in 'LICENSE TEXT REFERENCE TABLE' ==================== APPENDIX. Standard License Files ==================== -------------------- SECTION 1: Apache License, V2.0 -------------------- Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty- free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: a. You must give any other recipients of the Work or Derivative Works a copy of this License; and b. You must cause any modified files to carry prominent notices stating that You changed the files; and c. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and d. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==================== LICENSE TEXT REFERENCE TABLE ==================== -------------------- SECTION 1 -------------------- Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -------------------- SECTION 2 -------------------- Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license -------------------- SECTION 3 -------------------- https://angular.io/ * License: -------------------- SECTION 4 -------------------- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------- SECTION 5 -------------------- * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license -------------------- SECTION 6 -------------------- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------- SECTION 7 -------------------- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------- SECTION 8 -------------------- license Apache License 2.0 -------------------- SECTION 9 -------------------- the Apache License -------------------- SECTION 10 -------------------- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------- SECTION 11 -------------------- Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ -------------------- SECTION 12 -------------------- * (c) 2010-2022 Google LLC. https://angular.io/ * License: MIT -------------------- SECTION 13 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../packages/platform-browser-dynamic/testing/public_api.ts","../../../../../../packages/platform-browser-dynamic/testing/index.ts","../../../../../../packages/platform-browser-dynamic/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {DOCUMENT, ɵgetDOM as getDOM} from '@angular/common'; import {Inject, Injectable} from '@angular/core'; import {TestComponentRenderer} from '@angular/core/testing'; /** * A DOM based implementation of the TestComponentRenderer. */ @Injectable() export class DOMTestComponentRenderer extends TestComponentRenderer { constructor(@Inject(DOCUMENT) private _doc: any) { super(); } override insertRootElement(rootElId: string) { this.removeAllRootElements(); const rootElement = getDOM().getDefaultDocument().createElement('div'); rootElement.setAttribute('id', rootElId); this._doc.body.appendChild(rootElement); } override removeAllRootElements() { // TODO(juliemr): can/should this be optional? const oldRoots = this._doc.querySelectorAll('[id^=root]'); for (let i = 0; i < oldRoots.length; i++) { getDOM().remove(oldRoots[i]); } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {createPlatformFactory, PlatformRef} from '@angular/core'; import {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic'; /** * Platform for dynamic tests * * @publicApi */ export const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef = createPlatformFactory( platformCoreDynamic, 'coreDynamicTesting', [], ); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {createPlatformFactory, NgModule, PlatformRef, StaticProvider} from '@angular/core'; import {TestComponentRenderer} from '@angular/core/testing'; import {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic'; import {BrowserTestingModule} from '@angular/platform-browser/testing'; import {DOMTestComponentRenderer} from './dom_test_component_renderer'; import {platformCoreDynamicTesting} from './platform_core_dynamic_testing'; export * from './private_export_testing'; /** * @publicApi */ export const platformBrowserDynamicTesting = createPlatformFactory( platformCoreDynamicTesting, 'browserDynamicTesting', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); /** * NgModule for testing. * * @publicApi */ @NgModule({ exports: [BrowserTestingModule], providers: [ {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer}, ] }) export class BrowserDynamicTestingModule { } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["getDOM","platformCoreDynamic","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;AAYA;;AAEG;AAEG,MAAO,wBAAyB,SAAQ,qBAAqB,CAAA;AACjE,IAAA,WAAA,CAAsC,IAAS,EAAA;AAC7C,QAAA,KAAK,EAAE,CAAC;QAD4B,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAK;KAE9C;AAEQ,IAAA,iBAAiB,CAAC,QAAgB,EAAA;QACzC,IAAI,CAAC,qBAAqB,EAAE,CAAC;AAC7B,QAAA,MAAM,WAAW,GAAGA,OAAM,EAAE,CAAC,kBAAkB,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AACvE,QAAA,WAAW,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACzC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;KACzC;IAEQ,qBAAqB,GAAA;;QAE5B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAC1D,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACxCA,OAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9B,SAAA;KACF;;AAlBU,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAA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,EAAE,CAAC,oBAAoB,CAAC;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;AACrE,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 14 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../packages/platform-browser-dynamic/testing/public_api.ts","../../../../../../packages/platform-browser-dynamic/testing/index.ts","../../../../../../packages/platform-browser-dynamic/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {DOCUMENT, ɵgetDOM as getDOM} from '@angular/common'; import {Inject, Injectable} from '@angular/core'; import {TestComponentRenderer} from '@angular/core/testing'; /** * A DOM based implementation of the TestComponentRenderer. */ @Injectable() export class DOMTestComponentRenderer extends TestComponentRenderer { constructor(@Inject(DOCUMENT) private _doc: any) { super(); } override insertRootElement(rootElId: string) { this.removeAllRootElements(); const rootElement = getDOM().getDefaultDocument().createElement('div'); rootElement.setAttribute('id', rootElId); this._doc.body.appendChild(rootElement); } override removeAllRootElements() { // TODO(juliemr): can/should this be optional? const oldRoots = this._doc.querySelectorAll('[id^=root]'); for (let i = 0; i < oldRoots.length; i++) { getDOM().remove(oldRoots[i]); } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {createPlatformFactory, PlatformRef} from '@angular/core'; import {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic'; /** * Platform for dynamic tests * * @publicApi */ export const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef = createPlatformFactory( platformCoreDynamic, 'coreDynamicTesting', [], ); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {createPlatformFactory, NgModule, PlatformRef, StaticProvider} from '@angular/core'; import {TestComponentRenderer} from '@angular/core/testing'; import {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic'; import {BrowserTestingModule} from '@angular/platform-browser/testing'; import {DOMTestComponentRenderer} from './dom_test_component_renderer'; import {platformCoreDynamicTesting} from './platform_core_dynamic_testing'; export * from './private_export_testing'; /** * @publicApi */ export const platformBrowserDynamicTesting = createPlatformFactory( platformCoreDynamicTesting, 'browserDynamicTesting', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS); /** * NgModule for testing. * * @publicApi */ @NgModule({ exports: [BrowserTestingModule], providers: [ {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer}, ] }) export class BrowserDynamicTestingModule { } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["getDOM","platformCoreDynamic","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;AAYA;;AAEG;AAEG,MAAO,wBAAyB,SAAQ,qBAAqB,CAAA;AACjE,IAAA,WAAA,CAAsC,IAAS,EAAA;AAC7C,QAAA,KAAK,EAAE,CAAC;AAD4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ACnDC,4CAA2C,EAAE;AAEjD;;;;AAIG;MAOU,2BAA2B,CAAA;;mIAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA3B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAL5B,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAKnB,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,EAJ3B,SAAA,EAAA;AACT,QAAA,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;AACrE,KAAA,EAAA,OAAA,EAAA,CAHS,oBAAoB,CAAA,EAAA,CAAA,CAAA;sGAKnB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBANvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;AACrE,qBAAA;iBACF,CAAA;;;AC3BD;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 15 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/compiler/testing/src/testing.ts","../../../../../../packages/compiler/testing/public_api.ts","../../../../../../packages/compiler/testing/index.ts","../../../../../../packages/compiler/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all APIs of the compiler package. * *
*
Unstable APIs
*

* All compiler apis are currently considered experimental and private! *

*

* We expect the APIs in this package to keep on changing. Do not rely on them. *

*
*/ // TODO(alxhub): @angular/compiler/testing is unused in Ivy. A placeholder // is left here because the components repo still depends on this package // directly. It will be cleaned up at a later date. // // This export ensures this package is not empty. export const unusedExport = true; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; // This file only reexports content of the `src` folder. Keep it that way. ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;AAQA;;;;;;;;;;;;;;AAcG;AAEH;AACA;AACA;AACA;AACA;AACO,MAAM,YAAY,GAAG;;ACrB5B;AASA;;ACTA;;ACRA;;AAEG;;;;"} -------------------- SECTION 16 -------------------- {"version":3,"file":"animations.mjs","sources":["../../../../../../packages/platform-browser/animations/src/animation_builder.ts","../../../../../../packages/platform-browser/animations/src/animation_renderer.ts","../../../../../../packages/platform-browser/animations/src/providers.ts","../../../../../../packages/platform-browser/animations/src/module.ts","../../../../../../packages/platform-browser/animations/src/animations.ts","../../../../../../packages/platform-browser/animations/public_api.ts","../../../../../../packages/platform-browser/animations/index.ts","../../../../../../packages/platform-browser/animations/animations.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationBuilder, AnimationFactory, AnimationMetadata, AnimationOptions, AnimationPlayer, sequence} from '@angular/animations'; import {DOCUMENT} from '@angular/common'; import {Inject, Injectable, RendererFactory2, RendererType2, ViewEncapsulation} from '@angular/core'; import {AnimationRenderer} from './animation_renderer'; @Injectable() export class BrowserAnimationBuilder extends AnimationBuilder { private _nextAnimationId = 0; private _renderer: AnimationRenderer; constructor(rootRenderer: RendererFactory2, @Inject(DOCUMENT) doc: any) { super(); const typeData = {id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: {animation: []}} as RendererType2; this._renderer = rootRenderer.createRenderer(doc.body, typeData) as AnimationRenderer; } build(animation: AnimationMetadata|AnimationMetadata[]): AnimationFactory { const id = this._nextAnimationId.toString(); this._nextAnimationId++; const entry = Array.isArray(animation) ? sequence(animation) : animation; issueAnimationCommand(this._renderer, null, id, 'register', [entry]); return new BrowserAnimationFactory(id, this._renderer); } } export class BrowserAnimationFactory extends AnimationFactory { constructor(private _id: string, private _renderer: AnimationRenderer) { super(); } create(element: any, options?: AnimationOptions): AnimationPlayer { return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer); } } export class RendererAnimationPlayer implements AnimationPlayer { public parentPlayer: AnimationPlayer|null = null; private _started = false; constructor( public id: string, public element: any, options: AnimationOptions, private _renderer: AnimationRenderer) { this._command('create', options); } private _listen(eventName: string, callback: (event: any) => any): () => void { return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback); } private _command(command: string, ...args: any[]) { return issueAnimationCommand(this._renderer, this.element, this.id, command, args); } onDone(fn: () => void): void { this._listen('done', fn); } onStart(fn: () => void): void { this._listen('start', fn); } onDestroy(fn: () => void): void { this._listen('destroy', fn); } init(): void { this._command('init'); } hasStarted(): boolean { return this._started; } play(): void { this._command('play'); this._started = true; } pause(): void { this._command('pause'); } restart(): void { this._command('restart'); } finish(): void { this._command('finish'); } destroy(): void { this._command('destroy'); } reset(): void { this._command('reset'); this._started = false; } setPosition(p: number): void { this._command('setPosition', p); } getPosition(): number { return this._renderer.engine.players[+this.id]?.getPosition() ?? 0; } public totalTime = 0; } function issueAnimationCommand( renderer: AnimationRenderer, element: any, id: string, command: string, args: any[]): any { return renderer.setProperty(element, `@@${id}:${command}`, args); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationTriggerMetadata} from '@angular/animations'; import {ɵAnimationEngine as AnimationEngine} from '@angular/animations/browser'; import {Injectable, NgZone, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2} from '@angular/core'; const ANIMATION_PREFIX = '@'; const DISABLE_ANIMATIONS_FLAG = '@.disabled'; // Define a recursive type to allow for nested arrays of `AnimationTriggerMetadata`. Note that an // interface declaration is used as TypeScript prior to 3.7 does not support recursive type // references, see https://github.com/microsoft/TypeScript/pull/33050 for details. type NestedAnimationTriggerMetadata = AnimationTriggerMetadata|RecursiveAnimationTriggerMetadata; interface RecursiveAnimationTriggerMetadata extends Array {} @Injectable() export class AnimationRendererFactory implements RendererFactory2 { private _currentId: number = 0; private _microtaskId: number = 1; private _animationCallbacksBuffer: [(e: any) => any, any][] = []; private _rendererCache = new Map(); private _cdRecurDepth = 0; private promise: Promise = Promise.resolve(0); constructor( private delegate: RendererFactory2, private engine: AnimationEngine, private _zone: NgZone) { engine.onRemovalComplete = (element: any, delegate: Renderer2) => { // Note: if a component element has a leave animation, and a host leave animation, // the view engine will call `removeChild` for the parent // component renderer as well as for the child component renderer. // Therefore, we need to check if we already removed the element. const parentNode = delegate?.parentNode(element); if (parentNode) { delegate.removeChild(parentNode, element); } }; } createRenderer(hostElement: any, type: RendererType2): Renderer2 { const EMPTY_NAMESPACE_ID = ''; // cache the delegates to find out which cached delegate can // be used by which cached renderer const delegate = this.delegate.createRenderer(hostElement, type); if (!hostElement || !type || !type.data || !type.data['animation']) { let renderer: BaseAnimationRenderer|undefined = this._rendererCache.get(delegate); if (!renderer) { // Ensure that the renderer is removed from the cache on destroy // since it may contain references to detached DOM nodes. const onRendererDestroy = () => this._rendererCache.delete(delegate); renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy); // only cache this result when the base renderer is used this._rendererCache.set(delegate, renderer); } return renderer; } const componentId = type.id; const namespaceId = type.id + '-' + this._currentId; this._currentId++; this.engine.register(namespaceId, hostElement); const registerTrigger = (trigger: NestedAnimationTriggerMetadata) => { if (Array.isArray(trigger)) { trigger.forEach(registerTrigger); } else { this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger); } }; const animationTriggers = type.data['animation'] as NestedAnimationTriggerMetadata[]; animationTriggers.forEach(registerTrigger); return new AnimationRenderer(this, namespaceId, delegate, this.engine); } begin() { this._cdRecurDepth++; if (this.delegate.begin) { this.delegate.begin(); } } private _scheduleCountTask() { // always use promise to schedule microtask instead of use Zone this.promise.then(() => { this._microtaskId++; }); } /** @internal */ scheduleListenerCallback(count: number, fn: (e: any) => any, data: any) { if (count >= 0 && count < this._microtaskId) { this._zone.run(() => fn(data)); return; } if (this._animationCallbacksBuffer.length == 0) { Promise.resolve(null).then(() => { this._zone.run(() => { this._animationCallbacksBuffer.forEach(tuple => { const [fn, data] = tuple; fn(data); }); this._animationCallbacksBuffer = []; }); }); } this._animationCallbacksBuffer.push([fn, data]); } end() { this._cdRecurDepth--; // this is to prevent animations from running twice when an inner // component does CD when a parent component instead has inserted it if (this._cdRecurDepth == 0) { this._zone.runOutsideAngular(() => { this._scheduleCountTask(); this.engine.flush(this._microtaskId); }); } if (this.delegate.end) { this.delegate.end(); } } whenRenderingDone(): Promise { return this.engine.whenRenderingDone(); } } export class BaseAnimationRenderer implements Renderer2 { constructor( protected namespaceId: string, public delegate: Renderer2, public engine: AnimationEngine, private _onDestroy?: () => void) { this.destroyNode = this.delegate.destroyNode ? (n) => delegate.destroyNode!(n) : null; } get data() { return this.delegate.data; } destroyNode: ((n: any) => void)|null; destroy(): void { this.engine.destroy(this.namespaceId, this.delegate); this.delegate.destroy(); this._onDestroy?.(); } createElement(name: string, namespace?: string|null|undefined) { return this.delegate.createElement(name, namespace); } createComment(value: string) { return this.delegate.createComment(value); } createText(value: string) { return this.delegate.createText(value); } appendChild(parent: any, newChild: any): void { this.delegate.appendChild(parent, newChild); this.engine.onInsert(this.namespaceId, newChild, parent, false); } insertBefore(parent: any, newChild: any, refChild: any, isMove: boolean = true): void { this.delegate.insertBefore(parent, newChild, refChild); // If `isMove` true than we should animate this insert. this.engine.onInsert(this.namespaceId, newChild, parent, isMove); } removeChild(parent: any, oldChild: any, isHostElement: boolean): void { this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement); } selectRootElement(selectorOrNode: any, preserveContent?: boolean) { return this.delegate.selectRootElement(selectorOrNode, preserveContent); } parentNode(node: any) { return this.delegate.parentNode(node); } nextSibling(node: any) { return this.delegate.nextSibling(node); } setAttribute(el: any, name: string, value: string, namespace?: string|null|undefined): void { this.delegate.setAttribute(el, name, value, namespace); } removeAttribute(el: any, name: string, namespace?: string|null|undefined): void { this.delegate.removeAttribute(el, name, namespace); } addClass(el: any, name: string): void { this.delegate.addClass(el, name); } removeClass(el: any, name: string): void { this.delegate.removeClass(el, name); } setStyle(el: any, style: string, value: any, flags?: RendererStyleFlags2|undefined): void { this.delegate.setStyle(el, style, value, flags); } removeStyle(el: any, style: string, flags?: RendererStyleFlags2|undefined): void { this.delegate.removeStyle(el, style, flags); } setProperty(el: any, name: string, value: any): void { if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) { this.disableAnimations(el, !!value); } else { this.delegate.setProperty(el, name, value); } } setValue(node: any, value: string): void { this.delegate.setValue(node, value); } listen(target: any, eventName: string, callback: (event: any) => boolean | void): () => void { return this.delegate.listen(target, eventName, callback); } protected disableAnimations(element: any, value: boolean) { this.engine.disableAnimations(element, value); } } export class AnimationRenderer extends BaseAnimationRenderer implements Renderer2 { constructor( public factory: AnimationRendererFactory, namespaceId: string, delegate: Renderer2, engine: AnimationEngine, onDestroy?: () => void) { super(namespaceId, delegate, engine, onDestroy); this.namespaceId = namespaceId; } override setProperty(el: any, name: string, value: any): void { if (name.charAt(0) == ANIMATION_PREFIX) { if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) { value = value === undefined ? true : !!value; this.disableAnimations(el, value as boolean); } else { this.engine.process(this.namespaceId, el, name.slice(1), value); } } else { this.delegate.setProperty(el, name, value); } } override listen( target: 'window'|'document'|'body'|any, eventName: string, callback: (event: any) => any): () => void { if (eventName.charAt(0) == ANIMATION_PREFIX) { const element = resolveElementFromTarget(target); let name = eventName.slice(1); let phase = ''; // @listener.phase is for trigger animation callbacks // @@listener is for animation builder callbacks if (name.charAt(0) != ANIMATION_PREFIX) { [name, phase] = parseTriggerCallbackName(name); } return this.engine.listen(this.namespaceId, element, name, phase, event => { const countId = (event as any)['_data'] || -1; this.factory.scheduleListenerCallback(countId, callback, event); }); } return this.delegate.listen(target, eventName, callback); } } function resolveElementFromTarget(target: 'window'|'document'|'body'|any): any { switch (target) { case 'body': return document.body; case 'document': return document; case 'window': return window; default: return target; } } function parseTriggerCallbackName(triggerName: string) { const dotIndex = triggerName.indexOf('.'); const trigger = triggerName.substring(0, dotIndex); const phase = triggerName.slice(dotIndex + 1); return [trigger, phase]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationBuilder} from '@angular/animations'; import {AnimationDriver, ɵAnimationEngine as AnimationEngine, ɵAnimationStyleNormalizer as AnimationStyleNormalizer, ɵNoopAnimationDriver as NoopAnimationDriver, ɵWebAnimationsDriver as WebAnimationsDriver, ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer} from '@angular/animations/browser'; import {DOCUMENT} from '@angular/common'; import {ANIMATION_MODULE_TYPE, ApplicationRef, Inject, Injectable, NgZone, OnDestroy, Provider, RendererFactory2} from '@angular/core'; import {ɵDomRendererFactory2 as DomRendererFactory2} from '@angular/platform-browser'; import {BrowserAnimationBuilder} from './animation_builder'; import {AnimationRendererFactory} from './animation_renderer'; @Injectable() export class InjectableAnimationEngine extends AnimationEngine implements OnDestroy { // The `ApplicationRef` is injected here explicitly to force the dependency ordering. // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed. constructor( @Inject(DOCUMENT) doc: any, driver: AnimationDriver, normalizer: AnimationStyleNormalizer, appRef: ApplicationRef) { super(doc.body, driver, normalizer); } ngOnDestroy(): void { this.flush(); } } export function instantiateDefaultStyleNormalizer() { return new WebAnimationsStyleNormalizer(); } export function instantiateRendererFactory( renderer: DomRendererFactory2, engine: AnimationEngine, zone: NgZone) { return new AnimationRendererFactory(renderer, engine, zone); } const SHARED_ANIMATION_PROVIDERS: Provider[] = [ {provide: AnimationBuilder, useClass: BrowserAnimationBuilder}, {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer}, {provide: AnimationEngine, useClass: InjectableAnimationEngine}, { provide: RendererFactory2, useFactory: instantiateRendererFactory, deps: [DomRendererFactory2, AnimationEngine, NgZone] } ]; /** * Separate providers from the actual module so that we can do a local modification in Google3 to * include them in the BrowserModule. */ export const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [ {provide: AnimationDriver, useFactory: () => new WebAnimationsDriver()}, {provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations'}, ...SHARED_ANIMATION_PROVIDERS ]; /** * Separate providers from the actual module so that we can do a local modification in Google3 to * include them in the BrowserTestingModule. */ export const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [ {provide: AnimationDriver, useClass: NoopAnimationDriver}, {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'}, ...SHARED_ANIMATION_PROVIDERS ]; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ModuleWithProviders, NgModule, Provider} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers'; /** * Object used to configure the behavior of {@link BrowserAnimationsModule} * @publicApi */ export interface BrowserAnimationsModuleConfig { /** * Whether animations should be disabled. Passing this is identical to providing the * `NoopAnimationsModule`, but it can be controlled based on a runtime value. */ disableAnimations?: boolean; } /** * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider) * for use with animations. See [Animations](guide/animations). * @publicApi */ @NgModule({ exports: [BrowserModule], providers: BROWSER_ANIMATIONS_PROVIDERS, }) export class BrowserAnimationsModule { /** * Configures the module based on the specified object. * * @param config Object used to configure the behavior of the `BrowserAnimationsModule`. * @see `BrowserAnimationsModuleConfig` * * @usageNotes * When registering the `BrowserAnimationsModule`, you can use the `withConfig` * function as follows: * ``` * @NgModule({ * imports: [BrowserAnimationsModule.withConfig(config)] * }) * class MyNgModule {} * ``` */ static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders { return { ngModule: BrowserAnimationsModule, providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS : BROWSER_ANIMATIONS_PROVIDERS }; } } /** * Returns the set of [dependency-injection providers](guide/glossary#provider) * to enable animations in an application. See [animations guide](guide/animations) * to learn more about animations in Angular. * * @usageNotes * * The function is useful when you want to enable animations in an application * bootstrapped using the `bootstrapApplication` function. In this scenario there * is no need to import the `BrowserAnimationsModule` NgModule at all, just add * providers returned by this function to the `providers` list as show below. * * ```typescript * bootstrapApplication(RootComponent, { * providers: [ * provideAnimations() * ] * }); * ``` * * @publicApi */ export function provideAnimations(): Provider[] { // Return a copy to prevent changes to the original array in case any in-place // alterations are performed to the `provideAnimations` call results in app code. return [...BROWSER_ANIMATIONS_PROVIDERS]; } /** * A null player that must be imported to allow disabling of animations. * @publicApi */ @NgModule({ exports: [BrowserModule], providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, }) export class NoopAnimationsModule { } /** * Returns the set of [dependency-injection providers](guide/glossary#provider) * to disable animations in an application. See [animations guide](guide/animations) * to learn more about animations in Angular. * * @usageNotes * * The function is useful when you want to bootstrap an application using * the `bootstrapApplication` function, but you need to disable animations * (for example, when running tests). * * ```typescript * bootstrapApplication(RootComponent, { * providers: [ * provideNoopAnimations() * ] * }); * ``` * * @publicApi */ export function provideNoopAnimations(): Provider[] { // Return a copy to prevent changes to the original array in case any in-place // alterations are performed to the `provideNoopAnimations` call results in app code. return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation browser package. */ export {ANIMATION_MODULE_TYPE} from '@angular/core'; export {BrowserAnimationsModule, BrowserAnimationsModuleConfig, NoopAnimationsModule, provideAnimations, provideNoopAnimations} from './module'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/animations'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["AnimationEngine","WebAnimationsStyleNormalizer","AnimationStyleNormalizer","DomRendererFactory2","WebAnimationsDriver","NoopAnimationDriver"],"mappings":";;;;;;;;;;;;;;;AAcM,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;IAI3D,WAAY,CAAA,YAA8B,EAAoB,GAAQ,EAAA;AACpE,QAAA,KAAK,EAAE,CAAC;QAJF,IAAgB,CAAA,gBAAA,GAAG,CAAC,CAAC;QAK3B,MAAM,QAAQ,GACV,EAAC,EAAE,EAAE,GAAG,EAAE,aAAa,EAAE,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAC,SAAS,EAAE,EAAE,EAAC,EACrE,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AE,4BAA4B;AACxC,iBAAA,CAAA;;AA4BD;;;;;;;;;;;;;;;;;;;;;AAqBG;SACa,iBAAiB,GAAA;;;AAG/B,IAAA,OAAO,CAAC,GAAG,4BAA4B,CAAC,CAAC;AAC3C,CAAC;AAED;;;AAGG;MAKU,oBAAoB,CAAA;;4HAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHrB,aAAa,CAAA,EAAA,CAAA,CAAA;6HAGZ,oBAAoB,EAAA,SAAA,EAFpB,iCAAiC,EAAA,OAAA,EAAA,CADlC,aAAa,CAAA,EAAA,CAAA,CAAA;sGAGZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,oBAAA,SAAS,EAAE,iCAAiC;AAC7C,iBAAA,CAAA;;AAID;;;;;;;;;;;;;;;;;;;;AAoBG;SACa,qBAAqB,GAAA;;;AAGnC,IAAA,OAAO,CAAC,GAAG,iCAAiC,CAAC,CAAC;AAChD;;ACpHA;;;;AAIG;;ACJH;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 17 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-browser/testing/src/browser_util.ts","../../../../../../packages/platform-browser/testing/src/mock_platform_location_flag.ts","../../../../../../packages/platform-browser/testing/src/browser.ts","../../../../../../packages/platform-browser/testing/src/testing.ts","../../../../../../packages/platform-browser/testing/public_api.ts","../../../../../../packages/platform-browser/testing/index.ts","../../../../../../packages/platform-browser/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵgetDOM as getDOM} from '@angular/common'; import {NgZone, ɵglobal as global} from '@angular/core'; export class BrowserDetection { private _overrideUa: string|null; private get _ua(): string { if (typeof this._overrideUa === 'string') { return this._overrideUa; } return getDOM() ? getDOM().getUserAgent() : ''; } static setup() { return new BrowserDetection(null); } constructor(ua: string|null) { this._overrideUa = ua; } get isFirefox(): boolean { return this._ua.indexOf('Firefox') > -1; } get isAndroid(): boolean { return this._ua.indexOf('Mozilla/5.0') > -1 && this._ua.indexOf('Android') > -1 && this._ua.indexOf('AppleWebKit') > -1 && this._ua.indexOf('Chrome') == -1 && this._ua.indexOf('IEMobile') == -1; } get isEdge(): boolean { return this._ua.indexOf('Edge') > -1; } get isWebkit(): boolean { return this._ua.indexOf('AppleWebKit') > -1 && this._ua.indexOf('Edge') == -1 && this._ua.indexOf('IEMobile') == -1; } get isIOS7(): boolean { return (this._ua.indexOf('iPhone OS 7') > -1 || this._ua.indexOf('iPad OS 7') > -1) && this._ua.indexOf('IEMobile') == -1; } get isSlow(): boolean { return this.isAndroid || this.isIOS7; } get isChromeDesktop(): boolean { return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Mobile Safari') == -1 && this._ua.indexOf('Edge') == -1; } // \"Old Chrome\" means Chrome 3X, where there are some discrepancies in the Intl API. // Android 4.4 and 5.X have such browsers by default (respectively 30 and 39). get isOldChrome(): boolean { return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Chrome/3') > -1 && this._ua.indexOf('Edge') == -1; } get supportsShadowDom() { const testEl = document.createElement('div'); return (typeof testEl.attachShadow !== 'undefined'); } } export const browserDetection: BrowserDetection = BrowserDetection.setup(); export function dispatchEvent(element: any, eventType: any): Event { const evt: Event = getDOM().getDefaultDocument().createEvent('Event'); evt.initEvent(eventType, true, true); getDOM().dispatchEvent(element, evt); return evt; } export function createMouseEvent(eventType: string): MouseEvent { const evt: MouseEvent = getDOM().getDefaultDocument().createEvent('MouseEvent'); evt.initEvent(eventType, true, true); return evt; } export function el(html: string): HTMLElement { return getContent(createTemplate(html)).firstChild; } function getAttributeMap(element: any): Map { const res = new Map(); const elAttrs = element.attributes; for (let i = 0; i < elAttrs.length; i++) { const attrib = elAttrs.item(i); res.set(attrib.name, attrib.value); } return res; } const _selfClosingTags = ['br', 'hr', 'input']; export function stringifyElement(el: any /** TODO #9100 */): string { let result = ''; if (getDOM().isElementNode(el)) { const tagName = el.tagName.toLowerCase(); // Opening tag result += `<${tagName}`; // Attributes in an ordered way const attributeMap = getAttributeMap(el); const sortedKeys = Array.from(attributeMap.keys()).sort(); for (const key of sortedKeys) { const lowerCaseKey = key.toLowerCase(); let attValue = attributeMap.get(key); if (typeof attValue !== 'string') { result += ` ${lowerCaseKey}`; } else { // Browsers order style rules differently. Order them alphabetically for consistency. if (lowerCaseKey === 'style') { attValue = attValue.split(/; ?/).filter(s => !!s).sort().map(s => `${s};`).join(' '); } result += ` ${lowerCaseKey}=\"${attValue}\"`; } } result += '>'; // Children const childrenRoot = templateAwareRoot(el); const children = childrenRoot ? childrenRoot.childNodes : []; for (let j = 0; j < children.length; j++) { result += stringifyElement(children[j]); } // Closing tag if (_selfClosingTags.indexOf(tagName) == -1) { result += ``; } } else if (isCommentNode(el)) { result += ``; } else { result += el.textContent; } return result; } export function createNgZone(): NgZone { return new NgZone({enableLongStackTrace: true, shouldCoalesceEventChangeDetection: false}); } export function isCommentNode(node: Node): boolean { return node.nodeType === Node.COMMENT_NODE; } export function isTextNode(node: Node): boolean { return node.nodeType === Node.TEXT_NODE; } export function getContent(node: Node): Node { if ('content' in node) { return (node).content; } else { return node; } } export function templateAwareRoot(el: Node): any { return getDOM().isElementNode(el) && el.nodeName === 'TEMPLATE' ? getContent(el) : el; } export function setCookie(name: string, value: string) { // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does // not clear other cookies. document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value); } export function hasStyle(element: any, styleName: string, styleValue?: string|null): boolean { const value = element.style[styleName] || ''; return styleValue ? value == styleValue : value.length > 0; } export function hasClass(element: any, className: string): boolean { return element.classList.contains(className); } export function sortedClassList(element: any): any[] { return Array.prototype.slice.call(element.classList, 0).sort(); } export function createTemplate(html: any): HTMLElement { const t = getDOM().getDefaultDocument().createElement('template'); t.innerHTML = html; return t; } export function childNodesAsList(el: Node): any[] { const childNodes = el.childNodes; const res = []; for (let i = 0; i < childNodes.length; i++) { res[i] = childNodes[i]; } return res; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Controls whether the `MockPlatformLocation` class should be used * as the `PlatformLocation` implementation when the `BrowserTestingModule` * is imported. * * In v16, the value of this flag will be switched to `true` to enable * the `MockPlatformLocation` by default. */ export const ENABLE_MOCK_PLATFORM_LOCATION = false; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {PlatformLocation} from '@angular/common'; import {MockPlatformLocation} from '@angular/common/testing'; import {APP_ID, createPlatformFactory, NgModule, NgZone, PLATFORM_INITIALIZER, platformCore, StaticProvider} from '@angular/core'; import {BrowserModule, ɵBrowserDomAdapter as BrowserDomAdapter} from '@angular/platform-browser'; import {BrowserDetection, createNgZone} from './browser_util'; import {ENABLE_MOCK_PLATFORM_LOCATION} from './mock_platform_location_flag'; function initBrowserTests() { BrowserDomAdapter.makeCurrent(); BrowserDetection.setup(); } const _TEST_BROWSER_PLATFORM_PROVIDERS: StaticProvider[] = [{provide: PLATFORM_INITIALIZER, useValue: initBrowserTests, multi: true}]; /** * Platform for testing * * @publicApi */ export const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesting', _TEST_BROWSER_PLATFORM_PROVIDERS); /** * NgModule for testing. * * @publicApi */ @NgModule({ exports: [BrowserModule], providers: [ {provide: APP_ID, useValue: 'a'}, {provide: NgZone, useFactory: createNgZone}, (ENABLE_MOCK_PLATFORM_LOCATION ? [{provide: PlatformLocation, useClass: MockPlatformLocation}] : []), ] }) export class BrowserTestingModule { } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of the platform-browser/testing package. */ export * from './browser'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["getDOM","BrowserDomAdapter"],"mappings":";;;;;;;;;;;;MAWa,gBAAgB,CAAA;AAE3B,IAAA,IAAY,GAAG,GAAA;AACb,QAAA,IAAI,OAAO,IAAI,CAAC,WAAW,KAAK,QAAQ,EAAE;YACxC,OAAO,IAAI,CAAC,WAAW,CAAC;AACzB,SAAA;AAED,QAAA,OAAOA,OAAM,EAAE,GAAGA,OAAM,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC;KAChD;AAED,IAAA,OAAO,KAAK,GAAA;AACV,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;KACnC;AAED,IAAA,WAAA,CAAY,EAAe,EAAA;AACzB,QAAA,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;KACvB;AAED,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;KACzC;AAED,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,GAAG,CAAC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CAAC,EAAC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,oBAAoB,EAAC,CAAC;AAC7D,4BAAA,EAAE;AACpC,qBAAA;AACF,iBAAA,CAAA;;;ACpCD;;;;AAIG;;ACJH;;ACAA;;ACRA;;AAEG;;;;"} -------------------- SECTION 18 -------------------- {"version":3,"file":"animations.mjs","sources":["../../../../../../packages/platform-browser/animations/src/animation_builder.ts","../../../../../../packages/platform-browser/animations/src/animation_renderer.ts","../../../../../../packages/platform-browser/animations/src/providers.ts","../../../../../../packages/platform-browser/animations/src/module.ts","../../../../../../packages/platform-browser/animations/src/animations.ts","../../../../../../packages/platform-browser/animations/public_api.ts","../../../../../../packages/platform-browser/animations/index.ts","../../../../../../packages/platform-browser/animations/animations.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationBuilder, AnimationFactory, AnimationMetadata, AnimationOptions, AnimationPlayer, sequence} from '@angular/animations'; import {DOCUMENT} from '@angular/common'; import {Inject, Injectable, RendererFactory2, RendererType2, ViewEncapsulation} from '@angular/core'; import {AnimationRenderer} from './animation_renderer'; @Injectable() export class BrowserAnimationBuilder extends AnimationBuilder { private _nextAnimationId = 0; private _renderer: AnimationRenderer; constructor(rootRenderer: RendererFactory2, @Inject(DOCUMENT) doc: any) { super(); const typeData = {id: '0', encapsulation: ViewEncapsulation.None, styles: [], data: {animation: []}} as RendererType2; this._renderer = rootRenderer.createRenderer(doc.body, typeData) as AnimationRenderer; } build(animation: AnimationMetadata|AnimationMetadata[]): AnimationFactory { const id = this._nextAnimationId.toString(); this._nextAnimationId++; const entry = Array.isArray(animation) ? sequence(animation) : animation; issueAnimationCommand(this._renderer, null, id, 'register', [entry]); return new BrowserAnimationFactory(id, this._renderer); } } export class BrowserAnimationFactory extends AnimationFactory { constructor(private _id: string, private _renderer: AnimationRenderer) { super(); } create(element: any, options?: AnimationOptions): AnimationPlayer { return new RendererAnimationPlayer(this._id, element, options || {}, this._renderer); } } export class RendererAnimationPlayer implements AnimationPlayer { public parentPlayer: AnimationPlayer|null = null; private _started = false; constructor( public id: string, public element: any, options: AnimationOptions, private _renderer: AnimationRenderer) { this._command('create', options); } private _listen(eventName: string, callback: (event: any) => any): () => void { return this._renderer.listen(this.element, `@@${this.id}:${eventName}`, callback); } private _command(command: string, ...args: any[]) { return issueAnimationCommand(this._renderer, this.element, this.id, command, args); } onDone(fn: () => void): void { this._listen('done', fn); } onStart(fn: () => void): void { this._listen('start', fn); } onDestroy(fn: () => void): void { this._listen('destroy', fn); } init(): void { this._command('init'); } hasStarted(): boolean { return this._started; } play(): void { this._command('play'); this._started = true; } pause(): void { this._command('pause'); } restart(): void { this._command('restart'); } finish(): void { this._command('finish'); } destroy(): void { this._command('destroy'); } reset(): void { this._command('reset'); this._started = false; } setPosition(p: number): void { this._command('setPosition', p); } getPosition(): number { return this._renderer.engine.players[+this.id]?.getPosition() ?? 0; } public totalTime = 0; } function issueAnimationCommand( renderer: AnimationRenderer, element: any, id: string, command: string, args: any[]): any { return renderer.setProperty(element, `@@${id}:${command}`, args); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationTriggerMetadata} from '@angular/animations'; import {ɵAnimationEngine as AnimationEngine} from '@angular/animations/browser'; import {Injectable, NgZone, Renderer2, RendererFactory2, RendererStyleFlags2, RendererType2} from '@angular/core'; const ANIMATION_PREFIX = '@'; const DISABLE_ANIMATIONS_FLAG = '@.disabled'; // Define a recursive type to allow for nested arrays of `AnimationTriggerMetadata`. Note that an // interface declaration is used as TypeScript prior to 3.7 does not support recursive type // references, see https://github.com/microsoft/TypeScript/pull/33050 for details. type NestedAnimationTriggerMetadata = AnimationTriggerMetadata|RecursiveAnimationTriggerMetadata; interface RecursiveAnimationTriggerMetadata extends Array {} @Injectable() export class AnimationRendererFactory implements RendererFactory2 { private _currentId: number = 0; private _microtaskId: number = 1; private _animationCallbacksBuffer: [(e: any) => any, any][] = []; private _rendererCache = new Map(); private _cdRecurDepth = 0; private promise: Promise = Promise.resolve(0); constructor( private delegate: RendererFactory2, private engine: AnimationEngine, private _zone: NgZone) { engine.onRemovalComplete = (element: any, delegate: Renderer2) => { // Note: if a component element has a leave animation, and a host leave animation, // the view engine will call `removeChild` for the parent // component renderer as well as for the child component renderer. // Therefore, we need to check if we already removed the element. const parentNode = delegate?.parentNode(element); if (parentNode) { delegate.removeChild(parentNode, element); } }; } createRenderer(hostElement: any, type: RendererType2): Renderer2 { const EMPTY_NAMESPACE_ID = ''; // cache the delegates to find out which cached delegate can // be used by which cached renderer const delegate = this.delegate.createRenderer(hostElement, type); if (!hostElement || !type || !type.data || !type.data['animation']) { let renderer: BaseAnimationRenderer|undefined = this._rendererCache.get(delegate); if (!renderer) { // Ensure that the renderer is removed from the cache on destroy // since it may contain references to detached DOM nodes. const onRendererDestroy = () => this._rendererCache.delete(delegate); renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy); // only cache this result when the base renderer is used this._rendererCache.set(delegate, renderer); } return renderer; } const componentId = type.id; const namespaceId = type.id + '-' + this._currentId; this._currentId++; this.engine.register(namespaceId, hostElement); const registerTrigger = (trigger: NestedAnimationTriggerMetadata) => { if (Array.isArray(trigger)) { trigger.forEach(registerTrigger); } else { this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger); } }; const animationTriggers = type.data['animation'] as NestedAnimationTriggerMetadata[]; animationTriggers.forEach(registerTrigger); return new AnimationRenderer(this, namespaceId, delegate, this.engine); } begin() { this._cdRecurDepth++; if (this.delegate.begin) { this.delegate.begin(); } } private _scheduleCountTask() { // always use promise to schedule microtask instead of use Zone this.promise.then(() => { this._microtaskId++; }); } /** @internal */ scheduleListenerCallback(count: number, fn: (e: any) => any, data: any) { if (count >= 0 && count < this._microtaskId) { this._zone.run(() => fn(data)); return; } if (this._animationCallbacksBuffer.length == 0) { Promise.resolve(null).then(() => { this._zone.run(() => { this._animationCallbacksBuffer.forEach(tuple => { const [fn, data] = tuple; fn(data); }); this._animationCallbacksBuffer = []; }); }); } this._animationCallbacksBuffer.push([fn, data]); } end() { this._cdRecurDepth--; // this is to prevent animations from running twice when an inner // component does CD when a parent component instead has inserted it if (this._cdRecurDepth == 0) { this._zone.runOutsideAngular(() => { this._scheduleCountTask(); this.engine.flush(this._microtaskId); }); } if (this.delegate.end) { this.delegate.end(); } } whenRenderingDone(): Promise { return this.engine.whenRenderingDone(); } } export class BaseAnimationRenderer implements Renderer2 { constructor( protected namespaceId: string, public delegate: Renderer2, public engine: AnimationEngine, private _onDestroy?: () => void) { this.destroyNode = this.delegate.destroyNode ? (n) => delegate.destroyNode!(n) : null; } get data() { return this.delegate.data; } destroyNode: ((n: any) => void)|null; destroy(): void { this.engine.destroy(this.namespaceId, this.delegate); this.delegate.destroy(); this._onDestroy?.(); } createElement(name: string, namespace?: string|null|undefined) { return this.delegate.createElement(name, namespace); } createComment(value: string) { return this.delegate.createComment(value); } createText(value: string) { return this.delegate.createText(value); } appendChild(parent: any, newChild: any): void { this.delegate.appendChild(parent, newChild); this.engine.onInsert(this.namespaceId, newChild, parent, false); } insertBefore(parent: any, newChild: any, refChild: any, isMove: boolean = true): void { this.delegate.insertBefore(parent, newChild, refChild); // If `isMove` true than we should animate this insert. this.engine.onInsert(this.namespaceId, newChild, parent, isMove); } removeChild(parent: any, oldChild: any, isHostElement: boolean): void { this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement); } selectRootElement(selectorOrNode: any, preserveContent?: boolean) { return this.delegate.selectRootElement(selectorOrNode, preserveContent); } parentNode(node: any) { return this.delegate.parentNode(node); } nextSibling(node: any) { return this.delegate.nextSibling(node); } setAttribute(el: any, name: string, value: string, namespace?: string|null|undefined): void { this.delegate.setAttribute(el, name, value, namespace); } removeAttribute(el: any, name: string, namespace?: string|null|undefined): void { this.delegate.removeAttribute(el, name, namespace); } addClass(el: any, name: string): void { this.delegate.addClass(el, name); } removeClass(el: any, name: string): void { this.delegate.removeClass(el, name); } setStyle(el: any, style: string, value: any, flags?: RendererStyleFlags2|undefined): void { this.delegate.setStyle(el, style, value, flags); } removeStyle(el: any, style: string, flags?: RendererStyleFlags2|undefined): void { this.delegate.removeStyle(el, style, flags); } setProperty(el: any, name: string, value: any): void { if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) { this.disableAnimations(el, !!value); } else { this.delegate.setProperty(el, name, value); } } setValue(node: any, value: string): void { this.delegate.setValue(node, value); } listen(target: any, eventName: string, callback: (event: any) => boolean | void): () => void { return this.delegate.listen(target, eventName, callback); } protected disableAnimations(element: any, value: boolean) { this.engine.disableAnimations(element, value); } } export class AnimationRenderer extends BaseAnimationRenderer implements Renderer2 { constructor( public factory: AnimationRendererFactory, namespaceId: string, delegate: Renderer2, engine: AnimationEngine, onDestroy?: () => void) { super(namespaceId, delegate, engine, onDestroy); this.namespaceId = namespaceId; } override setProperty(el: any, name: string, value: any): void { if (name.charAt(0) == ANIMATION_PREFIX) { if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) { value = value === undefined ? true : !!value; this.disableAnimations(el, value as boolean); } else { this.engine.process(this.namespaceId, el, name.slice(1), value); } } else { this.delegate.setProperty(el, name, value); } } override listen( target: 'window'|'document'|'body'|any, eventName: string, callback: (event: any) => any): () => void { if (eventName.charAt(0) == ANIMATION_PREFIX) { const element = resolveElementFromTarget(target); let name = eventName.slice(1); let phase = ''; // @listener.phase is for trigger animation callbacks // @@listener is for animation builder callbacks if (name.charAt(0) != ANIMATION_PREFIX) { [name, phase] = parseTriggerCallbackName(name); } return this.engine.listen(this.namespaceId, element, name, phase, event => { const countId = (event as any)['_data'] || -1; this.factory.scheduleListenerCallback(countId, callback, event); }); } return this.delegate.listen(target, eventName, callback); } } function resolveElementFromTarget(target: 'window'|'document'|'body'|any): any { switch (target) { case 'body': return document.body; case 'document': return document; case 'window': return window; default: return target; } } function parseTriggerCallbackName(triggerName: string) { const dotIndex = triggerName.indexOf('.'); const trigger = triggerName.substring(0, dotIndex); const phase = triggerName.slice(dotIndex + 1); return [trigger, phase]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationBuilder} from '@angular/animations'; import {AnimationDriver, ɵAnimationEngine as AnimationEngine, ɵAnimationStyleNormalizer as AnimationStyleNormalizer, ɵNoopAnimationDriver as NoopAnimationDriver, ɵWebAnimationsDriver as WebAnimationsDriver, ɵWebAnimationsStyleNormalizer as WebAnimationsStyleNormalizer} from '@angular/animations/browser'; import {DOCUMENT} from '@angular/common'; import {ANIMATION_MODULE_TYPE, ApplicationRef, Inject, Injectable, NgZone, OnDestroy, Provider, RendererFactory2} from '@angular/core'; import {ɵDomRendererFactory2 as DomRendererFactory2} from '@angular/platform-browser'; import {BrowserAnimationBuilder} from './animation_builder'; import {AnimationRendererFactory} from './animation_renderer'; @Injectable() export class InjectableAnimationEngine extends AnimationEngine implements OnDestroy { // The `ApplicationRef` is injected here explicitly to force the dependency ordering. // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed. constructor( @Inject(DOCUMENT) doc: any, driver: AnimationDriver, normalizer: AnimationStyleNormalizer, appRef: ApplicationRef) { super(doc.body, driver, normalizer); } ngOnDestroy(): void { this.flush(); } } export function instantiateDefaultStyleNormalizer() { return new WebAnimationsStyleNormalizer(); } export function instantiateRendererFactory( renderer: DomRendererFactory2, engine: AnimationEngine, zone: NgZone) { return new AnimationRendererFactory(renderer, engine, zone); } const SHARED_ANIMATION_PROVIDERS: Provider[] = [ {provide: AnimationBuilder, useClass: BrowserAnimationBuilder}, {provide: AnimationStyleNormalizer, useFactory: instantiateDefaultStyleNormalizer}, {provide: AnimationEngine, useClass: InjectableAnimationEngine}, { provide: RendererFactory2, useFactory: instantiateRendererFactory, deps: [DomRendererFactory2, AnimationEngine, NgZone] } ]; /** * Separate providers from the actual module so that we can do a local modification in Google3 to * include them in the BrowserModule. */ export const BROWSER_ANIMATIONS_PROVIDERS: Provider[] = [ {provide: AnimationDriver, useFactory: () => new WebAnimationsDriver()}, {provide: ANIMATION_MODULE_TYPE, useValue: 'BrowserAnimations'}, ...SHARED_ANIMATION_PROVIDERS ]; /** * Separate providers from the actual module so that we can do a local modification in Google3 to * include them in the BrowserTestingModule. */ export const BROWSER_NOOP_ANIMATIONS_PROVIDERS: Provider[] = [ {provide: AnimationDriver, useClass: NoopAnimationDriver}, {provide: ANIMATION_MODULE_TYPE, useValue: 'NoopAnimations'}, ...SHARED_ANIMATION_PROVIDERS ]; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ModuleWithProviders, NgModule, Provider} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {BROWSER_ANIMATIONS_PROVIDERS, BROWSER_NOOP_ANIMATIONS_PROVIDERS} from './providers'; /** * Object used to configure the behavior of {@link BrowserAnimationsModule} * @publicApi */ export interface BrowserAnimationsModuleConfig { /** * Whether animations should be disabled. Passing this is identical to providing the * `NoopAnimationsModule`, but it can be controlled based on a runtime value. */ disableAnimations?: boolean; } /** * Exports `BrowserModule` with additional [dependency-injection providers](guide/glossary#provider) * for use with animations. See [Animations](guide/animations). * @publicApi */ @NgModule({ exports: [BrowserModule], providers: BROWSER_ANIMATIONS_PROVIDERS, }) export class BrowserAnimationsModule { /** * Configures the module based on the specified object. * * @param config Object used to configure the behavior of the `BrowserAnimationsModule`. * @see `BrowserAnimationsModuleConfig` * * @usageNotes * When registering the `BrowserAnimationsModule`, you can use the `withConfig` * function as follows: * ``` * @NgModule({ * imports: [BrowserAnimationsModule.withConfig(config)] * }) * class MyNgModule {} * ``` */ static withConfig(config: BrowserAnimationsModuleConfig): ModuleWithProviders { return { ngModule: BrowserAnimationsModule, providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS : BROWSER_ANIMATIONS_PROVIDERS }; } } /** * Returns the set of [dependency-injection providers](guide/glossary#provider) * to enable animations in an application. See [animations guide](guide/animations) * to learn more about animations in Angular. * * @usageNotes * * The function is useful when you want to enable animations in an application * bootstrapped using the `bootstrapApplication` function. In this scenario there * is no need to import the `BrowserAnimationsModule` NgModule at all, just add * providers returned by this function to the `providers` list as show below. * * ```typescript * bootstrapApplication(RootComponent, { * providers: [ * provideAnimations() * ] * }); * ``` * * @publicApi */ export function provideAnimations(): Provider[] { // Return a copy to prevent changes to the original array in case any in-place // alterations are performed to the `provideAnimations` call results in app code. return [...BROWSER_ANIMATIONS_PROVIDERS]; } /** * A null player that must be imported to allow disabling of animations. * @publicApi */ @NgModule({ exports: [BrowserModule], providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS, }) export class NoopAnimationsModule { } /** * Returns the set of [dependency-injection providers](guide/glossary#provider) * to disable animations in an application. See [animations guide](guide/animations) * to learn more about animations in Angular. * * @usageNotes * * The function is useful when you want to bootstrap an application using * the `bootstrapApplication` function, but you need to disable animations * (for example, when running tests). * * ```typescript * bootstrapApplication(RootComponent, { * providers: [ * provideNoopAnimations() * ] * }); * ``` * * @publicApi */ export function provideNoopAnimations(): Provider[] { // Return a copy to prevent changes to the original array in case any in-place // alterations are performed to the `provideNoopAnimations` call results in app code. return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation browser package. */ export {ANIMATION_MODULE_TYPE} from '@angular/core'; export {BrowserAnimationsModule, BrowserAnimationsModuleConfig, NoopAnimationsModule, provideAnimations, provideNoopAnimations} from './module'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/animations'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["AnimationEngine","WebAnimationsStyleNormalizer","AnimationStyleNormalizer","DomRendererFactory2","WebAnimationsDriver","NoopAnimationDriver"],"mappings":";;;;;;;;;;;;;;;AAcM,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;IAI3D,WAAY,CAAA,YAA8B,EAAoB,GAAQ,EAAA;AACpE,QAAA,KAAK,EAAE,CAAC;AAJF,QAAA,IAAgB,CAAA,gBAAA,GAAG,CAAC,CAAC;QAK3B,MAAM,QAAQ,GACV,EAAC,EAAE,EAAE,GAAG,EAAE,aAAa,EAAE,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAC,SAAS,EAAE,EAAE,EAAC,EACrE,CAAC;AAClB,QAAA,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAsB,CAAC;KACvF;AAED,IAAA,KAAK,CAAC,SAAgD,EAAA;QACpD,MAAM,EAAE,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC;QAC5C,IAAI,CAAC,gBAAgB,EAAE,CAAC;AACxB,QAAA,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;AACzE,QAAA,qBAAqB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;QACrE,OAAO,IAAI,uBAAuB,CAAC,EA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,iBAAiB,GAAA;;;AAG/B,IAAA,OAAO,CAAC,GAAG,4BAA4B,CAAC,CAAC;AAC3C,CAAC;AAED;;;AAGG;MAKU,oBAAoB,CAAA;;4HAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHrB,aAAa,CAAA,EAAA,CAAA,CAAA;6HAGZ,oBAAoB,EAAA,SAAA,EAFpB,iCAAiC,EAAA,OAAA,EAAA,CADlC,aAAa,CAAA,EAAA,CAAA,CAAA;sGAGZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,oBAAA,SAAS,EAAE,iCAAiC;iBAC7C,CAAA;;AAID;;;;;;;;;;;;;;;;;;;;AAoBG;SACa,qBAAqB,GAAA;;;AAGnC,IAAA,OAAO,CAAC,GAAG,iCAAiC,CAAC,CAAC;AAChD;;ACpHA;;;;AAIG;;ACJH;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 19 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/platform-browser/testing/src/browser_util.ts","../../../../../../packages/platform-browser/testing/src/mock_platform_location_flag.ts","../../../../../../packages/platform-browser/testing/src/browser.ts","../../../../../../packages/platform-browser/testing/src/testing.ts","../../../../../../packages/platform-browser/testing/public_api.ts","../../../../../../packages/platform-browser/testing/index.ts","../../../../../../packages/platform-browser/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵgetDOM as getDOM} from '@angular/common'; import {NgZone, ɵglobal as global} from '@angular/core'; export class BrowserDetection { private _overrideUa: string|null; private get _ua(): string { if (typeof this._overrideUa === 'string') { return this._overrideUa; } return getDOM() ? getDOM().getUserAgent() : ''; } static setup() { return new BrowserDetection(null); } constructor(ua: string|null) { this._overrideUa = ua; } get isFirefox(): boolean { return this._ua.indexOf('Firefox') > -1; } get isAndroid(): boolean { return this._ua.indexOf('Mozilla/5.0') > -1 && this._ua.indexOf('Android') > -1 && this._ua.indexOf('AppleWebKit') > -1 && this._ua.indexOf('Chrome') == -1 && this._ua.indexOf('IEMobile') == -1; } get isEdge(): boolean { return this._ua.indexOf('Edge') > -1; } get isWebkit(): boolean { return this._ua.indexOf('AppleWebKit') > -1 && this._ua.indexOf('Edge') == -1 && this._ua.indexOf('IEMobile') == -1; } get isIOS7(): boolean { return (this._ua.indexOf('iPhone OS 7') > -1 || this._ua.indexOf('iPad OS 7') > -1) && this._ua.indexOf('IEMobile') == -1; } get isSlow(): boolean { return this.isAndroid || this.isIOS7; } get isChromeDesktop(): boolean { return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Mobile Safari') == -1 && this._ua.indexOf('Edge') == -1; } // \"Old Chrome\" means Chrome 3X, where there are some discrepancies in the Intl API. // Android 4.4 and 5.X have such browsers by default (respectively 30 and 39). get isOldChrome(): boolean { return this._ua.indexOf('Chrome') > -1 && this._ua.indexOf('Chrome/3') > -1 && this._ua.indexOf('Edge') == -1; } get supportsShadowDom() { const testEl = document.createElement('div'); return (typeof testEl.attachShadow !== 'undefined'); } } export const browserDetection: BrowserDetection = BrowserDetection.setup(); export function dispatchEvent(element: any, eventType: any): Event { const evt: Event = getDOM().getDefaultDocument().createEvent('Event'); evt.initEvent(eventType, true, true); getDOM().dispatchEvent(element, evt); return evt; } export function createMouseEvent(eventType: string): MouseEvent { const evt: MouseEvent = getDOM().getDefaultDocument().createEvent('MouseEvent'); evt.initEvent(eventType, true, true); return evt; } export function el(html: string): HTMLElement { return getContent(createTemplate(html)).firstChild; } function getAttributeMap(element: any): Map { const res = new Map(); const elAttrs = element.attributes; for (let i = 0; i < elAttrs.length; i++) { const attrib = elAttrs.item(i); res.set(attrib.name, attrib.value); } return res; } const _selfClosingTags = ['br', 'hr', 'input']; export function stringifyElement(el: any /** TODO #9100 */): string { let result = ''; if (getDOM().isElementNode(el)) { const tagName = el.tagName.toLowerCase(); // Opening tag result += `<${tagName}`; // Attributes in an ordered way const attributeMap = getAttributeMap(el); const sortedKeys = Array.from(attributeMap.keys()).sort(); for (const key of sortedKeys) { const lowerCaseKey = key.toLowerCase(); let attValue = attributeMap.get(key); if (typeof attValue !== 'string') { result += ` ${lowerCaseKey}`; } else { // Browsers order style rules differently. Order them alphabetically for consistency. if (lowerCaseKey === 'style') { attValue = attValue.split(/; ?/).filter(s => !!s).sort().map(s => `${s};`).join(' '); } result += ` ${lowerCaseKey}=\"${attValue}\"`; } } result += '>'; // Children const childrenRoot = templateAwareRoot(el); const children = childrenRoot ? childrenRoot.childNodes : []; for (let j = 0; j < children.length; j++) { result += stringifyElement(children[j]); } // Closing tag if (_selfClosingTags.indexOf(tagName) == -1) { result += ``; } } else if (isCommentNode(el)) { result += ``; } else { result += el.textContent; } return result; } export function createNgZone(): NgZone { return new NgZone({enableLongStackTrace: true, shouldCoalesceEventChangeDetection: false}); } export function isCommentNode(node: Node): boolean { return node.nodeType === Node.COMMENT_NODE; } export function isTextNode(node: Node): boolean { return node.nodeType === Node.TEXT_NODE; } export function getContent(node: Node): Node { if ('content' in node) { return (node).content; } else { return node; } } export function templateAwareRoot(el: Node): any { return getDOM().isElementNode(el) && el.nodeName === 'TEMPLATE' ? getContent(el) : el; } export function setCookie(name: string, value: string) { // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does // not clear other cookies. document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value); } export function hasStyle(element: any, styleName: string, styleValue?: string|null): boolean { const value = element.style[styleName] || ''; return styleValue ? value == styleValue : value.length > 0; } export function hasClass(element: any, className: string): boolean { return element.classList.contains(className); } export function sortedClassList(element: any): any[] { return Array.prototype.slice.call(element.classList, 0).sort(); } export function createTemplate(html: any): HTMLElement { const t = getDOM().getDefaultDocument().createElement('template'); t.innerHTML = html; return t; } export function childNodesAsList(el: Node): any[] { const childNodes = el.childNodes; const res = []; for (let i = 0; i < childNodes.length; i++) { res[i] = childNodes[i]; } return res; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Controls whether the `MockPlatformLocation` class should be used * as the `PlatformLocation` implementation when the `BrowserTestingModule` * is imported. * * In v16, the value of this flag will be switched to `true` to enable * the `MockPlatformLocation` by default. */ export const ENABLE_MOCK_PLATFORM_LOCATION = false; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {PlatformLocation} from '@angular/common'; import {MockPlatformLocation} from '@angular/common/testing'; import {APP_ID, createPlatformFactory, NgModule, NgZone, PLATFORM_INITIALIZER, platformCore, StaticProvider} from '@angular/core'; import {BrowserModule, ɵBrowserDomAdapter as BrowserDomAdapter} from '@angular/platform-browser'; import {BrowserDetection, createNgZone} from './browser_util'; import {ENABLE_MOCK_PLATFORM_LOCATION} from './mock_platform_location_flag'; function initBrowserTests() { BrowserDomAdapter.makeCurrent(); BrowserDetection.setup(); } const _TEST_BROWSER_PLATFORM_PROVIDERS: StaticProvider[] = [{provide: PLATFORM_INITIALIZER, useValue: initBrowserTests, multi: true}]; /** * Platform for testing * * @publicApi */ export const platformBrowserTesting = createPlatformFactory(platformCore, 'browserTesting', _TEST_BROWSER_PLATFORM_PROVIDERS); /** * NgModule for testing. * * @publicApi */ @NgModule({ exports: [BrowserModule], providers: [ {provide: APP_ID, useValue: 'a'}, {provide: NgZone, useFactory: createNgZone}, (ENABLE_MOCK_PLATFORM_LOCATION ? [{provide: PlatformLocation, useClass: MockPlatformLocation}] : []), ] }) export class BrowserTestingModule { } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of the platform-browser/testing package. */ export * from './browser'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /// /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["getDOM","BrowserDomAdapter"],"mappings":";;;;;;;;;;;;MAWa,gBAAgB,CAAA;AAE3B,IAAA,IAAY,GAAG,GAAA;AACb,QAAA,IAAI,OAAO,IAAI,CAAC,WAAW,KAAK,QAAQ,EAAE;YACxC,OAAO,IAAI,CAAC,WAAW,CAAC;AACzB,SAAA;AAED,QAAA,OAAOA,OAAM,EAAE,GAAGA,OAAM,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC;KAChD;AAED,IAAA,OAAO,KAAK,GAAA;AACV,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC;KACnC;AAED,IAAA,WAAA,CAAY,EAAe,EAAA;AACzB,QAAA,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;KACvB;AAED,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;KACzC;AAED,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,OAAO,C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BAAA,EAAE;AACpC,qBAAA;iBACF,CAAA;;;ACpCD;;;;AAIG;;ACJH;;ACAA;;ACRA;;AAEG;;;;"} -------------------- SECTION 20 -------------------- {"version":3,"file":"animations.mjs","sources":["../../../../../../packages/animations/src/animation_builder.ts","../../../../../../packages/animations/src/animation_metadata.ts","../../../../../../packages/animations/src/util.ts","../../../../../../packages/animations/src/players/animation_player.ts","../../../../../../packages/animations/src/players/animation_group_player.ts","../../../../../../packages/animations/src/private_export.ts","../../../../../../packages/animations/src/animations.ts","../../../../../../packages/animations/public_api.ts","../../../../../../packages/animations/index.ts","../../../../../../packages/animations/animations.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationOptions} from './animation_metadata'; import {AnimationPlayer} from './players/animation_player'; /** * An injectable service that produces an animation sequence programmatically within an * Angular component or directive. * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`. * * @usageNotes * * To use this service, add it to your component or directive as a dependency. * The service is instantiated along with your component. * * Apps do not typically need to create their own animation players, but if you * do need to, follow these steps: * * 1. Use the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() method * to create a programmatic animation. The method returns an `AnimationFactory` instance. * * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element. * * 3. Use the player object to control the animation programmatically. * * For example: * * ```ts * // import the service from BrowserAnimationsModule * import {AnimationBuilder} from '@angular/animations'; * // require the service as a dependency * class MyCmp { * constructor(private _builder: AnimationBuilder) {} * * makeAnimation(element: any) { * // first define a reusable animation * const myAnimation = this._builder.build([ * style({ width: 0 }), * animate(1000, style({ width: '100px' })) * ]); * * // use the returned factory object to create a player * const player = myAnimation.create(element); * * player.play(); * } * } * ``` * * @publicApi */ export abstract class AnimationBuilder { /** * Builds a factory for producing a defined animation. * @param animation A reusable animation definition. * @returns A factory object that can create a player for the defined animation. * @see `animate()` */ abstract build(animation: AnimationMetadata|AnimationMetadata[]): AnimationFactory; } /** * A factory object returned from the * [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method. * * @publicApi */ export abstract class AnimationFactory { /** * Creates an `AnimationPlayer` instance for the reusable animation defined by * the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method that created this factory and attaches the new player a DOM element. * * @param element The DOM element to which to attach the player. * @param options A set of options that can include a time delay and * additional developer-defined parameters. */ abstract create(element: any, options?: AnimationOptions): AnimationPlayer; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Represents a set of CSS styles for use in an animation style as a generic. */ export interface ɵStyleData { [key: string]: string|number; } /** * Represents a set of CSS styles for use in an animation style as a Map. */ export type ɵStyleDataMap = Map; /** * Represents animation-step timing parameters for an animation step. * @see `animate()` * * @publicApi */ export declare type AnimateTimings = { /** * The full duration of an animation step. A number and optional time unit, * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively. * The default unit is milliseconds. */ duration: number, /** * The delay in applying an animation step. A number and optional time unit. * The default unit is milliseconds. */ delay: number, /** * An easing style that controls how an animations step accelerates * and decelerates during its run time. An easing function such as `cubic-bezier()`, * or one of the following constants: * - `ease-in` * - `ease-out` * - `ease-in-and-out` */ easing: string | null }; /** * @description Options that control animation styling and timing. * * The following animation functions accept `AnimationOptions` data: * * - `transition()` * - `sequence()` * - `{@link animations/group group()}` * - `query()` * - `animation()` * - `useAnimation()` * - `animateChild()` * * Programmatic animations built using the `AnimationBuilder` service also * make use of `AnimationOptions`. * * @publicApi */ export declare interface AnimationOptions { /** * Sets a time-delay for initiating an animation action. * A number and optional time unit, such as \"1s\" or \"10ms\" for one second * and 10 milliseconds, respectively.The default unit is milliseconds. * Default value is 0, meaning no delay. */ delay?: number|string; /** * A set of developer-defined parameters that modify styling and timing * when an animation action starts. An array of key-value pairs, where the provided value * is used as a default. */ params?: {[name: string]: any}; } /** * Adds duration options to control animation styling and timing for a child animation. * * @see `animateChild()` * * @publicApi */ export declare interface AnimateChildOptions extends AnimationOptions { duration?: number|string; } /** * @description Constants for the categories of parameters that can be defined for animations. * * A corresponding function defines a set of parameters for each category, and * collects them into a corresponding `AnimationMetadata` object. * * @publicApi */ export const enum AnimationMetadataType { /** * Associates a named animation state with a set of CSS styles. * See [`state()`](api/animations/state) */ State = 0, /** * Data for a transition from one animation state to another. * See `transition()` */ Transition = 1, /** * Contains a set of animation steps. * See `sequence()` */ Sequence = 2, /** * Contains a set of animation steps. * See `{@link animations/group group()}` */ Group = 3, /** * Contains an animation step. * See `animate()` */ Animate = 4, /** * Contains a set of animation steps. * See `keyframes()` */ Keyframes = 5, /** * Contains a set of CSS property-value pairs into a named style. * See `style()` */ Style = 6, /** * Associates an animation with an entry trigger that can be attached to an element. * See `trigger()` */ Trigger = 7, /** * Contains a re-usable animation. * See `animation()` */ Reference = 8, /** * Contains data to use in executing child animations returned by a query. * See `animateChild()` */ AnimateChild = 9, /** * Contains animation parameters for a re-usable animation. * See `useAnimation()` */ AnimateRef = 10, /** * Contains child-animation query data. * See `query()` */ Query = 11, /** * Contains data for staggering an animation sequence. * See `stagger()` */ Stagger = 12 } /** * Specifies automatic styling. * * @publicApi */ export const AUTO_STYLE = '*'; /** * Base for animation data structures. * * @publicApi */ export interface AnimationMetadata { type: AnimationMetadataType; } /** * Contains an animation trigger. Instantiated and returned by the * `trigger()` function. * * @publicApi */ export interface AnimationTriggerMetadata extends AnimationMetadata { /** * The trigger name, used to associate it with an element. Unique within the component. */ name: string; /** * An animation definition object, containing an array of state and transition declarations. */ definitions: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: {params?: {[name: string]: any}}|null; } /** * Encapsulates an animation state by associating a state name with a set of CSS styles. * Instantiated and returned by the [`state()`](api/animations/state) function. * * @publicApi */ export interface AnimationStateMetadata extends AnimationMetadata { /** * The state name, unique within the component. */ name: string; /** * The CSS styles associated with this state. */ styles: AnimationStyleMetadata; /** * An options object containing * developer-defined parameters that provide styling defaults and * can be overridden on invocation. */ options?: {params: {[name: string]: any}}; } /** * Encapsulates an animation transition. Instantiated and returned by the * `transition()` function. * * @publicApi */ export interface AnimationTransitionMetadata extends AnimationMetadata { /** * An expression that describes a state change. */ expr: string| ((fromState: string, toState: string, element?: any, params?: {[key: string]: any}) => boolean); /** * One or more animation objects to which this transition applies. */ animation: AnimationMetadata|AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates a reusable animation, which is a collection of individual animation steps. * Instantiated and returned by the `animation()` function, and * passed to the `useAnimation()` function. * * @publicApi */ export interface AnimationReferenceMetadata extends AnimationMetadata { /** * One or more animation step objects. */ animation: AnimationMetadata|AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation query. Instantiated and returned by * the `query()` function. * * @publicApi */ export interface AnimationQueryMetadata extends AnimationMetadata { /** * The CSS selector for this query. */ selector: string; /** * One or more animation step objects. */ animation: AnimationMetadata|AnimationMetadata[]; /** * A query options object. */ options: AnimationQueryOptions|null; } /** * Encapsulates a keyframes sequence. Instantiated and returned by * the `keyframes()` function. * * @publicApi */ export interface AnimationKeyframesSequenceMetadata extends AnimationMetadata { /** * An array of animation styles. */ steps: AnimationStyleMetadata[]; } /** * Encapsulates an animation style. Instantiated and returned by * the `style()` function. * * @publicApi */ export interface AnimationStyleMetadata extends AnimationMetadata { /** * A set of CSS style properties. */ styles: '*'|{[key: string]: string | number}|Array<{[key: string]: string | number}|'*'>; /** * A percentage of the total animate time at which the style is to be applied. */ offset: number|null; } /** * Encapsulates an animation step. Instantiated and returned by * the `animate()` function. * * @publicApi */ export interface AnimationAnimateMetadata extends AnimationMetadata { /** * The timing data for the step. */ timings: string|number|AnimateTimings; /** * A set of styles used in the step. */ styles: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata|null; } /** * Encapsulates a child animation, that can be run explicitly when the parent is run. * Instantiated and returned by the `animateChild` function. * * @publicApi */ export interface AnimationAnimateChildMetadata extends AnimationMetadata { /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates a reusable animation. * Instantiated and returned by the `useAnimation()` function. * * @publicApi */ export interface AnimationAnimateRefMetadata extends AnimationMetadata { /** * An animation reference object. */ animation: AnimationReferenceMetadata; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation sequence. * Instantiated and returned by the `sequence()` function. * * @publicApi */ export interface AnimationSequenceMetadata extends AnimationMetadata { /** * An array of animation step objects. */ steps: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation group. * Instantiated and returned by the `{@link animations/group group()}` function. * * @publicApi */ export interface AnimationGroupMetadata extends AnimationMetadata { /** * One or more animation or style steps that form this group. */ steps: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates animation query options. * Passed to the `query()` function. * * @publicApi */ export declare interface AnimationQueryOptions extends AnimationOptions { /** * True if this query is optional, false if it is required. Default is false. * A required query throws an error if no elements are retrieved when * the query is executed. An optional query does not. * */ optional?: boolean; /** * A maximum total number of results to return from the query. * If negative, results are limited from the end of the query list towards the beginning. * By default, results are not limited. */ limit?: number; } /** * Encapsulates parameters for staggering the start times of a set of animation steps. * Instantiated and returned by the `stagger()` function. * * @publicApi **/ export interface AnimationStaggerMetadata extends AnimationMetadata { /** * The timing data for the steps. */ timings: string|number; /** * One or more animation steps. */ animation: AnimationMetadata|AnimationMetadata[]; } /** * Creates a named animation trigger, containing a list of [`state()`](api/animations/state) * and `transition()` entries to be evaluated when the expression * bound to the trigger changes. * * @param name An identifying string. * @param definitions An animation definition object, containing an array of * [`state()`](api/animations/state) and `transition()` declarations. * * @return An object that encapsulates the trigger data. * * @usageNotes * Define an animation trigger in the `animations` section of `@Component` metadata. * In the template, reference the trigger by name and bind it to a trigger expression that * evaluates to a defined animation state, using the following format: * * `[@triggerName]=\"expression\"` * * Animation trigger bindings convert all values to strings, and then match the * previous and current values against any linked transitions. * Booleans can be specified as `1` or `true` and `0` or `false`. * * ### Usage Example * * The following example creates an animation trigger reference based on the provided * name value. * The provided animation value is expected to be an array consisting of state and * transition declarations. * * ```typescript * @Component({ * selector: \"my-component\", * templateUrl: \"my-component-tpl.html\", * animations: [ * trigger(\"myAnimationTrigger\", [ * state(...), * state(...), * transition(...), * transition(...) * ]) * ] * }) * class MyComponent { * myStatusExp = \"something\"; * } * ``` * * The template associated with this component makes use of the defined trigger * by binding to an element within its template code. * * ```html * *
...
* ``` * * ### Using an inline function * The `transition` animation method also supports reading an inline function which can decide * if its associated animation should be run. * * ```typescript * // this method is run each time the `myAnimationTrigger` trigger value changes. * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key: string]: any}): boolean { * // notice that `element` and `params` are also available here * return toState == 'yes-please-animate'; * } * * @Component({ * selector: 'my-component', * templateUrl: 'my-component-tpl.html', * animations: [ * trigger('myAnimationTrigger', [ * transition(myInlineMatcherFn, [ * // the animation sequence code * ]), * ]) * ] * }) * class MyComponent { * myStatusExp = \"yes-please-animate\"; * } * ``` * * ### Disabling Animations * When true, the special animation control binding `@.disabled` binding prevents * all animations from rendering. * Place the `@.disabled` binding on an element to disable * animations on the element itself, as well as any inner animation triggers * within the element. * * The following example shows how to use this feature: * * ```typescript * @Component({ * selector: 'my-component', * template: ` *
*
*
* `, * animations: [ * trigger(\"childAnimation\", [ * // ... * ]) * ] * }) * class MyComponent { * isDisabled = true; * exp = '...'; * } * ``` * * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating, * along with any inner animations. * * ### Disable animations application-wide * When an area of the template is set to have animations disabled, * **all** inner components have their animations disabled as well. * This means that you can disable all animations for an app * by placing a host binding set on `@.disabled` on the topmost Angular component. * * ```typescript * import {Component, HostBinding} from '@angular/core'; * * @Component({ * selector: 'app-component', * templateUrl: 'app.component.html', * }) * class AppComponent { * @HostBinding('@.disabled') * public animationsDisabled = true; * } * ``` * * ### Overriding disablement of inner animations * Despite inner animations being disabled, a parent animation can `query()` * for inner elements located in disabled areas of the template and still animate * them if needed. This is also the case for when a sub animation is * queried by a parent and then later animated using `animateChild()`. * * ### Detecting when an animation is disabled * If a region of the DOM (or the entire application) has its animations disabled, the animation * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides * an instance of an `AnimationEvent`. If animations are disabled, * the `.disabled` flag on the event is true. * * @publicApi */ export function trigger(name: string, definitions: AnimationMetadata[]): AnimationTriggerMetadata { return {type: AnimationMetadataType.Trigger, name, definitions, options: {}}; } /** * Defines an animation step that combines styling information with timing information. * * @param timings Sets `AnimateTimings` for the parent animation. * A string in the format \"duration [delay] [easing]\". * - Duration and delay are expressed as a number and optional time unit, * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively. * The default unit is milliseconds. * - The easing value controls how the animation accelerates and decelerates * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`, * `ease-in-out`, or a `cubic-bezier()` function call. * If not supplied, no easing is applied. * * For example, the string \"1s 100ms ease-out\" specifies a duration of * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style, * which decelerates near the end of the duration. * @param styles Sets AnimationStyles for the parent animation. * A function call to either `style()` or `keyframes()` * that returns a collection of CSS style entries to be applied to the parent animation. * When null, uses the styles from the destination state. * This is useful when describing an animation step that will complete an animation; * see \"Animating to the final state\" in `transitions()`. * @returns An object that encapsulates the animation step. * * @usageNotes * Call within an animation `sequence()`, `{@link animations/group group()}`, or * `transition()` call to specify an animation step * that applies given style data to the parent animation for a given amount of time. * * ### Syntax Examples * **Timing examples** * * The following examples show various `timings` specifications. * - `animate(500)` : Duration is 500 milliseconds. * - `animate(\"1s\")` : Duration is 1000 milliseconds. * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds. * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in. * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10 * milliseconds, easing according to a bezier curve. * * **Style examples** * * The following example calls `style()` to set a single CSS style. * ```typescript * animate(500, style({ background: \"red\" })) * ``` * The following example calls `keyframes()` to set a CSS style * to different values for successive keyframes. * ```typescript * animate(500, keyframes( * [ * style({ background: \"blue\" }), * style({ background: \"red\" }) * ]) * ``` * * @publicApi */ export function animate( timings: string|number, styles: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata|null = null): AnimationAnimateMetadata { return {type: AnimationMetadataType.Animate, styles, timings}; } /** * @description Defines a list of animation steps to be run in parallel. * * @param steps An array of animation step objects. * - When steps are defined by `style()` or `animate()` * function calls, each call within the group is executed instantly. * - To specify offset styles to be applied at a later time, define steps with * `keyframes()`, or use `animate()` calls with a delay value. * For example: * * ```typescript * group([ * animate(\"1s\", style({ background: \"black\" })), * animate(\"2s\", style({ color: \"white\" })) * ]) * ``` * * @param options An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. * * @return An object that encapsulates the group data. * * @usageNotes * Grouped animations are useful when a series of styles must be * animated at different starting times and closed off at different ending times. * * When called within a `sequence()` or a * `transition()` call, does not continue to the next * instruction until all of the inner animation steps have completed. * * @publicApi */ export function group( steps: AnimationMetadata[], options: AnimationOptions|null = null): AnimationGroupMetadata { return {type: AnimationMetadataType.Group, steps, options}; } /** * Defines a list of animation steps to be run sequentially, one by one. * * @param steps An array of animation step objects. * - Steps defined by `style()` calls apply the styling data immediately. * - Steps defined by `animate()` calls apply the styling data over time * as specified by the timing data. * * ```typescript * sequence([ * style({ opacity: 0 }), * animate(\"1s\", style({ opacity: 1 })) * ]) * ``` * * @param options An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. * * @return An object that encapsulates the sequence data. * * @usageNotes * When you pass an array of steps to a * `transition()` call, the steps run sequentially by default. * Compare this to the `{@link animations/group group()}` call, which runs animation steps in *parallel. * * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call, * execution continues to the next instruction only after each of the inner animation * steps have completed. * * @publicApi **/ export function sequence( steps: AnimationMetadata[], options: AnimationOptions|null = null): AnimationSequenceMetadata { return {type: AnimationMetadataType.Sequence, steps, options}; } /** * Declares a key/value object containing CSS properties/styles that * can then be used for an animation [`state`](api/animations/state), within an animation *`sequence`, or as styling data for calls to `animate()` and `keyframes()`. * * @param tokens A set of CSS styles or HTML styles associated with an animation state. * The value can be any of the following: * - A key-value style pair associating a CSS property with a value. * - An array of key-value style pairs. * - An asterisk (*), to use auto-styling, where styles are derived from the element * being animated and applied to the animation when it starts. * * Auto-styling can be used to define a state that depends on layout or other * environmental factors. * * @return An object that encapsulates the style data. * * @usageNotes * The following examples create animation styles that collect a set of * CSS property values: * * ```typescript * // string values for CSS properties * style({ background: \"red\", color: \"blue\" }) * * // numerical pixel values * style({ width: 100, height: 0 }) * ``` * * The following example uses auto-styling to allow an element to animate from * a height of 0 up to its full height: * * ``` * style({ height: 0 }), * animate(\"1s\", style({ height: \"*\" })) * ``` * * @publicApi **/ export function style(tokens: '*'|{[key: string]: string | number}| Array<'*'|{[key: string]: string | number}>): AnimationStyleMetadata { return {type: AnimationMetadataType.Style, styles: tokens, offset: null}; } /** * Declares an animation state within a trigger attached to an element. * * @param name One or more names for the defined state in a comma-separated string. * The following reserved state names can be supplied to define a style for specific use * cases: * * - `void` You can associate styles with this name to be used when * the element is detached from the application. For example, when an `ngIf` evaluates * to false, the state of the associated element is void. * - `*` (asterisk) Indicates the default state. You can associate styles with this name * to be used as the fallback when the state that is being animated is not declared * within the trigger. * * @param styles A set of CSS styles associated with this state, created using the * `style()` function. * This set of styles persists on the element once the state has been reached. * @param options Parameters that can be passed to the state when it is invoked. * 0 or more key-value pairs. * @return An object that encapsulates the new state data. * * @usageNotes * Use the `trigger()` function to register states to an animation trigger. * Use the `transition()` function to animate between states. * When a state is active within a component, its associated styles persist on the element, * even when the animation ends. * * @publicApi **/ export function state( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}}): AnimationStateMetadata { return {type: AnimationMetadataType.State, name, styles, options}; } /** * Defines a set of animation styles, associating each style with an optional `offset` value. * * @param steps A set of animation styles with optional offset data. * The optional `offset` value for a style specifies a percentage of the total animation * time at which that style is applied. * @returns An object that encapsulates the keyframes data. * * @usageNotes * Use with the `animate()` call. Instead of applying animations * from the current state * to the destination state, keyframes describe how each style entry is applied and at what point * within the animation arc. * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp). * * ### Usage * * In the following example, the offset values describe * when each `backgroundColor` value is applied. The color is red at the start, and changes to * blue when 20% of the total time has elapsed. * * ```typescript * // the provided offset values * animate(\"5s\", keyframes([ * style({ backgroundColor: \"red\", offset: 0 }), * style({ backgroundColor: \"blue\", offset: 0.2 }), * style({ backgroundColor: \"orange\", offset: 0.3 }), * style({ backgroundColor: \"black\", offset: 1 }) * ])) * ``` * * If there are no `offset` values specified in the style entries, the offsets * are calculated automatically. * * ```typescript * animate(\"5s\", keyframes([ * style({ backgroundColor: \"red\" }) // offset = 0 * style({ backgroundColor: \"blue\" }) // offset = 0.33 * style({ backgroundColor: \"orange\" }) // offset = 0.66 * style({ backgroundColor: \"black\" }) // offset = 1 * ])) *``` * @publicApi */ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSequenceMetadata { return {type: AnimationMetadataType.Keyframes, steps}; } /** * Declares an animation transition which is played when a certain specified condition is met. * * @param stateChangeExpr A string with a specific format or a function that specifies when the * animation transition should occur (see [State Change Expression](#state-change-expression)). * * @param steps One or more animation objects that represent the animation's instructions. * * @param options An options object that can be used to specify a delay for the animation or provide * custom parameters for it. * * @returns An object that encapsulates the transition data. * * @usageNotes * * ### State Change Expression * * The State Change Expression instructs Angular when to run the transition's animations, it can *either be * - a string with a specific syntax * - or a function that compares the previous and current state (value of the expression bound to * the element's trigger) and returns `true` if the transition should occur or `false` otherwise * * The string format can be: * - `fromState => toState`, which indicates that the transition's animations should occur then the * expression bound to the trigger's element goes from `fromState` to `toState` * * _Example:_ * ```typescript * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) )) * ``` * * - `fromState <=> toState`, which indicates that the transition's animations should occur then * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa * * _Example:_ * ```typescript * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)')) * ``` * * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the * element enters or exists the DOM * * _Example:_ * ```typescript * transition(':enter', [ * style({ opacity: 0 }), * animate('500ms', style({ opacity: 1 })) * ]) * ``` * * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when * the numerical expression bound to the trigger's element has increased in value or decreased * * _Example:_ * ```typescript * transition(':increment', query('@counter', animateChild())) * ``` * * - a sequence of any of the above divided by commas, which indicates that transition's animations * should occur whenever one of the state change expressions matches * * _Example:_ * ```typescript * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([ * style({ transform: 'scale(1)', offset: 0}), * style({ transform: 'scale(1.1)', offset: 0.7}), * style({ transform: 'scale(1)', offset: 1}) * ]))), * ``` * * Also note that in such context: * - `void` can be used to indicate the absence of the element * - asterisks can be used as wildcards that match any state * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is * equivalent to `:leave`) * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match * _truthy_ and _falsy_ values) * *
* * Be careful about entering end leaving elements as their transitions present a common * pitfall for developers. * * Note that when an element with a trigger enters the DOM its `:enter` transition always * gets executed, but its `:leave` transition will not be executed if the element is removed * alongside its parent (as it will be removed \"without warning\" before its transition has * a chance to be executed, the only way that such transition can occur is if the element * is exiting the DOM on its own). * * *
* * ### Animating to a Final State * * If the final step in a transition is a call to `animate()` that uses a timing value * with no `style` data, that step is automatically considered the final animation arc, * for the element to reach the final state, in such case Angular automatically adds or removes * CSS styles to ensure that the element is in the correct final state. * * * ### Usage Examples * * - Transition animations applied based on * the trigger's expression value * * ```HTML *
* ... *
* ``` * * ```typescript * trigger(\"myAnimationTrigger\", [ * ..., // states * transition(\"on => off, open => closed\", animate(500)), * transition(\"* <=> error\", query('.indicator', animateChild())) * ]) * ``` * * - Transition animations applied based on custom logic dependent * on the trigger's expression value and provided parameters * * ```HTML *
* ... *
* ``` * * ```typescript * trigger(\"myAnimationTrigger\", [ * ..., // states * transition( * (fromState, toState, _element, params) => * ['firststep', 'laststep'].includes(fromState.toLowerCase()) * && toState === params?.['target'], * animate('1s') * ) * ]) * ``` * * @publicApi **/ export function transition( stateChangeExpr: string| ((fromState: string, toState: string, element?: any, params?: {[key: string]: any}) => boolean), steps: AnimationMetadata|AnimationMetadata[], options: AnimationOptions|null = null): AnimationTransitionMetadata { return {type: AnimationMetadataType.Transition, expr: stateChangeExpr, animation: steps, options}; } /** * Produces a reusable animation that can be invoked in another animation or sequence, * by calling the `useAnimation()` function. * * @param steps One or more animation objects, as returned by the `animate()` * or `sequence()` function, that form a transformation from one state to another. * A sequence is used by default when you pass an array. * @param options An options object that can contain a delay value for the start of the * animation, and additional developer-defined parameters. * Provided values for additional parameters are used as defaults, * and override values can be passed to the caller on invocation. * @returns An object that encapsulates the animation data. * * @usageNotes * The following example defines a reusable animation, providing some default parameter * values. * * ```typescript * var fadeAnimation = animation([ * style({ opacity: '{{ start }}' }), * animate('{{ time }}', * style({ opacity: '{{ end }}'})) * ], * { params: { time: '1000ms', start: 0, end: 1 }}); * ``` * * The following invokes the defined animation with a call to `useAnimation()`, * passing in override parameter values. * * ```js * useAnimation(fadeAnimation, { * params: { * time: '2s', * start: 1, * end: 0 * } * }) * ``` * * If any of the passed-in parameter values are missing from this call, * the default values are used. If one or more parameter values are missing before a step is * animated, `useAnimation()` throws an error. * * @publicApi */ export function animation( steps: AnimationMetadata|AnimationMetadata[], options: AnimationOptions|null = null): AnimationReferenceMetadata { return {type: AnimationMetadataType.Reference, animation: steps, options}; } /** * Executes a queried inner animation element within an animation sequence. * * @param options An options object that can contain a delay value for the start of the * animation, and additional override values for developer-defined parameters. * @return An object that encapsulates the child animation data. * * @usageNotes * Each time an animation is triggered in Angular, the parent animation * has priority and any child animations are blocked. In order * for a child animation to run, the parent animation must query each of the elements * containing child animations, and run them using this function. * * Note that this feature is designed to be used with `query()` and it will only work * with animations that are assigned using the Angular animation library. CSS keyframes * and transitions are not handled by this API. * * @publicApi */ export function animateChild(options: AnimateChildOptions|null = null): AnimationAnimateChildMetadata { return {type: AnimationMetadataType.AnimateChild, options}; } /** * Starts a reusable animation that is created using the `animation()` function. * * @param animation The reusable animation to start. * @param options An options object that can contain a delay value for the start of * the animation, and additional override values for developer-defined parameters. * @return An object that contains the animation parameters. * * @publicApi */ export function useAnimation( animation: AnimationReferenceMetadata, options: AnimationOptions|null = null): AnimationAnimateRefMetadata { return {type: AnimationMetadataType.AnimateRef, animation, options}; } /** * Finds one or more inner elements within the current element that is * being animated within a sequence. Use with `animate()`. * * @param selector The element to query, or a set of elements that contain Angular-specific * characteristics, specified with one or more of the following tokens. * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not * all elements can be queried via these tokens, see * [Entering and Leaving Elements](#entering-and-leaving-elements)) * - `query(\":animating\")` : Query all currently animating elements. * - `query(\"@triggerName\")` : Query elements that contain an animation trigger. * - `query(\"@*\")` : Query all elements that contain an animation triggers. * - `query(\":self\")` : Include the current element into the animation sequence. * * @param animation One or more animation steps to apply to the queried element or elements. * An array is treated as an animation sequence. * @param options An options object. Use the 'limit' field to limit the total number of * items to collect. * @return An object that encapsulates the query data. * * @usageNotes * * ### Multiple Tokens * * Tokens can be merged into a combined query selector string. For example: * * ```typescript * query(':self, .record:enter, .record:leave, @subTrigger', [...]) * ``` * * The `query()` function collects multiple elements and works internally by using * `element.querySelectorAll`. Use the `limit` field of an options object to limit * the total number of items to be collected. For example: * * ```js * query('div', [ * animate(...), * animate(...) * ], { limit: 1 }) * ``` * * By default, throws an error when zero items are found. Set the * `optional` flag to ignore this error. For example: * * ```js * query('.some-element-that-may-not-be-there', [ * animate(...), * animate(...) * ], { optional: true }) * ``` * * ### Entering and Leaving Elements * * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones * that can are those that Angular assumes can enter/leave based on their own logic * (if their insertion/removal is simply a consequence of that of their parent they * should be queried via a different token in their parent's `:enter`/`:leave` transitions). * * The only elements Angular assumes can enter/leave based on their own logic (thus the only * ones that can be queried via the `:enter` and `:leave` tokens) are: * - Those inserted dynamically (via `ViewContainerRef`) * - Those that have a structural directive (which, under the hood, are a subset of the above ones) * *
* * Note that elements will be successfully queried via `:enter`/`:leave` even if their * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural * directive (e.g. they enter/exit alongside their parent). * *
* *
* * There is an exception to what previously mentioned, besides elements entering/leaving based on * their own logic, elements with an animation trigger can always be queried via `:leave` when * their parent is also leaving. * *
* * ### Usage Example * * The following example queries for inner elements and animates them * individually using `animate()`. * * ```typescript * @Component({ * selector: 'inner', * template: ` *
*

Title

*
* Blah blah blah *
*
* `, * animations: [ * trigger('queryAnimation', [ * transition('* => goAnimate', [ * // hide the inner elements * query('h1', style({ opacity: 0 })), * query('.content', style({ opacity: 0 })), * * // animate the inner elements in, one by one * query('h1', animate(1000, style({ opacity: 1 }))), * query('.content', animate(1000, style({ opacity: 1 }))), * ]) * ]) * ] * }) * class Cmp { * exp = ''; * * goAnimate() { * this.exp = 'goAnimate'; * } * } * ``` * * @publicApi */ export function query( selector: string, animation: AnimationMetadata|AnimationMetadata[], options: AnimationQueryOptions|null = null): AnimationQueryMetadata { return {type: AnimationMetadataType.Query, selector, animation, options}; } /** * Use within an animation `query()` call to issue a timing gap after * each queried item is animated. * * @param timings A delay value. * @param animation One ore more animation steps. * @returns An object that encapsulates the stagger data. * * @usageNotes * In the following example, a container element wraps a list of items stamped out * by an `ngFor`. The container element contains an animation trigger that will later be set * to query for each of the inner items. * * Each time items are added, the opacity fade-in animation runs, * and each removed item is faded out. * When either of these animations occur, the stagger effect is * applied after each item's animation is started. * * ```html * * *
*
*
* {{ item }} *
*
* ``` * * Here is the component code: * * ```typescript * import {trigger, transition, style, animate, query, stagger} from '@angular/animations'; * @Component({ * templateUrl: 'list.component.html', * animations: [ * trigger('listAnimation', [ * ... * ]) * ] * }) * class ListComponent { * items = []; * * showItems() { * this.items = [0,1,2,3,4]; * } * * hideItems() { * this.items = []; * } * * toggle() { * this.items.length ? this.hideItems() : this.showItems(); * } * } * ``` * * Here is the animation trigger code: * * ```typescript * trigger('listAnimation', [ * transition('* => *', [ // each time the binding value changes * query(':leave', [ * stagger(100, [ * animate('0.5s', style({ opacity: 0 })) * ]) * ]), * query(':enter', [ * style({ opacity: 0 }), * stagger(100, [ * animate('0.5s', style({ opacity: 1 })) * ]) * ]) * ]) * ]) * ``` * * @publicApi */ export function stagger(timings: string|number, animation: AnimationMetadata|AnimationMetadata[]): AnimationStaggerMetadata { return {type: AnimationMetadataType.Stagger, timings, animation}; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export function scheduleMicroTask(cb: () => any) { Promise.resolve().then(cb); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {scheduleMicroTask} from '../util'; /** * Provides programmatic control of a reusable animation sequence, * built using the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method which returns an `AnimationFactory`, whose * [create](api/animations/AnimationFactory#create)() method instantiates and * initializes this interface. * * @see `AnimationBuilder` * @see `AnimationFactory` * @see `animate()` * * @publicApi */ export interface AnimationPlayer { /** * Provides a callback to invoke when the animation finishes. * @param fn The callback function. * @see `finish()` */ onDone(fn: () => void): void; /** * Provides a callback to invoke when the animation starts. * @param fn The callback function. * @see `run()` */ onStart(fn: () => void): void; /** * Provides a callback to invoke after the animation is destroyed. * @param fn The callback function. * @see `destroy()` * @see `beforeDestroy()` */ onDestroy(fn: () => void): void; /** * Initializes the animation. */ init(): void; /** * Reports whether the animation has started. * @returns True if the animation has started, false otherwise. */ hasStarted(): boolean; /** * Runs the animation, invoking the `onStart()` callback. */ play(): void; /** * Pauses the animation. */ pause(): void; /** * Restarts the paused animation. */ restart(): void; /** * Ends the animation, invoking the `onDone()` callback. */ finish(): void; /** * Destroys the animation, after invoking the `beforeDestroy()` callback. * Calls the `onDestroy()` callback when destruction is completed. */ destroy(): void; /** * Resets the animation to its initial state. */ reset(): void; /** * Sets the position of the animation. * @param position A 0-based offset into the duration, in milliseconds. */ setPosition(position: any /** TODO #9100 */): void; /** * Reports the current position of the animation. * @returns A 0-based offset into the duration, in milliseconds. */ getPosition(): number; /** * The parent of this player, if any. */ parentPlayer: AnimationPlayer|null; /** * The total run time of the animation, in milliseconds. */ readonly totalTime: number; /** * Provides a callback to invoke before the animation is destroyed. */ beforeDestroy?: () => any; /** * @internal * Internal */ triggerCallback?: (phaseName: string) => void; /** * @internal * Internal */ disabled?: boolean; } /** * An empty programmatic controller for reusable animations. * Used internally when animations are disabled, to avoid * checking for the null case when an animation player is expected. * * @see `animate()` * @see `AnimationPlayer` * @see `GroupPlayer` * * @publicApi */ export class NoopAnimationPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _onDestroyFns: Function[] = []; private _originalOnDoneFns: Function[] = []; private _originalOnStartFns: Function[] = []; private _started = false; private _destroyed = false; private _finished = false; private _position = 0; public parentPlayer: AnimationPlayer|null = null; public readonly totalTime: number; constructor(duration: number = 0, delay: number = 0) { this.totalTime = duration + delay; } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } onStart(fn: () => void): void { this._originalOnStartFns.push(fn); this._onStartFns.push(fn); } onDone(fn: () => void): void { this._originalOnDoneFns.push(fn); this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } hasStarted(): boolean { return this._started; } init(): void {} play(): void { if (!this.hasStarted()) { this._onStart(); this.triggerMicrotask(); } this._started = true; } /** @internal */ triggerMicrotask() { scheduleMicroTask(() => this._onFinish()); } private _onStart() { this._onStartFns.forEach(fn => fn()); this._onStartFns = []; } pause(): void {} restart(): void {} finish(): void { this._onFinish(); } destroy(): void { if (!this._destroyed) { this._destroyed = true; if (!this.hasStarted()) { this._onStart(); } this.finish(); this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } reset(): void { this._started = false; this._finished = false; this._onStartFns = this._originalOnStartFns; this._onDoneFns = this._originalOnDoneFns; } setPosition(position: number): void { this._position = this.totalTime ? position * this.totalTime : 1; } getPosition(): number { return this.totalTime ? this._position / this.totalTime : 1; } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {scheduleMicroTask} from '../util'; import {AnimationPlayer} from './animation_player'; /** * A programmatic controller for a group of reusable animations. * Used internally to control animations. * * @see `AnimationPlayer` * @see `{@link animations/group group()}` * */ export class AnimationGroupPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _finished = false; private _started = false; private _destroyed = false; private _onDestroyFns: Function[] = []; public parentPlayer: AnimationPlayer|null = null; public totalTime: number = 0; public readonly players: AnimationPlayer[]; constructor(_players: AnimationPlayer[]) { this.players = _players; let doneCount = 0; let destroyCount = 0; let startCount = 0; const total = this.players.length; if (total == 0) { scheduleMicroTask(() => this._onFinish()); } else { this.players.forEach(player => { player.onDone(() => { if (++doneCount == total) { this._onFinish(); } }); player.onDestroy(() => { if (++destroyCount == total) { this._onDestroy(); } }); player.onStart(() => { if (++startCount == total) { this._onStart(); } }); }); } this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0); } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } init(): void { this.players.forEach(player => player.init()); } onStart(fn: () => void): void { this._onStartFns.push(fn); } private _onStart() { if (!this.hasStarted()) { this._started = true; this._onStartFns.forEach(fn => fn()); this._onStartFns = []; } } onDone(fn: () => void): void { this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } hasStarted() { return this._started; } play() { if (!this.parentPlayer) { this.init(); } this._onStart(); this.players.forEach(player => player.play()); } pause(): void { this.players.forEach(player => player.pause()); } restart(): void { this.players.forEach(player => player.restart()); } finish(): void { this._onFinish(); this.players.forEach(player => player.finish()); } destroy(): void { this._onDestroy(); } private _onDestroy() { if (!this._destroyed) { this._destroyed = true; this._onFinish(); this.players.forEach(player => player.destroy()); this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } reset(): void { this.players.forEach(player => player.reset()); this._destroyed = false; this._finished = false; this._started = false; } setPosition(p: number): void { const timeAtPosition = p * this.totalTime; this.players.forEach(player => { const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1; player.setPosition(position); }); } getPosition(): number { const longestPlayer = this.players.reduce((longestSoFar: AnimationPlayer|null, player: AnimationPlayer) => { const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime; return newPlayerIsLongest ? player : longestSoFar; }, null); return longestPlayer != null ? longestPlayer.getPosition() : 0; } beforeDestroy(): void { this.players.forEach(player => { if (player.beforeDestroy) { player.beforeDestroy(); } }); } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export {AnimationGroupPlayer as ɵAnimationGroupPlayer} from './players/animation_group_player'; export const ɵPRE_STYLE = '!'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation package. */ export {AnimationBuilder, AnimationFactory} from './animation_builder'; export {AnimationEvent} from './animation_event'; export {animate, animateChild, AnimateChildOptions, AnimateTimings, animation, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationQueryMetadata, AnimationQueryOptions, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, AUTO_STYLE, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, ɵStyleData, ɵStyleDataMap} from './animation_metadata'; export {AnimationPlayer, NoopAnimationPlayer} from './players/animation_player'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/animations'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CG;MACmB,gBAAgB,CAAA;AAQrC,CAAA;AAED;;;;;;AAMG;MACmB,gBAAgB,CAAA;AAWrC;;ACsFD;;;;AAIG;AACI,MAAM,UAAU,GAAG,IAAI;AAyR9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AE,GAAG,CAAC,CAAC;KAChE;IAED,aAAa,GAAA;AACX,QAAA,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,IAAG;YAC5B,IAAI,MAAM,CAAC,aAAa,EAAE;gBACxB,MAAM,CAAC,aAAa,EAAE,CAAC;AACxB,aAAA;AACH,SAAC,CAAC,CAAC;KACJ;;AAGD,IAAA,eAAe,CAAC,SAAiB,EAAA;AAC/B,QAAA,MAAM,OAAO,GAAG,SAAS,IAAI,OAAO,GAAG,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC;QAC1E,OAAO,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;AAC5B,QAAA,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;KACpB;AACF;;ACrKM,MAAM,UAAU,GAAG;;ACA1B;;;;AAIG;;ACJH;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 21 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../../packages/animations/browser/src/error_helpers.ts","../../../../../../../packages/animations/browser/src/render/web_animations/animatable_props_set.ts","../../../../../../../packages/animations/browser/src/render/shared.ts","../../../../../../../packages/animations/browser/src/util.ts","../../../../../../../packages/animations/browser/testing/src/mock_animation_driver.ts","../../../../../../../packages/animations/browser/testing/public_api.ts","../../../../../../../packages/animations/browser/testing/index.ts","../../../../../../../packages/animations/browser/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵRuntimeError as RuntimeError} from '@angular/core'; import {RuntimeErrorCode} from './errors'; const LINE_START = '\ - '; export function invalidTimingValue(exp: string|number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TIMING_VALUE, ngDevMode && `The provided timing value \"${exp}\" is invalid.`); } export function negativeStepValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_STEP_VALUE, ngDevMode && 'Duration values below 0 are not allowed for this animation step.'); } export function negativeDelayValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_DELAY_VALUE, ngDevMode && 'Delay values below 0 are not allowed for this animation step.'); } export function invalidStyleParams(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_PARAMS, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`); } export function invalidParamValue(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARAM_VALUE, ngDevMode && `Please provide a value for the animation param ${varName}`); } export function invalidNodeType(nodeType: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_NODE_TYPE, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`); } export function invalidCssUnitValue(userProvidedProperty: string, value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_CSS_UNIT_VALUE, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`); } export function invalidTrigger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRIGGER, ngDevMode && 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))'); } export function invalidDefinition(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_DEFINITION, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()'); } export function invalidState(metadataName: string, missingSubs: string[]): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STATE, ngDevMode && `state(\"${ metadataName}\", ...) must define default values for all the following style substitutions: ${ missingSubs.join(', ')}`); } export function invalidStyleValue(value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_VALUE, ngDevMode && `The provided style string value ${value} is not allowed.`); } export function invalidProperty(prop: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PROPERTY, ngDevMode && `The provided animation property \"${ prop}\" is not a supported CSS property for animations`); } export function invalidParallelAnimation( prop: string, firstStart: number, firstEnd: number, secondStart: number, secondEnd: number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARALLEL_ANIMATION, ngDevMode && `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${ firstEnd}ms\" is also being animated in a parallel animation between the times of \"${ secondStart}ms\" and \"${secondEnd}ms\"`); } export function invalidKeyframes(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_KEYFRAMES, ngDevMode && `keyframes() must be placed inside of a call to animate()`); } export function invalidOffset(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_OFFSET, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`); } export function keyframeOffsetsOutOfOrder(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER, ngDevMode && `Please ensure that all keyframe offsets are in order`); } export function keyframesMissingOffsets(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`); } export function invalidStagger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STAGGER, ngDevMode && `stagger() can only be used inside of query()`); } export function invalidQuery(selector: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_QUERY, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${ selector}\", { optional: true })\\` if you wish to allow this.)`); } export function invalidExpression(expr: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_EXPRESSION, ngDevMode && `The provided transition expression \"${expr}\" is not supported`); } export function invalidTransitionAlias(alias: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRANSITION_ALIAS, ngDevMode && `The transition alias value \"${alias}\" is not supported`); } export function validationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.VALIDATION_FAILED, ngDevMode && `animation validation failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function buildingFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.BUILDING_FAILED, ngDevMode && `animation building failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function triggerBuildFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_BUILD_FAILED, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\ - ${ errors.map(err => err.message).join('\ - ')}`); } export function animationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.ANIMATION_FAILED, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function registerFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.REGISTRATION_FAILED, ngDevMode && `Unable to build the animation due to the following errors: ${ errors.map(err => err.message).join('\ ')}`); } export function missingOrDestroyedAnimation(): Error { return new RuntimeError( RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed'); } export function createAnimationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.CREATE_ANIMATION_FAILED, ngDevMode && `Unable to create the animation due to the following errors:${ errors.map(err => err.message).join('\ ')}`); } export function missingPlayer(id: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_PLAYER, ngDevMode && `Unable to find the timeline player referenced by ${id}`); } export function missingTrigger(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_TRIGGER, ngDevMode && `Unable to listen on the animation trigger event \"${ phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`); } export function missingEvent(name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_EVENT, ngDevMode && `Unable to listen on the animation trigger \"${ name}\" because the provided event is undefined!`); } export function unsupportedTriggerEvent(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${ name}\" is not supported!`); } export function unregisteredTrigger(name: string): Error { return new RuntimeError( RuntimeErrorCode.UNREGISTERED_TRIGGER, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`); } export function triggerTransitionsFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED, ngDevMode && `Unable to process animations due to the following failed trigger transitions\ ${ errors.map(err => err.message).join('\ ')}`); } export function triggerParsingFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_PARSING_FAILED, ngDevMode && `Animation parsing for the ${name} trigger have failed:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function transitionFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRANSITION_FAILED, ngDevMode && `@${name} has failed due to:\ ${errors.map(err => err.message).join('\ - ')}`); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Set of all animatable CSS properties * * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties */ export const ANIMATABLE_PROP_SET = new Set([ '-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom', ]); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationEvent, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationStyleNormalizer} from '../../src/dsl/style_normalization/animation_style_normalizer'; import {AnimationDriver} from '../../src/render/animation_driver'; import {animationFailed} from '../error_helpers'; import {ANIMATABLE_PROP_SET} from './web_animations/animatable_props_set'; // We don't include ambient node types here since @angular/animations/browser // is meant to target the browser so technically it should not depend on node // types. `process` is just declared locally here as a result. declare const process: any; export function isBrowser(): boolean { return (typeof window !== 'undefined' && typeof window.document !== 'undefined'); } export function isNode(): boolean { // Checking only for `process` isn't enough to identify whether or not we're in a Node // environment, because Webpack by default will polyfill the `process`. While we can discern // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and // might not be future-proof. Instead we look at the stringified version of `process` which // is `[object process]` in Node and `[object Object]` when polyfilled. return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; } export function optimizeGroupPlayer(players: AnimationPlayer[]): AnimationPlayer { switch (players.length) { case 0: return new NoopAnimationPlayer(); case 1: return players[0]; default: return new ɵAnimationGroupPlayer(players); } } export function normalizeKeyframes( driver: AnimationDriver, normalizer: AnimationStyleNormalizer, element: any, keyframes: Array<ɵStyleDataMap>, preStyles: ɵStyleDataMap = new Map(), postStyles: ɵStyleDataMap = new Map()): Array<ɵStyleDataMap> { const errors: Error[] = []; const normalizedKeyframes: Array<ɵStyleDataMap> = []; let previousOffset = -1; let previousKeyframe: ɵStyleDataMap|null = null; keyframes.forEach(kf => { const offset = kf.get('offset') as number; const isSameOffset = offset == previousOffset; const normalizedKeyframe: ɵStyleDataMap = (isSameOffset && previousKeyframe) || new Map(); kf.forEach((val, prop) => { let normalizedProp = prop; let normalizedValue = val; if (prop !== 'offset') { normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors); switch (normalizedValue) { case PRE_STYLE: normalizedValue = preStyles.get(prop)!; break; case AUTO_STYLE: normalizedValue = postStyles.get(prop)!; break; default: normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors); break; } } normalizedKeyframe.set(normalizedProp, normalizedValue); }); if (!isSameOffset) { normalizedKeyframes.push(normalizedKeyframe); } previousKeyframe = normalizedKeyframe; previousOffset = offset; }); if (errors.length) { throw animationFailed(errors); } return normalizedKeyframes; } export function listenOnPlayer( player: AnimationPlayer, eventName: string, event: AnimationEvent|undefined, callback: (event: any) => any) { switch (eventName) { case 'start': player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player))); break; case 'done': player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player))); break; case 'destroy': player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player))); break; } } export function copyAnimationEvent( e: AnimationEvent, phaseName: string, player: AnimationPlayer): AnimationEvent { const totalTime = player.totalTime; const disabled = (player as any).disabled ? true : false; const event = makeAnimationEvent( e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled); const data = (e as any)['_data']; if (data != null) { (event as any)['_data'] = data; } return event; } export function makeAnimationEvent( element: any, triggerName: string, fromState: string, toState: string, phaseName: string = '', totalTime: number = 0, disabled?: boolean): AnimationEvent { return {element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled}; } export function getOrSetDefaultValue(map: Map, key: T, defaultValue: V) { let value = map.get(key); if (!value) { map.set(key, value = defaultValue); } return value; } export function parseTimelineCommand(command: string): [string, string] { const separatorPos = command.indexOf(':'); const id = command.substring(1, separatorPos); const action = command.slice(separatorPos + 1); return [id, action]; } let _contains: (elm1: any, elm2: any) => boolean = (elm1: any, elm2: any) => false; let _query: (element: any, selector: string, multi: boolean) => any[] = (element: any, selector: string, multi: boolean) => { return []; }; let _documentElement: unknown|null = null; export function getParentElement(element: any): unknown|null { const parent = element.parentNode || element.host; // consider host to support shadow DOM if (parent === _documentElement) { return null; } return parent; } // Define utility methods for browsers and platform-server(domino) where Element // and utility methods exist. const _isNode = isNode(); if (_isNode || typeof Element !== 'undefined') { if (!isBrowser()) { _contains = (elm1, elm2) => elm1.contains(elm2); } else { // Read the document element in an IIFE that's been marked pure to avoid a top-level property // read that may prevent tree-shaking. _documentElement = /* @__PURE__ */ (() => document.documentElement)(); _contains = (elm1, elm2) => { while (elm2) { if (elm2 === elm1) { return true; } elm2 = getParentElement(elm2); } return false; }; } _query = (element: any, selector: string, multi: boolean): any[] => { if (multi) { return Array.from(element.querySelectorAll(selector)); } const elem = element.querySelector(selector); return elem ? [elem] : []; }; } function containsVendorPrefix(prop: string): boolean { // Webkit is the only real popular vendor prefix nowadays // cc: http://shouldiprefix.com/ return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit } let _CACHED_BODY: {style: any}|null = null; let _IS_WEBKIT = false; export function validateStyleProperty(prop: string): boolean { if (!_CACHED_BODY) { _CACHED_BODY = getBodyNode() || {}; _IS_WEBKIT = _CACHED_BODY!.style ? ('WebkitAppearance' in _CACHED_BODY!.style) : false; } let result = true; if (_CACHED_BODY!.style && !containsVendorPrefix(prop)) { result = prop in _CACHED_BODY!.style; if (!result && _IS_WEBKIT) { const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1); result = camelProp in _CACHED_BODY!.style; } } return result; } export function validateWebAnimatableStyleProperty(prop: string): boolean { return ANIMATABLE_PROP_SET.has(prop); } export function getBodyNode(): any|null { if (typeof document != 'undefined') { return document.body; } return null; } export const containsElement = _contains; export const invokeQuery = _query; export function hypenatePropsKeys(original: ɵStyleDataMap): ɵStyleDataMap { const newMap: ɵStyleDataMap = new Map(); original.forEach((val, prop) => { const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2'); newMap.set(newProp, val); }); return newMap; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationMetadata, AnimationMetadataType, AnimationOptions, sequence, ɵStyleData, ɵStyleDataMap} from '@angular/animations'; import {Ast as AnimationAst, AstVisitor as AnimationAstVisitor} from './dsl/animation_ast'; import {AnimationDslVisitor} from './dsl/animation_dsl_visitor'; import {invalidNodeType, invalidParamValue, invalidStyleParams, invalidTimingValue, negativeDelayValue, negativeStepValue} from './error_helpers'; import {isNode} from './render/shared'; export const ONE_SECOND = 1000; export const SUBSTITUTION_EXPR_START = '{{'; export const SUBSTITUTION_EXPR_END = '}}'; export const ENTER_CLASSNAME = 'ng-enter'; export const LEAVE_CLASSNAME = 'ng-leave'; export const NG_TRIGGER_CLASSNAME = 'ng-trigger'; export const NG_TRIGGER_SELECTOR = '.ng-trigger'; export const NG_ANIMATING_CLASSNAME = 'ng-animating'; export const NG_ANIMATING_SELECTOR = '.ng-animating'; export function resolveTimingValue(value: string|number) { if (typeof value == 'number') return value; const matches = value.match(/^(-?[\\.\\d]+)(m?s)/); if (!matches || matches.length < 2) return 0; return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); } function _convertTimeValueToMS(value: number, unit: string): number { switch (unit) { case 's': return value * ONE_SECOND; default: // ms or something else return value; } } export function resolveTiming( timings: string|number|AnimateTimings, errors: Error[], allowNegativeValues?: boolean) { return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues); } function parseTimeExpression( exp: string|number, errors: Error[], allowNegativeValues?: boolean): AnimateTimings { const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i; let duration: number; let delay: number = 0; let easing: string = ''; if (typeof exp === 'string') { const matches = exp.match(regex); if (matches === null) { errors.push(invalidTimingValue(exp)); return {duration: 0, delay: 0, easing: ''}; } duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); const delayMatch = matches[3]; if (delayMatch != null) { delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]); } const easingVal = matches[5]; if (easingVal) { easing = easingVal; } } else { duration = exp; } if (!allowNegativeValues) { let containsErrors = false; let startIndex = errors.length; if (duration < 0) { errors.push(negativeStepValue()); containsErrors = true; } if (delay < 0) { errors.push(negativeDelayValue()); containsErrors = true; } if (containsErrors) { errors.splice(startIndex, 0, invalidTimingValue(exp)); } } return {duration, delay, easing}; } export function copyObj( obj: {[key: string]: any}, destination: {[key: string]: any} = {}): {[key: string]: any} { Object.keys(obj).forEach(prop => { destination[prop] = obj[prop]; }); return destination; } export function convertToMap(obj: ɵStyleData): ɵStyleDataMap { const styleMap: ɵStyleDataMap = new Map(); Object.keys(obj).forEach(prop => { const val = obj[prop]; styleMap.set(prop, val); }); return styleMap; } export function normalizeKeyframes(keyframes: Array<ɵStyleData>| Array<ɵStyleDataMap>): Array<ɵStyleDataMap> { if (!keyframes.length) { return []; } if (keyframes[0] instanceof Map) { return keyframes as Array<ɵStyleDataMap>; } return keyframes.map(kf => convertToMap(kf as ɵStyleData)); } export function normalizeStyles(styles: ɵStyleDataMap|Array<ɵStyleDataMap>): ɵStyleDataMap { const normalizedStyles: ɵStyleDataMap = new Map(); if (Array.isArray(styles)) { styles.forEach(data => copyStyles(data, normalizedStyles)); } else { copyStyles(styles, normalizedStyles); } return normalizedStyles; } export function copyStyles( styles: ɵStyleDataMap, destination: ɵStyleDataMap = new Map(), backfill?: ɵStyleDataMap): ɵStyleDataMap { if (backfill) { for (let [prop, val] of backfill) { destination.set(prop, val); } } for (let [prop, val] of styles) { destination.set(prop, val); } return destination; } function getStyleAttributeString(element: any, key: string, value: string) { // Return the key-value pair string to be added to the style attribute for the // given CSS style key. if (value) { return key + ':' + value + ';'; } else { return ''; } } function writeStyleAttribute(element: any) { // Read the style property of the element and manually reflect it to the // style attribute. This is needed because Domino on platform-server doesn't // understand the full set of allowed CSS properties and doesn't reflect some // of them automatically. let styleAttrValue = ''; for (let i = 0; i < element.style.length; i++) { const key = element.style.item(i); styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key)); } for (const key in element.style) { // Skip internal Domino properties that don't need to be reflected. if (!element.style.hasOwnProperty(key) || key.startsWith('_')) { continue; } const dashKey = camelCaseToDashCase(key); styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]); } element.setAttribute('style', styleAttrValue); } export function setStyles(element: any, styles: ɵStyleDataMap, formerStyles?: ɵStyleDataMap) { if (element['style']) { styles.forEach((val, prop) => { const camelProp = dashCaseToCamelCase(prop); if (formerStyles && !formerStyles.has(prop)) { formerStyles.set(prop, element.style[camelProp]); } element.style[camelProp] = val; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function eraseStyles(element: any, styles: ɵStyleDataMap) { if (element['style']) { styles.forEach((_, prop) => { const camelProp = dashCaseToCamelCase(prop); element.style[camelProp] = ''; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function normalizeAnimationEntry(steps: AnimationMetadata| AnimationMetadata[]): AnimationMetadata { if (Array.isArray(steps)) { if (steps.length == 1) return steps[0]; return sequence(steps); } return steps as AnimationMetadata; } export function validateStyleParams( value: string|number|null|undefined, options: AnimationOptions, errors: Error[]) { const params = options.params || {}; const matches = extractStyleParams(value); if (matches.length) { matches.forEach(varName => { if (!params.hasOwnProperty(varName)) { errors.push(invalidStyleParams(varName)); } }); } } const PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g'); export function extractStyleParams(value: string|number|null|undefined): string[] { let params: string[] = []; if (typeof value === 'string') { let match: any; while (match = PARAM_REGEX.exec(value)) { params.push(match[1] as string); } PARAM_REGEX.lastIndex = 0; } return params; } export function interpolateParams( value: string|number, params: {[name: string]: any}, errors: Error[]): string|number { const original = value.toString(); const str = original.replace(PARAM_REGEX, (_, varName) => { let localVal = params[varName]; // this means that the value was never overridden by the data passed in by the user if (localVal == null) { errors.push(invalidParamValue(varName)); localVal = ''; } return localVal.toString(); }); // we do this to assert that numeric values stay as they are return str == original ? value : str; } export function iteratorToArray(iterator: any): any[] { const arr: any[] = []; let item = iterator.next(); while (!item.done) { arr.push(item.value); item = iterator.next(); } return arr; } const DASH_CASE_REGEXP = /-+([a-z0-9])/g; export function dashCaseToCamelCase(input: string): string { return input.replace(DASH_CASE_REGEXP, (...m: any[]) => m[1].toUpperCase()); } export function camelCaseToDashCase(input: string): string { return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); } export function allowPreviousPlayerStylesMerge(duration: number, delay: number) { return duration === 0 || delay === 0; } export function balancePreviousStylesIntoKeyframes( element: any, keyframes: Array<ɵStyleDataMap>, previousStyles: ɵStyleDataMap) { if (previousStyles.size && keyframes.length) { let startingKeyframe = keyframes[0]; let missingStyleProps: string[] = []; previousStyles.forEach((val, prop) => { if (!startingKeyframe.has(prop)) { missingStyleProps.push(prop); } startingKeyframe.set(prop, val); }); if (missingStyleProps.length) { for (let i = 1; i < keyframes.length; i++) { let kf = keyframes[i]; missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop))); } } } return keyframes; } export function visitDslNode( visitor: AnimationDslVisitor, node: AnimationMetadata, context: any): any; export function visitDslNode( visitor: AnimationAstVisitor, node: AnimationAst, context: any): any; export function visitDslNode(visitor: any, node: any, context: any): any { switch (node.type) { case AnimationMetadataType.Trigger: return visitor.visitTrigger(node, context); case AnimationMetadataType.State: return visitor.visitState(node, context); case AnimationMetadataType.Transition: return visitor.visitTransition(node, context); case AnimationMetadataType.Sequence: return visitor.visitSequence(node, context); case AnimationMetadataType.Group: return visitor.visitGroup(node, context); case AnimationMetadataType.Animate: return visitor.visitAnimate(node, context); case AnimationMetadataType.Keyframes: return visitor.visitKeyframes(node, context); case AnimationMetadataType.Style: return visitor.visitStyle(node, context); case AnimationMetadataType.Reference: return visitor.visitReference(node, context); case AnimationMetadataType.AnimateChild: return visitor.visitAnimateChild(node, context); case AnimationMetadataType.AnimateRef: return visitor.visitAnimateRef(node, context); case AnimationMetadataType.Query: return visitor.visitQuery(node, context); case AnimationMetadataType.Stagger: return visitor.visitStagger(node, context); default: throw invalidNodeType(node.type); } } export function computeStyle(element: any, prop: string): string { return (window.getComputedStyle(element))[prop]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵgetParentElement as getParentElement, ɵinvokeQuery as invokeQuery, ɵnormalizeKeyframes as normalizeKeyframes, ɵvalidateStyleProperty as validateStyleProperty,} from '@angular/animations/browser'; import {validateWebAnimatableStyleProperty} from '../../src/render/shared'; import {camelCaseToDashCase} from '../../src/util'; /** * @publicApi */ export class MockAnimationDriver implements AnimationDriver { static log: AnimationPlayer[] = []; validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); } validateAnimatableStyleProperty(prop: string): boolean { const cssProp = camelCaseToDashCase(prop); return validateWebAnimatableStyleProperty(cssProp); } matchesElement(_element: any, _selector: string): boolean { return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return defaultValue || ''; } animate( element: any, keyframes: Array<ɵStyleDataMap>, duration: number, delay: number, easing: string, previousPlayers: any[] = []): MockAnimationPlayer { const player = new MockAnimationPlayer(element, keyframes, duration, delay, easing, previousPlayers); MockAnimationDriver.log.push(player); return player; } } /** * @publicApi */ export class MockAnimationPlayer extends NoopAnimationPlayer { private __finished = false; private __started = false; public previousStyles: ɵStyleDataMap = new Map(); private _onInitFns: (() => any)[] = []; public currentSnapshot: ɵStyleDataMap = new Map(); private _keyframes: Array<ɵStyleDataMap> = []; constructor( public element: any, public keyframes: Array<ɵStyleDataMap>, public duration: number, public delay: number, public easing: string, public previousPlayers: any[]) { super(duration, delay); this._keyframes = normalizeKeyframes(keyframes); if (allowPreviousPlayerStylesMerge(duration, delay)) { previousPlayers.forEach(player => { if (player instanceof MockAnimationPlayer) { const styles = player.currentSnapshot; styles.forEach((val, prop) => this.previousStyles.set(prop, val)); } }); } } /* @internal */ onInit(fn: () => any) { this._onInitFns.push(fn); } /* @internal */ override init() { super.init(); this._onInitFns.forEach(fn => fn()); this._onInitFns = []; } override reset() { super.reset(); this.__started = false; } override finish(): void { super.finish(); this.__finished = true; } override destroy(): void { super.destroy(); this.__finished = true; } /* @internal */ triggerMicrotask() {} override play(): void { super.play(); this.__started = true; } override hasStarted() { return this.__started; } beforeDestroy() { const captures: ɵStyleDataMap = new Map(); this.previousStyles.forEach((val, prop) => captures.set(prop, val)); if (this.hasStarted()) { // when assembling the captured styles, it's important that // we build the keyframe styles in the following order: // {other styles within keyframes, ... previousStyles } this._keyframes.forEach(kf => { for (let [prop, val] of kf) { if (prop !== 'offset') { captures.set(prop, this.__finished ? val : AUTO_STYLE); } } }); } this.currentSnapshot = captures; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verifcation. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["RuntimeError","normalizeKeyframes","PRE_STYLE","validateStyleProperty","containsElement","getParentElement","invokeQuery","allow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AEZ,IAAI,GAAA;QACX,KAAK,CAAC,IAAI,EAAE,CAAC;AACb,QAAA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;KACvB;IAEQ,UAAU,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IAED,aAAa,GAAA;AACX,QAAA,MAAM,QAAQ,GAAkB,IAAI,GAAG,EAAE,CAAC;QAE1C,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;AAEpE,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;;;;AAIrB,YAAA,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,IAAG;gBAC3B,KAAK,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE;oBAC1B,IAAI,IAAI,KAAK,QAAQ,EAAE;AACrB,wBAAA,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,GAAG,UAAU,CAAC,CAAC;AACxD,qBAAA;AACF,iBAAA;AACH,aAAC,CAAC,CAAC;AACJ,SAAA;AAED,QAAA,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;AACF;;ACzID;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 22 -------------------- {"version":3,"file":"animations.mjs","sources":["../../../../../../packages/animations/src/animation_builder.ts","../../../../../../packages/animations/src/animation_metadata.ts","../../../../../../packages/animations/src/util.ts","../../../../../../packages/animations/src/players/animation_player.ts","../../../../../../packages/animations/src/players/animation_group_player.ts","../../../../../../packages/animations/src/private_export.ts","../../../../../../packages/animations/src/animations.ts","../../../../../../packages/animations/public_api.ts","../../../../../../packages/animations/index.ts","../../../../../../packages/animations/animations.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationOptions} from './animation_metadata'; import {AnimationPlayer} from './players/animation_player'; /** * An injectable service that produces an animation sequence programmatically within an * Angular component or directive. * Provided by the `BrowserAnimationsModule` or `NoopAnimationsModule`. * * @usageNotes * * To use this service, add it to your component or directive as a dependency. * The service is instantiated along with your component. * * Apps do not typically need to create their own animation players, but if you * do need to, follow these steps: * * 1. Use the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() method * to create a programmatic animation. The method returns an `AnimationFactory` instance. * * 2. Use the factory object to create an `AnimationPlayer` and attach it to a DOM element. * * 3. Use the player object to control the animation programmatically. * * For example: * * ```ts * // import the service from BrowserAnimationsModule * import {AnimationBuilder} from '@angular/animations'; * // require the service as a dependency * class MyCmp { * constructor(private _builder: AnimationBuilder) {} * * makeAnimation(element: any) { * // first define a reusable animation * const myAnimation = this._builder.build([ * style({ width: 0 }), * animate(1000, style({ width: '100px' })) * ]); * * // use the returned factory object to create a player * const player = myAnimation.create(element); * * player.play(); * } * } * ``` * * @publicApi */ export abstract class AnimationBuilder { /** * Builds a factory for producing a defined animation. * @param animation A reusable animation definition. * @returns A factory object that can create a player for the defined animation. * @see `animate()` */ abstract build(animation: AnimationMetadata|AnimationMetadata[]): AnimationFactory; } /** * A factory object returned from the * [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method. * * @publicApi */ export abstract class AnimationFactory { /** * Creates an `AnimationPlayer` instance for the reusable animation defined by * the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method that created this factory and attaches the new player a DOM element. * * @param element The DOM element to which to attach the player. * @param options A set of options that can include a time delay and * additional developer-defined parameters. */ abstract create(element: any, options?: AnimationOptions): AnimationPlayer; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Represents a set of CSS styles for use in an animation style as a generic. */ export interface ɵStyleData { [key: string]: string|number; } /** * Represents a set of CSS styles for use in an animation style as a Map. */ export type ɵStyleDataMap = Map; /** * Represents animation-step timing parameters for an animation step. * @see `animate()` * * @publicApi */ export declare type AnimateTimings = { /** * The full duration of an animation step. A number and optional time unit, * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively. * The default unit is milliseconds. */ duration: number, /** * The delay in applying an animation step. A number and optional time unit. * The default unit is milliseconds. */ delay: number, /** * An easing style that controls how an animations step accelerates * and decelerates during its run time. An easing function such as `cubic-bezier()`, * or one of the following constants: * - `ease-in` * - `ease-out` * - `ease-in-and-out` */ easing: string | null }; /** * @description Options that control animation styling and timing. * * The following animation functions accept `AnimationOptions` data: * * - `transition()` * - `sequence()` * - `{@link animations/group group()}` * - `query()` * - `animation()` * - `useAnimation()` * - `animateChild()` * * Programmatic animations built using the `AnimationBuilder` service also * make use of `AnimationOptions`. * * @publicApi */ export declare interface AnimationOptions { /** * Sets a time-delay for initiating an animation action. * A number and optional time unit, such as \"1s\" or \"10ms\" for one second * and 10 milliseconds, respectively.The default unit is milliseconds. * Default value is 0, meaning no delay. */ delay?: number|string; /** * A set of developer-defined parameters that modify styling and timing * when an animation action starts. An array of key-value pairs, where the provided value * is used as a default. */ params?: {[name: string]: any}; } /** * Adds duration options to control animation styling and timing for a child animation. * * @see `animateChild()` * * @publicApi */ export declare interface AnimateChildOptions extends AnimationOptions { duration?: number|string; } /** * @description Constants for the categories of parameters that can be defined for animations. * * A corresponding function defines a set of parameters for each category, and * collects them into a corresponding `AnimationMetadata` object. * * @publicApi */ export const enum AnimationMetadataType { /** * Associates a named animation state with a set of CSS styles. * See [`state()`](api/animations/state) */ State = 0, /** * Data for a transition from one animation state to another. * See `transition()` */ Transition = 1, /** * Contains a set of animation steps. * See `sequence()` */ Sequence = 2, /** * Contains a set of animation steps. * See `{@link animations/group group()}` */ Group = 3, /** * Contains an animation step. * See `animate()` */ Animate = 4, /** * Contains a set of animation steps. * See `keyframes()` */ Keyframes = 5, /** * Contains a set of CSS property-value pairs into a named style. * See `style()` */ Style = 6, /** * Associates an animation with an entry trigger that can be attached to an element. * See `trigger()` */ Trigger = 7, /** * Contains a re-usable animation. * See `animation()` */ Reference = 8, /** * Contains data to use in executing child animations returned by a query. * See `animateChild()` */ AnimateChild = 9, /** * Contains animation parameters for a re-usable animation. * See `useAnimation()` */ AnimateRef = 10, /** * Contains child-animation query data. * See `query()` */ Query = 11, /** * Contains data for staggering an animation sequence. * See `stagger()` */ Stagger = 12 } /** * Specifies automatic styling. * * @publicApi */ export const AUTO_STYLE = '*'; /** * Base for animation data structures. * * @publicApi */ export interface AnimationMetadata { type: AnimationMetadataType; } /** * Contains an animation trigger. Instantiated and returned by the * `trigger()` function. * * @publicApi */ export interface AnimationTriggerMetadata extends AnimationMetadata { /** * The trigger name, used to associate it with an element. Unique within the component. */ name: string; /** * An animation definition object, containing an array of state and transition declarations. */ definitions: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: {params?: {[name: string]: any}}|null; } /** * Encapsulates an animation state by associating a state name with a set of CSS styles. * Instantiated and returned by the [`state()`](api/animations/state) function. * * @publicApi */ export interface AnimationStateMetadata extends AnimationMetadata { /** * The state name, unique within the component. */ name: string; /** * The CSS styles associated with this state. */ styles: AnimationStyleMetadata; /** * An options object containing * developer-defined parameters that provide styling defaults and * can be overridden on invocation. */ options?: {params: {[name: string]: any}}; } /** * Encapsulates an animation transition. Instantiated and returned by the * `transition()` function. * * @publicApi */ export interface AnimationTransitionMetadata extends AnimationMetadata { /** * An expression that describes a state change. */ expr: string| ((fromState: string, toState: string, element?: any, params?: {[key: string]: any}) => boolean); /** * One or more animation objects to which this transition applies. */ animation: AnimationMetadata|AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates a reusable animation, which is a collection of individual animation steps. * Instantiated and returned by the `animation()` function, and * passed to the `useAnimation()` function. * * @publicApi */ export interface AnimationReferenceMetadata extends AnimationMetadata { /** * One or more animation step objects. */ animation: AnimationMetadata|AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation query. Instantiated and returned by * the `query()` function. * * @publicApi */ export interface AnimationQueryMetadata extends AnimationMetadata { /** * The CSS selector for this query. */ selector: string; /** * One or more animation step objects. */ animation: AnimationMetadata|AnimationMetadata[]; /** * A query options object. */ options: AnimationQueryOptions|null; } /** * Encapsulates a keyframes sequence. Instantiated and returned by * the `keyframes()` function. * * @publicApi */ export interface AnimationKeyframesSequenceMetadata extends AnimationMetadata { /** * An array of animation styles. */ steps: AnimationStyleMetadata[]; } /** * Encapsulates an animation style. Instantiated and returned by * the `style()` function. * * @publicApi */ export interface AnimationStyleMetadata extends AnimationMetadata { /** * A set of CSS style properties. */ styles: '*'|{[key: string]: string | number}|Array<{[key: string]: string | number}|'*'>; /** * A percentage of the total animate time at which the style is to be applied. */ offset: number|null; } /** * Encapsulates an animation step. Instantiated and returned by * the `animate()` function. * * @publicApi */ export interface AnimationAnimateMetadata extends AnimationMetadata { /** * The timing data for the step. */ timings: string|number|AnimateTimings; /** * A set of styles used in the step. */ styles: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata|null; } /** * Encapsulates a child animation, that can be run explicitly when the parent is run. * Instantiated and returned by the `animateChild` function. * * @publicApi */ export interface AnimationAnimateChildMetadata extends AnimationMetadata { /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates a reusable animation. * Instantiated and returned by the `useAnimation()` function. * * @publicApi */ export interface AnimationAnimateRefMetadata extends AnimationMetadata { /** * An animation reference object. */ animation: AnimationReferenceMetadata; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation sequence. * Instantiated and returned by the `sequence()` function. * * @publicApi */ export interface AnimationSequenceMetadata extends AnimationMetadata { /** * An array of animation step objects. */ steps: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates an animation group. * Instantiated and returned by the `{@link animations/group group()}` function. * * @publicApi */ export interface AnimationGroupMetadata extends AnimationMetadata { /** * One or more animation or style steps that form this group. */ steps: AnimationMetadata[]; /** * An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. Default delay is 0. */ options: AnimationOptions|null; } /** * Encapsulates animation query options. * Passed to the `query()` function. * * @publicApi */ export declare interface AnimationQueryOptions extends AnimationOptions { /** * True if this query is optional, false if it is required. Default is false. * A required query throws an error if no elements are retrieved when * the query is executed. An optional query does not. * */ optional?: boolean; /** * A maximum total number of results to return from the query. * If negative, results are limited from the end of the query list towards the beginning. * By default, results are not limited. */ limit?: number; } /** * Encapsulates parameters for staggering the start times of a set of animation steps. * Instantiated and returned by the `stagger()` function. * * @publicApi **/ export interface AnimationStaggerMetadata extends AnimationMetadata { /** * The timing data for the steps. */ timings: string|number; /** * One or more animation steps. */ animation: AnimationMetadata|AnimationMetadata[]; } /** * Creates a named animation trigger, containing a list of [`state()`](api/animations/state) * and `transition()` entries to be evaluated when the expression * bound to the trigger changes. * * @param name An identifying string. * @param definitions An animation definition object, containing an array of * [`state()`](api/animations/state) and `transition()` declarations. * * @return An object that encapsulates the trigger data. * * @usageNotes * Define an animation trigger in the `animations` section of `@Component` metadata. * In the template, reference the trigger by name and bind it to a trigger expression that * evaluates to a defined animation state, using the following format: * * `[@triggerName]=\"expression\"` * * Animation trigger bindings convert all values to strings, and then match the * previous and current values against any linked transitions. * Booleans can be specified as `1` or `true` and `0` or `false`. * * ### Usage Example * * The following example creates an animation trigger reference based on the provided * name value. * The provided animation value is expected to be an array consisting of state and * transition declarations. * * ```typescript * @Component({ * selector: \"my-component\", * templateUrl: \"my-component-tpl.html\", * animations: [ * trigger(\"myAnimationTrigger\", [ * state(...), * state(...), * transition(...), * transition(...) * ]) * ] * }) * class MyComponent { * myStatusExp = \"something\"; * } * ``` * * The template associated with this component makes use of the defined trigger * by binding to an element within its template code. * * ```html * *
...
* ``` * * ### Using an inline function * The `transition` animation method also supports reading an inline function which can decide * if its associated animation should be run. * * ```typescript * // this method is run each time the `myAnimationTrigger` trigger value changes. * function myInlineMatcherFn(fromState: string, toState: string, element: any, params: {[key: string]: any}): boolean { * // notice that `element` and `params` are also available here * return toState == 'yes-please-animate'; * } * * @Component({ * selector: 'my-component', * templateUrl: 'my-component-tpl.html', * animations: [ * trigger('myAnimationTrigger', [ * transition(myInlineMatcherFn, [ * // the animation sequence code * ]), * ]) * ] * }) * class MyComponent { * myStatusExp = \"yes-please-animate\"; * } * ``` * * ### Disabling Animations * When true, the special animation control binding `@.disabled` binding prevents * all animations from rendering. * Place the `@.disabled` binding on an element to disable * animations on the element itself, as well as any inner animation triggers * within the element. * * The following example shows how to use this feature: * * ```typescript * @Component({ * selector: 'my-component', * template: ` *
*
*
* `, * animations: [ * trigger(\"childAnimation\", [ * // ... * ]) * ] * }) * class MyComponent { * isDisabled = true; * exp = '...'; * } * ``` * * When `@.disabled` is true, it prevents the `@childAnimation` trigger from animating, * along with any inner animations. * * ### Disable animations application-wide * When an area of the template is set to have animations disabled, * **all** inner components have their animations disabled as well. * This means that you can disable all animations for an app * by placing a host binding set on `@.disabled` on the topmost Angular component. * * ```typescript * import {Component, HostBinding} from '@angular/core'; * * @Component({ * selector: 'app-component', * templateUrl: 'app.component.html', * }) * class AppComponent { * @HostBinding('@.disabled') * public animationsDisabled = true; * } * ``` * * ### Overriding disablement of inner animations * Despite inner animations being disabled, a parent animation can `query()` * for inner elements located in disabled areas of the template and still animate * them if needed. This is also the case for when a sub animation is * queried by a parent and then later animated using `animateChild()`. * * ### Detecting when an animation is disabled * If a region of the DOM (or the entire application) has its animations disabled, the animation * trigger callbacks still fire, but for zero seconds. When the callback fires, it provides * an instance of an `AnimationEvent`. If animations are disabled, * the `.disabled` flag on the event is true. * * @publicApi */ export function trigger(name: string, definitions: AnimationMetadata[]): AnimationTriggerMetadata { return {type: AnimationMetadataType.Trigger, name, definitions, options: {}}; } /** * Defines an animation step that combines styling information with timing information. * * @param timings Sets `AnimateTimings` for the parent animation. * A string in the format \"duration [delay] [easing]\". * - Duration and delay are expressed as a number and optional time unit, * such as \"1s\" or \"10ms\" for one second and 10 milliseconds, respectively. * The default unit is milliseconds. * - The easing value controls how the animation accelerates and decelerates * during its runtime. Value is one of `ease`, `ease-in`, `ease-out`, * `ease-in-out`, or a `cubic-bezier()` function call. * If not supplied, no easing is applied. * * For example, the string \"1s 100ms ease-out\" specifies a duration of * 1000 milliseconds, and delay of 100 ms, and the \"ease-out\" easing style, * which decelerates near the end of the duration. * @param styles Sets AnimationStyles for the parent animation. * A function call to either `style()` or `keyframes()` * that returns a collection of CSS style entries to be applied to the parent animation. * When null, uses the styles from the destination state. * This is useful when describing an animation step that will complete an animation; * see \"Animating to the final state\" in `transitions()`. * @returns An object that encapsulates the animation step. * * @usageNotes * Call within an animation `sequence()`, `{@link animations/group group()}`, or * `transition()` call to specify an animation step * that applies given style data to the parent animation for a given amount of time. * * ### Syntax Examples * **Timing examples** * * The following examples show various `timings` specifications. * - `animate(500)` : Duration is 500 milliseconds. * - `animate(\"1s\")` : Duration is 1000 milliseconds. * - `animate(\"100ms 0.5s\")` : Duration is 100 milliseconds, delay is 500 milliseconds. * - `animate(\"5s ease-in\")` : Duration is 5000 milliseconds, easing in. * - `animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\")` : Duration is 5000 milliseconds, delay is 10 * milliseconds, easing according to a bezier curve. * * **Style examples** * * The following example calls `style()` to set a single CSS style. * ```typescript * animate(500, style({ background: \"red\" })) * ``` * The following example calls `keyframes()` to set a CSS style * to different values for successive keyframes. * ```typescript * animate(500, keyframes( * [ * style({ background: \"blue\" }), * style({ background: \"red\" }) * ]) * ``` * * @publicApi */ export function animate( timings: string|number, styles: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata|null = null): AnimationAnimateMetadata { return {type: AnimationMetadataType.Animate, styles, timings}; } /** * @description Defines a list of animation steps to be run in parallel. * * @param steps An array of animation step objects. * - When steps are defined by `style()` or `animate()` * function calls, each call within the group is executed instantly. * - To specify offset styles to be applied at a later time, define steps with * `keyframes()`, or use `animate()` calls with a delay value. * For example: * * ```typescript * group([ * animate(\"1s\", style({ background: \"black\" })), * animate(\"2s\", style({ color: \"white\" })) * ]) * ``` * * @param options An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. * * @return An object that encapsulates the group data. * * @usageNotes * Grouped animations are useful when a series of styles must be * animated at different starting times and closed off at different ending times. * * When called within a `sequence()` or a * `transition()` call, does not continue to the next * instruction until all of the inner animation steps have completed. * * @publicApi */ export function group( steps: AnimationMetadata[], options: AnimationOptions|null = null): AnimationGroupMetadata { return {type: AnimationMetadataType.Group, steps, options}; } /** * Defines a list of animation steps to be run sequentially, one by one. * * @param steps An array of animation step objects. * - Steps defined by `style()` calls apply the styling data immediately. * - Steps defined by `animate()` calls apply the styling data over time * as specified by the timing data. * * ```typescript * sequence([ * style({ opacity: 0 }), * animate(\"1s\", style({ opacity: 1 })) * ]) * ``` * * @param options An options object containing a delay and * developer-defined parameters that provide styling defaults and * can be overridden on invocation. * * @return An object that encapsulates the sequence data. * * @usageNotes * When you pass an array of steps to a * `transition()` call, the steps run sequentially by default. * Compare this to the `{@link animations/group group()}` call, which runs animation steps in *parallel. * * When a sequence is used within a `{@link animations/group group()}` or a `transition()` call, * execution continues to the next instruction only after each of the inner animation * steps have completed. * * @publicApi **/ export function sequence( steps: AnimationMetadata[], options: AnimationOptions|null = null): AnimationSequenceMetadata { return {type: AnimationMetadataType.Sequence, steps, options}; } /** * Declares a key/value object containing CSS properties/styles that * can then be used for an animation [`state`](api/animations/state), within an animation *`sequence`, or as styling data for calls to `animate()` and `keyframes()`. * * @param tokens A set of CSS styles or HTML styles associated with an animation state. * The value can be any of the following: * - A key-value style pair associating a CSS property with a value. * - An array of key-value style pairs. * - An asterisk (*), to use auto-styling, where styles are derived from the element * being animated and applied to the animation when it starts. * * Auto-styling can be used to define a state that depends on layout or other * environmental factors. * * @return An object that encapsulates the style data. * * @usageNotes * The following examples create animation styles that collect a set of * CSS property values: * * ```typescript * // string values for CSS properties * style({ background: \"red\", color: \"blue\" }) * * // numerical pixel values * style({ width: 100, height: 0 }) * ``` * * The following example uses auto-styling to allow an element to animate from * a height of 0 up to its full height: * * ``` * style({ height: 0 }), * animate(\"1s\", style({ height: \"*\" })) * ``` * * @publicApi **/ export function style(tokens: '*'|{[key: string]: string | number}| Array<'*'|{[key: string]: string | number}>): AnimationStyleMetadata { return {type: AnimationMetadataType.Style, styles: tokens, offset: null}; } /** * Declares an animation state within a trigger attached to an element. * * @param name One or more names for the defined state in a comma-separated string. * The following reserved state names can be supplied to define a style for specific use * cases: * * - `void` You can associate styles with this name to be used when * the element is detached from the application. For example, when an `ngIf` evaluates * to false, the state of the associated element is void. * - `*` (asterisk) Indicates the default state. You can associate styles with this name * to be used as the fallback when the state that is being animated is not declared * within the trigger. * * @param styles A set of CSS styles associated with this state, created using the * `style()` function. * This set of styles persists on the element once the state has been reached. * @param options Parameters that can be passed to the state when it is invoked. * 0 or more key-value pairs. * @return An object that encapsulates the new state data. * * @usageNotes * Use the `trigger()` function to register states to an animation trigger. * Use the `transition()` function to animate between states. * When a state is active within a component, its associated styles persist on the element, * even when the animation ends. * * @publicApi **/ export function state( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}}): AnimationStateMetadata { return {type: AnimationMetadataType.State, name, styles, options}; } /** * Defines a set of animation styles, associating each style with an optional `offset` value. * * @param steps A set of animation styles with optional offset data. * The optional `offset` value for a style specifies a percentage of the total animation * time at which that style is applied. * @returns An object that encapsulates the keyframes data. * * @usageNotes * Use with the `animate()` call. Instead of applying animations * from the current state * to the destination state, keyframes describe how each style entry is applied and at what point * within the animation arc. * Compare [CSS Keyframe Animations](https://www.w3schools.com/css/css3_animations.asp). * * ### Usage * * In the following example, the offset values describe * when each `backgroundColor` value is applied. The color is red at the start, and changes to * blue when 20% of the total time has elapsed. * * ```typescript * // the provided offset values * animate(\"5s\", keyframes([ * style({ backgroundColor: \"red\", offset: 0 }), * style({ backgroundColor: \"blue\", offset: 0.2 }), * style({ backgroundColor: \"orange\", offset: 0.3 }), * style({ backgroundColor: \"black\", offset: 1 }) * ])) * ``` * * If there are no `offset` values specified in the style entries, the offsets * are calculated automatically. * * ```typescript * animate(\"5s\", keyframes([ * style({ backgroundColor: \"red\" }) // offset = 0 * style({ backgroundColor: \"blue\" }) // offset = 0.33 * style({ backgroundColor: \"orange\" }) // offset = 0.66 * style({ backgroundColor: \"black\" }) // offset = 1 * ])) *``` * @publicApi */ export function keyframes(steps: AnimationStyleMetadata[]): AnimationKeyframesSequenceMetadata { return {type: AnimationMetadataType.Keyframes, steps}; } /** * Declares an animation transition which is played when a certain specified condition is met. * * @param stateChangeExpr A string with a specific format or a function that specifies when the * animation transition should occur (see [State Change Expression](#state-change-expression)). * * @param steps One or more animation objects that represent the animation's instructions. * * @param options An options object that can be used to specify a delay for the animation or provide * custom parameters for it. * * @returns An object that encapsulates the transition data. * * @usageNotes * * ### State Change Expression * * The State Change Expression instructs Angular when to run the transition's animations, it can *either be * - a string with a specific syntax * - or a function that compares the previous and current state (value of the expression bound to * the element's trigger) and returns `true` if the transition should occur or `false` otherwise * * The string format can be: * - `fromState => toState`, which indicates that the transition's animations should occur then the * expression bound to the trigger's element goes from `fromState` to `toState` * * _Example:_ * ```typescript * transition('open => closed', animate('.5s ease-out', style({ height: 0 }) )) * ``` * * - `fromState <=> toState`, which indicates that the transition's animations should occur then * the expression bound to the trigger's element goes from `fromState` to `toState` or vice versa * * _Example:_ * ```typescript * transition('enabled <=> disabled', animate('1s cubic-bezier(0.8,0.3,0,1)')) * ``` * * - `:enter`/`:leave`, which indicates that the transition's animations should occur when the * element enters or exists the DOM * * _Example:_ * ```typescript * transition(':enter', [ * style({ opacity: 0 }), * animate('500ms', style({ opacity: 1 })) * ]) * ``` * * - `:increment`/`:decrement`, which indicates that the transition's animations should occur when * the numerical expression bound to the trigger's element has increased in value or decreased * * _Example:_ * ```typescript * transition(':increment', query('@counter', animateChild())) * ``` * * - a sequence of any of the above divided by commas, which indicates that transition's animations * should occur whenever one of the state change expressions matches * * _Example:_ * ```typescript * transition(':increment, * => enabled, :enter', animate('1s ease', keyframes([ * style({ transform: 'scale(1)', offset: 0}), * style({ transform: 'scale(1.1)', offset: 0.7}), * style({ transform: 'scale(1)', offset: 1}) * ]))), * ``` * * Also note that in such context: * - `void` can be used to indicate the absence of the element * - asterisks can be used as wildcards that match any state * - (as a consequence of the above, `void => *` is equivalent to `:enter` and `* => void` is * equivalent to `:leave`) * - `true` and `false` also match expression values of `1` and `0` respectively (but do not match * _truthy_ and _falsy_ values) * *
* * Be careful about entering end leaving elements as their transitions present a common * pitfall for developers. * * Note that when an element with a trigger enters the DOM its `:enter` transition always * gets executed, but its `:leave` transition will not be executed if the element is removed * alongside its parent (as it will be removed \"without warning\" before its transition has * a chance to be executed, the only way that such transition can occur is if the element * is exiting the DOM on its own). * * *
* * ### Animating to a Final State * * If the final step in a transition is a call to `animate()` that uses a timing value * with no `style` data, that step is automatically considered the final animation arc, * for the element to reach the final state, in such case Angular automatically adds or removes * CSS styles to ensure that the element is in the correct final state. * * * ### Usage Examples * * - Transition animations applied based on * the trigger's expression value * * ```HTML *
* ... *
* ``` * * ```typescript * trigger(\"myAnimationTrigger\", [ * ..., // states * transition(\"on => off, open => closed\", animate(500)), * transition(\"* <=> error\", query('.indicator', animateChild())) * ]) * ``` * * - Transition animations applied based on custom logic dependent * on the trigger's expression value and provided parameters * * ```HTML *
* ... *
* ``` * * ```typescript * trigger(\"myAnimationTrigger\", [ * ..., // states * transition( * (fromState, toState, _element, params) => * ['firststep', 'laststep'].includes(fromState.toLowerCase()) * && toState === params?.['target'], * animate('1s') * ) * ]) * ``` * * @publicApi **/ export function transition( stateChangeExpr: string| ((fromState: string, toState: string, element?: any, params?: {[key: string]: any}) => boolean), steps: AnimationMetadata|AnimationMetadata[], options: AnimationOptions|null = null): AnimationTransitionMetadata { return {type: AnimationMetadataType.Transition, expr: stateChangeExpr, animation: steps, options}; } /** * Produces a reusable animation that can be invoked in another animation or sequence, * by calling the `useAnimation()` function. * * @param steps One or more animation objects, as returned by the `animate()` * or `sequence()` function, that form a transformation from one state to another. * A sequence is used by default when you pass an array. * @param options An options object that can contain a delay value for the start of the * animation, and additional developer-defined parameters. * Provided values for additional parameters are used as defaults, * and override values can be passed to the caller on invocation. * @returns An object that encapsulates the animation data. * * @usageNotes * The following example defines a reusable animation, providing some default parameter * values. * * ```typescript * var fadeAnimation = animation([ * style({ opacity: '{{ start }}' }), * animate('{{ time }}', * style({ opacity: '{{ end }}'})) * ], * { params: { time: '1000ms', start: 0, end: 1 }}); * ``` * * The following invokes the defined animation with a call to `useAnimation()`, * passing in override parameter values. * * ```js * useAnimation(fadeAnimation, { * params: { * time: '2s', * start: 1, * end: 0 * } * }) * ``` * * If any of the passed-in parameter values are missing from this call, * the default values are used. If one or more parameter values are missing before a step is * animated, `useAnimation()` throws an error. * * @publicApi */ export function animation( steps: AnimationMetadata|AnimationMetadata[], options: AnimationOptions|null = null): AnimationReferenceMetadata { return {type: AnimationMetadataType.Reference, animation: steps, options}; } /** * Executes a queried inner animation element within an animation sequence. * * @param options An options object that can contain a delay value for the start of the * animation, and additional override values for developer-defined parameters. * @return An object that encapsulates the child animation data. * * @usageNotes * Each time an animation is triggered in Angular, the parent animation * has priority and any child animations are blocked. In order * for a child animation to run, the parent animation must query each of the elements * containing child animations, and run them using this function. * * Note that this feature is designed to be used with `query()` and it will only work * with animations that are assigned using the Angular animation library. CSS keyframes * and transitions are not handled by this API. * * @publicApi */ export function animateChild(options: AnimateChildOptions|null = null): AnimationAnimateChildMetadata { return {type: AnimationMetadataType.AnimateChild, options}; } /** * Starts a reusable animation that is created using the `animation()` function. * * @param animation The reusable animation to start. * @param options An options object that can contain a delay value for the start of * the animation, and additional override values for developer-defined parameters. * @return An object that contains the animation parameters. * * @publicApi */ export function useAnimation( animation: AnimationReferenceMetadata, options: AnimationOptions|null = null): AnimationAnimateRefMetadata { return {type: AnimationMetadataType.AnimateRef, animation, options}; } /** * Finds one or more inner elements within the current element that is * being animated within a sequence. Use with `animate()`. * * @param selector The element to query, or a set of elements that contain Angular-specific * characteristics, specified with one or more of the following tokens. * - `query(\":enter\")` or `query(\":leave\")` : Query for newly inserted/removed elements (not * all elements can be queried via these tokens, see * [Entering and Leaving Elements](#entering-and-leaving-elements)) * - `query(\":animating\")` : Query all currently animating elements. * - `query(\"@triggerName\")` : Query elements that contain an animation trigger. * - `query(\"@*\")` : Query all elements that contain an animation triggers. * - `query(\":self\")` : Include the current element into the animation sequence. * * @param animation One or more animation steps to apply to the queried element or elements. * An array is treated as an animation sequence. * @param options An options object. Use the 'limit' field to limit the total number of * items to collect. * @return An object that encapsulates the query data. * * @usageNotes * * ### Multiple Tokens * * Tokens can be merged into a combined query selector string. For example: * * ```typescript * query(':self, .record:enter, .record:leave, @subTrigger', [...]) * ``` * * The `query()` function collects multiple elements and works internally by using * `element.querySelectorAll`. Use the `limit` field of an options object to limit * the total number of items to be collected. For example: * * ```js * query('div', [ * animate(...), * animate(...) * ], { limit: 1 }) * ``` * * By default, throws an error when zero items are found. Set the * `optional` flag to ignore this error. For example: * * ```js * query('.some-element-that-may-not-be-there', [ * animate(...), * animate(...) * ], { optional: true }) * ``` * * ### Entering and Leaving Elements * * Not all elements can be queried via the `:enter` and `:leave` tokens, the only ones * that can are those that Angular assumes can enter/leave based on their own logic * (if their insertion/removal is simply a consequence of that of their parent they * should be queried via a different token in their parent's `:enter`/`:leave` transitions). * * The only elements Angular assumes can enter/leave based on their own logic (thus the only * ones that can be queried via the `:enter` and `:leave` tokens) are: * - Those inserted dynamically (via `ViewContainerRef`) * - Those that have a structural directive (which, under the hood, are a subset of the above ones) * *
* * Note that elements will be successfully queried via `:enter`/`:leave` even if their * insertion/removal is not done manually via `ViewContainerRef`or caused by their structural * directive (e.g. they enter/exit alongside their parent). * *
* *
* * There is an exception to what previously mentioned, besides elements entering/leaving based on * their own logic, elements with an animation trigger can always be queried via `:leave` when * their parent is also leaving. * *
* * ### Usage Example * * The following example queries for inner elements and animates them * individually using `animate()`. * * ```typescript * @Component({ * selector: 'inner', * template: ` *
*

Title

*
* Blah blah blah *
*
* `, * animations: [ * trigger('queryAnimation', [ * transition('* => goAnimate', [ * // hide the inner elements * query('h1', style({ opacity: 0 })), * query('.content', style({ opacity: 0 })), * * // animate the inner elements in, one by one * query('h1', animate(1000, style({ opacity: 1 }))), * query('.content', animate(1000, style({ opacity: 1 }))), * ]) * ]) * ] * }) * class Cmp { * exp = ''; * * goAnimate() { * this.exp = 'goAnimate'; * } * } * ``` * * @publicApi */ export function query( selector: string, animation: AnimationMetadata|AnimationMetadata[], options: AnimationQueryOptions|null = null): AnimationQueryMetadata { return {type: AnimationMetadataType.Query, selector, animation, options}; } /** * Use within an animation `query()` call to issue a timing gap after * each queried item is animated. * * @param timings A delay value. * @param animation One ore more animation steps. * @returns An object that encapsulates the stagger data. * * @usageNotes * In the following example, a container element wraps a list of items stamped out * by an `ngFor`. The container element contains an animation trigger that will later be set * to query for each of the inner items. * * Each time items are added, the opacity fade-in animation runs, * and each removed item is faded out. * When either of these animations occur, the stagger effect is * applied after each item's animation is started. * * ```html * * *
*
*
* {{ item }} *
*
* ``` * * Here is the component code: * * ```typescript * import {trigger, transition, style, animate, query, stagger} from '@angular/animations'; * @Component({ * templateUrl: 'list.component.html', * animations: [ * trigger('listAnimation', [ * ... * ]) * ] * }) * class ListComponent { * items = []; * * showItems() { * this.items = [0,1,2,3,4]; * } * * hideItems() { * this.items = []; * } * * toggle() { * this.items.length ? this.hideItems() : this.showItems(); * } * } * ``` * * Here is the animation trigger code: * * ```typescript * trigger('listAnimation', [ * transition('* => *', [ // each time the binding value changes * query(':leave', [ * stagger(100, [ * animate('0.5s', style({ opacity: 0 })) * ]) * ]), * query(':enter', [ * style({ opacity: 0 }), * stagger(100, [ * animate('0.5s', style({ opacity: 1 })) * ]) * ]) * ]) * ]) * ``` * * @publicApi */ export function stagger(timings: string|number, animation: AnimationMetadata|AnimationMetadata[]): AnimationStaggerMetadata { return {type: AnimationMetadataType.Stagger, timings, animation}; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export function scheduleMicroTask(cb: () => any) { Promise.resolve().then(cb); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {scheduleMicroTask} from '../util'; /** * Provides programmatic control of a reusable animation sequence, * built using the [AnimationBuilder.build](api/animations/AnimationBuilder#build)() * method which returns an `AnimationFactory`, whose * [create](api/animations/AnimationFactory#create)() method instantiates and * initializes this interface. * * @see `AnimationBuilder` * @see `AnimationFactory` * @see `animate()` * * @publicApi */ export interface AnimationPlayer { /** * Provides a callback to invoke when the animation finishes. * @param fn The callback function. * @see `finish()` */ onDone(fn: () => void): void; /** * Provides a callback to invoke when the animation starts. * @param fn The callback function. * @see `run()` */ onStart(fn: () => void): void; /** * Provides a callback to invoke after the animation is destroyed. * @param fn The callback function. * @see `destroy()` * @see `beforeDestroy()` */ onDestroy(fn: () => void): void; /** * Initializes the animation. */ init(): void; /** * Reports whether the animation has started. * @returns True if the animation has started, false otherwise. */ hasStarted(): boolean; /** * Runs the animation, invoking the `onStart()` callback. */ play(): void; /** * Pauses the animation. */ pause(): void; /** * Restarts the paused animation. */ restart(): void; /** * Ends the animation, invoking the `onDone()` callback. */ finish(): void; /** * Destroys the animation, after invoking the `beforeDestroy()` callback. * Calls the `onDestroy()` callback when destruction is completed. */ destroy(): void; /** * Resets the animation to its initial state. */ reset(): void; /** * Sets the position of the animation. * @param position A 0-based offset into the duration, in milliseconds. */ setPosition(position: any /** TODO #9100 */): void; /** * Reports the current position of the animation. * @returns A 0-based offset into the duration, in milliseconds. */ getPosition(): number; /** * The parent of this player, if any. */ parentPlayer: AnimationPlayer|null; /** * The total run time of the animation, in milliseconds. */ readonly totalTime: number; /** * Provides a callback to invoke before the animation is destroyed. */ beforeDestroy?: () => any; /** * @internal * Internal */ triggerCallback?: (phaseName: string) => void; /** * @internal * Internal */ disabled?: boolean; } /** * An empty programmatic controller for reusable animations. * Used internally when animations are disabled, to avoid * checking for the null case when an animation player is expected. * * @see `animate()` * @see `AnimationPlayer` * @see `GroupPlayer` * * @publicApi */ export class NoopAnimationPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _onDestroyFns: Function[] = []; private _originalOnDoneFns: Function[] = []; private _originalOnStartFns: Function[] = []; private _started = false; private _destroyed = false; private _finished = false; private _position = 0; public parentPlayer: AnimationPlayer|null = null; public readonly totalTime: number; constructor(duration: number = 0, delay: number = 0) { this.totalTime = duration + delay; } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } onStart(fn: () => void): void { this._originalOnStartFns.push(fn); this._onStartFns.push(fn); } onDone(fn: () => void): void { this._originalOnDoneFns.push(fn); this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } hasStarted(): boolean { return this._started; } init(): void {} play(): void { if (!this.hasStarted()) { this._onStart(); this.triggerMicrotask(); } this._started = true; } /** @internal */ triggerMicrotask() { scheduleMicroTask(() => this._onFinish()); } private _onStart() { this._onStartFns.forEach(fn => fn()); this._onStartFns = []; } pause(): void {} restart(): void {} finish(): void { this._onFinish(); } destroy(): void { if (!this._destroyed) { this._destroyed = true; if (!this.hasStarted()) { this._onStart(); } this.finish(); this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } reset(): void { this._started = false; this._finished = false; this._onStartFns = this._originalOnStartFns; this._onDoneFns = this._originalOnDoneFns; } setPosition(position: number): void { this._position = this.totalTime ? position * this.totalTime : 1; } getPosition(): number { return this.totalTime ? this._position / this.totalTime : 1; } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {scheduleMicroTask} from '../util'; import {AnimationPlayer} from './animation_player'; /** * A programmatic controller for a group of reusable animations. * Used internally to control animations. * * @see `AnimationPlayer` * @see `{@link animations/group group()}` * */ export class AnimationGroupPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _finished = false; private _started = false; private _destroyed = false; private _onDestroyFns: Function[] = []; public parentPlayer: AnimationPlayer|null = null; public totalTime: number = 0; public readonly players: AnimationPlayer[]; constructor(_players: AnimationPlayer[]) { this.players = _players; let doneCount = 0; let destroyCount = 0; let startCount = 0; const total = this.players.length; if (total == 0) { scheduleMicroTask(() => this._onFinish()); } else { this.players.forEach(player => { player.onDone(() => { if (++doneCount == total) { this._onFinish(); } }); player.onDestroy(() => { if (++destroyCount == total) { this._onDestroy(); } }); player.onStart(() => { if (++startCount == total) { this._onStart(); } }); }); } this.totalTime = this.players.reduce((time, player) => Math.max(time, player.totalTime), 0); } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } init(): void { this.players.forEach(player => player.init()); } onStart(fn: () => void): void { this._onStartFns.push(fn); } private _onStart() { if (!this.hasStarted()) { this._started = true; this._onStartFns.forEach(fn => fn()); this._onStartFns = []; } } onDone(fn: () => void): void { this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } hasStarted() { return this._started; } play() { if (!this.parentPlayer) { this.init(); } this._onStart(); this.players.forEach(player => player.play()); } pause(): void { this.players.forEach(player => player.pause()); } restart(): void { this.players.forEach(player => player.restart()); } finish(): void { this._onFinish(); this.players.forEach(player => player.finish()); } destroy(): void { this._onDestroy(); } private _onDestroy() { if (!this._destroyed) { this._destroyed = true; this._onFinish(); this.players.forEach(player => player.destroy()); this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } reset(): void { this.players.forEach(player => player.reset()); this._destroyed = false; this._finished = false; this._started = false; } setPosition(p: number): void { const timeAtPosition = p * this.totalTime; this.players.forEach(player => { const position = player.totalTime ? Math.min(1, timeAtPosition / player.totalTime) : 1; player.setPosition(position); }); } getPosition(): number { const longestPlayer = this.players.reduce((longestSoFar: AnimationPlayer|null, player: AnimationPlayer) => { const newPlayerIsLongest = longestSoFar === null || player.totalTime > longestSoFar.totalTime; return newPlayerIsLongest ? player : longestSoFar; }, null); return longestPlayer != null ? longestPlayer.getPosition() : 0; } beforeDestroy(): void { this.players.forEach(player => { if (player.beforeDestroy) { player.beforeDestroy(); } }); } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export {AnimationGroupPlayer as ɵAnimationGroupPlayer} from './players/animation_group_player'; export const ɵPRE_STYLE = '!'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation package. */ export {AnimationBuilder, AnimationFactory} from './animation_builder'; export {AnimationEvent} from './animation_event'; export {animate, animateChild, AnimateChildOptions, AnimateTimings, animation, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationQueryMetadata, AnimationQueryOptions, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, AUTO_STYLE, group, keyframes, query, sequence, stagger, state, style, transition, trigger, useAnimation, ɵStyleData, ɵStyleDataMap} from './animation_metadata'; export {AnimationPlayer, NoopAnimationPlayer} from './players/animation_player'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/animations'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CG;MACmB,gBAAgB,CAAA;AAQrC,CAAA;AAED;;;;;;AAMG;MACmB,gBAAgB,CAAA;AAWrC;;ACsFD;;;;AAIG;AACI,MAAM,UAAU,GAAG,IAAI;AAyR9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmJG;AACa,SAAA,OAAO,CAAC,IAAY,EAAE,WAAgC,EAAA;AACpE,IAAA,OAAO,EAAC,IAAI,EAA+B,CAAA,sCAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDG;SACa,OAAO,CACnB,OAAsB,EACtB,SACI,IAAI,EAAA;IACV,OAAO,EAAC,IAAI,E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;;"} -------------------- SECTION 23 -------------------- {"version":3,"file":"browser.mjs","sources":["../../../../../../packages/animations/browser/src/error_helpers.ts","../../../../../../packages/animations/browser/src/render/web_animations/animatable_props_set.ts","../../../../../../packages/animations/browser/src/render/shared.ts","../../../../../../packages/animations/browser/src/render/animation_driver.ts","../../../../../../packages/animations/browser/src/util.ts","../../../../../../packages/animations/browser/src/warning_helpers.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_expr.ts","../../../../../../packages/animations/browser/src/dsl/animation_ast_builder.ts","../../../../../../packages/animations/browser/src/dsl/animation_timeline_instruction.ts","../../../../../../packages/animations/browser/src/dsl/element_instruction_map.ts","../../../../../../packages/animations/browser/src/dsl/animation_timeline_builder.ts","../../../../../../packages/animations/browser/src/dsl/animation.ts","../../../../../../packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts","../../../../../../packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_instruction.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_factory.ts","../../../../../../packages/animations/browser/src/dsl/animation_trigger.ts","../../../../../../packages/animations/browser/src/render/timeline_animation_engine.ts","../../../../../../packages/animations/browser/src/render/transition_animation_engine.ts","../../../../../../packages/animations/browser/src/render/animation_engine_next.ts","../../../../../../packages/animations/browser/src/render/special_cased_styles.ts","../../../../../../packages/animations/browser/src/render/web_animations/web_animations_player.ts","../../../../../../packages/animations/browser/src/render/web_animations/web_animations_driver.ts","../../../../../../packages/animations/browser/src/browser.ts","../../../../../../packages/animations/browser/public_api.ts","../../../../../../packages/animations/browser/index.ts","../../../../../../packages/animations/browser/browser.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵRuntimeError as RuntimeError} from '@angular/core'; import {RuntimeErrorCode} from './errors'; const LINE_START = '\ - '; export function invalidTimingValue(exp: string|number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TIMING_VALUE, ngDevMode && `The provided timing value \"${exp}\" is invalid.`); } export function negativeStepValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_STEP_VALUE, ngDevMode && 'Duration values below 0 are not allowed for this animation step.'); } export function negativeDelayValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_DELAY_VALUE, ngDevMode && 'Delay values below 0 are not allowed for this animation step.'); } export function invalidStyleParams(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_PARAMS, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`); } export function invalidParamValue(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARAM_VALUE, ngDevMode && `Please provide a value for the animation param ${varName}`); } export function invalidNodeType(nodeType: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_NODE_TYPE, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`); } export function invalidCssUnitValue(userProvidedProperty: string, value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_CSS_UNIT_VALUE, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`); } export function invalidTrigger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRIGGER, ngDevMode && 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))'); } export function invalidDefinition(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_DEFINITION, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()'); } export function invalidState(metadataName: string, missingSubs: string[]): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STATE, ngDevMode && `state(\"${ metadataName}\", ...) must define default values for all the following style substitutions: ${ missingSubs.join(', ')}`); } export function invalidStyleValue(value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_VALUE, ngDevMode && `The provided style string value ${value} is not allowed.`); } export function invalidProperty(prop: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PROPERTY, ngDevMode && `The provided animation property \"${ prop}\" is not a supported CSS property for animations`); } export function invalidParallelAnimation( prop: string, firstStart: number, firstEnd: number, secondStart: number, secondEnd: number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARALLEL_ANIMATION, ngDevMode && `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${ firstEnd}ms\" is also being animated in a parallel animation between the times of \"${ secondStart}ms\" and \"${secondEnd}ms\"`); } export function invalidKeyframes(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_KEYFRAMES, ngDevMode && `keyframes() must be placed inside of a call to animate()`); } export function invalidOffset(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_OFFSET, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`); } export function keyframeOffsetsOutOfOrder(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER, ngDevMode && `Please ensure that all keyframe offsets are in order`); } export function keyframesMissingOffsets(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`); } export function invalidStagger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STAGGER, ngDevMode && `stagger() can only be used inside of query()`); } export function invalidQuery(selector: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_QUERY, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${ selector}\", { optional: true })\\` if you wish to allow this.)`); } export function invalidExpression(expr: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_EXPRESSION, ngDevMode && `The provided transition expression \"${expr}\" is not supported`); } export function invalidTransitionAlias(alias: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRANSITION_ALIAS, ngDevMode && `The transition alias value \"${alias}\" is not supported`); } export function validationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.VALIDATION_FAILED, ngDevMode && `animation validation failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function buildingFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.BUILDING_FAILED, ngDevMode && `animation building failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function triggerBuildFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_BUILD_FAILED, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\ - ${ errors.map(err => err.message).join('\ - ')}`); } export function animationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.ANIMATION_FAILED, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function registerFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.REGISTRATION_FAILED, ngDevMode && `Unable to build the animation due to the following errors: ${ errors.map(err => err.message).join('\ ')}`); } export function missingOrDestroyedAnimation(): Error { return new RuntimeError( RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed'); } export function createAnimationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.CREATE_ANIMATION_FAILED, ngDevMode && `Unable to create the animation due to the following errors:${ errors.map(err => err.message).join('\ ')}`); } export function missingPlayer(id: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_PLAYER, ngDevMode && `Unable to find the timeline player referenced by ${id}`); } export function missingTrigger(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_TRIGGER, ngDevMode && `Unable to listen on the animation trigger event \"${ phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`); } export function missingEvent(name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_EVENT, ngDevMode && `Unable to listen on the animation trigger \"${ name}\" because the provided event is undefined!`); } export function unsupportedTriggerEvent(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${ name}\" is not supported!`); } export function unregisteredTrigger(name: string): Error { return new RuntimeError( RuntimeErrorCode.UNREGISTERED_TRIGGER, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`); } export function triggerTransitionsFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED, ngDevMode && `Unable to process animations due to the following failed trigger transitions\ ${ errors.map(err => err.message).join('\ ')}`); } export function triggerParsingFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_PARSING_FAILED, ngDevMode && `Animation parsing for the ${name} trigger have failed:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function transitionFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRANSITION_FAILED, ngDevMode && `@${name} has failed due to:\ ${errors.map(err => err.message).join('\ - ')}`); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Set of all animatable CSS properties * * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties */ export const ANIMATABLE_PROP_SET = new Set([ '-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom', ]); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationEvent, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationStyleNormalizer} from '../../src/dsl/style_normalization/animation_style_normalizer'; import {AnimationDriver} from '../../src/render/animation_driver'; import {animationFailed} from '../error_helpers'; import {ANIMATABLE_PROP_SET} from './web_animations/animatable_props_set'; // We don't include ambient node types here since @angular/animations/browser // is meant to target the browser so technically it should not depend on node // types. `process` is just declared locally here as a result. declare const process: any; export function isBrowser(): boolean { return (typeof window !== 'undefined' && typeof window.document !== 'undefined'); } export function isNode(): boolean { // Checking only for `process` isn't enough to identify whether or not we're in a Node // environment, because Webpack by default will polyfill the `process`. While we can discern // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and // might not be future-proof. Instead we look at the stringified version of `process` which // is `[object process]` in Node and `[object Object]` when polyfilled. return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; } export function optimizeGroupPlayer(players: AnimationPlayer[]): AnimationPlayer { switch (players.length) { case 0: return new NoopAnimationPlayer(); case 1: return players[0]; default: return new ɵAnimationGroupPlayer(players); } } export function normalizeKeyframes( driver: AnimationDriver, normalizer: AnimationStyleNormalizer, element: any, keyframes: Array<ɵStyleDataMap>, preStyles: ɵStyleDataMap = new Map(), postStyles: ɵStyleDataMap = new Map()): Array<ɵStyleDataMap> { const errors: Error[] = []; const normalizedKeyframes: Array<ɵStyleDataMap> = []; let previousOffset = -1; let previousKeyframe: ɵStyleDataMap|null = null; keyframes.forEach(kf => { const offset = kf.get('offset') as number; const isSameOffset = offset == previousOffset; const normalizedKeyframe: ɵStyleDataMap = (isSameOffset && previousKeyframe) || new Map(); kf.forEach((val, prop) => { let normalizedProp = prop; let normalizedValue = val; if (prop !== 'offset') { normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors); switch (normalizedValue) { case PRE_STYLE: normalizedValue = preStyles.get(prop)!; break; case AUTO_STYLE: normalizedValue = postStyles.get(prop)!; break; default: normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors); break; } } normalizedKeyframe.set(normalizedProp, normalizedValue); }); if (!isSameOffset) { normalizedKeyframes.push(normalizedKeyframe); } previousKeyframe = normalizedKeyframe; previousOffset = offset; }); if (errors.length) { throw animationFailed(errors); } return normalizedKeyframes; } export function listenOnPlayer( player: AnimationPlayer, eventName: string, event: AnimationEvent|undefined, callback: (event: any) => any) { switch (eventName) { case 'start': player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player))); break; case 'done': player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player))); break; case 'destroy': player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player))); break; } } export function copyAnimationEvent( e: AnimationEvent, phaseName: string, player: AnimationPlayer): AnimationEvent { const totalTime = player.totalTime; const disabled = (player as any).disabled ? true : false; const event = makeAnimationEvent( e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled); const data = (e as any)['_data']; if (data != null) { (event as any)['_data'] = data; } return event; } export function makeAnimationEvent( element: any, triggerName: string, fromState: string, toState: string, phaseName: string = '', totalTime: number = 0, disabled?: boolean): AnimationEvent { return {element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled}; } export function getOrSetDefaultValue(map: Map, key: T, defaultValue: V) { let value = map.get(key); if (!value) { map.set(key, value = defaultValue); } return value; } export function parseTimelineCommand(command: string): [string, string] { const separatorPos = command.indexOf(':'); const id = command.substring(1, separatorPos); const action = command.slice(separatorPos + 1); return [id, action]; } let _contains: (elm1: any, elm2: any) => boolean = (elm1: any, elm2: any) => false; let _query: (element: any, selector: string, multi: boolean) => any[] = (element: any, selector: string, multi: boolean) => { return []; }; let _documentElement: unknown|null = null; export function getParentElement(element: any): unknown|null { const parent = element.parentNode || element.host; // consider host to support shadow DOM if (parent === _documentElement) { return null; } return parent; } // Define utility methods for browsers and platform-server(domino) where Element // and utility methods exist. const _isNode = isNode(); if (_isNode || typeof Element !== 'undefined') { if (!isBrowser()) { _contains = (elm1, elm2) => elm1.contains(elm2); } else { // Read the document element in an IIFE that's been marked pure to avoid a top-level property // read that may prevent tree-shaking. _documentElement = /* @__PURE__ */ (() => document.documentElement)(); _contains = (elm1, elm2) => { while (elm2) { if (elm2 === elm1) { return true; } elm2 = getParentElement(elm2); } return false; }; } _query = (element: any, selector: string, multi: boolean): any[] => { if (multi) { return Array.from(element.querySelectorAll(selector)); } const elem = element.querySelector(selector); return elem ? [elem] : []; }; } function containsVendorPrefix(prop: string): boolean { // Webkit is the only real popular vendor prefix nowadays // cc: http://shouldiprefix.com/ return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit } let _CACHED_BODY: {style: any}|null = null; let _IS_WEBKIT = false; export function validateStyleProperty(prop: string): boolean { if (!_CACHED_BODY) { _CACHED_BODY = getBodyNode() || {}; _IS_WEBKIT = _CACHED_BODY!.style ? ('WebkitAppearance' in _CACHED_BODY!.style) : false; } let result = true; if (_CACHED_BODY!.style && !containsVendorPrefix(prop)) { result = prop in _CACHED_BODY!.style; if (!result && _IS_WEBKIT) { const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1); result = camelProp in _CACHED_BODY!.style; } } return result; } export function validateWebAnimatableStyleProperty(prop: string): boolean { return ANIMATABLE_PROP_SET.has(prop); } export function getBodyNode(): any|null { if (typeof document != 'undefined') { return document.body; } return null; } export const containsElement = _contains; export const invokeQuery = _query; export function hypenatePropsKeys(original: ɵStyleDataMap): ɵStyleDataMap { const newMap: ɵStyleDataMap = new Map(); original.forEach((val, prop) => { const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2'); newMap.set(newProp, val); }); return newMap; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations'; import {Injectable} from '@angular/core'; import {containsElement, getParentElement, invokeQuery, validateStyleProperty} from './shared'; /** * @publicApi */ @Injectable() export class NoopAnimationDriver implements AnimationDriver { validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); } matchesElement(_element: any, _selector: string): boolean { // This method is deprecated and no longer in use so we return false. return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return defaultValue || ''; } animate( element: any, keyframes: Array>, duration: number, delay: number, easing: string, previousPlayers: any[] = [], scrubberAccessRequested?: boolean): AnimationPlayer { return new NoopAnimationPlayer(duration, delay); } } /** * @publicApi */ export abstract class AnimationDriver { static NOOP: AnimationDriver = (/* @__PURE__ */ new NoopAnimationDriver()); abstract validateStyleProperty(prop: string): boolean; abstract validateAnimatableStyleProperty?: (prop: string) => boolean; /** * @deprecated No longer in use. Will be removed. */ abstract matchesElement(element: any, selector: string): boolean; abstract containsElement(elm1: any, elm2: any): boolean; /** * Obtains the parent element, if any. `null` is returned if the element does not have a parent. */ abstract getParentElement(element: unknown): unknown; abstract query(element: any, selector: string, multi: boolean): any[]; abstract computeStyle(element: any, prop: string, defaultValue?: string): string; abstract animate( element: any, keyframes: Array>, duration: number, delay: number, easing?: string|null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationMetadata, AnimationMetadataType, AnimationOptions, sequence, ɵStyleData, ɵStyleDataMap} from '@angular/animations'; import {Ast as AnimationAst, AstVisitor as AnimationAstVisitor} from './dsl/animation_ast'; import {AnimationDslVisitor} from './dsl/animation_dsl_visitor'; import {invalidNodeType, invalidParamValue, invalidStyleParams, invalidTimingValue, negativeDelayValue, negativeStepValue} from './error_helpers'; import {isNode} from './render/shared'; export const ONE_SECOND = 1000; export const SUBSTITUTION_EXPR_START = '{{'; export const SUBSTITUTION_EXPR_END = '}}'; export const ENTER_CLASSNAME = 'ng-enter'; export const LEAVE_CLASSNAME = 'ng-leave'; export const NG_TRIGGER_CLASSNAME = 'ng-trigger'; export const NG_TRIGGER_SELECTOR = '.ng-trigger'; export const NG_ANIMATING_CLASSNAME = 'ng-animating'; export const NG_ANIMATING_SELECTOR = '.ng-animating'; export function resolveTimingValue(value: string|number) { if (typeof value == 'number') return value; const matches = value.match(/^(-?[\\.\\d]+)(m?s)/); if (!matches || matches.length < 2) return 0; return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); } function _convertTimeValueToMS(value: number, unit: string): number { switch (unit) { case 's': return value * ONE_SECOND; default: // ms or something else return value; } } export function resolveTiming( timings: string|number|AnimateTimings, errors: Error[], allowNegativeValues?: boolean) { return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues); } function parseTimeExpression( exp: string|number, errors: Error[], allowNegativeValues?: boolean): AnimateTimings { const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i; let duration: number; let delay: number = 0; let easing: string = ''; if (typeof exp === 'string') { const matches = exp.match(regex); if (matches === null) { errors.push(invalidTimingValue(exp)); return {duration: 0, delay: 0, easing: ''}; } duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); const delayMatch = matches[3]; if (delayMatch != null) { delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]); } const easingVal = matches[5]; if (easingVal) { easing = easingVal; } } else { duration = exp; } if (!allowNegativeValues) { let containsErrors = false; let startIndex = errors.length; if (duration < 0) { errors.push(negativeStepValue()); containsErrors = true; } if (delay < 0) { errors.push(negativeDelayValue()); containsErrors = true; } if (containsErrors) { errors.splice(startIndex, 0, invalidTimingValue(exp)); } } return {duration, delay, easing}; } export function copyObj( obj: {[key: string]: any}, destination: {[key: string]: any} = {}): {[key: string]: any} { Object.keys(obj).forEach(prop => { destination[prop] = obj[prop]; }); return destination; } export function convertToMap(obj: ɵStyleData): ɵStyleDataMap { const styleMap: ɵStyleDataMap = new Map(); Object.keys(obj).forEach(prop => { const val = obj[prop]; styleMap.set(prop, val); }); return styleMap; } export function normalizeKeyframes(keyframes: Array<ɵStyleData>| Array<ɵStyleDataMap>): Array<ɵStyleDataMap> { if (!keyframes.length) { return []; } if (keyframes[0] instanceof Map) { return keyframes as Array<ɵStyleDataMap>; } return keyframes.map(kf => convertToMap(kf as ɵStyleData)); } export function normalizeStyles(styles: ɵStyleDataMap|Array<ɵStyleDataMap>): ɵStyleDataMap { const normalizedStyles: ɵStyleDataMap = new Map(); if (Array.isArray(styles)) { styles.forEach(data => copyStyles(data, normalizedStyles)); } else { copyStyles(styles, normalizedStyles); } return normalizedStyles; } export function copyStyles( styles: ɵStyleDataMap, destination: ɵStyleDataMap = new Map(), backfill?: ɵStyleDataMap): ɵStyleDataMap { if (backfill) { for (let [prop, val] of backfill) { destination.set(prop, val); } } for (let [prop, val] of styles) { destination.set(prop, val); } return destination; } function getStyleAttributeString(element: any, key: string, value: string) { // Return the key-value pair string to be added to the style attribute for the // given CSS style key. if (value) { return key + ':' + value + ';'; } else { return ''; } } function writeStyleAttribute(element: any) { // Read the style property of the element and manually reflect it to the // style attribute. This is needed because Domino on platform-server doesn't // understand the full set of allowed CSS properties and doesn't reflect some // of them automatically. let styleAttrValue = ''; for (let i = 0; i < element.style.length; i++) { const key = element.style.item(i); styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key)); } for (const key in element.style) { // Skip internal Domino properties that don't need to be reflected. if (!element.style.hasOwnProperty(key) || key.startsWith('_')) { continue; } const dashKey = camelCaseToDashCase(key); styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]); } element.setAttribute('style', styleAttrValue); } export function setStyles(element: any, styles: ɵStyleDataMap, formerStyles?: ɵStyleDataMap) { if (element['style']) { styles.forEach((val, prop) => { const camelProp = dashCaseToCamelCase(prop); if (formerStyles && !formerStyles.has(prop)) { formerStyles.set(prop, element.style[camelProp]); } element.style[camelProp] = val; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function eraseStyles(element: any, styles: ɵStyleDataMap) { if (element['style']) { styles.forEach((_, prop) => { const camelProp = dashCaseToCamelCase(prop); element.style[camelProp] = ''; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function normalizeAnimationEntry(steps: AnimationMetadata| AnimationMetadata[]): AnimationMetadata { if (Array.isArray(steps)) { if (steps.length == 1) return steps[0]; return sequence(steps); } return steps as AnimationMetadata; } export function validateStyleParams( value: string|number|null|undefined, options: AnimationOptions, errors: Error[]) { const params = options.params || {}; const matches = extractStyleParams(value); if (matches.length) { matches.forEach(varName => { if (!params.hasOwnProperty(varName)) { errors.push(invalidStyleParams(varName)); } }); } } const PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g'); export function extractStyleParams(value: string|number|null|undefined): string[] { let params: string[] = []; if (typeof value === 'string') { let match: any; while (match = PARAM_REGEX.exec(value)) { params.push(match[1] as string); } PARAM_REGEX.lastIndex = 0; } return params; } export function interpolateParams( value: string|number, params: {[name: string]: any}, errors: Error[]): string|number { const original = value.toString(); const str = original.replace(PARAM_REGEX, (_, varName) => { let localVal = params[varName]; // this means that the value was never overridden by the data passed in by the user if (localVal == null) { errors.push(invalidParamValue(varName)); localVal = ''; } return localVal.toString(); }); // we do this to assert that numeric values stay as they are return str == original ? value : str; } export function iteratorToArray(iterator: any): any[] { const arr: any[] = []; let item = iterator.next(); while (!item.done) { arr.push(item.value); item = iterator.next(); } return arr; } const DASH_CASE_REGEXP = /-+([a-z0-9])/g; export function dashCaseToCamelCase(input: string): string { return input.replace(DASH_CASE_REGEXP, (...m: any[]) => m[1].toUpperCase()); } export function camelCaseToDashCase(input: string): string { return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); } export function allowPreviousPlayerStylesMerge(duration: number, delay: number) { return duration === 0 || delay === 0; } export function balancePreviousStylesIntoKeyframes( element: any, keyframes: Array<ɵStyleDataMap>, previousStyles: ɵStyleDataMap) { if (previousStyles.size && keyframes.length) { let startingKeyframe = keyframes[0]; let missingStyleProps: string[] = []; previousStyles.forEach((val, prop) => { if (!startingKeyframe.has(prop)) { missingStyleProps.push(prop); } startingKeyframe.set(prop, val); }); if (missingStyleProps.length) { for (let i = 1; i < keyframes.length; i++) { let kf = keyframes[i]; missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop))); } } } return keyframes; } export function visitDslNode( visitor: AnimationDslVisitor, node: AnimationMetadata, context: any): any; export function visitDslNode( visitor: AnimationAstVisitor, node: AnimationAst, context: any): any; export function visitDslNode(visitor: any, node: any, context: any): any { switch (node.type) { case AnimationMetadataType.Trigger: return visitor.visitTrigger(node, context); case AnimationMetadataType.State: return visitor.visitState(node, context); case AnimationMetadataType.Transition: return visitor.visitTransition(node, context); case AnimationMetadataType.Sequence: return visitor.visitSequence(node, context); case AnimationMetadataType.Group: return visitor.visitGroup(node, context); case AnimationMetadataType.Animate: return visitor.visitAnimate(node, context); case AnimationMetadataType.Keyframes: return visitor.visitKeyframes(node, context); case AnimationMetadataType.Style: return visitor.visitStyle(node, context); case AnimationMetadataType.Reference: return visitor.visitReference(node, context); case AnimationMetadataType.AnimateChild: return visitor.visitAnimateChild(node, context); case AnimationMetadataType.AnimateRef: return visitor.visitAnimateRef(node, context); case AnimationMetadataType.Query: return visitor.visitQuery(node, context); case AnimationMetadataType.Stagger: return visitor.visitStagger(node, context); default: throw invalidNodeType(node.type); } } export function computeStyle(element: any, prop: string): string { return (window.getComputedStyle(element))[prop]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode; function createListOfWarnings(warnings: string[]): string { const LINE_START = '\ - '; return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`; } export function warnValidation(warnings: string[]): void { NG_DEV_MODE && console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`); } export function warnTriggerBuild(name: string, warnings: string[]): void { NG_DEV_MODE && console.warn(`The animation trigger \"${name}\" has built with the following warnings:${ createListOfWarnings(warnings)}`); } export function warnRegister(warnings: string[]): void { NG_DEV_MODE && console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`); } export function triggerParsingWarnings(name: string, warnings: string[]): void { NG_DEV_MODE && console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${ createListOfWarnings(warnings)}`); } export function pushUnrecognizedPropertiesWarning(warnings: string[], props: string[]): void { if (props.length) { warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {invalidExpression, invalidTransitionAlias} from '../error_helpers'; export const ANY_STATE = '*'; export declare type TransitionMatcherFn = (fromState: any, toState: any, element: any, params: {[key: string]: any}) => boolean; export function parseTransitionExpr( transitionValue: string|TransitionMatcherFn, errors: Error[]): TransitionMatcherFn[] { const expressions: TransitionMatcherFn[] = []; if (typeof transitionValue == 'string') { transitionValue.split(/\\s*,\\s*/).forEach( str => parseInnerTransitionStr(str, expressions, errors)); } else { expressions.push(transitionValue); } return expressions; } function parseInnerTransitionStr( eventStr: string, expressions: TransitionMatcherFn[], errors: Error[]) { if (eventStr[0] == ':') { const result = parseAnimationAlias(eventStr, errors); if (typeof result == 'function') { expressions.push(result); return; } eventStr = result; } const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/); if (match == null || match.length < 4) { errors.push(invalidExpression(eventStr)); return expressions; } const fromState = match[1]; const separator = match[2]; const toState = match[3]; expressions.push(makeLambdaFromStates(fromState, toState)); const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE; if (separator[0] == '<' && !isFullAnyStateExpr) { expressions.push(makeLambdaFromStates(toState, fromState)); } } function parseAnimationAlias(alias: string, errors: Error[]): string|TransitionMatcherFn { switch (alias) { case ':enter': return 'void => *'; case ':leave': return '* => void'; case ':increment': return (fromState: any, toState: any): boolean => parseFloat(toState) > parseFloat(fromState); case ':decrement': return (fromState: any, toState: any): boolean => parseFloat(toState) < parseFloat(fromState); default: errors.push(invalidTransitionAlias(alias)); return '* => *'; } } // DO NOT REFACTOR ... keep the follow set instantiations // with the values intact (closure compiler for some reason // removes follow-up lines that add the values outside of // the constructor... const TRUE_BOOLEAN_VALUES = new Set(['true', '1']); const FALSE_BOOLEAN_VALUES = new Set(['false', '0']); function makeLambdaFromStates(lhs: string, rhs: string): TransitionMatcherFn { const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs); const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs); return (fromState: any, toState: any): boolean => { let lhsMatch = lhs == ANY_STATE || lhs == fromState; let rhsMatch = rhs == ANY_STATE || rhs == toState; if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') { lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs); } if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') { rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs); } return lhsMatch && rhsMatch; }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationQueryMetadata, AnimationQueryOptions, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, AUTO_STYLE, style, ɵStyleDataMap} from '@angular/animations'; import {invalidDefinition, invalidKeyframes, invalidOffset, invalidParallelAnimation, invalidProperty, invalidStagger, invalidState, invalidStyleValue, invalidTrigger, keyframeOffsetsOutOfOrder, keyframesMissingOffsets} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {getOrSetDefaultValue} from '../render/shared'; import {convertToMap, copyObj, extractStyleParams, iteratorToArray, NG_ANIMATING_SELECTOR, NG_TRIGGER_SELECTOR, normalizeAnimationEntry, resolveTiming, SUBSTITUTION_EXPR_START, validateStyleParams, visitDslNode} from '../util'; import {pushUnrecognizedPropertiesWarning} from '../warning_helpers'; import {AnimateAst, AnimateChildAst, AnimateRefAst, Ast, DynamicTimingAst, GroupAst, KeyframesAst, QueryAst, ReferenceAst, SequenceAst, StaggerAst, StateAst, StyleAst, TimingAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationDslVisitor} from './animation_dsl_visitor'; import {parseTransitionExpr} from './animation_transition_expr'; const SELF_TOKEN = ':self'; const SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g'); /* * [Validation] * The visitor code below will traverse the animation AST generated by the animation verb functions * (the output is a tree of objects) and attempt to perform a series of validations on the data. The * following corner-cases will be validated: * * 1. Overlap of animations * Given that a CSS property cannot be animated in more than one place at the same time, it's * important that this behavior is detected and validated. The way in which this occurs is that * each time a style property is examined, a string-map containing the property will be updated with * the start and end times for when the property is used within an animation step. * * If there are two or more parallel animations that are currently running (these are invoked by the * group()) on the same element then the validator will throw an error. Since the start/end timing * values are collected for each property then if the current animation step is animating the same * property and its timing values fall anywhere into the window of time that the property is * currently being animated within then this is what causes an error. * * 2. Timing values * The validator will validate to see if a timing value of `duration delay easing` or * `durationNumber` is valid or not. * * (note that upon validation the code below will replace the timing data with an object containing * {duration,delay,easing}. * * 3. Offset Validation * Each of the style() calls are allowed to have an offset value when placed inside of keyframes(). * Offsets within keyframes() are considered valid when: * * - No offsets are used at all * - Each style() entry contains an offset value * - Each offset is between 0 and 1 * - Each offset is greater to or equal than the previous one * * Otherwise an error will be thrown. */ export function buildAnimationAst( driver: AnimationDriver, metadata: AnimationMetadata|AnimationMetadata[], errors: Error[], warnings: string[]): Ast { return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings); } const ROOT_SELECTOR = ''; export class AnimationAstBuilderVisitor implements AnimationDslVisitor { constructor(private _driver: AnimationDriver) {} build(metadata: AnimationMetadata|AnimationMetadata[], errors: Error[], warnings: string[]): Ast { const context = new AnimationAstBuilderContext(errors); this._resetContextStyleTimingState(context); const ast = >visitDslNode(this, normalizeAnimationEntry(metadata), context); if (typeof ngDevMode === 'undefined' || ngDevMode) { if (context.unsupportedCSSPropertiesFound.size) { pushUnrecognizedPropertiesWarning( warnings, [...context.unsupportedCSSPropertiesFound.keys()], ); } } return ast; } private _resetContextStyleTimingState(context: AnimationAstBuilderContext) { context.currentQuerySelector = ROOT_SELECTOR; context.collectedStyles = new Map>(); context.collectedStyles.set(ROOT_SELECTOR, new Map()); context.currentTime = 0; } visitTrigger(metadata: AnimationTriggerMetadata, context: AnimationAstBuilderContext): TriggerAst { let queryCount = context.queryCount = 0; let depCount = context.depCount = 0; const states: StateAst[] = []; const transitions: TransitionAst[] = []; if (metadata.name.charAt(0) == '@') { context.errors.push(invalidTrigger()); } metadata.definitions.forEach(def => { this._resetContextStyleTimingState(context); if (def.type == AnimationMetadataType.State) { const stateDef = def as AnimationStateMetadata; const name = stateDef.name; name.toString().split(/\\s*,\\s*/).forEach(n => { stateDef.name = n; states.push(this.visitState(stateDef, context)); }); stateDef.name = name; } else if (def.type == AnimationMetadataType.Transition) { const transition = this.visitTransition(def as AnimationTransitionMetadata, context); queryCount += transition.queryCount; depCount += transition.depCount; transitions.push(transition); } else { context.errors.push(invalidDefinition()); } }); return { type: AnimationMetadataType.Trigger, name: metadata.name, states, transitions, queryCount, depCount, options: null }; } visitState(metadata: AnimationStateMetadata, context: AnimationAstBuilderContext): StateAst { const styleAst = this.visitStyle(metadata.styles, context); const astParams = (metadata.options && metadata.options.params) || null; if (styleAst.containsDynamicStyles) { const missingSubs = new Set(); const params = astParams || {}; styleAst.styles.forEach(style => { if (style instanceof Map) { style.forEach(value => { extractStyleParams(value).forEach(sub => { if (!params.hasOwnProperty(sub)) { missingSubs.add(sub); } }); }); } }); if (missingSubs.size) { const missingSubsArr = iteratorToArray(missingSubs.values()); context.errors.push(invalidState(metadata.name, missingSubsArr)); } } return { type: AnimationMetadataType.State, name: metadata.name, style: styleAst, options: astParams ? {params: astParams} : null }; } visitTransition(metadata: AnimationTransitionMetadata, context: AnimationAstBuilderContext): TransitionAst { context.queryCount = 0; context.depCount = 0; const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context); const matchers = parseTransitionExpr(metadata.expr, context.errors); return { type: AnimationMetadataType.Transition, matchers, animation, queryCount: context.queryCount, depCount: context.depCount, options: normalizeAnimationOptions(metadata.options) }; } visitSequence(metadata: AnimationSequenceMetadata, context: AnimationAstBuilderContext): SequenceAst { return { type: AnimationMetadataType.Sequence, steps: metadata.steps.map(s => visitDslNode(this, s, context)), options: normalizeAnimationOptions(metadata.options) }; } visitGroup(metadata: AnimationGroupMetadata, context: AnimationAstBuilderContext): GroupAst { const currentTime = context.currentTime; let furthestTime = 0; const steps = metadata.steps.map(step => { context.currentTime = currentTime; const innerAst = visitDslNode(this, step, context); furthestTime = Math.max(furthestTime, context.currentTime); return innerAst; }); context.currentTime = furthestTime; return { type: AnimationMetadataType.Group, steps, options: normalizeAnimationOptions(metadata.options) }; } visitAnimate(metadata: AnimationAnimateMetadata, context: AnimationAstBuilderContext): AnimateAst { const timingAst = constructTimingAst(metadata.timings, context.errors); context.currentAnimateTimings = timingAst; let styleAst: StyleAst|KeyframesAst; let styleMetadata: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata = metadata.styles ? metadata.styles : style({}); if (styleMetadata.type == AnimationMetadataType.Keyframes) { styleAst = this.visitKeyframes(styleMetadata as AnimationKeyframesSequenceMetadata, context); } else { let styleMetadata = metadata.styles as AnimationStyleMetadata; let isEmpty = false; if (!styleMetadata) { isEmpty = true; const newStyleData: {[prop: string]: string|number} = {}; if (timingAst.easing) { newStyleData['easing'] = timingAst.easing; } styleMetadata = style(newStyleData); } context.currentTime += timingAst.duration + timingAst.delay; const _styleAst = this.visitStyle(styleMetadata, context); _styleAst.isEmptyStep = isEmpty; styleAst = _styleAst; } context.currentAnimateTimings = null; return { type: AnimationMetadataType.Animate, timings: timingAst, style: styleAst, options: null }; } visitStyle(metadata: AnimationStyleMetadata, context: AnimationAstBuilderContext): StyleAst { const ast = this._makeStyleAst(metadata, context); this._validateStyleAst(ast, context); return ast; } private _makeStyleAst(metadata: AnimationStyleMetadata, context: AnimationAstBuilderContext): StyleAst { const styles: Array<(ɵStyleDataMap | string)> = []; const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles]; for (let styleTuple of metadataStyles) { if (typeof styleTuple === 'string') { if (styleTuple === AUTO_STYLE) { styles.push(styleTuple); } else { context.errors.push(invalidStyleValue(styleTuple)); } } else { styles.push(convertToMap(styleTuple)); } } let containsDynamicStyles = false; let collectedEasing: string|null = null; styles.forEach(styleData => { if (styleData instanceof Map) { if (styleData.has('easing')) { collectedEasing = styleData.get('easing') as string; styleData.delete('easing'); } if (!containsDynamicStyles) { for (let value of styleData.values()) { if (value!.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) { containsDynamicStyles = true; break; } } } } }); return { type: AnimationMetadataType.Style, styles, easing: collectedEasing, offset: metadata.offset, containsDynamicStyles, options: null }; } private _validateStyleAst(ast: StyleAst, context: AnimationAstBuilderContext): void { const timings = context.currentAnimateTimings; let endTime = context.currentTime; let startTime = context.currentTime; if (timings && startTime > 0) { startTime -= timings.duration + timings.delay; } ast.styles.forEach(tuple => { if (typeof tuple === 'string') return; tuple.forEach((value, prop) => { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (!this._driver.validateStyleProperty(prop)) { tuple.delete(prop); context.unsupportedCSSPropertiesFound.add(prop); return; } } // This is guaranteed to have a defined Map at this querySelector location making it // safe to add the assertion here. It is set as a default empty map in prior methods. const collectedStyles = context.collectedStyles.get(context.currentQuerySelector!)!; const collectedEntry = collectedStyles.get(prop); let updateCollectedStyle = true; if (collectedEntry) { if (startTime != endTime && startTime >= collectedEntry.startTime && endTime <= collectedEntry.endTime) { context.errors.push(invalidParallelAnimation( prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime)); updateCollectedStyle = false; } // we always choose the smaller start time value since we // want to have a record of the entire animation window where // the style property is being animated in between startTime = collectedEntry.startTime; } if (updateCollectedStyle) { collectedStyles.set(prop, {startTime, endTime}); } if (context.options) { validateStyleParams(value, context.options, context.errors); } }); }); } visitKeyframes(metadata: AnimationKeyframesSequenceMetadata, context: AnimationAstBuilderContext): KeyframesAst { const ast: KeyframesAst = {type: AnimationMetadataType.Keyframes, styles: [], options: null}; if (!context.currentAnimateTimings) { context.errors.push(invalidKeyframes()); return ast; } const MAX_KEYFRAME_OFFSET = 1; let totalKeyframesWithOffsets = 0; const offsets: number[] = []; let offsetsOutOfOrder = false; let keyframesOutOfRange = false; let previousOffset: number = 0; const keyframes: StyleAst[] = metadata.steps.map(styles => { const style = this._makeStyleAst(styles, context); let offsetVal: number|null = style.offset != null ? style.offset : consumeOffset(style.styles); let offset: number = 0; if (offsetVal != null) { totalKeyframesWithOffsets++; offset = style.offset = offsetVal; } keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1; offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset; previousOffset = offset; offsets.push(offset); return style; }); if (keyframesOutOfRange) { context.errors.push(invalidOffset()); } if (offsetsOutOfOrder) { context.errors.push(keyframeOffsetsOutOfOrder()); } const length = metadata.steps.length; let generatedOffset = 0; if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) { context.errors.push(keyframesMissingOffsets()); } else if (totalKeyframesWithOffsets == 0) { generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1); } const limit = length - 1; const currentTime = context.currentTime; const currentAnimateTimings = context.currentAnimateTimings!; const animateDuration = currentAnimateTimings.duration; keyframes.forEach((kf, i) => { const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i]; const durationUpToThisFrame = offset * animateDuration; context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame; currentAnimateTimings.duration = durationUpToThisFrame; this._validateStyleAst(kf, context); kf.offset = offset; ast.styles.push(kf); }); return ast; } visitReference(metadata: AnimationReferenceMetadata, context: AnimationAstBuilderContext): ReferenceAst { return { type: AnimationMetadataType.Reference, animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), options: normalizeAnimationOptions(metadata.options) }; } visitAnimateChild(metadata: AnimationAnimateChildMetadata, context: AnimationAstBuilderContext): AnimateChildAst { context.depCount++; return { type: AnimationMetadataType.AnimateChild, options: normalizeAnimationOptions(metadata.options) }; } visitAnimateRef(metadata: AnimationAnimateRefMetadata, context: AnimationAstBuilderContext): AnimateRefAst { return { type: AnimationMetadataType.AnimateRef, animation: this.visitReference(metadata.animation, context), options: normalizeAnimationOptions(metadata.options) }; } visitQuery(metadata: AnimationQueryMetadata, context: AnimationAstBuilderContext): QueryAst { const parentSelector = context.currentQuerySelector!; const options = (metadata.options || {}) as AnimationQueryOptions; context.queryCount++; context.currentQuery = metadata; const [selector, includeSelf] = normalizeSelector(metadata.selector); context.currentQuerySelector = parentSelector.length ? (parentSelector + ' ' + selector) : selector; getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map()); const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context); context.currentQuery = null; context.currentQuerySelector = parentSelector; return { type: AnimationMetadataType.Query, selector, limit: options.limit || 0, optional: !!options.optional, includeSelf, animation, originalSelector: metadata.selector, options: normalizeAnimationOptions(metadata.options) }; } visitStagger(metadata: AnimationStaggerMetadata, context: AnimationAstBuilderContext): StaggerAst { if (!context.currentQuery) { context.errors.push(invalidStagger()); } const timings = metadata.timings === 'full' ? {duration: 0, delay: 0, easing: 'full'} : resolveTiming(metadata.timings, context.errors, true); return { type: AnimationMetadataType.Stagger, animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), timings, options: null }; } } function normalizeSelector(selector: string): [string, boolean] { const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false; if (hasAmpersand) { selector = selector.replace(SELF_TOKEN_REGEX, ''); } // Note: the :enter and :leave aren't normalized here since those // selectors are filled in at runtime during timeline building selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR) .replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1)) .replace(/:animating/g, NG_ANIMATING_SELECTOR); return [selector, hasAmpersand]; } function normalizeParams(obj: {[key: string]: any}|any): {[key: string]: any}|null { return obj ? copyObj(obj) : null; } export type StyleTimeTuple = { startTime: number; endTime: number; }; export class AnimationAstBuilderContext { public queryCount: number = 0; public depCount: number = 0; public currentTransition: AnimationTransitionMetadata|null = null; public currentQuery: AnimationQueryMetadata|null = null; public currentQuerySelector: string|null = null; public currentAnimateTimings: TimingAst|null = null; public currentTime: number = 0; public collectedStyles = new Map>(); public options: AnimationOptions|null = null; public unsupportedCSSPropertiesFound: Set = new Set(); constructor(public errors: Error[]) {} } type OffsetStyles = string|ɵStyleDataMap; function consumeOffset(styles: OffsetStyles|Array): number|null { if (typeof styles == 'string') return null; let offset: number|null = null; if (Array.isArray(styles)) { styles.forEach(styleTuple => { if (styleTuple instanceof Map && styleTuple.has('offset')) { const obj = styleTuple as ɵStyleDataMap; offset = parseFloat(obj.get('offset') as string); obj.delete('offset'); } }); } else if (styles instanceof Map && styles.has('offset')) { const obj = styles; offset = parseFloat(obj.get('offset') as string); obj.delete('offset'); } return offset; } function constructTimingAst(value: string|number|AnimateTimings, errors: Error[]) { if (value.hasOwnProperty('duration')) { return value as AnimateTimings; } if (typeof value == 'number') { const duration = resolveTiming(value, errors).duration; return makeTimingAst(duration, 0, ''); } const strValue = value as string; const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{'); if (isDynamic) { const ast = makeTimingAst(0, 0, '') as any; ast.dynamic = true; ast.strValue = strValue; return ast as DynamicTimingAst; } const timings = resolveTiming(strValue, errors); return makeTimingAst(timings.duration, timings.delay, timings.easing); } function normalizeAnimationOptions(options: AnimationOptions|null): AnimationOptions { if (options) { options = copyObj(options); if (options['params']) { options['params'] = normalizeParams(options['params'])!; } } else { options = {}; } return options; } function makeTimingAst(duration: number, delay: number, easing: string|null): TimingAst { return {duration, delay, easing}; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {AnimationEngineInstruction, AnimationTransitionInstructionType} from '../render/animation_engine_instruction'; export interface AnimationTimelineInstruction extends AnimationEngineInstruction { element: any; keyframes: Array<ɵStyleDataMap>; preStyleProps: string[]; postStyleProps: string[]; duration: number; delay: number; totalTime: number; easing: string|null; stretchStartingKeyframe?: boolean; subTimeline: boolean; } export function createTimelineInstruction( element: any, keyframes: Array<ɵStyleDataMap>, preStyleProps: string[], postStyleProps: string[], duration: number, delay: number, easing: string|null = null, subTimeline: boolean = false): AnimationTimelineInstruction { return { type: AnimationTransitionInstructionType.TimelineAnimation, element, keyframes, preStyleProps, postStyleProps, duration, delay, totalTime: duration + delay, easing, subTimeline }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationTimelineInstruction} from './animation_timeline_instruction'; export class ElementInstructionMap { private _map = new Map(); get(element: any): AnimationTimelineInstruction[] { return this._map.get(element) || []; } append(element: any, instructions: AnimationTimelineInstruction[]) { let existingInstructions = this._map.get(element); if (!existingInstructions) { this._map.set(element, existingInstructions = []); } existingInstructions.push(...instructions); } has(element: any): boolean { return this._map.has(element); } clear() { this._map.clear(); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateChildOptions, AnimateTimings, AnimationMetadataType, AnimationOptions, AnimationQueryOptions, AUTO_STYLE, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {invalidQuery} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {copyStyles, interpolateParams, iteratorToArray, resolveTiming, resolveTimingValue, visitDslNode} from '../util'; import {AnimateAst, AnimateChildAst, AnimateRefAst, Ast, AstVisitor, DynamicTimingAst, GroupAst, KeyframesAst, QueryAst, ReferenceAst, SequenceAst, StaggerAst, StateAst, StyleAst, TimingAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationTimelineInstruction, createTimelineInstruction} from './animation_timeline_instruction'; import {ElementInstructionMap} from './element_instruction_map'; const ONE_FRAME_IN_MILLISECONDS = 1; const ENTER_TOKEN = ':enter'; const ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g'); const LEAVE_TOKEN = ':leave'; const LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g'); /* * The code within this file aims to generate web-animations-compatible keyframes from Angular's * animation DSL code. * * The code below will be converted from: * * ``` * sequence([ * style({ opacity: 0 }), * animate(1000, style({ opacity: 0 })) * ]) * ``` * * To: * ``` * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }] * duration = 1000 * delay = 0 * easing = '' * ``` * * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a * combination of AST traversal and merge-sort-like algorithms are used. * * [AST Traversal] * Each of the animation verbs, when executed, will return an string-map object representing what * type of action it is (style, animate, group, etc...) and the data associated with it. This means * that when functional composition mix of these functions is evaluated (like in the example above) * then it will end up producing a tree of objects representing the animation itself. * * When this animation object tree is processed by the visitor code below it will visit each of the * verb statements within the visitor. And during each visit it will build the context of the * animation keyframes by interacting with the `TimelineBuilder`. * * [TimelineBuilder] * This class is responsible for tracking the styles and building a series of keyframe objects for a * timeline between a start and end time. The builder starts off with an initial timeline and each * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a * `sequence()` then it will generate a sub timeline for each step as well as a new one after * they are complete. * * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub * timeline was created (based on one of the cases above) then the parent timeline will attempt to * merge the styles used within the sub timelines into itself (only with group() this will happen). * This happens with a merge operation (much like how the merge works in mergeSort) and it will only * copy the most recently used styles from the sub timelines into the parent timeline. This ensures * that if the styles are used later on in another phase of the animation then they will be the most * up-to-date values. * * [How Missing Styles Are Updated] * Each timeline has a `backFill` property which is responsible for filling in new styles into * already processed keyframes if a new style shows up later within the animation sequence. * * ``` * sequence([ * style({ width: 0 }), * animate(1000, style({ width: 100 })), * animate(1000, style({ width: 200 })), * animate(1000, style({ width: 300 })) * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere * else * ]) * ``` * * What is happening here is that the `height` value is added later in the sequence, but is missing * from all previous animation steps. Therefore when a keyframe is created it would also be missing * from all previous keyframes up until where it is first used. For the timeline keyframe generation * to properly fill in the style it will place the previous value (the value from the parent * timeline) or a default value of `*` into the backFill map. The `copyStyles` method in util.ts * handles propagating that backfill map to the styles object. * * When a sub-timeline is created it will have its own backFill property. This is done so that * styles present within the sub-timeline do not accidentally seep into the previous/future timeline * keyframes * * [Validation] * The code in this file is not responsible for validation. That functionality happens with within * the `AnimationValidatorVisitor` code. */ export function buildAnimationTimelines( driver: AnimationDriver, rootElement: any, ast: Ast, enterClassName: string, leaveClassName: string, startingStyles: ɵStyleDataMap = new Map(), finalStyles: ɵStyleDataMap = new Map(), options: AnimationOptions, subInstructions?: ElementInstructionMap, errors: Error[] = []): AnimationTimelineInstruction[] { return new AnimationTimelineBuilderVisitor().buildKeyframes( driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors); } export class AnimationTimelineBuilderVisitor implements AstVisitor { buildKeyframes( driver: AnimationDriver, rootElement: any, ast: Ast, enterClassName: string, leaveClassName: string, startingStyles: ɵStyleDataMap, finalStyles: ɵStyleDataMap, options: AnimationOptions, subInstructions?: ElementInstructionMap, errors: Error[] = []): AnimationTimelineInstruction[] { subInstructions = subInstructions || new ElementInstructionMap(); const context = new AnimationTimelineContext( driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []); context.options = options; const delay = options.delay ? resolveTimingValue(options.delay) : 0; context.currentTimeline.delayNextStep(delay); context.currentTimeline.setStyles([startingStyles], null, context.errors, options); visitDslNode(this, ast, context); // this checks to see if an actual animation happened const timelines = context.timelines.filter(timeline => timeline.containsAnimation()); // note: we just want to apply the final styles for the rootElement, so we do not // just apply the styles to the last timeline but the last timeline which // element is the root one (basically `*`-styles are replaced with the actual // state style values only for the root element) if (timelines.length && finalStyles.size) { let lastRootTimeline: TimelineBuilder|undefined; for (let i = timelines.length - 1; i >= 0; i--) { const timeline = timelines[i]; if (timeline.element === rootElement) { lastRootTimeline = timeline; break; } } if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) { lastRootTimeline.setStyles([finalStyles], null, context.errors, options); } } return timelines.length ? timelines.map(timeline => timeline.buildKeyframes()) : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)]; } visitTrigger(ast: TriggerAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitState(ast: StateAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitTransition(ast: TransitionAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitAnimateChild(ast: AnimateChildAst, context: AnimationTimelineContext): any { const elementInstructions = context.subInstructions.get(context.element); if (elementInstructions) { const innerContext = context.createSubContext(ast.options); const startTime = context.currentTimeline.currentTime; const endTime = this._visitSubInstructions( elementInstructions, innerContext, innerContext.options as AnimateChildOptions); if (startTime != endTime) { // we do this on the upper context because we created a sub context for // the sub child animations context.transformIntoNewTimeline(endTime); } } context.previousNode = ast; } visitAnimateRef(ast: AnimateRefAst, context: AnimationTimelineContext): any { const innerContext = context.createSubContext(ast.options); innerContext.transformIntoNewTimeline(); this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext); this.visitReference(ast.animation, innerContext); context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime); context.previousNode = ast; } private _applyAnimationRefDelays( animationsRefsOptions: (AnimationOptions|null)[], context: AnimationTimelineContext, innerContext: AnimationTimelineContext) { for (const animationRefOptions of animationsRefsOptions) { const animationDelay = animationRefOptions?.delay; if (animationDelay) { const animationDelayValue = typeof animationDelay === 'number' ? animationDelay : resolveTimingValue(interpolateParams( animationDelay, animationRefOptions?.params ?? {}, context.errors)); innerContext.delayNextStep(animationDelayValue); } } } private _visitSubInstructions( instructions: AnimationTimelineInstruction[], context: AnimationTimelineContext, options: AnimateChildOptions): number { const startTime = context.currentTimeline.currentTime; let furthestTime = startTime; // this is a special-case for when a user wants to skip a sub // animation from being fired entirely. const duration = options.duration != null ? resolveTimingValue(options.duration) : null; const delay = options.delay != null ? resolveTimingValue(options.delay) : null; if (duration !== 0) { instructions.forEach(instruction => { const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay); furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay); }); } return furthestTime; } visitReference(ast: ReferenceAst, context: AnimationTimelineContext) { context.updateOptions(ast.options, true); visitDslNode(this, ast.animation, context); context.previousNode = ast; } visitSequence(ast: SequenceAst, context: AnimationTimelineContext) { const subContextCount = context.subContextCount; let ctx = context; const options = ast.options; if (options && (options.params || options.delay)) { ctx = context.createSubContext(options); ctx.transformIntoNewTimeline(); if (options.delay != null) { if (ctx.previousNode.type == AnimationMetadataType.Style) { ctx.currentTimeline.snapshotCurrentStyles(); ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; } const delay = resolveTimingValue(options.delay); ctx.delayNextStep(delay); } } if (ast.steps.length) { ast.steps.forEach(s => visitDslNode(this, s, ctx)); // this is here just in case the inner steps only contain or end with a style() call ctx.currentTimeline.applyStylesToKeyframe(); // this means that some animation function within the sequence // ended up creating a sub timeline (which means the current // timeline cannot overlap with the contents of the sequence) if (ctx.subContextCount > subContextCount) { ctx.transformIntoNewTimeline(); } } context.previousNode = ast; } visitGroup(ast: GroupAst, context: AnimationTimelineContext) { const innerTimelines: TimelineBuilder[] = []; let furthestTime = context.currentTimeline.currentTime; const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0; ast.steps.forEach(s => { const innerContext = context.createSubContext(ast.options); if (delay) { innerContext.delayNextStep(delay); } visitDslNode(this, s, innerContext); furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime); innerTimelines.push(innerContext.currentTimeline); }); // this operation is run after the AST loop because otherwise // if the parent timeline's collected styles were updated then // it would pass in invalid data into the new-to-be forked items innerTimelines.forEach( timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline)); context.transformIntoNewTimeline(furthestTime); context.previousNode = ast; } private _visitTiming(ast: TimingAst, context: AnimationTimelineContext): AnimateTimings { if ((ast as DynamicTimingAst).dynamic) { const strValue = (ast as DynamicTimingAst).strValue; const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue; return resolveTiming(timingValue, context.errors); } else { return {duration: ast.duration, delay: ast.delay, easing: ast.easing}; } } visitAnimate(ast: AnimateAst, context: AnimationTimelineContext) { const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context); const timeline = context.currentTimeline; if (timings.delay) { context.incrementTime(timings.delay); timeline.snapshotCurrentStyles(); } const style = ast.style; if (style.type == AnimationMetadataType.Keyframes) { this.visitKeyframes(style, context); } else { context.incrementTime(timings.duration); this.visitStyle(style as StyleAst, context); timeline.applyStylesToKeyframe(); } context.currentAnimateTimings = null; context.previousNode = ast; } visitStyle(ast: StyleAst, context: AnimationTimelineContext) { const timeline = context.currentTimeline; const timings = context.currentAnimateTimings!; // this is a special case for when a style() call // directly follows an animate() call (but not inside of an animate() call) if (!timings && timeline.hasCurrentStyleProperties()) { timeline.forwardFrame(); } const easing = (timings && timings.easing) || ast.easing; if (ast.isEmptyStep) { timeline.applyEmptyStep(easing); } else { timeline.setStyles(ast.styles, easing, context.errors, context.options); } context.previousNode = ast; } visitKeyframes(ast: KeyframesAst, context: AnimationTimelineContext) { const currentAnimateTimings = context.currentAnimateTimings!; const startTime = (context.currentTimeline!).duration; const duration = currentAnimateTimings.duration; const innerContext = context.createSubContext(); const innerTimeline = innerContext.currentTimeline; innerTimeline.easing = currentAnimateTimings.easing; ast.styles.forEach(step => { const offset: number = step.offset || 0; innerTimeline.forwardTime(offset * duration); innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options); innerTimeline.applyStylesToKeyframe(); }); // this will ensure that the parent timeline gets all the styles from // the child even if the new timeline below is not used context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline); // we do this because the window between this timeline and the sub timeline // should ensure that the styles within are exactly the same as they were before context.transformIntoNewTimeline(startTime + duration); context.previousNode = ast; } visitQuery(ast: QueryAst, context: AnimationTimelineContext) { // in the event that the first step before this is a style step we need // to ensure the styles are applied before the children are animated const startTime = context.currentTimeline.currentTime; const options = (ast.options || {}) as AnimationQueryOptions; const delay = options.delay ? resolveTimingValue(options.delay) : 0; if (delay && (context.previousNode.type === AnimationMetadataType.Style || (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) { context.currentTimeline.snapshotCurrentStyles(); context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; } let furthestTime = startTime; const elms = context.invokeQuery( ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors); context.currentQueryTotal = elms.length; let sameElementTimeline: TimelineBuilder|null = null; elms.forEach((element, i) => { context.currentQueryIndex = i; const innerContext = context.createSubContext(ast.options, element); if (delay) { innerContext.delayNextStep(delay); } if (element === context.element) { sameElementTimeline = innerContext.currentTimeline; } visitDslNode(this, ast.animation, innerContext); // this is here just incase the inner steps only contain or end // with a style() call (which is here to signal that this is a preparatory // call to style an element before it is animated again) innerContext.currentTimeline.applyStylesToKeyframe(); const endTime = innerContext.currentTimeline.currentTime; furthestTime = Math.max(furthestTime, endTime); }); context.currentQueryIndex = 0; context.currentQueryTotal = 0; context.transformIntoNewTimeline(furthestTime); if (sameElementTimeline) { context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline); context.currentTimeline.snapshotCurrentStyles(); } context.previousNode = ast; } visitStagger(ast: StaggerAst, context: AnimationTimelineContext) { const parentContext = context.parentContext!; const tl = context.currentTimeline; const timings = ast.timings; const duration = Math.abs(timings.duration); const maxTime = duration * (context.currentQueryTotal - 1); let delay = duration * context.currentQueryIndex; let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing; switch (staggerTransformer) { case 'reverse': delay = maxTime - delay; break; case 'full': delay = parentContext.currentStaggerTime; break; } const timeline = context.currentTimeline; if (delay) { timeline.delayNextStep(delay); } const startingTime = timeline.currentTime; visitDslNode(this, ast.animation, context); context.previousNode = ast; // time = duration + delay // the reason why this computation is so complex is because // the inner timeline may either have a delay value or a stretched // keyframe depending on if a subtimeline is not used or is used. parentContext.currentStaggerTime = (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime); } } export declare type StyleAtTime = { time: number; value: string | number; }; const DEFAULT_NOOP_PREVIOUS_NODE = >{}; export class AnimationTimelineContext { public parentContext: AnimationTimelineContext|null = null; public currentTimeline: TimelineBuilder; public currentAnimateTimings: AnimateTimings|null = null; public previousNode: Ast = DEFAULT_NOOP_PREVIOUS_NODE; public subContextCount = 0; public options: AnimationOptions = {}; public currentQueryIndex: number = 0; public currentQueryTotal: number = 0; public currentStaggerTime: number = 0; constructor( private _driver: AnimationDriver, public element: any, public subInstructions: ElementInstructionMap, private _enterClassName: string, private _leaveClassName: string, public errors: Error[], public timelines: TimelineBuilder[], initialTimeline?: TimelineBuilder) { this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0); timelines.push(this.currentTimeline); } get params() { return this.options.params; } updateOptions(options: AnimationOptions|null, skipIfExists?: boolean) { if (!options) return; const newOptions = options as any; let optionsToUpdate = this.options; // NOTE: this will get patched up when other animation methods support duration overrides if (newOptions.duration != null) { (optionsToUpdate as any).duration = resolveTimingValue(newOptions.duration); } if (newOptions.delay != null) { optionsToUpdate.delay = resolveTimingValue(newOptions.delay); } const newParams = newOptions.params; if (newParams) { let paramsToUpdate: {[name: string]: any} = optionsToUpdate.params!; if (!paramsToUpdate) { paramsToUpdate = this.options.params = {}; } Object.keys(newParams).forEach(name => { if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) { paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors); } }); } } private _copyOptions() { const options: AnimationOptions = {}; if (this.options) { const oldParams = this.options.params; if (oldParams) { const params: {[name: string]: any} = options['params'] = {}; Object.keys(oldParams).forEach(name => { params[name] = oldParams[name]; }); } } return options; } createSubContext(options: AnimationOptions|null = null, element?: any, newTime?: number): AnimationTimelineContext { const target = element || this.element; const context = new AnimationTimelineContext( this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0)); context.previousNode = this.previousNode; context.currentAnimateTimings = this.currentAnimateTimings; context.options = this._copyOptions(); context.updateOptions(options); context.currentQueryIndex = this.currentQueryIndex; context.currentQueryTotal = this.currentQueryTotal; context.parentContext = this; this.subContextCount++; return context; } transformIntoNewTimeline(newTime?: number) { this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; this.currentTimeline = this.currentTimeline.fork(this.element, newTime); this.timelines.push(this.currentTimeline); return this.currentTimeline; } appendInstructionToTimeline( instruction: AnimationTimelineInstruction, duration: number|null, delay: number|null): AnimateTimings { const updatedTimings: AnimateTimings = { duration: duration != null ? duration : instruction.duration, delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay, easing: '' }; const builder = new SubTimelineBuilder( this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe); this.timelines.push(builder); return updatedTimings; } incrementTime(time: number) { this.currentTimeline.forwardTime(this.currentTimeline.duration + time); } delayNextStep(delay: number) { // negative delays are not yet supported if (delay > 0) { this.currentTimeline.delayNextStep(delay); } } invokeQuery( selector: string, originalSelector: string, limit: number, includeSelf: boolean, optional: boolean, errors: Error[]): any[] { let results: any[] = []; if (includeSelf) { results.push(this.element); } if (selector.length > 0) { // only if :self is used then the selector can be empty selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName); selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName); const multi = limit != 1; let elements = this._driver.query(this.element, selector, multi); if (limit !== 0) { elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) : elements.slice(0, limit); } results.push(...elements); } if (!optional && results.length == 0) { errors.push(invalidQuery(originalSelector)); } return results; } } export class TimelineBuilder { public duration: number = 0; // TODO(issue/24571): remove '!'. public easing!: string|null; private _previousKeyframe: ɵStyleDataMap = new Map(); private _currentKeyframe: ɵStyleDataMap = new Map(); private _keyframes = new Map(); private _styleSummary = new Map(); private _localTimelineStyles: ɵStyleDataMap = new Map(); private _globalTimelineStyles: ɵStyleDataMap; private _pendingStyles: ɵStyleDataMap = new Map(); private _backFill: ɵStyleDataMap = new Map(); private _currentEmptyStepKeyframe: ɵStyleDataMap|null = null; constructor( private _driver: AnimationDriver, public element: any, public startTime: number, private _elementTimelineStylesLookup?: Map) { if (!this._elementTimelineStylesLookup) { this._elementTimelineStylesLookup = new Map(); } this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element)!; if (!this._globalTimelineStyles) { this._globalTimelineStyles = this._localTimelineStyles; this._elementTimelineStylesLookup.set(element, this._localTimelineStyles); } this._loadKeyframe(); } containsAnimation(): boolean { switch (this._keyframes.size) { case 0: return false; case 1: return this.hasCurrentStyleProperties(); default: return true; } } hasCurrentStyleProperties(): boolean { return this._currentKeyframe.size > 0; } get currentTime() { return this.startTime + this.duration; } delayNextStep(delay: number) { // in the event that a style() step is placed right before a stagger() // and that style() step is the very first style() value in the animation // then we need to make a copy of the keyframe [0, copy, 1] so that the delay // properly applies the style() values to work with the stagger... const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size; if (this.duration || hasPreStyleStep) { this.forwardTime(this.currentTime + delay); if (hasPreStyleStep) { this.snapshotCurrentStyles(); } } else { this.startTime += delay; } } fork(element: any, currentTime?: number): TimelineBuilder { this.applyStylesToKeyframe(); return new TimelineBuilder( this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup); } private _loadKeyframe() { if (this._currentKeyframe) { this._previousKeyframe = this._currentKeyframe; } this._currentKeyframe = this._keyframes.get(this.duration)!; if (!this._currentKeyframe) { this._currentKeyframe = new Map(); this._keyframes.set(this.duration, this._currentKeyframe); } } forwardFrame() { this.duration += ONE_FRAME_IN_MILLISECONDS; this._loadKeyframe(); } forwardTime(time: number) { this.applyStylesToKeyframe(); this.duration = time; this._loadKeyframe(); } private _updateStyle(prop: string, value: string|number) { this._localTimelineStyles.set(prop, value); this._globalTimelineStyles.set(prop, value); this._styleSummary.set(prop, {time: this.currentTime, value}); } allowOnlyTimelineStyles() { return this._currentEmptyStepKeyframe !== this._currentKeyframe; } applyEmptyStep(easing: string|null) { if (easing) { this._previousKeyframe.set('easing', easing); } // special case for animate(duration): // all missing styles are filled with a `*` value then // if any destination styles are filled in later on the same // keyframe then they will override the overridden styles // We use `_globalTimelineStyles` here because there may be // styles in previous keyframes that are not present in this timeline for (let [prop, value] of this._globalTimelineStyles) { this._backFill.set(prop, value || AUTO_STYLE); this._currentKeyframe.set(prop, AUTO_STYLE); } this._currentEmptyStepKeyframe = this._currentKeyframe; } setStyles( input: Array<(ɵStyleDataMap | string)>, easing: string|null, errors: Error[], options?: AnimationOptions) { if (easing) { this._previousKeyframe.set('easing', easing); } const params = (options && options.params) || {}; const styles = flattenStyles(input, this._globalTimelineStyles); for (let [prop, value] of styles) { const val = interpolateParams(value, params, errors); this._pendingStyles.set(prop, val); if (!this._localTimelineStyles.has(prop)) { this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE); } this._updateStyle(prop, val); } } applyStylesToKeyframe() { if (this._pendingStyles.size == 0) return; this._pendingStyles.forEach((val, prop) => { this._currentKeyframe.set(prop, val); }); this._pendingStyles.clear(); this._localTimelineStyles.forEach((val, prop) => { if (!this._currentKeyframe.has(prop)) { this._currentKeyframe.set(prop, val); } }); } snapshotCurrentStyles() { for (let [prop, val] of this._localTimelineStyles) { this._pendingStyles.set(prop, val); this._updateStyle(prop, val); } } getFinalKeyframe() { return this._keyframes.get(this.duration); } get properties() { const properties: string[] = []; for (let prop in this._currentKeyframe) { properties.push(prop); } return properties; } mergeTimelineCollectedStyles(timeline: TimelineBuilder) { timeline._styleSummary.forEach((details1, prop) => { const details0 = this._styleSummary.get(prop); if (!details0 || details1.time > details0.time) { this._updateStyle(prop, details1.value); } }); } buildKeyframes(): AnimationTimelineInstruction { this.applyStylesToKeyframe(); const preStyleProps = new Set(); const postStyleProps = new Set(); const isEmpty = this._keyframes.size === 1 && this.duration === 0; let finalKeyframes: Array<ɵStyleDataMap> = []; this._keyframes.forEach((keyframe, time) => { const finalKeyframe = copyStyles(keyframe, new Map(), this._backFill); finalKeyframe.forEach((value, prop) => { if (value === PRE_STYLE) { preStyleProps.add(prop); } else if (value === AUTO_STYLE) { postStyleProps.add(prop); } }); if (!isEmpty) { finalKeyframe.set('offset', time / this.duration); } finalKeyframes.push(finalKeyframe); }); const preProps: string[] = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : []; const postProps: string[] = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : []; // special case for a 0-second animation (which is designed just to place styles onscreen) if (isEmpty) { const kf0 = finalKeyframes[0]; const kf1 = new Map(kf0); kf0.set('offset', 0); kf1.set('offset', 1); finalKeyframes = [kf0, kf1]; } return createTimelineInstruction( this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false); } } class SubTimelineBuilder extends TimelineBuilder { public timings: AnimateTimings; constructor( driver: AnimationDriver, element: any, public keyframes: Array<ɵStyleDataMap>, public preStyleProps: string[], public postStyleProps: string[], timings: AnimateTimings, private _stretchStartingKeyframe: boolean = false) { super(driver, element, timings.delay); this.timings = {duration: timings.duration, delay: timings.delay, easing: timings.easing}; } override containsAnimation(): boolean { return this.keyframes.length > 1; } override buildKeyframes(): AnimationTimelineInstruction { let keyframes = this.keyframes; let {delay, duration, easing} = this.timings; if (this._stretchStartingKeyframe && delay) { const newKeyframes: Array<ɵStyleDataMap> = []; const totalTime = duration + delay; const startingGap = delay / totalTime; // the original starting keyframe now starts once the delay is done const newFirstKeyframe = copyStyles(keyframes[0]); newFirstKeyframe.set('offset', 0); newKeyframes.push(newFirstKeyframe); const oldFirstKeyframe = copyStyles(keyframes[0]); oldFirstKeyframe.set('offset', roundOffset(startingGap)); newKeyframes.push(oldFirstKeyframe); /* When the keyframe is stretched then it means that the delay before the animation starts is gone. Instead the first keyframe is placed at the start of the animation and it is then copied to where it starts when the original delay is over. This basically means nothing animates during that delay, but the styles are still rendered. For this to work the original offset values that exist in the original keyframes must be \"warped\" so that they can take the new keyframe + delay into account. delay=1000, duration=1000, keyframes = 0 .5 1 turns into delay=0, duration=2000, keyframes = 0 .33 .66 1 */ // offsets between 1 ... n -1 are all warped by the keyframe stretch const limit = keyframes.length - 1; for (let i = 1; i <= limit; i++) { let kf = copyStyles(keyframes[i]); const oldOffset = kf.get('offset') as number; const timeAtKeyframe = delay + oldOffset * duration; kf.set('offset', roundOffset(timeAtKeyframe / totalTime)); newKeyframes.push(kf); } // the new starting keyframe should be added at the start duration = totalTime; delay = 0; easing = ''; keyframes = newKeyframes; } return createTimelineInstruction( this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true); } } function roundOffset(offset: number, decimalPoints = 3): number { const mult = Math.pow(10, decimalPoints - 1); return Math.round(offset * mult) / mult; } function flattenStyles(input: Array<(ɵStyleDataMap | string)>, allStyles: ɵStyleDataMap) { const styles: ɵStyleDataMap = new Map(); let allProperties: string[]|IterableIterator; input.forEach(token => { if (token === '*') { allProperties = allProperties || allStyles.keys(); for (let prop of allProperties) { styles.set(prop, AUTO_STYLE); } } else { copyStyles(token as ɵStyleDataMap, styles); } }); return styles; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationMetadataType, AnimationOptions, ɵStyleDataMap} from '@angular/animations'; import {buildingFailed, validationFailed} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {ENTER_CLASSNAME, LEAVE_CLASSNAME, normalizeStyles} from '../util'; import {warnValidation} from '../warning_helpers'; import {Ast} from './animation_ast'; import {buildAnimationAst} from './animation_ast_builder'; import {buildAnimationTimelines} from './animation_timeline_builder'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; import {ElementInstructionMap} from './element_instruction_map'; export class Animation { private _animationAst: Ast; constructor(private _driver: AnimationDriver, input: AnimationMetadata|AnimationMetadata[]) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst(_driver, input, errors, warnings); if (errors.length) { throw validationFailed(errors); } if (warnings.length) { warnValidation(warnings); } this._animationAst = ast; } buildTimelines( element: any, startingStyles: ɵStyleDataMap|Array<ɵStyleDataMap>, destinationStyles: ɵStyleDataMap|Array<ɵStyleDataMap>, options: AnimationOptions, subInstructions?: ElementInstructionMap): AnimationTimelineInstruction[] { const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) : <ɵStyleDataMap>startingStyles; const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) : <ɵStyleDataMap>destinationStyles; const errors: any = []; subInstructions = subInstructions || new ElementInstructionMap(); const result = buildAnimationTimelines( this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors); if (errors.length) { throw buildingFailed(errors); } return result; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @publicApi */ export abstract class AnimationStyleNormalizer { abstract normalizePropertyName(propertyName: string, errors: Error[]): string; abstract normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string; } /** * @publicApi */ export class NoopAnimationStyleNormalizer { normalizePropertyName(propertyName: string, errors: Error[]): string { return propertyName; } normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string { return value; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {invalidCssUnitValue} from '../../error_helpers'; import {dashCaseToCamelCase} from '../../util'; import {AnimationStyleNormalizer} from './animation_style_normalizer'; const DIMENSIONAL_PROP_SET = new Set([ 'width', 'height', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'left', 'top', 'bottom', 'right', 'fontSize', 'outlineWidth', 'outlineOffset', 'paddingTop', 'paddingLeft', 'paddingBottom', 'paddingRight', 'marginTop', 'marginLeft', 'marginBottom', 'marginRight', 'borderRadius', 'borderWidth', 'borderTopWidth', 'borderLeftWidth', 'borderRightWidth', 'borderBottomWidth', 'textIndent', 'perspective' ]); export class WebAnimationsStyleNormalizer extends AnimationStyleNormalizer { override normalizePropertyName(propertyName: string, errors: Error[]): string { return dashCaseToCamelCase(propertyName); } override normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string { let unit: string = ''; const strVal = value.toString().trim(); if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') { if (typeof value === 'number') { unit = 'px'; } else { const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/); if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) { errors.push(invalidCssUnitValue(userProvidedProperty, value)); } } } return strVal + unit; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {AnimationEngineInstruction, AnimationTransitionInstructionType} from '../render/animation_engine_instruction'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; export interface AnimationTransitionInstruction extends AnimationEngineInstruction { element: any; triggerName: string; isRemovalTransition: boolean; fromState: string; fromStyles: ɵStyleDataMap; toState: string; toStyles: ɵStyleDataMap; timelines: AnimationTimelineInstruction[]; queriedElements: any[]; preStyleProps: Map>; postStyleProps: Map>; totalTime: number; errors?: Error[]; } export function createTransitionInstruction( element: any, triggerName: string, fromState: string, toState: string, isRemovalTransition: boolean, fromStyles: ɵStyleDataMap, toStyles: ɵStyleDataMap, timelines: AnimationTimelineInstruction[], queriedElements: any[], preStyleProps: Map>, postStyleProps: Map>, totalTime: number, errors?: Error[]): AnimationTransitionInstruction { return { type: AnimationTransitionInstructionType.TransitionAnimation, element, triggerName, isRemovalTransition, fromState, fromStyles, toState, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationOptions, ɵStyleDataMap} from '@angular/animations'; import {AnimationDriver} from '../render/animation_driver'; import {getOrSetDefaultValue} from '../render/shared'; import {copyObj, interpolateParams, iteratorToArray} from '../util'; import {StyleAst, TransitionAst} from './animation_ast'; import {buildAnimationTimelines} from './animation_timeline_builder'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; import {TransitionMatcherFn} from './animation_transition_expr'; import {AnimationTransitionInstruction, createTransitionInstruction} from './animation_transition_instruction'; import {ElementInstructionMap} from './element_instruction_map'; import {AnimationStyleNormalizer} from './style_normalization/animation_style_normalizer'; const EMPTY_OBJECT = {}; export class AnimationTransitionFactory { constructor( private _triggerName: string, public ast: TransitionAst, private _stateStyles: Map) {} match(currentState: any, nextState: any, element: any, params: {[key: string]: any}): boolean { return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params); } buildStyles(stateName: string|boolean|undefined, params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { let styler = this._stateStyles.get('*'); if (stateName !== undefined) { styler = this._stateStyles.get(stateName?.toString()) || styler; } return styler ? styler.buildStyles(params, errors) : new Map(); } build( driver: AnimationDriver, element: any, currentState: any, nextState: any, enterClassName: string, leaveClassName: string, currentOptions?: AnimationOptions, nextOptions?: AnimationOptions, subInstructions?: ElementInstructionMap, skipAstBuild?: boolean): AnimationTransitionInstruction { const errors: Error[] = []; const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT; const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT; const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors); const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT; const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors); const queriedElements = new Set(); const preStyleMap = new Map>(); const postStyleMap = new Map>(); const isRemoval = nextState === 'void'; const animationOptions: AnimationOptions = { params: applyParamDefaults(nextAnimationParams, transitionAnimationParams), delay: this.ast.options?.delay, }; const timelines = skipAstBuild ? [] : buildAnimationTimelines( driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors); let totalTime = 0; timelines.forEach(tl => { totalTime = Math.max(tl.duration + tl.delay, totalTime); }); if (errors.length) { return createTransitionInstruction( element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors); } timelines.forEach(tl => { const elm = tl.element; const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set()); tl.preStyleProps.forEach(prop => preProps.add(prop)); const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set()); tl.postStyleProps.forEach(prop => postProps.add(prop)); if (elm !== element) { queriedElements.add(elm); } }); if (typeof ngDevMode === 'undefined' || ngDevMode) { checkNonAnimatableInTimelines(timelines, this._triggerName, driver); } const queriedElementsList = iteratorToArray(queriedElements.values()); return createTransitionInstruction( element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime); } } /** * Checks inside a set of timelines if they try to animate a css property which is not considered * animatable, in that case it prints a warning on the console. * Besides that the function doesn't have any other effect. * * Note: this check is done here after the timelines are built instead of doing on a lower level so * that we can make sure that the warning appears only once per instruction (we can aggregate here * all the issues instead of finding them separately). * * @param timelines The built timelines for the current instruction. * @param triggerName The name of the trigger for the current instruction. * @param driver Animation driver used to perform the check. * */ function checkNonAnimatableInTimelines( timelines: AnimationTimelineInstruction[], triggerName: string, driver: AnimationDriver): void { if (!driver.validateAnimatableStyleProperty) { return; } const allowedNonAnimatableProps = new Set([ // 'easing' is a utility/synthetic prop we use to represent // easing functions, it represents a property of the animation // which is not animatable but different values can be used // in different steps 'easing' ]); const invalidNonAnimatableProps = new Set(); timelines.forEach(({keyframes}) => { const nonAnimatablePropsInitialValues = new Map(); keyframes.forEach(keyframe => { const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop)); for (const [prop, value] of entriesToCheck) { if (!driver.validateAnimatableStyleProperty!(prop)) { if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) { const propInitialValue = nonAnimatablePropsInitialValues.get(prop); if (propInitialValue !== value) { invalidNonAnimatableProps.add(prop); } } else { nonAnimatablePropsInitialValues.set(prop, value); } } } }); }); if (invalidNonAnimatableProps.size > 0) { console.warn( `Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` + ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\ ' + '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)'); } } function oneOrMoreTransitionsMatch( matchFns: TransitionMatcherFn[], currentState: any, nextState: any, element: any, params: {[key: string]: any}): boolean { return matchFns.some(fn => fn(currentState, nextState, element, params)); } function applyParamDefaults(userParams: Record, defaults: Record) { const result: Record = copyObj(defaults); for (const key in userParams) { if (userParams.hasOwnProperty(key) && userParams[key] != null) { result[key] = userParams[key]; } } return result; } export class AnimationStateStyles { constructor( private styles: StyleAst, private defaultParams: {[key: string]: any}, private normalizer: AnimationStyleNormalizer) {} buildStyles(params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { const finalStyles: ɵStyleDataMap = new Map(); const combinedParams = copyObj(this.defaultParams); Object.keys(params).forEach(key => { const value = params[key]; if (value !== null) { combinedParams[key] = value; } }); this.styles.styles.forEach(value => { if (typeof value !== 'string') { value.forEach((val, prop) => { if (val) { val = interpolateParams(val, combinedParams, errors); } const normalizedProp = this.normalizer.normalizePropertyName(prop, errors); val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors); finalStyles.set(prop, val); }); } }); return finalStyles; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadataType, ɵStyleDataMap} from '@angular/animations'; import {SequenceAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationStateStyles, AnimationTransitionFactory} from './animation_transition_factory'; import {AnimationStyleNormalizer} from './style_normalization/animation_style_normalizer'; export function buildTrigger( name: string, ast: TriggerAst, normalizer: AnimationStyleNormalizer): AnimationTrigger { return new AnimationTrigger(name, ast, normalizer); } export class AnimationTrigger { public transitionFactories: AnimationTransitionFactory[] = []; public fallbackTransition: AnimationTransitionFactory; public states = new Map(); constructor( public name: string, public ast: TriggerAst, private _normalizer: AnimationStyleNormalizer) { ast.states.forEach(ast => { const defaultParams = (ast.options && ast.options.params) || {}; this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer)); }); balanceProperties(this.states, 'true', '1'); balanceProperties(this.states, 'false', '0'); ast.transitions.forEach(ast => { this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states)); }); this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer); } get containsQueries() { return this.ast.queryCount > 0; } matchTransition(currentState: any, nextState: any, element: any, params: {[key: string]: any}): AnimationTransitionFactory|null { const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params)); return entry || null; } matchStyles(currentState: any, params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { return this.fallbackTransition.buildStyles(currentState, params, errors); } } function createFallbackTransition( triggerName: string, states: Map, normalizer: AnimationStyleNormalizer): AnimationTransitionFactory { const matchers = [(fromState: any, toState: any) => true]; const animation: SequenceAst = {type: AnimationMetadataType.Sequence, steps: [], options: null}; const transition: TransitionAst = { type: AnimationMetadataType.Transition, animation, matchers, options: null, queryCount: 0, depCount: 0 }; return new AnimationTransitionFactory(triggerName, transition, states); } function balanceProperties( stateMap: Map, key1: string, key2: string) { if (stateMap.has(key1)) { if (!stateMap.has(key2)) { stateMap.set(key2, stateMap.get(key1)!); } } else if (stateMap.has(key2)) { stateMap.set(key1, stateMap.get(key2)!); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationPlayer, AUTO_STYLE, ɵStyleDataMap} from '@angular/animations'; import {Ast} from '../dsl/animation_ast'; import {buildAnimationAst} from '../dsl/animation_ast_builder'; import {buildAnimationTimelines} from '../dsl/animation_timeline_builder'; import {AnimationTimelineInstruction} from '../dsl/animation_timeline_instruction'; import {ElementInstructionMap} from '../dsl/element_instruction_map'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {createAnimationFailed, missingOrDestroyedAnimation, missingPlayer, registerFailed} from '../error_helpers'; import {ENTER_CLASSNAME, LEAVE_CLASSNAME} from '../util'; import {warnRegister} from '../warning_helpers'; import {AnimationDriver} from './animation_driver'; import {getOrSetDefaultValue, listenOnPlayer, makeAnimationEvent, normalizeKeyframes, optimizeGroupPlayer} from './shared'; const EMPTY_INSTRUCTION_MAP = new ElementInstructionMap(); export class TimelineAnimationEngine { private _animations = new Map>(); private _playersById = new Map(); public players: AnimationPlayer[] = []; constructor( public bodyNode: any, private _driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) {} register(id: string, metadata: AnimationMetadata|AnimationMetadata[]) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst(this._driver, metadata, errors, warnings); if (errors.length) { throw registerFailed(errors); } else { if (warnings.length) { warnRegister(warnings); } this._animations.set(id, ast); } } private _buildPlayer( i: AnimationTimelineInstruction, preStyles: ɵStyleDataMap, postStyles?: ɵStyleDataMap): AnimationPlayer { const element = i.element; const keyframes = normalizeKeyframes( this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles); return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true); } create(id: string, element: any, options: AnimationOptions = {}): AnimationPlayer { const errors: Error[] = []; const ast = this._animations.get(id); let instructions: AnimationTimelineInstruction[]; const autoStylesMap = new Map(); if (ast) { instructions = buildAnimationTimelines( this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors); instructions.forEach(inst => { const styles = getOrSetDefaultValue( autoStylesMap, inst.element, new Map()); inst.postStyleProps.forEach(prop => styles.set(prop, null)); }); } else { errors.push(missingOrDestroyedAnimation()); instructions = []; } if (errors.length) { throw createAnimationFailed(errors); } autoStylesMap.forEach((styles, element) => { styles.forEach((_, prop) => { styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE)); }); }); const players = instructions.map(i => { const styles = autoStylesMap.get(i.element); return this._buildPlayer(i, new Map(), styles); }); const player = optimizeGroupPlayer(players); this._playersById.set(id, player); player.onDestroy(() => this.destroy(id)); this.players.push(player); return player; } destroy(id: string) { const player = this._getPlayer(id); player.destroy(); this._playersById.delete(id); const index = this.players.indexOf(player); if (index >= 0) { this.players.splice(index, 1); } } private _getPlayer(id: string): AnimationPlayer { const player = this._playersById.get(id); if (!player) { throw missingPlayer(id); } return player; } listen(id: string, element: string, eventName: string, callback: (event: any) => any): () => void { // triggerName, fromState, toState are all ignored for timeline animations const baseEvent = makeAnimationEvent(element, '', '', ''); listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback); return () => {}; } command(id: string, element: any, command: string, args: any[]): void { if (command == 'register') { this.register(id, args[0] as AnimationMetadata | AnimationMetadata[]); return; } if (command == 'create') { const options = (args[0] || {}) as AnimationOptions; this.create(id, element, options); return; } const player = this._getPlayer(id); switch (command) { case 'play': player.play(); break; case 'pause': player.pause(); break; case 'reset': player.reset(); break; case 'restart': player.restart(); break; case 'finish': player.finish(); break; case 'init': player.init(); break; case 'setPosition': player.setPosition(parseFloat(args[0] as string)); break; case 'destroy': this.destroy(id); break; } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationOptions, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer as AnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationTimelineInstruction} from '../dsl/animation_timeline_instruction'; import {AnimationTransitionFactory} from '../dsl/animation_transition_factory'; import {AnimationTransitionInstruction} from '../dsl/animation_transition_instruction'; import {AnimationTrigger} from '../dsl/animation_trigger'; import {ElementInstructionMap} from '../dsl/element_instruction_map'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {missingEvent, missingTrigger, transitionFailed, triggerTransitionsFailed, unregisteredTrigger, unsupportedTriggerEvent} from '../error_helpers'; import {copyObj, ENTER_CLASSNAME, eraseStyles, LEAVE_CLASSNAME, NG_ANIMATING_CLASSNAME, NG_ANIMATING_SELECTOR, NG_TRIGGER_CLASSNAME, NG_TRIGGER_SELECTOR, setStyles} from '../util'; import {AnimationDriver} from './animation_driver'; import {getOrSetDefaultValue, listenOnPlayer, makeAnimationEvent, normalizeKeyframes, optimizeGroupPlayer} from './shared'; const QUEUED_CLASSNAME = 'ng-animate-queued'; const QUEUED_SELECTOR = '.ng-animate-queued'; const DISABLED_CLASSNAME = 'ng-animate-disabled'; const DISABLED_SELECTOR = '.ng-animate-disabled'; const STAR_CLASSNAME = 'ng-star-inserted'; const STAR_SELECTOR = '.ng-star-inserted'; const EMPTY_PLAYER_ARRAY: TransitionAnimationPlayer[] = []; const NULL_REMOVAL_STATE: ElementAnimationState = { namespaceId: '', setForRemoval: false, setForMove: false, hasAnimation: false, removedBeforeQueried: false }; const NULL_REMOVED_QUERIED_STATE: ElementAnimationState = { namespaceId: '', setForMove: false, setForRemoval: false, hasAnimation: false, removedBeforeQueried: true }; interface TriggerListener { name: string; phase: string; callback: (event: any) => any; } export interface QueueInstruction { element: any; triggerName: string; fromState: StateValue; toState: StateValue; transition: AnimationTransitionFactory; player: TransitionAnimationPlayer; isFallbackTransition: boolean; } export const REMOVAL_FLAG = '__ng_removed'; export interface ElementAnimationState { setForRemoval: boolean; setForMove: boolean; hasAnimation: boolean; namespaceId: string; removedBeforeQueried: boolean; previousTriggersValues?: Map; } export class StateValue { public value: string; public options: AnimationOptions; get params(): {[key: string]: any} { return this.options.params as {[key: string]: any}; } constructor(input: any, public namespaceId: string = '') { const isObj = input && input.hasOwnProperty('value'); const value = isObj ? input['value'] : input; this.value = normalizeTriggerValue(value); if (isObj) { const options = copyObj(input as any); delete options['value']; this.options = options as AnimationOptions; } else { this.options = {}; } if (!this.options.params) { this.options.params = {}; } } absorbOptions(options: AnimationOptions) { const newParams = options.params; if (newParams) { const oldParams = this.options.params!; Object.keys(newParams).forEach(prop => { if (oldParams[prop] == null) { oldParams[prop] = newParams[prop]; } }); } } } export const VOID_VALUE = 'void'; export const DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE); export class AnimationTransitionNamespace { public players: TransitionAnimationPlayer[] = []; private _triggers = new Map(); private _queue: QueueInstruction[] = []; private _elementListeners = new Map(); private _hostClassName: string; constructor( public id: string, public hostElement: any, private _engine: TransitionAnimationEngine) { this._hostClassName = 'ng-tns-' + id; addClass(hostElement, this._hostClassName); } listen(element: any, name: string, phase: string, callback: (event: any) => boolean): () => any { if (!this._triggers.has(name)) { throw missingTrigger(phase, name); } if (phase == null || phase.length == 0) { throw missingEvent(name); } if (!isTriggerEventValid(phase)) { throw unsupportedTriggerEvent(phase, name); } const listeners = getOrSetDefaultValue(this._elementListeners, element, []); const data = {name, phase, callback}; listeners.push(data); const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map()); if (!triggersWithStates.has(name)) { addClass(element, NG_TRIGGER_CLASSNAME); addClass(element, NG_TRIGGER_CLASSNAME + '-' + name); triggersWithStates.set(name, DEFAULT_STATE_VALUE); } return () => { // the event listener is removed AFTER the flush has occurred such // that leave animations callbacks can fire (otherwise if the node // is removed in between then the listeners would be deregistered) this._engine.afterFlush(() => { const index = listeners.indexOf(data); if (index >= 0) { listeners.splice(index, 1); } if (!this._triggers.has(name)) { triggersWithStates.delete(name); } }); }; } register(name: string, ast: AnimationTrigger): boolean { if (this._triggers.has(name)) { // throw return false; } else { this._triggers.set(name, ast); return true; } } private _getTrigger(name: string) { const trigger = this._triggers.get(name); if (!trigger) { throw unregisteredTrigger(name); } return trigger; } trigger(element: any, triggerName: string, value: any, defaultToFallback: boolean = true): TransitionAnimationPlayer|undefined { const trigger = this._getTrigger(triggerName); const player = new TransitionAnimationPlayer(this.id, triggerName, element); let triggersWithStates = this._engine.statesByElement.get(element); if (!triggersWithStates) { addClass(element, NG_TRIGGER_CLASSNAME); addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName); this._engine.statesByElement.set(element, triggersWithStates = new Map()); } let fromState = triggersWithStates.get(triggerName); const toState = new StateValue(value, this.id); const isObj = value && value.hasOwnProperty('value'); if (!isObj && fromState) { toState.absorbOptions(fromState.options); } triggersWithStates.set(triggerName, toState); if (!fromState) { fromState = DEFAULT_STATE_VALUE; } const isRemoval = toState.value === VOID_VALUE; // normally this isn't reached by here, however, if an object expression // is passed in then it may be a new object each time. Comparing the value // is important since that will stay the same despite there being a new object. // The removal arc here is special cased because the same element is triggered // twice in the event that it contains animations on the outer/inner portions // of the host container if (!isRemoval && fromState.value === toState.value) { // this means that despite the value not changing, some inner params // have changed which means that the animation final styles need to be applied if (!objEquals(fromState.params, toState.params)) { const errors: Error[] = []; const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors); const toStyles = trigger.matchStyles(toState.value, toState.params, errors); if (errors.length) { this._engine.reportError(errors); } else { this._engine.afterFlush(() => { eraseStyles(element, fromStyles); setStyles(element, toStyles); }); } } return; } const playersOnElement: TransitionAnimationPlayer[] = getOrSetDefaultValue(this._engine.playersByElement, element, []); playersOnElement.forEach(player => { // only remove the player if it is queued on the EXACT same trigger/namespace // we only also deal with queued players here because if the animation has // started then we want to keep the player alive until the flush happens // (which is where the previousPlayers are passed into the new player) if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) { player.destroy(); } }); let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params); let isFallbackTransition = false; if (!transition) { if (!defaultToFallback) return; transition = trigger.fallbackTransition; isFallbackTransition = true; } this._engine.totalQueuedPlayers++; this._queue.push( {element, triggerName, transition, fromState, toState, player, isFallbackTransition}); if (!isFallbackTransition) { addClass(element, QUEUED_CLASSNAME); player.onStart(() => { removeClass(element, QUEUED_CLASSNAME); }); } player.onDone(() => { let index = this.players.indexOf(player); if (index >= 0) { this.players.splice(index, 1); } const players = this._engine.playersByElement.get(element); if (players) { let index = players.indexOf(player); if (index >= 0) { players.splice(index, 1); } } }); this.players.push(player); playersOnElement.push(player); return player; } deregister(name: string) { this._triggers.delete(name); this._engine.statesByElement.forEach(stateMap => stateMap.delete(name)); this._elementListeners.forEach((listeners, element) => { this._elementListeners.set(element, listeners.filter(entry => { return entry.name != name; })); }); } clearElementCache(element: any) { this._engine.statesByElement.delete(element); this._elementListeners.delete(element); const elementPlayers = this._engine.playersByElement.get(element); if (elementPlayers) { elementPlayers.forEach(player => player.destroy()); this._engine.playersByElement.delete(element); } } private _signalRemovalForInnerTriggers(rootElement: any, context: any) { const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true); // emulate a leave animation for all inner nodes within this node. // If there are no animations found for any of the nodes then clear the cache // for the element. elements.forEach(elm => { // this means that an inner remove() operation has already kicked off // the animation on this element... if (elm[REMOVAL_FLAG]) return; const namespaces = this._engine.fetchNamespacesByElement(elm); if (namespaces.size) { namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true)); } else { this.clearElementCache(elm); } }); // If the child elements were removed along with the parent, their animations might not // have completed. Clear all the elements from the cache so we don't end up with a memory leak. this._engine.afterFlushAnimationsDone( () => elements.forEach(elm => this.clearElementCache(elm))); } triggerLeaveAnimation( element: any, context: any, destroyAfterComplete?: boolean, defaultToFallback?: boolean): boolean { const triggerStates = this._engine.statesByElement.get(element); const previousTriggersValues = new Map(); if (triggerStates) { const players: TransitionAnimationPlayer[] = []; triggerStates.forEach((state, triggerName) => { previousTriggersValues.set(triggerName, state.value); // this check is here in the event that an element is removed // twice (both on the host level and the component level) if (this._triggers.has(triggerName)) { const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback); if (player) { players.push(player); } } }); if (players.length) { this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues); if (destroyAfterComplete) { optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element)); } return true; } } return false; } prepareLeaveAnimationListeners(element: any) { const listeners = this._elementListeners.get(element); const elementStates = this._engine.statesByElement.get(element); // if this statement fails then it means that the element was picked up // by an earlier flush (or there are no listeners at all to track the leave). if (listeners && elementStates) { const visitedTriggers = new Set(); listeners.forEach(listener => { const triggerName = listener.name; if (visitedTriggers.has(triggerName)) return; visitedTriggers.add(triggerName); const trigger = this._triggers.get(triggerName)!; const transition = trigger.fallbackTransition; const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE; const toState = new StateValue(VOID_VALUE); const player = new TransitionAnimationPlayer(this.id, triggerName, element); this._engine.totalQueuedPlayers++; this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition: true }); }); } } removeNode(element: any, context: any): void { const engine = this._engine; if (element.childElementCount) { this._signalRemovalForInnerTriggers(element, context); } // this means that a * => VOID animation was detected and kicked off if (this.triggerLeaveAnimation(element, context, true)) return; // find the player that is animating and make sure that the // removal is delayed until that player has completed let containsPotentialParentTransition = false; if (engine.totalAnimations) { const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : []; // when this `if statement` does not continue forward it means that // a previous animation query has selected the current element and // is animating it. In this situation want to continue forwards and // allow the element to be queued up for animation later. if (currentPlayers && currentPlayers.length) { containsPotentialParentTransition = true; } else { let parent = element; while (parent = parent.parentNode) { const triggers = engine.statesByElement.get(parent); if (triggers) { containsPotentialParentTransition = true; break; } } } } // at this stage we know that the element will either get removed // during flush or will be picked up by a parent query. Either way // we need to fire the listeners for this element when it DOES get // removed (once the query parent animation is done or after flush) this.prepareLeaveAnimationListeners(element); // whether or not a parent has an animation we need to delay the deferral of the leave // operation until we have more information (which we do after flush() has been called) if (containsPotentialParentTransition) { engine.markElementAsRemoved(this.id, element, false, context); } else { const removalFlag = element[REMOVAL_FLAG]; if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) { // we do this after the flush has occurred such // that the callbacks can be fired engine.afterFlush(() => this.clearElementCache(element)); engine.destroyInnerAnimations(element); engine._onRemovalComplete(element, context); } } } insertNode(element: any, parent: any): void { addClass(element, this._hostClassName); } drainQueuedTransitions(microtaskId: number): QueueInstruction[] { const instructions: QueueInstruction[] = []; this._queue.forEach(entry => { const player = entry.player; if (player.destroyed) return; const element = entry.element; const listeners = this._elementListeners.get(element); if (listeners) { listeners.forEach((listener: TriggerListener) => { if (listener.name == entry.triggerName) { const baseEvent = makeAnimationEvent( element, entry.triggerName, entry.fromState.value, entry.toState.value); (baseEvent as any)['_data'] = microtaskId; listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback); } }); } if (player.markedForDestroy) { this._engine.afterFlush(() => { // now we can destroy the element properly since the event listeners have // been bound to the player player.destroy(); }); } else { instructions.push(entry); } }); this._queue = []; return instructions.sort((a, b) => { // if depCount == 0 them move to front // otherwise if a contains b then move back const d0 = a.transition.ast.depCount; const d1 = b.transition.ast.depCount; if (d0 == 0 || d1 == 0) { return d0 - d1; } return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1; }); } destroy(context: any) { this.players.forEach(p => p.destroy()); this._signalRemovalForInnerTriggers(this.hostElement, context); } elementContainsData(element: any): boolean { let containsData = false; if (this._elementListeners.has(element)) containsData = true; containsData = (this._queue.find(entry => entry.element === element) ? true : false) || containsData; return containsData; } } export interface QueuedTransition { element: any; instruction: AnimationTransitionInstruction; player: TransitionAnimationPlayer; } export class TransitionAnimationEngine { public players: TransitionAnimationPlayer[] = []; public newHostElements = new Map(); public playersByElement = new Map(); public playersByQueriedElement = new Map(); public statesByElement = new Map>(); public disabledNodes = new Set(); public totalAnimations = 0; public totalQueuedPlayers = 0; private _namespaceLookup: {[id: string]: AnimationTransitionNamespace} = {}; private _namespaceList: AnimationTransitionNamespace[] = []; private _flushFns: (() => any)[] = []; private _whenQuietFns: (() => any)[] = []; public namespacesByHostElement = new Map(); public collectedEnterElements: any[] = []; public collectedLeaveElements: any[] = []; // this method is designed to be overridden by the code that uses this engine public onRemovalComplete = (element: any, context: any) => {}; /** @internal */ _onRemovalComplete(element: any, context: any) { this.onRemovalComplete(element, context); } constructor( public bodyNode: any, public driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) {} get queuedPlayers(): TransitionAnimationPlayer[] { const players: TransitionAnimationPlayer[] = []; this._namespaceList.forEach(ns => { ns.players.forEach(player => { if (player.queued) { players.push(player); } }); }); return players; } createNamespace(namespaceId: string, hostElement: any) { const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this); if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) { this._balanceNamespaceList(ns, hostElement); } else { // defer this later until flush during when the host element has // been inserted so that we know exactly where to place it in // the namespace list this.newHostElements.set(hostElement, ns); // given that this host element is a part of the animation code, it // may or may not be inserted by a parent node that is of an // animation renderer type. If this happens then we can still have // access to this item when we query for :enter nodes. If the parent // is a renderer then the set data-structure will normalize the entry this.collectEnterElement(hostElement); } return this._namespaceLookup[namespaceId] = ns; } private _balanceNamespaceList(ns: AnimationTransitionNamespace, hostElement: any) { const namespaceList = this._namespaceList; const namespacesByHostElement = this.namespacesByHostElement; const limit = namespaceList.length - 1; if (limit >= 0) { let found = false; // Find the closest ancestor with an existing namespace so we can then insert `ns` after it, // establishing a top-down ordering of namespaces in `this._namespaceList`. let ancestor = this.driver.getParentElement(hostElement); while (ancestor) { const ancestorNs = namespacesByHostElement.get(ancestor); if (ancestorNs) { // An animation namespace has been registered for this ancestor, so we insert `ns` // right after it to establish top-down ordering of animation namespaces. const index = namespaceList.indexOf(ancestorNs); namespaceList.splice(index + 1, 0, ns); found = true; break; } ancestor = this.driver.getParentElement(ancestor); } if (!found) { // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to // ensure that any existing descendants are ordered after `ns`, retaining the desired // top-down ordering. namespaceList.unshift(ns); } } else { namespaceList.push(ns); } namespacesByHostElement.set(hostElement, ns); return ns; } register(namespaceId: string, hostElement: any) { let ns = this._namespaceLookup[namespaceId]; if (!ns) { ns = this.createNamespace(namespaceId, hostElement); } return ns; } registerTrigger(namespaceId: string, name: string, trigger: AnimationTrigger) { let ns = this._namespaceLookup[namespaceId]; if (ns && ns.register(name, trigger)) { this.totalAnimations++; } } destroy(namespaceId: string, context: any) { if (!namespaceId) return; const ns = this._fetchNamespace(namespaceId); this.afterFlush(() => { this.namespacesByHostElement.delete(ns.hostElement); delete this._namespaceLookup[namespaceId]; const index = this._namespaceList.indexOf(ns); if (index >= 0) { this._namespaceList.splice(index, 1); } }); this.afterFlushAnimationsDone(() => ns.destroy(context)); } private _fetchNamespace(id: string) { return this._namespaceLookup[id]; } fetchNamespacesByElement(element: any): Set { // normally there should only be one namespace per element, however // if @triggers are placed on both the component element and then // its host element (within the component code) then there will be // two namespaces returned. We use a set here to simply deduplicate // the namespaces in case (for the reason described above) there are multiple triggers const namespaces = new Set(); const elementStates = this.statesByElement.get(element); if (elementStates) { for (let stateValue of elementStates.values()) { if (stateValue.namespaceId) { const ns = this._fetchNamespace(stateValue.namespaceId); if (ns) { namespaces.add(ns); } } } } return namespaces; } trigger(namespaceId: string, element: any, name: string, value: any): boolean { if (isElementNode(element)) { const ns = this._fetchNamespace(namespaceId); if (ns) { ns.trigger(element, name, value); return true; } } return false; } insertNode(namespaceId: string, element: any, parent: any, insertBefore: boolean): void { if (!isElementNode(element)) return; // special case for when an element is removed and reinserted (move operation) // when this occurs we do not want to use the element for deletion later const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { details.setForRemoval = false; details.setForMove = true; const index = this.collectedLeaveElements.indexOf(element); if (index >= 0) { this.collectedLeaveElements.splice(index, 1); } } // in the event that the namespaceId is blank then the caller // code does not contain any animation code in it, but it is // just being called so that the node is marked as being inserted if (namespaceId) { const ns = this._fetchNamespace(namespaceId); // This if-statement is a workaround for router issue #21947. // The router sometimes hits a race condition where while a route // is being instantiated a new navigation arrives, triggering leave // animation of DOM that has not been fully initialized, until this // is resolved, we need to handle the scenario when DOM is not in a // consistent state during the animation. if (ns) { ns.insertNode(element, parent); } } // only *directives and host elements are inserted before if (insertBefore) { this.collectEnterElement(element); } } collectEnterElement(element: any) { this.collectedEnterElements.push(element); } markElementAsDisabled(element: any, value: boolean) { if (value) { if (!this.disabledNodes.has(element)) { this.disabledNodes.add(element); addClass(element, DISABLED_CLASSNAME); } } else if (this.disabledNodes.has(element)) { this.disabledNodes.delete(element); removeClass(element, DISABLED_CLASSNAME); } } removeNode(namespaceId: string, element: any, isHostElement: boolean, context: any): void { if (isElementNode(element)) { const ns = namespaceId ? this._fetchNamespace(namespaceId) : null; if (ns) { ns.removeNode(element, context); } else { this.markElementAsRemoved(namespaceId, element, false, context); } if (isHostElement) { const hostNS = this.namespacesByHostElement.get(element); if (hostNS && hostNS.id !== namespaceId) { hostNS.removeNode(element, context); } } } else { this._onRemovalComplete(element, context); } } markElementAsRemoved( namespaceId: string, element: any, hasAnimation?: boolean, context?: any, previousTriggersValues?: Map) { this.collectedLeaveElements.push(element); element[REMOVAL_FLAG] = { namespaceId, setForRemoval: context, hasAnimation, removedBeforeQueried: false, previousTriggersValues }; } listen( namespaceId: string, element: any, name: string, phase: string, callback: (event: any) => boolean): () => any { if (isElementNode(element)) { return this._fetchNamespace(namespaceId).listen(element, name, phase, callback); } return () => {}; } private _buildInstruction( entry: QueueInstruction, subTimelines: ElementInstructionMap, enterClassName: string, leaveClassName: string, skipBuildAst?: boolean) { return entry.transition.build( this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst); } destroyInnerAnimations(containerElement: any) { let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true); elements.forEach(element => this.destroyActiveAnimationsForElement(element)); if (this.playersByQueriedElement.size == 0) return; elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true); elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element)); } destroyActiveAnimationsForElement(element: any) { const players = this.playersByElement.get(element); if (players) { players.forEach(player => { // special case for when an element is set for destruction, but hasn't started. // in this situation we want to delay the destruction until the flush occurs // so that any event listeners attached to the player are triggered. if (player.queued) { player.markedForDestroy = true; } else { player.destroy(); } }); } } finishActiveQueriedAnimationOnElement(element: any) { const players = this.playersByQueriedElement.get(element); if (players) { players.forEach(player => player.finish()); } } whenRenderingDone(): Promise { return new Promise(resolve => { if (this.players.length) { return optimizeGroupPlayer(this.players).onDone(() => resolve()); } else { resolve(); } }); } processLeaveNode(element: any) { const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { // this will prevent it from removing it twice element[REMOVAL_FLAG] = NULL_REMOVAL_STATE; if (details.namespaceId) { this.destroyInnerAnimations(element); const ns = this._fetchNamespace(details.namespaceId); if (ns) { ns.clearElementCache(element); } } this._onRemovalComplete(element, details.setForRemoval); } if (element.classList?.contains(DISABLED_CLASSNAME)) { this.markElementAsDisabled(element, false); } this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => { this.markElementAsDisabled(node, false); }); } flush(microtaskId: number = -1) { let players: AnimationPlayer[] = []; if (this.newHostElements.size) { this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element)); this.newHostElements.clear(); } if (this.totalAnimations && this.collectedEnterElements.length) { for (let i = 0; i < this.collectedEnterElements.length; i++) { const elm = this.collectedEnterElements[i]; addClass(elm, STAR_CLASSNAME); } } if (this._namespaceList.length && (this.totalQueuedPlayers || this.collectedLeaveElements.length)) { const cleanupFns: Function[] = []; try { players = this._flushAnimations(cleanupFns, microtaskId); } finally { for (let i = 0; i < cleanupFns.length; i++) { cleanupFns[i](); } } } else { for (let i = 0; i < this.collectedLeaveElements.length; i++) { const element = this.collectedLeaveElements[i]; this.processLeaveNode(element); } } this.totalQueuedPlayers = 0; this.collectedEnterElements.length = 0; this.collectedLeaveElements.length = 0; this._flushFns.forEach(fn => fn()); this._flushFns = []; if (this._whenQuietFns.length) { // we move these over to a variable so that // if any new callbacks are registered in another // flush they do not populate the existing set const quietFns = this._whenQuietFns; this._whenQuietFns = []; if (players.length) { optimizeGroupPlayer(players).onDone(() => { quietFns.forEach(fn => fn()); }); } else { quietFns.forEach(fn => fn()); } } } reportError(errors: Error[]) { throw triggerTransitionsFailed(errors); } private _flushAnimations(cleanupFns: Function[], microtaskId: number): TransitionAnimationPlayer[] { const subTimelines = new ElementInstructionMap(); const skippedPlayers: TransitionAnimationPlayer[] = []; const skippedPlayersMap = new Map(); const queuedInstructions: QueuedTransition[] = []; const queriedElements = new Map(); const allPreStyleElements = new Map>(); const allPostStyleElements = new Map>(); const disabledElementsSet = new Set(); this.disabledNodes.forEach(node => { disabledElementsSet.add(node); const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true); for (let i = 0; i < nodesThatAreDisabled.length; i++) { disabledElementsSet.add(nodesThatAreDisabled[i]); } }); const bodyNode = this.bodyNode; const allTriggerElements = Array.from(this.statesByElement.keys()); const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements); // this must occur before the instructions are built below such that // the :enter queries match the elements (since the timeline queries // are fired during instruction building). const enterNodeMapIds = new Map(); let i = 0; enterNodeMap.forEach((nodes, root) => { const className = ENTER_CLASSNAME + i++; enterNodeMapIds.set(root, className); nodes.forEach(node => addClass(node, className)); }); const allLeaveNodes: any[] = []; const mergedLeaveNodes = new Set(); const leaveNodesWithoutAnimations = new Set(); for (let i = 0; i < this.collectedLeaveElements.length; i++) { const element = this.collectedLeaveElements[i]; const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { allLeaveNodes.push(element); mergedLeaveNodes.add(element); if (details.hasAnimation) { this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm)); } else { leaveNodesWithoutAnimations.add(element); } } } const leaveNodeMapIds = new Map(); const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes)); leaveNodeMap.forEach((nodes, root) => { const className = LEAVE_CLASSNAME + i++; leaveNodeMapIds.set(root, className); nodes.forEach(node => addClass(node, className)); }); cleanupFns.push(() => { enterNodeMap.forEach((nodes, root) => { const className = enterNodeMapIds.get(root)!; nodes.forEach(node => removeClass(node, className)); }); leaveNodeMap.forEach((nodes, root) => { const className = leaveNodeMapIds.get(root)!; nodes.forEach(node => removeClass(node, className)); }); allLeaveNodes.forEach(element => { this.processLeaveNode(element); }); }); const allPlayers: TransitionAnimationPlayer[] = []; const erroneousTransitions: AnimationTransitionInstruction[] = []; for (let i = this._namespaceList.length - 1; i >= 0; i--) { const ns = this._namespaceList[i]; ns.drainQueuedTransitions(microtaskId).forEach(entry => { const player = entry.player; const element = entry.element; allPlayers.push(player); if (this.collectedEnterElements.length) { const details = element[REMOVAL_FLAG] as ElementAnimationState; // animations for move operations (elements being removed and reinserted, // e.g. when the order of an *ngFor list changes) are currently not supported if (details && details.setForMove) { if (details.previousTriggersValues && details.previousTriggersValues.has(entry.triggerName)) { const previousValue = details.previousTriggersValues.get(entry.triggerName) as string; // we need to restore the previous trigger value since the element has // only been moved and hasn't actually left the DOM const triggersWithStates = this.statesByElement.get(entry.element); if (triggersWithStates && triggersWithStates.has(entry.triggerName)) { const state = triggersWithStates.get(entry.triggerName)!; state.value = previousValue; triggersWithStates.set(entry.triggerName, state); } } player.destroy(); return; } } const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element); const leaveClassName = leaveNodeMapIds.get(element)!; const enterClassName = enterNodeMapIds.get(element)!; const instruction = this._buildInstruction( entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned)!; if (instruction.errors && instruction.errors.length) { erroneousTransitions.push(instruction); return; } // even though the element may not be in the DOM, it may still // be added at a later point (due to the mechanics of content // projection and/or dynamic component insertion) therefore it's // important to still style the element. if (nodeIsOrphaned) { player.onStart(() => eraseStyles(element, instruction.fromStyles)); player.onDestroy(() => setStyles(element, instruction.toStyles)); skippedPlayers.push(player); return; } // if an unmatched transition is queued and ready to go // then it SHOULD NOT render an animation and cancel the // previously running animations. if (entry.isFallbackTransition) { player.onStart(() => eraseStyles(element, instruction.fromStyles)); player.onDestroy(() => setStyles(element, instruction.toStyles)); skippedPlayers.push(player); return; } // this means that if a parent animation uses this animation as a sub-trigger // then it will instruct the timeline builder not to add a player delay, but // instead stretch the first keyframe gap until the animation starts. This is // important in order to prevent extra initialization styles from being // required by the user for the animation. const timelines: AnimationTimelineInstruction[] = []; instruction.timelines.forEach(tl => { tl.stretchStartingKeyframe = true; if (!this.disabledNodes.has(tl.element)) { timelines.push(tl); } }); instruction.timelines = timelines; subTimelines.append(element, instruction.timelines); const tuple = {instruction, player, element}; queuedInstructions.push(tuple); instruction.queriedElements.forEach( element => getOrSetDefaultValue(queriedElements, element, []).push(player)); instruction.preStyleProps.forEach((stringMap, element) => { if (stringMap.size) { let setVal: Set = allPreStyleElements.get(element)!; if (!setVal) { allPreStyleElements.set(element, setVal = new Set()); } stringMap.forEach((_, prop) => setVal.add(prop)); } }); instruction.postStyleProps.forEach((stringMap, element) => { let setVal: Set = allPostStyleElements.get(element)!; if (!setVal) { allPostStyleElements.set(element, setVal = new Set()); } stringMap.forEach((_, prop) => setVal.add(prop)); }); }); } if (erroneousTransitions.length) { const errors: Error[] = []; erroneousTransitions.forEach(instruction => { errors.push(transitionFailed(instruction.triggerName, instruction.errors!)); }); allPlayers.forEach(player => player.destroy()); this.reportError(errors); } const allPreviousPlayersMap = new Map(); // this map tells us which element in the DOM tree is contained by // which animation. Further down this map will get populated once // the players are built and in doing so we can use it to efficiently // figure out if a sub player is skipped due to a parent player having priority. const animationElementMap = new Map(); queuedInstructions.forEach(entry => { const element = entry.element; if (subTimelines.has(element)) { animationElementMap.set(element, element); this._beforeAnimationBuild( entry.player.namespaceId, entry.instruction, allPreviousPlayersMap); } }); skippedPlayers.forEach(player => { const element = player.element; const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null); previousPlayers.forEach(prevPlayer => { getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer); prevPlayer.destroy(); }); }); // this is a special case for nodes that will be removed either by // having their own leave animations or by being queried in a container // that will be removed once a parent animation is complete. The idea // here is that * styles must be identical to ! styles because of // backwards compatibility (* is also filled in by default in many places). // Otherwise * styles will return an empty value or \"auto\" since the element // passed to getComputedStyle will not be visible (since * === destination) const replaceNodes = allLeaveNodes.filter(node => { return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements); }); // POST STAGE: fill the * styles const postStylesMap = new Map(); const allLeaveQueriedNodes = cloakAndComputeStyles( postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE); allLeaveQueriedNodes.forEach(node => { if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) { replaceNodes.push(node); } }); // PRE STAGE: fill the ! styles const preStylesMap = new Map(); enterNodeMap.forEach((nodes, root) => { cloakAndComputeStyles( preStylesMap, this.driver, new Set(nodes), allPreStyleElements, PRE_STYLE); }); replaceNodes.forEach(node => { const post = postStylesMap.get(node); const pre = preStylesMap.get(node); postStylesMap.set( node, new Map([...Array.from(post?.entries() ?? []), ...Array.from(pre?.entries() ?? [])])); }); const rootPlayers: TransitionAnimationPlayer[] = []; const subPlayers: TransitionAnimationPlayer[] = []; const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {}; queuedInstructions.forEach(entry => { const {element, player, instruction} = entry; // this means that it was never consumed by a parent animation which // means that it is independent and therefore should be set for animation if (subTimelines.has(element)) { if (disabledElementsSet.has(element)) { player.onDestroy(() => setStyles(element, instruction.toStyles)); player.disabled = true; player.overrideTotalTime(instruction.totalTime); skippedPlayers.push(player); return; } // this will flow up the DOM and query the map to figure out // if a parent animation has priority over it. In the situation // that a parent is detected then it will cancel the loop. If // nothing is detected, or it takes a few hops to find a parent, // then it will fill in the missing nodes and signal them as having // a detected parent (or a NO_PARENT value via a special constant). let parentWithAnimation: any = NO_PARENT_ANIMATION_ELEMENT_DETECTED; if (animationElementMap.size > 1) { let elm = element; const parentsToAdd: any[] = []; while (elm = elm.parentNode) { const detectedParent = animationElementMap.get(elm); if (detectedParent) { parentWithAnimation = detectedParent; break; } parentsToAdd.push(elm); } parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation)); } const innerPlayer = this._buildAnimation( player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap); player.setRealPlayer(innerPlayer); if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) { rootPlayers.push(player); } else { const parentPlayers = this.playersByElement.get(parentWithAnimation); if (parentPlayers && parentPlayers.length) { player.parentPlayer = optimizeGroupPlayer(parentPlayers); } skippedPlayers.push(player); } } else { eraseStyles(element, instruction.fromStyles); player.onDestroy(() => setStyles(element, instruction.toStyles)); // there still might be a ancestor player animating this // element therefore we will still add it as a sub player // even if its animation may be disabled subPlayers.push(player); if (disabledElementsSet.has(element)) { skippedPlayers.push(player); } } }); // find all of the sub players' corresponding inner animation players subPlayers.forEach(player => { // even if no players are found for a sub animation it // will still complete itself after the next tick since it's Noop const playersForElement = skippedPlayersMap.get(player.element); if (playersForElement && playersForElement.length) { const innerPlayer = optimizeGroupPlayer(playersForElement); player.setRealPlayer(innerPlayer); } }); // the reason why we don't actually play the animation is // because all that a skipped player is designed to do is to // fire the start/done transition callback events skippedPlayers.forEach(player => { if (player.parentPlayer) { player.syncPlayerEvents(player.parentPlayer); } else { player.destroy(); } }); // run through all of the queued removals and see if they // were picked up by a query. If not then perform the removal // operation right away unless a parent animation is ongoing. for (let i = 0; i < allLeaveNodes.length; i++) { const element = allLeaveNodes[i]; const details = element[REMOVAL_FLAG] as ElementAnimationState; removeClass(element, LEAVE_CLASSNAME); // this means the element has a removal animation that is being // taken care of and therefore the inner elements will hang around // until that animation is over (or the parent queried animation) if (details && details.hasAnimation) continue; let players: TransitionAnimationPlayer[] = []; // if this element is queried or if it contains queried children // then we want for the element not to be removed from the page // until the queried animations have finished if (queriedElements.size) { let queriedPlayerResults = queriedElements.get(element); if (queriedPlayerResults && queriedPlayerResults.length) { players.push(...queriedPlayerResults); } let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true); for (let j = 0; j < queriedInnerElements.length; j++) { let queriedPlayers = queriedElements.get(queriedInnerElements[j]); if (queriedPlayers && queriedPlayers.length) { players.push(...queriedPlayers); } } } const activePlayers = players.filter(p => !p.destroyed); if (activePlayers.length) { removeNodesAfterAnimationDone(this, element, activePlayers); } else { this.processLeaveNode(element); } } // this is required so the cleanup method doesn't remove them allLeaveNodes.length = 0; rootPlayers.forEach(player => { this.players.push(player); player.onDone(() => { player.destroy(); const index = this.players.indexOf(player); this.players.splice(index, 1); }); player.play(); }); return rootPlayers; } elementContainsData(namespaceId: string, element: any) { let containsData = false; const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) containsData = true; if (this.playersByElement.has(element)) containsData = true; if (this.playersByQueriedElement.has(element)) containsData = true; if (this.statesByElement.has(element)) containsData = true; return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData; } afterFlush(callback: () => any) { this._flushFns.push(callback); } afterFlushAnimationsDone(callback: () => any) { this._whenQuietFns.push(callback); } private _getPreviousPlayers( element: string, isQueriedElement: boolean, namespaceId?: string, triggerName?: string, toStateValue?: any): TransitionAnimationPlayer[] { let players: TransitionAnimationPlayer[] = []; if (isQueriedElement) { const queriedElementPlayers = this.playersByQueriedElement.get(element); if (queriedElementPlayers) { players = queriedElementPlayers; } } else { const elementPlayers = this.playersByElement.get(element); if (elementPlayers) { const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE; elementPlayers.forEach(player => { if (player.queued) return; if (!isRemovalAnimation && player.triggerName != triggerName) return; players.push(player); }); } } if (namespaceId || triggerName) { players = players.filter(player => { if (namespaceId && namespaceId != player.namespaceId) return false; if (triggerName && triggerName != player.triggerName) return false; return true; }); } return players; } private _beforeAnimationBuild( namespaceId: string, instruction: AnimationTransitionInstruction, allPreviousPlayersMap: Map) { const triggerName = instruction.triggerName; const rootElement = instruction.element; // when a removal animation occurs, ALL previous players are collected // and destroyed (even if they are outside of the current namespace) const targetNameSpaceId: string|undefined = instruction.isRemovalTransition ? undefined : namespaceId; const targetTriggerName: string|undefined = instruction.isRemovalTransition ? undefined : triggerName; for (const timelineInstruction of instruction.timelines) { const element = timelineInstruction.element; const isQueriedElement = element !== rootElement; const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []); const previousPlayers = this._getPreviousPlayers( element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState); previousPlayers.forEach(player => { const realPlayer = (player as TransitionAnimationPlayer).getRealPlayer() as any; if (realPlayer.beforeDestroy) { realPlayer.beforeDestroy(); } player.destroy(); players.push(player); }); } // this needs to be done so that the PRE/POST styles can be // computed properly without interfering with the previous animation eraseStyles(rootElement, instruction.fromStyles); } private _buildAnimation( namespaceId: string, instruction: AnimationTransitionInstruction, allPreviousPlayersMap: Map, skippedPlayersMap: Map, preStylesMap: Map, postStylesMap: Map): AnimationPlayer { const triggerName = instruction.triggerName; const rootElement = instruction.element; // we first run this so that the previous animation player // data can be passed into the successive animation players const allQueriedPlayers: TransitionAnimationPlayer[] = []; const allConsumedElements = new Set(); const allSubElements = new Set(); const allNewPlayers = instruction.timelines.map(timelineInstruction => { const element = timelineInstruction.element; allConsumedElements.add(element); // FIXME (matsko): make sure to-be-removed animations are removed properly const details = element[REMOVAL_FLAG]; if (details && details.removedBeforeQueried) return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay); const isQueriedElement = element !== rootElement; const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY) .map(p => p.getRealPlayer())) .filter(p => { // the `element` is not apart of the AnimationPlayer definition, but // Mock/WebAnimations // use the element within their implementation. This will be added in Angular5 to // AnimationPlayer const pp = p as any; return pp.element ? pp.element === element : false; }); const preStyles = preStylesMap.get(element); const postStyles = postStylesMap.get(element); const keyframes = normalizeKeyframes( this.driver, this._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles); const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers); // this means that this particular player belongs to a sub trigger. It is // important that we match this player up with the corresponding (@trigger.listener) if (timelineInstruction.subTimeline && skippedPlayersMap) { allSubElements.add(element); } if (isQueriedElement) { const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element); wrappedPlayer.setRealPlayer(player); allQueriedPlayers.push(wrappedPlayer); } return player; }); allQueriedPlayers.forEach(player => { getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player); player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player)); }); allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME)); const player = optimizeGroupPlayer(allNewPlayers); player.onDestroy(() => { allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME)); setStyles(rootElement, instruction.toStyles); }); // this basically makes all of the callbacks for sub element animations // be dependent on the upper players for when they finish allSubElements.forEach(element => { getOrSetDefaultValue(skippedPlayersMap, element, []).push(player); }); return player; } private _buildPlayer( instruction: AnimationTimelineInstruction, keyframes: Array<ɵStyleDataMap>, previousPlayers: AnimationPlayer[]): AnimationPlayer { if (keyframes.length > 0) { return this.driver.animate( instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers); } // special case for when an empty transition|definition is provided // ... there is no point in rendering an empty animation return new NoopAnimationPlayer(instruction.duration, instruction.delay); } } export class TransitionAnimationPlayer implements AnimationPlayer { private _player: AnimationPlayer = new NoopAnimationPlayer(); private _containsRealPlayer = false; private _queuedCallbacks = new Map any)[]>(); public readonly destroyed = false; // TODO(issue/24571): remove '!'. public parentPlayer!: AnimationPlayer; public markedForDestroy: boolean = false; public disabled = false; readonly queued: boolean = true; public readonly totalTime: number = 0; constructor(public namespaceId: string, public triggerName: string, public element: any) {} setRealPlayer(player: AnimationPlayer) { if (this._containsRealPlayer) return; this._player = player; this._queuedCallbacks.forEach((callbacks, phase) => { callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback)); }); this._queuedCallbacks.clear(); this._containsRealPlayer = true; this.overrideTotalTime(player.totalTime); (this as {queued: boolean}).queued = false; } getRealPlayer() { return this._player; } overrideTotalTime(totalTime: number) { (this as any).totalTime = totalTime; } syncPlayerEvents(player: AnimationPlayer) { const p = this._player as any; if (p.triggerCallback) { player.onStart(() => p.triggerCallback!('start')); } player.onDone(() => this.finish()); player.onDestroy(() => this.destroy()); } private _queueEvent(name: string, callback: (event: any) => any): void { getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback); } onDone(fn: () => void): void { if (this.queued) { this._queueEvent('done', fn); } this._player.onDone(fn); } onStart(fn: () => void): void { if (this.queued) { this._queueEvent('start', fn); } this._player.onStart(fn); } onDestroy(fn: () => void): void { if (this.queued) { this._queueEvent('destroy', fn); } this._player.onDestroy(fn); } init(): void { this._player.init(); } hasStarted(): boolean { return this.queued ? false : this._player.hasStarted(); } play(): void { !this.queued && this._player.play(); } pause(): void { !this.queued && this._player.pause(); } restart(): void { !this.queued && this._player.restart(); } finish(): void { this._player.finish(); } destroy(): void { (this as {destroyed: boolean}).destroyed = true; this._player.destroy(); } reset(): void { !this.queued && this._player.reset(); } setPosition(p: any): void { if (!this.queued) { this._player.setPosition(p); } } getPosition(): number { return this.queued ? 0 : this._player.getPosition(); } /** @internal */ triggerCallback(phaseName: string): void { const p = this._player as any; if (p.triggerCallback) { p.triggerCallback(phaseName); } } } function deleteOrUnsetInMap(map: Map, key: T, value: V) { let currentValues = map.get(key); if (currentValues) { if (currentValues.length) { const index = currentValues.indexOf(value); currentValues.splice(index, 1); } if (currentValues.length == 0) { map.delete(key); } } return currentValues; } function normalizeTriggerValue(value: any): any { // we use `!= null` here because it's the most simple // way to test against a \"falsy\" value without mixing // in empty strings or a zero value. DO NOT OPTIMIZE. return value != null ? value : null; } function isElementNode(node: any) { return node && node['nodeType'] === 1; } function isTriggerEventValid(eventName: string): boolean { return eventName == 'start' || eventName == 'done'; } function cloakElement(element: any, value?: string) { const oldValue = element.style.display; element.style.display = value != null ? value : 'none'; return oldValue; } function cloakAndComputeStyles( valuesMap: Map, driver: AnimationDriver, elements: Set, elementPropsMap: Map>, defaultStyle: string): any[] { const cloakVals: string[] = []; elements.forEach(element => cloakVals.push(cloakElement(element))); const failedElements: any[] = []; elementPropsMap.forEach((props: Set, element: any) => { const styles: ɵStyleDataMap = new Map(); props.forEach(prop => { const value = driver.computeStyle(element, prop, defaultStyle); styles.set(prop, value); // there is no easy way to detect this because a sub element could be removed // by a parent animation element being detached. if (!value || value.length == 0) { element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE; failedElements.push(element); } }); valuesMap.set(element, styles); }); // we use a index variable here since Set.forEach(a, i) does not return // an index value for the closure (but instead just the value) let i = 0; elements.forEach(element => cloakElement(element, cloakVals[i++])); return failedElements; } /* Since the Angular renderer code will return a collection of inserted nodes in all areas of a DOM tree, it's up to this algorithm to figure out which nodes are roots for each animation @trigger. By placing each inserted node into a Set and traversing upwards, it is possible to find the @trigger elements and well any direct *star insertion nodes, if a @trigger root is found then the enter element is placed into the Map[@trigger] spot. */ function buildRootMap(roots: any[], nodes: any[]): Map { const rootMap = new Map(); roots.forEach(root => rootMap.set(root, [])); if (nodes.length == 0) return rootMap; const NULL_NODE = 1; const nodeSet = new Set(nodes); const localRootMap = new Map(); function getRoot(node: any): any { if (!node) return NULL_NODE; let root = localRootMap.get(node); if (root) return root; const parent = node.parentNode; if (rootMap.has(parent)) { // ngIf inside @trigger root = parent; } else if (nodeSet.has(parent)) { // ngIf inside ngIf root = NULL_NODE; } else { // recurse upwards root = getRoot(parent); } localRootMap.set(node, root); return root; } nodes.forEach(node => { const root = getRoot(node); if (root !== NULL_NODE) { rootMap.get(root)!.push(node); } }); return rootMap; } function addClass(element: any, className: string) { element.classList?.add(className); } function removeClass(element: any, className: string) { element.classList?.remove(className); } function removeNodesAfterAnimationDone( engine: TransitionAnimationEngine, element: any, players: AnimationPlayer[]) { optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element)); } function flattenGroupPlayers(players: AnimationPlayer[]): AnimationPlayer[] { const finalPlayers: AnimationPlayer[] = []; _flattenGroupPlayersRecur(players, finalPlayers); return finalPlayers; } function _flattenGroupPlayersRecur(players: AnimationPlayer[], finalPlayers: AnimationPlayer[]) { for (let i = 0; i < players.length; i++) { const player = players[i]; if (player instanceof AnimationGroupPlayer) { _flattenGroupPlayersRecur(player.players, finalPlayers); } else { finalPlayers.push(player); } } } function objEquals(a: {[key: string]: any}, b: {[key: string]: any}): boolean { const k1 = Object.keys(a); const k2 = Object.keys(b); if (k1.length != k2.length) return false; for (let i = 0; i < k1.length; i++) { const prop = k1[i]; if (!b.hasOwnProperty(prop) || a[prop] !== b[prop]) return false; } return true; } function replacePostStylesAsPre( element: any, allPreStyleElements: Map>, allPostStyleElements: Map>): boolean { const postEntry = allPostStyleElements.get(element); if (!postEntry) return false; let preEntry = allPreStyleElements.get(element); if (preEntry) { postEntry.forEach(data => preEntry!.add(data)); } else { allPreStyleElements.set(element, postEntry); } allPostStyleElements.delete(element); return true; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationPlayer, AnimationTriggerMetadata} from '@angular/animations'; import {TriggerAst} from '../dsl/animation_ast'; import {buildAnimationAst} from '../dsl/animation_ast_builder'; import {AnimationTrigger, buildTrigger} from '../dsl/animation_trigger'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {triggerBuildFailed} from '../error_helpers'; import {warnTriggerBuild} from '../warning_helpers'; import {AnimationDriver} from './animation_driver'; import {parseTimelineCommand} from './shared'; import {TimelineAnimationEngine} from './timeline_animation_engine'; import {TransitionAnimationEngine} from './transition_animation_engine'; export class AnimationEngine { private _transitionEngine: TransitionAnimationEngine; private _timelineEngine: TimelineAnimationEngine; private _triggerCache: {[key: string]: AnimationTrigger} = {}; // this method is designed to be overridden by the code that uses this engine public onRemovalComplete = (element: any, context: any) => {}; constructor( private bodyNode: any, private _driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) { this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer); this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer); this._transitionEngine.onRemovalComplete = (element: any, context: any) => this.onRemovalComplete(element, context); } registerTrigger( componentId: string, namespaceId: string, hostElement: any, name: string, metadata: AnimationTriggerMetadata): void { const cacheKey = componentId + '-' + name; let trigger = this._triggerCache[cacheKey]; if (!trigger) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst( this._driver, metadata as AnimationMetadata, errors, warnings) as TriggerAst; if (errors.length) { throw triggerBuildFailed(name, errors); } if (warnings.length) { warnTriggerBuild(name, warnings); } trigger = buildTrigger(name, ast, this._normalizer); this._triggerCache[cacheKey] = trigger; } this._transitionEngine.registerTrigger(namespaceId, name, trigger); } register(namespaceId: string, hostElement: any) { this._transitionEngine.register(namespaceId, hostElement); } destroy(namespaceId: string, context: any) { this._transitionEngine.destroy(namespaceId, context); } onInsert(namespaceId: string, element: any, parent: any, insertBefore: boolean): void { this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore); } onRemove(namespaceId: string, element: any, context: any, isHostElement?: boolean): void { this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context); } disableAnimations(element: any, disable: boolean) { this._transitionEngine.markElementAsDisabled(element, disable); } process(namespaceId: string, element: any, property: string, value: any) { if (property.charAt(0) == '@') { const [id, action] = parseTimelineCommand(property); const args = value as any[]; this._timelineEngine.command(id, element, action, args); } else { this._transitionEngine.trigger(namespaceId, element, property, value); } } listen( namespaceId: string, element: any, eventName: string, eventPhase: string, callback: (event: any) => any): () => any { // @@listen if (eventName.charAt(0) == '@') { const [id, action] = parseTimelineCommand(eventName); return this._timelineEngine.listen(id, element, action, callback); } return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback); } flush(microtaskId: number = -1): void { this._transitionEngine.flush(microtaskId); } get players(): AnimationPlayer[] { return (this._transitionEngine.players as AnimationPlayer[]) .concat(this._timelineEngine.players as AnimationPlayer[]); } whenRenderingDone(): Promise { return this._transitionEngine.whenRenderingDone(); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {eraseStyles, setStyles} from '../util'; /** * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are * detected. * * In CSS there exist properties that cannot be animated within a keyframe animation * (whether it be via CSS keyframes or web-animations) and the animation implementation * will ignore them. This function is designed to detect those special cased styles and * return a container that will be executed at the start and end of the animation. * * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null` */ export function packageNonAnimatableStyles( element: any, styles: ɵStyleDataMap|Array<ɵStyleDataMap>): SpecialCasedStyles|null { let startStyles: ɵStyleDataMap|null = null; let endStyles: ɵStyleDataMap|null = null; if (Array.isArray(styles) && styles.length) { startStyles = filterNonAnimatableStyles(styles[0]); if (styles.length > 1) { endStyles = filterNonAnimatableStyles(styles[styles.length - 1]); } } else if (styles instanceof Map) { startStyles = filterNonAnimatableStyles(styles); } return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) : null; } /** * Designed to be executed during a keyframe-based animation to apply any special-cased styles. * * When started (when the `start()` method is run) then the provided `startStyles` * will be applied. When finished (when the `finish()` method is called) the * `endStyles` will be applied as well any any starting styles. Finally when * `destroy()` is called then all styles will be removed. */ export class SpecialCasedStyles { static initialStylesByElement = (/* @__PURE__ */ new WeakMap()); private _state = SpecialCasedStylesState.Pending; private _initialStyles!: ɵStyleDataMap; constructor( private _element: any, private _startStyles: ɵStyleDataMap|null, private _endStyles: ɵStyleDataMap|null) { let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element); if (!initialStyles) { SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map()); } this._initialStyles = initialStyles; } start() { if (this._state < SpecialCasedStylesState.Started) { if (this._startStyles) { setStyles(this._element, this._startStyles, this._initialStyles); } this._state = SpecialCasedStylesState.Started; } } finish() { this.start(); if (this._state < SpecialCasedStylesState.Finished) { setStyles(this._element, this._initialStyles); if (this._endStyles) { setStyles(this._element, this._endStyles); this._endStyles = null; } this._state = SpecialCasedStylesState.Started; } } destroy() { this.finish(); if (this._state < SpecialCasedStylesState.Destroyed) { SpecialCasedStyles.initialStylesByElement.delete(this._element); if (this._startStyles) { eraseStyles(this._element, this._startStyles); this._endStyles = null; } if (this._endStyles) { eraseStyles(this._element, this._endStyles); this._endStyles = null; } setStyles(this._element, this._initialStyles); this._state = SpecialCasedStylesState.Destroyed; } } } /** * An enum of states reflective of what the status of `SpecialCasedStyles` is. * * Depending on how `SpecialCasedStyles` is interacted with, the start and end * styles may not be applied in the same way. This enum ensures that if and when * the ending styles are applied then the starting styles are applied. It is * also used to reflect what the current status of the special cased styles are * which helps prevent the starting/ending styles not be applied twice. It is * also used to cleanup the styles once `SpecialCasedStyles` is destroyed. */ const enum SpecialCasedStylesState { Pending = 0, Started = 1, Finished = 2, Destroyed = 3, } function filterNonAnimatableStyles(styles: ɵStyleDataMap): ɵStyleDataMap|null { let result: ɵStyleDataMap|null = null; styles.forEach((val, prop) => { if (isNonAnimatableStyle(prop)) { result = result || new Map(); result.set(prop, val); } }); return result; } function isNonAnimatableStyle(prop: string) { return prop === 'display' || prop === 'position'; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {computeStyle} from '../../util'; import {SpecialCasedStyles} from '../special_cased_styles'; import {DOMAnimation} from './dom_animation'; export class WebAnimationsPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _onDestroyFns: Function[] = []; private _duration: number; private _delay: number; private _initialized = false; private _finished = false; private _started = false; private _destroyed = false; private _finalKeyframe?: ɵStyleDataMap; // the following original fns are persistent copies of the _onStartFns and _onDoneFns // and are used to reset the fns to their original values upon reset() // (since the _onStartFns and _onDoneFns get deleted after they are called) private _originalOnDoneFns: Function[] = []; private _originalOnStartFns: Function[] = []; // TODO(issue/24571): remove '!'. public readonly domPlayer!: DOMAnimation; public time = 0; public parentPlayer: AnimationPlayer|null = null; public currentSnapshot: ɵStyleDataMap = new Map(); constructor( public element: any, public keyframes: Array<ɵStyleDataMap>, public options: {[key: string]: string|number}, private _specialStyles?: SpecialCasedStyles|null) { this._duration = options['duration']; this._delay = options['delay'] || 0; this.time = this._duration + this._delay; } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } init(): void { this._buildPlayer(); this._preparePlayerBeforeStart(); } private _buildPlayer(): void { if (this._initialized) return; this._initialized = true; const keyframes = this.keyframes; (this as {domPlayer: DOMAnimation}).domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options); this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map(); this.domPlayer.addEventListener('finish', () => this._onFinish()); } private _preparePlayerBeforeStart() { // this is required so that the player doesn't start to animate right away if (this._delay) { this._resetDomPlayerState(); } else { this.domPlayer.pause(); } } private _convertKeyframesToObject(keyframes: Array<ɵStyleDataMap>): any[] { const kfs: any[] = []; keyframes.forEach(frame => { kfs.push(Object.fromEntries(frame)); }); return kfs; } /** @internal */ _triggerWebAnimation(element: any, keyframes: Array<ɵStyleDataMap>, options: any): DOMAnimation { // jscompiler doesn't seem to know animate is a native property because it's not fully // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929] return element['animate'](this._convertKeyframesToObject(keyframes), options) as DOMAnimation; } onStart(fn: () => void): void { this._originalOnStartFns.push(fn); this._onStartFns.push(fn); } onDone(fn: () => void): void { this._originalOnDoneFns.push(fn); this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } play(): void { this._buildPlayer(); if (!this.hasStarted()) { this._onStartFns.forEach(fn => fn()); this._onStartFns = []; this._started = true; if (this._specialStyles) { this._specialStyles.start(); } } this.domPlayer.play(); } pause(): void { this.init(); this.domPlayer.pause(); } finish(): void { this.init(); if (this._specialStyles) { this._specialStyles.finish(); } this._onFinish(); this.domPlayer.finish(); } reset(): void { this._resetDomPlayerState(); this._destroyed = false; this._finished = false; this._started = false; this._onStartFns = this._originalOnStartFns; this._onDoneFns = this._originalOnDoneFns; } private _resetDomPlayerState() { if (this.domPlayer) { this.domPlayer.cancel(); } } restart(): void { this.reset(); this.play(); } hasStarted(): boolean { return this._started; } destroy(): void { if (!this._destroyed) { this._destroyed = true; this._resetDomPlayerState(); this._onFinish(); if (this._specialStyles) { this._specialStyles.destroy(); } this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } setPosition(p: number): void { if (this.domPlayer === undefined) { this.init(); } this.domPlayer.currentTime = p * this.time; } getPosition(): number { return this.domPlayer.currentTime / this.time; } get totalTime(): number { return this._delay + this._duration; } beforeDestroy() { const styles: ɵStyleDataMap = new Map(); if (this.hasStarted()) { // note: this code is invoked only when the `play` function was called prior to this // (thus `hasStarted` returns true), this implies that the code that initializes // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here const finalKeyframe = this._finalKeyframe!; finalKeyframe.forEach((val, prop) => { if (prop !== 'offset') { styles.set(prop, this._finished ? val : computeStyle(this.element, prop)); } }); } this.currentSnapshot = styles; } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {allowPreviousPlayerStylesMerge, balancePreviousStylesIntoKeyframes, camelCaseToDashCase, copyStyles, normalizeKeyframes} from '../../util'; import {AnimationDriver} from '../animation_driver'; import {containsElement, getParentElement, invokeQuery, validateStyleProperty, validateWebAnimatableStyleProperty} from '../shared'; import {packageNonAnimatableStyles} from '../special_cased_styles'; import {WebAnimationsPlayer} from './web_animations_player'; export class WebAnimationsDriver implements AnimationDriver { validateStyleProperty(prop: string): boolean { // Perform actual validation in dev mode only, in prod mode this check is a noop. if (typeof ngDevMode === 'undefined' || ngDevMode) { return validateStyleProperty(prop); } return true; } validateAnimatableStyleProperty(prop: string): boolean { // Perform actual validation in dev mode only, in prod mode this check is a noop. if (typeof ngDevMode === 'undefined' || ngDevMode) { const cssProp = camelCaseToDashCase(prop); return validateWebAnimatableStyleProperty(cssProp); } return true; } matchesElement(_element: any, _selector: string): boolean { // This method is deprecated and no longer in use so we return false. return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return (window.getComputedStyle(element) as any)[prop] as string; } animate( element: any, keyframes: Array>, duration: number, delay: number, easing: string, previousPlayers: AnimationPlayer[] = []): AnimationPlayer { const fill = delay == 0 ? 'both' : 'forwards'; const playerOptions: {[key: string]: string|number} = {duration, delay, fill}; // we check for this to avoid having a null|undefined value be present // for the easing (which results in an error for certain browsers #9752) if (easing) { playerOptions['easing'] = easing; } const previousStyles: ɵStyleDataMap = new Map(); const previousWebAnimationPlayers = previousPlayers.filter( player => player instanceof WebAnimationsPlayer); if (allowPreviousPlayerStylesMerge(duration, delay)) { previousWebAnimationPlayers.forEach(player => { player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val)); }); } let _keyframes = normalizeKeyframes(keyframes).map(styles => copyStyles(styles)); _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles); const specialStyles = packageNonAnimatableStyles(element, _keyframes); return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation browser package. */ export {AnimationDriver} from './render/animation_driver'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/browser'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["RuntimeError","normalizeKeyframes","PRE_STYLE","AnimationGroupPlayer"],"mappings":";;;;;;;;;;AAYA,MAAM,UAAU,GAAG,OAAO,CAAC;AAErB,SAAU,kBAAkB,CAAC,GAAkB,EAAA;IACnD,OAAO,IAAIA,aAAY,CAEnB,IAAA,8CAAA,SAAS,IAAI,CAA8B,2BAAA,EAAA,GAAG,CAAe,aAAA,CAAA,CAAC,CAAC;AACrE,CAAC;SAEe,iBAAiB,GAAA;AAC/B,IAAA,OAAO,IAAIA,aAAY,CAAA,IAAA,6CAEnB,SAAS,IAAI,kEAAkE,CAAC,CAAC;AACvF,CAAC;SAEe,kBAAkB,GAAA;AAChC,IAAA,OAAO,IAAIA,aAAY,CAAA,IAAA,8CAEnB,SAAS,IAAI,+DAA+D,CAAC,CAAC;AACpF,CAAC;AAEK,SAAU,kBAAkB,CAAC,OAAe,EAAA;IAChD,OAAO,IAAIA,aAAY,CAAA,IAAA,8CAEnB,SAAS;QACL,CAA+C,4CAAA,EAAA,OAAO,CAA8B,4BAAA,CAAA,CAAC,CAAC;AAChG,CAAC;AAEK,SAAU,iBAAiB,CAAC,OAAe,EAAA;IAC/C,OAAO,IAAIA,aAAY,CAEnB,IAAA,6CAAA,SAAS,IAAI,CAAkD,+CAAA,EAAA,OAAO,CAAE,CAAA,CAAC,CAAC;AAChF,CAAC;AAEK,SAAU,eAAe,CAAC,QAAgB,EAAA;IAC9C,OAAO,IAAIA,aAAY,CAE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AC,CAAC;QACjF,UAAU,GAAG,kCAAkC,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;QACrF,MAAM,aAAa,GAAG,0BAA0B,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACtE,OAAO,IAAI,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;KACnF;AACF;;ACxED;;;;AAIG;;ACJH;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 24 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../../packages/animations/browser/src/error_helpers.ts","../../../../../../../packages/animations/browser/src/render/web_animations/animatable_props_set.ts","../../../../../../../packages/animations/browser/src/render/shared.ts","../../../../../../../packages/animations/browser/src/util.ts","../../../../../../../packages/animations/browser/testing/src/mock_animation_driver.ts","../../../../../../../packages/animations/browser/testing/public_api.ts","../../../../../../../packages/animations/browser/testing/index.ts","../../../../../../../packages/animations/browser/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵRuntimeError as RuntimeError} from '@angular/core'; import {RuntimeErrorCode} from './errors'; const LINE_START = '\ - '; export function invalidTimingValue(exp: string|number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TIMING_VALUE, ngDevMode && `The provided timing value \"${exp}\" is invalid.`); } export function negativeStepValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_STEP_VALUE, ngDevMode && 'Duration values below 0 are not allowed for this animation step.'); } export function negativeDelayValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_DELAY_VALUE, ngDevMode && 'Delay values below 0 are not allowed for this animation step.'); } export function invalidStyleParams(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_PARAMS, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`); } export function invalidParamValue(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARAM_VALUE, ngDevMode && `Please provide a value for the animation param ${varName}`); } export function invalidNodeType(nodeType: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_NODE_TYPE, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`); } export function invalidCssUnitValue(userProvidedProperty: string, value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_CSS_UNIT_VALUE, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`); } export function invalidTrigger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRIGGER, ngDevMode && 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))'); } export function invalidDefinition(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_DEFINITION, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()'); } export function invalidState(metadataName: string, missingSubs: string[]): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STATE, ngDevMode && `state(\"${ metadataName}\", ...) must define default values for all the following style substitutions: ${ missingSubs.join(', ')}`); } export function invalidStyleValue(value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_VALUE, ngDevMode && `The provided style string value ${value} is not allowed.`); } export function invalidProperty(prop: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PROPERTY, ngDevMode && `The provided animation property \"${ prop}\" is not a supported CSS property for animations`); } export function invalidParallelAnimation( prop: string, firstStart: number, firstEnd: number, secondStart: number, secondEnd: number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARALLEL_ANIMATION, ngDevMode && `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${ firstEnd}ms\" is also being animated in a parallel animation between the times of \"${ secondStart}ms\" and \"${secondEnd}ms\"`); } export function invalidKeyframes(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_KEYFRAMES, ngDevMode && `keyframes() must be placed inside of a call to animate()`); } export function invalidOffset(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_OFFSET, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`); } export function keyframeOffsetsOutOfOrder(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER, ngDevMode && `Please ensure that all keyframe offsets are in order`); } export function keyframesMissingOffsets(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`); } export function invalidStagger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STAGGER, ngDevMode && `stagger() can only be used inside of query()`); } export function invalidQuery(selector: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_QUERY, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${ selector}\", { optional: true })\\` if you wish to allow this.)`); } export function invalidExpression(expr: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_EXPRESSION, ngDevMode && `The provided transition expression \"${expr}\" is not supported`); } export function invalidTransitionAlias(alias: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRANSITION_ALIAS, ngDevMode && `The transition alias value \"${alias}\" is not supported`); } export function validationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.VALIDATION_FAILED, ngDevMode && `animation validation failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function buildingFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.BUILDING_FAILED, ngDevMode && `animation building failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function triggerBuildFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_BUILD_FAILED, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\ - ${ errors.map(err => err.message).join('\ - ')}`); } export function animationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.ANIMATION_FAILED, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function registerFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.REGISTRATION_FAILED, ngDevMode && `Unable to build the animation due to the following errors: ${ errors.map(err => err.message).join('\ ')}`); } export function missingOrDestroyedAnimation(): Error { return new RuntimeError( RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed'); } export function createAnimationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.CREATE_ANIMATION_FAILED, ngDevMode && `Unable to create the animation due to the following errors:${ errors.map(err => err.message).join('\ ')}`); } export function missingPlayer(id: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_PLAYER, ngDevMode && `Unable to find the timeline player referenced by ${id}`); } export function missingTrigger(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_TRIGGER, ngDevMode && `Unable to listen on the animation trigger event \"${ phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`); } export function missingEvent(name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_EVENT, ngDevMode && `Unable to listen on the animation trigger \"${ name}\" because the provided event is undefined!`); } export function unsupportedTriggerEvent(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${ name}\" is not supported!`); } export function unregisteredTrigger(name: string): Error { return new RuntimeError( RuntimeErrorCode.UNREGISTERED_TRIGGER, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`); } export function triggerTransitionsFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED, ngDevMode && `Unable to process animations due to the following failed trigger transitions\ ${ errors.map(err => err.message).join('\ ')}`); } export function triggerParsingFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_PARSING_FAILED, ngDevMode && `Animation parsing for the ${name} trigger have failed:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function transitionFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRANSITION_FAILED, ngDevMode && `@${name} has failed due to:\ ${errors.map(err => err.message).join('\ - ')}`); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Set of all animatable CSS properties * * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties */ export const ANIMATABLE_PROP_SET = new Set([ '-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom', ]); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationEvent, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationStyleNormalizer} from '../../src/dsl/style_normalization/animation_style_normalizer'; import {AnimationDriver} from '../../src/render/animation_driver'; import {animationFailed} from '../error_helpers'; import {ANIMATABLE_PROP_SET} from './web_animations/animatable_props_set'; // We don't include ambient node types here since @angular/animations/browser // is meant to target the browser so technically it should not depend on node // types. `process` is just declared locally here as a result. declare const process: any; export function isBrowser(): boolean { return (typeof window !== 'undefined' && typeof window.document !== 'undefined'); } export function isNode(): boolean { // Checking only for `process` isn't enough to identify whether or not we're in a Node // environment, because Webpack by default will polyfill the `process`. While we can discern // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and // might not be future-proof. Instead we look at the stringified version of `process` which // is `[object process]` in Node and `[object Object]` when polyfilled. return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; } export function optimizeGroupPlayer(players: AnimationPlayer[]): AnimationPlayer { switch (players.length) { case 0: return new NoopAnimationPlayer(); case 1: return players[0]; default: return new ɵAnimationGroupPlayer(players); } } export function normalizeKeyframes( driver: AnimationDriver, normalizer: AnimationStyleNormalizer, element: any, keyframes: Array<ɵStyleDataMap>, preStyles: ɵStyleDataMap = new Map(), postStyles: ɵStyleDataMap = new Map()): Array<ɵStyleDataMap> { const errors: Error[] = []; const normalizedKeyframes: Array<ɵStyleDataMap> = []; let previousOffset = -1; let previousKeyframe: ɵStyleDataMap|null = null; keyframes.forEach(kf => { const offset = kf.get('offset') as number; const isSameOffset = offset == previousOffset; const normalizedKeyframe: ɵStyleDataMap = (isSameOffset && previousKeyframe) || new Map(); kf.forEach((val, prop) => { let normalizedProp = prop; let normalizedValue = val; if (prop !== 'offset') { normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors); switch (normalizedValue) { case PRE_STYLE: normalizedValue = preStyles.get(prop)!; break; case AUTO_STYLE: normalizedValue = postStyles.get(prop)!; break; default: normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors); break; } } normalizedKeyframe.set(normalizedProp, normalizedValue); }); if (!isSameOffset) { normalizedKeyframes.push(normalizedKeyframe); } previousKeyframe = normalizedKeyframe; previousOffset = offset; }); if (errors.length) { throw animationFailed(errors); } return normalizedKeyframes; } export function listenOnPlayer( player: AnimationPlayer, eventName: string, event: AnimationEvent|undefined, callback: (event: any) => any) { switch (eventName) { case 'start': player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player))); break; case 'done': player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player))); break; case 'destroy': player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player))); break; } } export function copyAnimationEvent( e: AnimationEvent, phaseName: string, player: AnimationPlayer): AnimationEvent { const totalTime = player.totalTime; const disabled = (player as any).disabled ? true : false; const event = makeAnimationEvent( e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled); const data = (e as any)['_data']; if (data != null) { (event as any)['_data'] = data; } return event; } export function makeAnimationEvent( element: any, triggerName: string, fromState: string, toState: string, phaseName: string = '', totalTime: number = 0, disabled?: boolean): AnimationEvent { return {element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled}; } export function getOrSetDefaultValue(map: Map, key: T, defaultValue: V) { let value = map.get(key); if (!value) { map.set(key, value = defaultValue); } return value; } export function parseTimelineCommand(command: string): [string, string] { const separatorPos = command.indexOf(':'); const id = command.substring(1, separatorPos); const action = command.slice(separatorPos + 1); return [id, action]; } let _contains: (elm1: any, elm2: any) => boolean = (elm1: any, elm2: any) => false; let _query: (element: any, selector: string, multi: boolean) => any[] = (element: any, selector: string, multi: boolean) => { return []; }; let _documentElement: unknown|null = null; export function getParentElement(element: any): unknown|null { const parent = element.parentNode || element.host; // consider host to support shadow DOM if (parent === _documentElement) { return null; } return parent; } // Define utility methods for browsers and platform-server(domino) where Element // and utility methods exist. const _isNode = isNode(); if (_isNode || typeof Element !== 'undefined') { if (!isBrowser()) { _contains = (elm1, elm2) => elm1.contains(elm2); } else { // Read the document element in an IIFE that's been marked pure to avoid a top-level property // read that may prevent tree-shaking. _documentElement = /* @__PURE__ */ (() => document.documentElement)(); _contains = (elm1, elm2) => { while (elm2) { if (elm2 === elm1) { return true; } elm2 = getParentElement(elm2); } return false; }; } _query = (element: any, selector: string, multi: boolean): any[] => { if (multi) { return Array.from(element.querySelectorAll(selector)); } const elem = element.querySelector(selector); return elem ? [elem] : []; }; } function containsVendorPrefix(prop: string): boolean { // Webkit is the only real popular vendor prefix nowadays // cc: http://shouldiprefix.com/ return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit } let _CACHED_BODY: {style: any}|null = null; let _IS_WEBKIT = false; export function validateStyleProperty(prop: string): boolean { if (!_CACHED_BODY) { _CACHED_BODY = getBodyNode() || {}; _IS_WEBKIT = _CACHED_BODY!.style ? ('WebkitAppearance' in _CACHED_BODY!.style) : false; } let result = true; if (_CACHED_BODY!.style && !containsVendorPrefix(prop)) { result = prop in _CACHED_BODY!.style; if (!result && _IS_WEBKIT) { const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1); result = camelProp in _CACHED_BODY!.style; } } return result; } export function validateWebAnimatableStyleProperty(prop: string): boolean { return ANIMATABLE_PROP_SET.has(prop); } export function getBodyNode(): any|null { if (typeof document != 'undefined') { return document.body; } return null; } export const containsElement = _contains; export const invokeQuery = _query; export function hypenatePropsKeys(original: ɵStyleDataMap): ɵStyleDataMap { const newMap: ɵStyleDataMap = new Map(); original.forEach((val, prop) => { const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2'); newMap.set(newProp, val); }); return newMap; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationMetadata, AnimationMetadataType, AnimationOptions, sequence, ɵStyleData, ɵStyleDataMap} from '@angular/animations'; import {Ast as AnimationAst, AstVisitor as AnimationAstVisitor} from './dsl/animation_ast'; import {AnimationDslVisitor} from './dsl/animation_dsl_visitor'; import {invalidNodeType, invalidParamValue, invalidStyleParams, invalidTimingValue, negativeDelayValue, negativeStepValue} from './error_helpers'; import {isNode} from './render/shared'; export const ONE_SECOND = 1000; export const SUBSTITUTION_EXPR_START = '{{'; export const SUBSTITUTION_EXPR_END = '}}'; export const ENTER_CLASSNAME = 'ng-enter'; export const LEAVE_CLASSNAME = 'ng-leave'; export const NG_TRIGGER_CLASSNAME = 'ng-trigger'; export const NG_TRIGGER_SELECTOR = '.ng-trigger'; export const NG_ANIMATING_CLASSNAME = 'ng-animating'; export const NG_ANIMATING_SELECTOR = '.ng-animating'; export function resolveTimingValue(value: string|number) { if (typeof value == 'number') return value; const matches = value.match(/^(-?[\\.\\d]+)(m?s)/); if (!matches || matches.length < 2) return 0; return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); } function _convertTimeValueToMS(value: number, unit: string): number { switch (unit) { case 's': return value * ONE_SECOND; default: // ms or something else return value; } } export function resolveTiming( timings: string|number|AnimateTimings, errors: Error[], allowNegativeValues?: boolean) { return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues); } function parseTimeExpression( exp: string|number, errors: Error[], allowNegativeValues?: boolean): AnimateTimings { const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i; let duration: number; let delay: number = 0; let easing: string = ''; if (typeof exp === 'string') { const matches = exp.match(regex); if (matches === null) { errors.push(invalidTimingValue(exp)); return {duration: 0, delay: 0, easing: ''}; } duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); const delayMatch = matches[3]; if (delayMatch != null) { delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]); } const easingVal = matches[5]; if (easingVal) { easing = easingVal; } } else { duration = exp; } if (!allowNegativeValues) { let containsErrors = false; let startIndex = errors.length; if (duration < 0) { errors.push(negativeStepValue()); containsErrors = true; } if (delay < 0) { errors.push(negativeDelayValue()); containsErrors = true; } if (containsErrors) { errors.splice(startIndex, 0, invalidTimingValue(exp)); } } return {duration, delay, easing}; } export function copyObj( obj: {[key: string]: any}, destination: {[key: string]: any} = {}): {[key: string]: any} { Object.keys(obj).forEach(prop => { destination[prop] = obj[prop]; }); return destination; } export function convertToMap(obj: ɵStyleData): ɵStyleDataMap { const styleMap: ɵStyleDataMap = new Map(); Object.keys(obj).forEach(prop => { const val = obj[prop]; styleMap.set(prop, val); }); return styleMap; } export function normalizeKeyframes(keyframes: Array<ɵStyleData>| Array<ɵStyleDataMap>): Array<ɵStyleDataMap> { if (!keyframes.length) { return []; } if (keyframes[0] instanceof Map) { return keyframes as Array<ɵStyleDataMap>; } return keyframes.map(kf => convertToMap(kf as ɵStyleData)); } export function normalizeStyles(styles: ɵStyleDataMap|Array<ɵStyleDataMap>): ɵStyleDataMap { const normalizedStyles: ɵStyleDataMap = new Map(); if (Array.isArray(styles)) { styles.forEach(data => copyStyles(data, normalizedStyles)); } else { copyStyles(styles, normalizedStyles); } return normalizedStyles; } export function copyStyles( styles: ɵStyleDataMap, destination: ɵStyleDataMap = new Map(), backfill?: ɵStyleDataMap): ɵStyleDataMap { if (backfill) { for (let [prop, val] of backfill) { destination.set(prop, val); } } for (let [prop, val] of styles) { destination.set(prop, val); } return destination; } function getStyleAttributeString(element: any, key: string, value: string) { // Return the key-value pair string to be added to the style attribute for the // given CSS style key. if (value) { return key + ':' + value + ';'; } else { return ''; } } function writeStyleAttribute(element: any) { // Read the style property of the element and manually reflect it to the // style attribute. This is needed because Domino on platform-server doesn't // understand the full set of allowed CSS properties and doesn't reflect some // of them automatically. let styleAttrValue = ''; for (let i = 0; i < element.style.length; i++) { const key = element.style.item(i); styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key)); } for (const key in element.style) { // Skip internal Domino properties that don't need to be reflected. if (!element.style.hasOwnProperty(key) || key.startsWith('_')) { continue; } const dashKey = camelCaseToDashCase(key); styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]); } element.setAttribute('style', styleAttrValue); } export function setStyles(element: any, styles: ɵStyleDataMap, formerStyles?: ɵStyleDataMap) { if (element['style']) { styles.forEach((val, prop) => { const camelProp = dashCaseToCamelCase(prop); if (formerStyles && !formerStyles.has(prop)) { formerStyles.set(prop, element.style[camelProp]); } element.style[camelProp] = val; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function eraseStyles(element: any, styles: ɵStyleDataMap) { if (element['style']) { styles.forEach((_, prop) => { const camelProp = dashCaseToCamelCase(prop); element.style[camelProp] = ''; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function normalizeAnimationEntry(steps: AnimationMetadata| AnimationMetadata[]): AnimationMetadata { if (Array.isArray(steps)) { if (steps.length == 1) return steps[0]; return sequence(steps); } return steps as AnimationMetadata; } export function validateStyleParams( value: string|number|null|undefined, options: AnimationOptions, errors: Error[]) { const params = options.params || {}; const matches = extractStyleParams(value); if (matches.length) { matches.forEach(varName => { if (!params.hasOwnProperty(varName)) { errors.push(invalidStyleParams(varName)); } }); } } const PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g'); export function extractStyleParams(value: string|number|null|undefined): string[] { let params: string[] = []; if (typeof value === 'string') { let match: any; while (match = PARAM_REGEX.exec(value)) { params.push(match[1] as string); } PARAM_REGEX.lastIndex = 0; } return params; } export function interpolateParams( value: string|number, params: {[name: string]: any}, errors: Error[]): string|number { const original = value.toString(); const str = original.replace(PARAM_REGEX, (_, varName) => { let localVal = params[varName]; // this means that the value was never overridden by the data passed in by the user if (localVal == null) { errors.push(invalidParamValue(varName)); localVal = ''; } return localVal.toString(); }); // we do this to assert that numeric values stay as they are return str == original ? value : str; } export function iteratorToArray(iterator: any): any[] { const arr: any[] = []; let item = iterator.next(); while (!item.done) { arr.push(item.value); item = iterator.next(); } return arr; } const DASH_CASE_REGEXP = /-+([a-z0-9])/g; export function dashCaseToCamelCase(input: string): string { return input.replace(DASH_CASE_REGEXP, (...m: any[]) => m[1].toUpperCase()); } export function camelCaseToDashCase(input: string): string { return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); } export function allowPreviousPlayerStylesMerge(duration: number, delay: number) { return duration === 0 || delay === 0; } export function balancePreviousStylesIntoKeyframes( element: any, keyframes: Array<ɵStyleDataMap>, previousStyles: ɵStyleDataMap) { if (previousStyles.size && keyframes.length) { let startingKeyframe = keyframes[0]; let missingStyleProps: string[] = []; previousStyles.forEach((val, prop) => { if (!startingKeyframe.has(prop)) { missingStyleProps.push(prop); } startingKeyframe.set(prop, val); }); if (missingStyleProps.length) { for (let i = 1; i < keyframes.length; i++) { let kf = keyframes[i]; missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop))); } } } return keyframes; } export function visitDslNode( visitor: AnimationDslVisitor, node: AnimationMetadata, context: any): any; export function visitDslNode( visitor: AnimationAstVisitor, node: AnimationAst, context: any): any; export function visitDslNode(visitor: any, node: any, context: any): any { switch (node.type) { case AnimationMetadataType.Trigger: return visitor.visitTrigger(node, context); case AnimationMetadataType.State: return visitor.visitState(node, context); case AnimationMetadataType.Transition: return visitor.visitTransition(node, context); case AnimationMetadataType.Sequence: return visitor.visitSequence(node, context); case AnimationMetadataType.Group: return visitor.visitGroup(node, context); case AnimationMetadataType.Animate: return visitor.visitAnimate(node, context); case AnimationMetadataType.Keyframes: return visitor.visitKeyframes(node, context); case AnimationMetadataType.Style: return visitor.visitStyle(node, context); case AnimationMetadataType.Reference: return visitor.visitReference(node, context); case AnimationMetadataType.AnimateChild: return visitor.visitAnimateChild(node, context); case AnimationMetadataType.AnimateRef: return visitor.visitAnimateRef(node, context); case AnimationMetadataType.Query: return visitor.visitQuery(node, context); case AnimationMetadataType.Stagger: return visitor.visitStagger(node, context); default: throw invalidNodeType(node.type); } } export function computeStyle(element: any, prop: string): string { return (window.getComputedStyle(element))[prop]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {AnimationDriver, ɵallowPreviousPlayerStylesMerge as allowPreviousPlayerStylesMerge, ɵcontainsElement as containsElement, ɵgetParentElement as getParentElement, ɵinvokeQuery as invokeQuery, ɵnormalizeKeyframes as normalizeKeyframes, ɵvalidateStyleProperty as validateStyleProperty,} from '@angular/animations/browser'; import {validateWebAnimatableStyleProperty} from '../../src/render/shared'; import {camelCaseToDashCase} from '../../src/util'; /** * @publicApi */ export class MockAnimationDriver implements AnimationDriver { static log: AnimationPlayer[] = []; validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); } validateAnimatableStyleProperty(prop: string): boolean { const cssProp = camelCaseToDashCase(prop); return validateWebAnimatableStyleProperty(cssProp); } matchesElement(_element: any, _selector: string): boolean { return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return defaultValue || ''; } animate( element: any, keyframes: Array<ɵStyleDataMap>, duration: number, delay: number, easing: string, previousPlayers: any[] = []): MockAnimationPlayer { const player = new MockAnimationPlayer(element, keyframes, duration, delay, easing, previousPlayers); MockAnimationDriver.log.push(player); return player; } } /** * @publicApi */ export class MockAnimationPlayer extends NoopAnimationPlayer { private __finished = false; private __started = false; public previousStyles: ɵStyleDataMap = new Map(); private _onInitFns: (() => any)[] = []; public currentSnapshot: ɵStyleDataMap = new Map(); private _keyframes: Array<ɵStyleDataMap> = []; constructor( public element: any, public keyframes: Array<ɵStyleDataMap>, public duration: number, public delay: number, public easing: string, public previousPlayers: any[]) { super(duration, delay); this._keyframes = normalizeKeyframes(keyframes); if (allowPreviousPlayerStylesMerge(duration, delay)) { previousPlayers.forEach(player => { if (player instanceof MockAnimationPlayer) { const styles = player.currentSnapshot; styles.forEach((val, prop) => this.previousStyles.set(prop, val)); } }); } } /* @internal */ onInit(fn: () => any) { this._onInitFns.push(fn); } /* @internal */ override init() { super.init(); this._onInitFns.forEach(fn => fn()); this._onInitFns = []; } override reset() { super.reset(); this.__started = false; } override finish(): void { super.finish(); this.__finished = true; } override destroy(): void { super.destroy(); this.__finished = true; } /* @internal */ triggerMicrotask() {} override play(): void { super.play(); this.__started = true; } override hasStarted() { return this.__started; } beforeDestroy() { const captures: ɵStyleDataMap = new Map(); this.previousStyles.forEach((val, prop) => captures.set(prop, val)); if (this.hasStarted()) { // when assembling the captured styles, it's important that // we build the keyframe styles in the following order: // {other styles within keyframes, ... previousStyles } this._keyframes.forEach(kf => { for (let [prop, val] of kf) { if (prop !== 'offset') { captures.set(prop, this.__finished ? val : AUTO_STYLE); } } }); } this.currentSnapshot = captures; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verifcation. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["RuntimeError","normalizeKeyframes","PRE_STYLE","validateStyleProperty","containsElement","getParentElement","invokeQuery","allowPreviousPlayerStylesMerge"],"mappings":";;;;;;;;;;AAYA,MAAM,UAAU,GAAG,OAAO,CAAC;AAErB,SAAU,kBAAkB,CAAC,GAAkB,EAAA;IACnD,OAAO,IAAIA,aAAY,CAEnB,IAAA,8CAAA,SAAS,IAAI,CAA8B,2BAAA,EAAA,GAAG,CAAe,aAAA,CAAA,CAAC,CAAC;AACrE,CAAC;SAEe,iBAAiB,GAAA;AAC/B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AAEpE,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE,EAAE;;;;AAIrB,YAAA,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,IAAG;gBAC3B,KAAK,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE;oBAC1B,IAAI,IAAI,KAAK,QAAQ,EAAE;AACrB,wBAAA,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,GAAG,UAAU,CAAC,CAAC;AACxD,qBAAA;AACF,iBAAA;AACH,aAAC,CAAC,CAAC;AACJ,SAAA;AAED,QAAA,IAAI,CAAC,eAAe,GAAG,QAAQ,CAAC;KACjC;AACF;;ACzID;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 25 -------------------- {"version":3,"file":"browser.mjs","sources":["../../../../../../packages/animations/browser/src/error_helpers.ts","../../../../../../packages/animations/browser/src/render/web_animations/animatable_props_set.ts","../../../../../../packages/animations/browser/src/render/shared.ts","../../../../../../packages/animations/browser/src/render/animation_driver.ts","../../../../../../packages/animations/browser/src/util.ts","../../../../../../packages/animations/browser/src/warning_helpers.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_expr.ts","../../../../../../packages/animations/browser/src/dsl/animation_ast_builder.ts","../../../../../../packages/animations/browser/src/dsl/animation_timeline_instruction.ts","../../../../../../packages/animations/browser/src/dsl/element_instruction_map.ts","../../../../../../packages/animations/browser/src/dsl/animation_timeline_builder.ts","../../../../../../packages/animations/browser/src/dsl/animation.ts","../../../../../../packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.ts","../../../../../../packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_instruction.ts","../../../../../../packages/animations/browser/src/dsl/animation_transition_factory.ts","../../../../../../packages/animations/browser/src/dsl/animation_trigger.ts","../../../../../../packages/animations/browser/src/render/timeline_animation_engine.ts","../../../../../../packages/animations/browser/src/render/transition_animation_engine.ts","../../../../../../packages/animations/browser/src/render/animation_engine_next.ts","../../../../../../packages/animations/browser/src/render/special_cased_styles.ts","../../../../../../packages/animations/browser/src/render/web_animations/web_animations_player.ts","../../../../../../packages/animations/browser/src/render/web_animations/web_animations_driver.ts","../../../../../../packages/animations/browser/src/browser.ts","../../../../../../packages/animations/browser/public_api.ts","../../../../../../packages/animations/browser/index.ts","../../../../../../packages/animations/browser/browser.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵRuntimeError as RuntimeError} from '@angular/core'; import {RuntimeErrorCode} from './errors'; const LINE_START = '\ - '; export function invalidTimingValue(exp: string|number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TIMING_VALUE, ngDevMode && `The provided timing value \"${exp}\" is invalid.`); } export function negativeStepValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_STEP_VALUE, ngDevMode && 'Duration values below 0 are not allowed for this animation step.'); } export function negativeDelayValue(): Error { return new RuntimeError( RuntimeErrorCode.NEGATIVE_DELAY_VALUE, ngDevMode && 'Delay values below 0 are not allowed for this animation step.'); } export function invalidStyleParams(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_PARAMS, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`); } export function invalidParamValue(varName: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARAM_VALUE, ngDevMode && `Please provide a value for the animation param ${varName}`); } export function invalidNodeType(nodeType: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_NODE_TYPE, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`); } export function invalidCssUnitValue(userProvidedProperty: string, value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_CSS_UNIT_VALUE, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`); } export function invalidTrigger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRIGGER, ngDevMode && 'animation triggers cannot be prefixed with an `@` sign (e.g. trigger(\\'@foo\\', [...]))'); } export function invalidDefinition(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_DEFINITION, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()'); } export function invalidState(metadataName: string, missingSubs: string[]): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STATE, ngDevMode && `state(\"${ metadataName}\", ...) must define default values for all the following style substitutions: ${ missingSubs.join(', ')}`); } export function invalidStyleValue(value: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STYLE_VALUE, ngDevMode && `The provided style string value ${value} is not allowed.`); } export function invalidProperty(prop: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PROPERTY, ngDevMode && `The provided animation property \"${ prop}\" is not a supported CSS property for animations`); } export function invalidParallelAnimation( prop: string, firstStart: number, firstEnd: number, secondStart: number, secondEnd: number): Error { return new RuntimeError( RuntimeErrorCode.INVALID_PARALLEL_ANIMATION, ngDevMode && `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${ firstEnd}ms\" is also being animated in a parallel animation between the times of \"${ secondStart}ms\" and \"${secondEnd}ms\"`); } export function invalidKeyframes(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_KEYFRAMES, ngDevMode && `keyframes() must be placed inside of a call to animate()`); } export function invalidOffset(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_OFFSET, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`); } export function keyframeOffsetsOutOfOrder(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER, ngDevMode && `Please ensure that all keyframe offsets are in order`); } export function keyframesMissingOffsets(): Error { return new RuntimeError( RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`); } export function invalidStagger(): Error { return new RuntimeError( RuntimeErrorCode.INVALID_STAGGER, ngDevMode && `stagger() can only be used inside of query()`); } export function invalidQuery(selector: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_QUERY, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${ selector}\", { optional: true })\\` if you wish to allow this.)`); } export function invalidExpression(expr: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_EXPRESSION, ngDevMode && `The provided transition expression \"${expr}\" is not supported`); } export function invalidTransitionAlias(alias: string): Error { return new RuntimeError( RuntimeErrorCode.INVALID_TRANSITION_ALIAS, ngDevMode && `The transition alias value \"${alias}\" is not supported`); } export function validationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.VALIDATION_FAILED, ngDevMode && `animation validation failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function buildingFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.BUILDING_FAILED, ngDevMode && `animation building failed:\ ${errors.map(err => err.message).join('\ ')}`); } export function triggerBuildFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_BUILD_FAILED, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\ - ${ errors.map(err => err.message).join('\ - ')}`); } export function animationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.ANIMATION_FAILED, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function registerFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.REGISTRATION_FAILED, ngDevMode && `Unable to build the animation due to the following errors: ${ errors.map(err => err.message).join('\ ')}`); } export function missingOrDestroyedAnimation(): Error { return new RuntimeError( RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION, ngDevMode && 'The requested animation doesn\\'t exist or has already been destroyed'); } export function createAnimationFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.CREATE_ANIMATION_FAILED, ngDevMode && `Unable to create the animation due to the following errors:${ errors.map(err => err.message).join('\ ')}`); } export function missingPlayer(id: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_PLAYER, ngDevMode && `Unable to find the timeline player referenced by ${id}`); } export function missingTrigger(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_TRIGGER, ngDevMode && `Unable to listen on the animation trigger event \"${ phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`); } export function missingEvent(name: string): Error { return new RuntimeError( RuntimeErrorCode.MISSING_EVENT, ngDevMode && `Unable to listen on the animation trigger \"${ name}\" because the provided event is undefined!`); } export function unsupportedTriggerEvent(phase: string, name: string): Error { return new RuntimeError( RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${ name}\" is not supported!`); } export function unregisteredTrigger(name: string): Error { return new RuntimeError( RuntimeErrorCode.UNREGISTERED_TRIGGER, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`); } export function triggerTransitionsFailed(errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED, ngDevMode && `Unable to process animations due to the following failed trigger transitions\ ${ errors.map(err => err.message).join('\ ')}`); } export function triggerParsingFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRIGGER_PARSING_FAILED, ngDevMode && `Animation parsing for the ${name} trigger have failed:${LINE_START}${ errors.map(err => err.message).join(LINE_START)}`); } export function transitionFailed(name: string, errors: Error[]): Error { return new RuntimeError( RuntimeErrorCode.TRANSITION_FAILED, ngDevMode && `@${name} has failed due to:\ ${errors.map(err => err.message).join('\ - ')}`); } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Set of all animatable CSS properties * * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties */ export const ANIMATABLE_PROP_SET = new Set([ '-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom', ]); ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationEvent, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationStyleNormalizer} from '../../src/dsl/style_normalization/animation_style_normalizer'; import {AnimationDriver} from '../../src/render/animation_driver'; import {animationFailed} from '../error_helpers'; import {ANIMATABLE_PROP_SET} from './web_animations/animatable_props_set'; // We don't include ambient node types here since @angular/animations/browser // is meant to target the browser so technically it should not depend on node // types. `process` is just declared locally here as a result. declare const process: any; export function isBrowser(): boolean { return (typeof window !== 'undefined' && typeof window.document !== 'undefined'); } export function isNode(): boolean { // Checking only for `process` isn't enough to identify whether or not we're in a Node // environment, because Webpack by default will polyfill the `process`. While we can discern // that Webpack polyfilled it by looking at `process.browser`, it's very Webpack-specific and // might not be future-proof. Instead we look at the stringified version of `process` which // is `[object process]` in Node and `[object Object]` when polyfilled. return typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; } export function optimizeGroupPlayer(players: AnimationPlayer[]): AnimationPlayer { switch (players.length) { case 0: return new NoopAnimationPlayer(); case 1: return players[0]; default: return new ɵAnimationGroupPlayer(players); } } export function normalizeKeyframes( driver: AnimationDriver, normalizer: AnimationStyleNormalizer, element: any, keyframes: Array<ɵStyleDataMap>, preStyles: ɵStyleDataMap = new Map(), postStyles: ɵStyleDataMap = new Map()): Array<ɵStyleDataMap> { const errors: Error[] = []; const normalizedKeyframes: Array<ɵStyleDataMap> = []; let previousOffset = -1; let previousKeyframe: ɵStyleDataMap|null = null; keyframes.forEach(kf => { const offset = kf.get('offset') as number; const isSameOffset = offset == previousOffset; const normalizedKeyframe: ɵStyleDataMap = (isSameOffset && previousKeyframe) || new Map(); kf.forEach((val, prop) => { let normalizedProp = prop; let normalizedValue = val; if (prop !== 'offset') { normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors); switch (normalizedValue) { case PRE_STYLE: normalizedValue = preStyles.get(prop)!; break; case AUTO_STYLE: normalizedValue = postStyles.get(prop)!; break; default: normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors); break; } } normalizedKeyframe.set(normalizedProp, normalizedValue); }); if (!isSameOffset) { normalizedKeyframes.push(normalizedKeyframe); } previousKeyframe = normalizedKeyframe; previousOffset = offset; }); if (errors.length) { throw animationFailed(errors); } return normalizedKeyframes; } export function listenOnPlayer( player: AnimationPlayer, eventName: string, event: AnimationEvent|undefined, callback: (event: any) => any) { switch (eventName) { case 'start': player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player))); break; case 'done': player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player))); break; case 'destroy': player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player))); break; } } export function copyAnimationEvent( e: AnimationEvent, phaseName: string, player: AnimationPlayer): AnimationEvent { const totalTime = player.totalTime; const disabled = (player as any).disabled ? true : false; const event = makeAnimationEvent( e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled); const data = (e as any)['_data']; if (data != null) { (event as any)['_data'] = data; } return event; } export function makeAnimationEvent( element: any, triggerName: string, fromState: string, toState: string, phaseName: string = '', totalTime: number = 0, disabled?: boolean): AnimationEvent { return {element, triggerName, fromState, toState, phaseName, totalTime, disabled: !!disabled}; } export function getOrSetDefaultValue(map: Map, key: T, defaultValue: V) { let value = map.get(key); if (!value) { map.set(key, value = defaultValue); } return value; } export function parseTimelineCommand(command: string): [string, string] { const separatorPos = command.indexOf(':'); const id = command.substring(1, separatorPos); const action = command.slice(separatorPos + 1); return [id, action]; } let _contains: (elm1: any, elm2: any) => boolean = (elm1: any, elm2: any) => false; let _query: (element: any, selector: string, multi: boolean) => any[] = (element: any, selector: string, multi: boolean) => { return []; }; let _documentElement: unknown|null = null; export function getParentElement(element: any): unknown|null { const parent = element.parentNode || element.host; // consider host to support shadow DOM if (parent === _documentElement) { return null; } return parent; } // Define utility methods for browsers and platform-server(domino) where Element // and utility methods exist. const _isNode = isNode(); if (_isNode || typeof Element !== 'undefined') { if (!isBrowser()) { _contains = (elm1, elm2) => elm1.contains(elm2); } else { // Read the document element in an IIFE that's been marked pure to avoid a top-level property // read that may prevent tree-shaking. _documentElement = /* @__PURE__ */ (() => document.documentElement)(); _contains = (elm1, elm2) => { while (elm2) { if (elm2 === elm1) { return true; } elm2 = getParentElement(elm2); } return false; }; } _query = (element: any, selector: string, multi: boolean): any[] => { if (multi) { return Array.from(element.querySelectorAll(selector)); } const elem = element.querySelector(selector); return elem ? [elem] : []; }; } function containsVendorPrefix(prop: string): boolean { // Webkit is the only real popular vendor prefix nowadays // cc: http://shouldiprefix.com/ return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit } let _CACHED_BODY: {style: any}|null = null; let _IS_WEBKIT = false; export function validateStyleProperty(prop: string): boolean { if (!_CACHED_BODY) { _CACHED_BODY = getBodyNode() || {}; _IS_WEBKIT = _CACHED_BODY!.style ? ('WebkitAppearance' in _CACHED_BODY!.style) : false; } let result = true; if (_CACHED_BODY!.style && !containsVendorPrefix(prop)) { result = prop in _CACHED_BODY!.style; if (!result && _IS_WEBKIT) { const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1); result = camelProp in _CACHED_BODY!.style; } } return result; } export function validateWebAnimatableStyleProperty(prop: string): boolean { return ANIMATABLE_PROP_SET.has(prop); } export function getBodyNode(): any|null { if (typeof document != 'undefined') { return document.body; } return null; } export const containsElement = _contains; export const invokeQuery = _query; export function hypenatePropsKeys(original: ɵStyleDataMap): ɵStyleDataMap { const newMap: ɵStyleDataMap = new Map(); original.forEach((val, prop) => { const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2'); newMap.set(newProp, val); }); return newMap; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, NoopAnimationPlayer} from '@angular/animations'; import {Injectable} from '@angular/core'; import {containsElement, getParentElement, invokeQuery, validateStyleProperty} from './shared'; /** * @publicApi */ @Injectable() export class NoopAnimationDriver implements AnimationDriver { validateStyleProperty(prop: string): boolean { return validateStyleProperty(prop); } matchesElement(_element: any, _selector: string): boolean { // This method is deprecated and no longer in use so we return false. return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return defaultValue || ''; } animate( element: any, keyframes: Array>, duration: number, delay: number, easing: string, previousPlayers: any[] = [], scrubberAccessRequested?: boolean): AnimationPlayer { return new NoopAnimationPlayer(duration, delay); } } /** * @publicApi */ export abstract class AnimationDriver { static NOOP: AnimationDriver = (/* @__PURE__ */ new NoopAnimationDriver()); abstract validateStyleProperty(prop: string): boolean; abstract validateAnimatableStyleProperty?: (prop: string) => boolean; /** * @deprecated No longer in use. Will be removed. */ abstract matchesElement(element: any, selector: string): boolean; abstract containsElement(elm1: any, elm2: any): boolean; /** * Obtains the parent element, if any. `null` is returned if the element does not have a parent. */ abstract getParentElement(element: unknown): unknown; abstract query(element: any, selector: string, multi: boolean): any[]; abstract computeStyle(element: any, prop: string, defaultValue?: string): string; abstract animate( element: any, keyframes: Array>, duration: number, delay: number, easing?: string|null, previousPlayers?: any[], scrubberAccessRequested?: boolean): any; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationMetadata, AnimationMetadataType, AnimationOptions, sequence, ɵStyleData, ɵStyleDataMap} from '@angular/animations'; import {Ast as AnimationAst, AstVisitor as AnimationAstVisitor} from './dsl/animation_ast'; import {AnimationDslVisitor} from './dsl/animation_dsl_visitor'; import {invalidNodeType, invalidParamValue, invalidStyleParams, invalidTimingValue, negativeDelayValue, negativeStepValue} from './error_helpers'; import {isNode} from './render/shared'; export const ONE_SECOND = 1000; export const SUBSTITUTION_EXPR_START = '{{'; export const SUBSTITUTION_EXPR_END = '}}'; export const ENTER_CLASSNAME = 'ng-enter'; export const LEAVE_CLASSNAME = 'ng-leave'; export const NG_TRIGGER_CLASSNAME = 'ng-trigger'; export const NG_TRIGGER_SELECTOR = '.ng-trigger'; export const NG_ANIMATING_CLASSNAME = 'ng-animating'; export const NG_ANIMATING_SELECTOR = '.ng-animating'; export function resolveTimingValue(value: string|number) { if (typeof value == 'number') return value; const matches = value.match(/^(-?[\\.\\d]+)(m?s)/); if (!matches || matches.length < 2) return 0; return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); } function _convertTimeValueToMS(value: number, unit: string): number { switch (unit) { case 's': return value * ONE_SECOND; default: // ms or something else return value; } } export function resolveTiming( timings: string|number|AnimateTimings, errors: Error[], allowNegativeValues?: boolean) { return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues); } function parseTimeExpression( exp: string|number, errors: Error[], allowNegativeValues?: boolean): AnimateTimings { const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i; let duration: number; let delay: number = 0; let easing: string = ''; if (typeof exp === 'string') { const matches = exp.match(regex); if (matches === null) { errors.push(invalidTimingValue(exp)); return {duration: 0, delay: 0, easing: ''}; } duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]); const delayMatch = matches[3]; if (delayMatch != null) { delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]); } const easingVal = matches[5]; if (easingVal) { easing = easingVal; } } else { duration = exp; } if (!allowNegativeValues) { let containsErrors = false; let startIndex = errors.length; if (duration < 0) { errors.push(negativeStepValue()); containsErrors = true; } if (delay < 0) { errors.push(negativeDelayValue()); containsErrors = true; } if (containsErrors) { errors.splice(startIndex, 0, invalidTimingValue(exp)); } } return {duration, delay, easing}; } export function copyObj( obj: {[key: string]: any}, destination: {[key: string]: any} = {}): {[key: string]: any} { Object.keys(obj).forEach(prop => { destination[prop] = obj[prop]; }); return destination; } export function convertToMap(obj: ɵStyleData): ɵStyleDataMap { const styleMap: ɵStyleDataMap = new Map(); Object.keys(obj).forEach(prop => { const val = obj[prop]; styleMap.set(prop, val); }); return styleMap; } export function normalizeKeyframes(keyframes: Array<ɵStyleData>| Array<ɵStyleDataMap>): Array<ɵStyleDataMap> { if (!keyframes.length) { return []; } if (keyframes[0] instanceof Map) { return keyframes as Array<ɵStyleDataMap>; } return keyframes.map(kf => convertToMap(kf as ɵStyleData)); } export function normalizeStyles(styles: ɵStyleDataMap|Array<ɵStyleDataMap>): ɵStyleDataMap { const normalizedStyles: ɵStyleDataMap = new Map(); if (Array.isArray(styles)) { styles.forEach(data => copyStyles(data, normalizedStyles)); } else { copyStyles(styles, normalizedStyles); } return normalizedStyles; } export function copyStyles( styles: ɵStyleDataMap, destination: ɵStyleDataMap = new Map(), backfill?: ɵStyleDataMap): ɵStyleDataMap { if (backfill) { for (let [prop, val] of backfill) { destination.set(prop, val); } } for (let [prop, val] of styles) { destination.set(prop, val); } return destination; } function getStyleAttributeString(element: any, key: string, value: string) { // Return the key-value pair string to be added to the style attribute for the // given CSS style key. if (value) { return key + ':' + value + ';'; } else { return ''; } } function writeStyleAttribute(element: any) { // Read the style property of the element and manually reflect it to the // style attribute. This is needed because Domino on platform-server doesn't // understand the full set of allowed CSS properties and doesn't reflect some // of them automatically. let styleAttrValue = ''; for (let i = 0; i < element.style.length; i++) { const key = element.style.item(i); styleAttrValue += getStyleAttributeString(element, key, element.style.getPropertyValue(key)); } for (const key in element.style) { // Skip internal Domino properties that don't need to be reflected. if (!element.style.hasOwnProperty(key) || key.startsWith('_')) { continue; } const dashKey = camelCaseToDashCase(key); styleAttrValue += getStyleAttributeString(element, dashKey, element.style[key]); } element.setAttribute('style', styleAttrValue); } export function setStyles(element: any, styles: ɵStyleDataMap, formerStyles?: ɵStyleDataMap) { if (element['style']) { styles.forEach((val, prop) => { const camelProp = dashCaseToCamelCase(prop); if (formerStyles && !formerStyles.has(prop)) { formerStyles.set(prop, element.style[camelProp]); } element.style[camelProp] = val; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function eraseStyles(element: any, styles: ɵStyleDataMap) { if (element['style']) { styles.forEach((_, prop) => { const camelProp = dashCaseToCamelCase(prop); element.style[camelProp] = ''; }); // On the server set the 'style' attribute since it's not automatically reflected. if (isNode()) { writeStyleAttribute(element); } } } export function normalizeAnimationEntry(steps: AnimationMetadata| AnimationMetadata[]): AnimationMetadata { if (Array.isArray(steps)) { if (steps.length == 1) return steps[0]; return sequence(steps); } return steps as AnimationMetadata; } export function validateStyleParams( value: string|number|null|undefined, options: AnimationOptions, errors: Error[]) { const params = options.params || {}; const matches = extractStyleParams(value); if (matches.length) { matches.forEach(varName => { if (!params.hasOwnProperty(varName)) { errors.push(invalidStyleParams(varName)); } }); } } const PARAM_REGEX = new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g'); export function extractStyleParams(value: string|number|null|undefined): string[] { let params: string[] = []; if (typeof value === 'string') { let match: any; while (match = PARAM_REGEX.exec(value)) { params.push(match[1] as string); } PARAM_REGEX.lastIndex = 0; } return params; } export function interpolateParams( value: string|number, params: {[name: string]: any}, errors: Error[]): string|number { const original = value.toString(); const str = original.replace(PARAM_REGEX, (_, varName) => { let localVal = params[varName]; // this means that the value was never overridden by the data passed in by the user if (localVal == null) { errors.push(invalidParamValue(varName)); localVal = ''; } return localVal.toString(); }); // we do this to assert that numeric values stay as they are return str == original ? value : str; } export function iteratorToArray(iterator: any): any[] { const arr: any[] = []; let item = iterator.next(); while (!item.done) { arr.push(item.value); item = iterator.next(); } return arr; } const DASH_CASE_REGEXP = /-+([a-z0-9])/g; export function dashCaseToCamelCase(input: string): string { return input.replace(DASH_CASE_REGEXP, (...m: any[]) => m[1].toUpperCase()); } export function camelCaseToDashCase(input: string): string { return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); } export function allowPreviousPlayerStylesMerge(duration: number, delay: number) { return duration === 0 || delay === 0; } export function balancePreviousStylesIntoKeyframes( element: any, keyframes: Array<ɵStyleDataMap>, previousStyles: ɵStyleDataMap) { if (previousStyles.size && keyframes.length) { let startingKeyframe = keyframes[0]; let missingStyleProps: string[] = []; previousStyles.forEach((val, prop) => { if (!startingKeyframe.has(prop)) { missingStyleProps.push(prop); } startingKeyframe.set(prop, val); }); if (missingStyleProps.length) { for (let i = 1; i < keyframes.length; i++) { let kf = keyframes[i]; missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop))); } } } return keyframes; } export function visitDslNode( visitor: AnimationDslVisitor, node: AnimationMetadata, context: any): any; export function visitDslNode( visitor: AnimationAstVisitor, node: AnimationAst, context: any): any; export function visitDslNode(visitor: any, node: any, context: any): any { switch (node.type) { case AnimationMetadataType.Trigger: return visitor.visitTrigger(node, context); case AnimationMetadataType.State: return visitor.visitState(node, context); case AnimationMetadataType.Transition: return visitor.visitTransition(node, context); case AnimationMetadataType.Sequence: return visitor.visitSequence(node, context); case AnimationMetadataType.Group: return visitor.visitGroup(node, context); case AnimationMetadataType.Animate: return visitor.visitAnimate(node, context); case AnimationMetadataType.Keyframes: return visitor.visitKeyframes(node, context); case AnimationMetadataType.Style: return visitor.visitStyle(node, context); case AnimationMetadataType.Reference: return visitor.visitReference(node, context); case AnimationMetadataType.AnimateChild: return visitor.visitAnimateChild(node, context); case AnimationMetadataType.AnimateRef: return visitor.visitAnimateRef(node, context); case AnimationMetadataType.Query: return visitor.visitQuery(node, context); case AnimationMetadataType.Stagger: return visitor.visitStagger(node, context); default: throw invalidNodeType(node.type); } } export function computeStyle(element: any, prop: string): string { return (window.getComputedStyle(element))[prop]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode; function createListOfWarnings(warnings: string[]): string { const LINE_START = '\ - '; return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`; } export function warnValidation(warnings: string[]): void { NG_DEV_MODE && console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`); } export function warnTriggerBuild(name: string, warnings: string[]): void { NG_DEV_MODE && console.warn(`The animation trigger \"${name}\" has built with the following warnings:${ createListOfWarnings(warnings)}`); } export function warnRegister(warnings: string[]): void { NG_DEV_MODE && console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`); } export function triggerParsingWarnings(name: string, warnings: string[]): void { NG_DEV_MODE && console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${ createListOfWarnings(warnings)}`); } export function pushUnrecognizedPropertiesWarning(warnings: string[], props: string[]): void { if (props.length) { warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {invalidExpression, invalidTransitionAlias} from '../error_helpers'; export const ANY_STATE = '*'; export declare type TransitionMatcherFn = (fromState: any, toState: any, element: any, params: {[key: string]: any}) => boolean; export function parseTransitionExpr( transitionValue: string|TransitionMatcherFn, errors: Error[]): TransitionMatcherFn[] { const expressions: TransitionMatcherFn[] = []; if (typeof transitionValue == 'string') { transitionValue.split(/\\s*,\\s*/).forEach( str => parseInnerTransitionStr(str, expressions, errors)); } else { expressions.push(transitionValue); } return expressions; } function parseInnerTransitionStr( eventStr: string, expressions: TransitionMatcherFn[], errors: Error[]) { if (eventStr[0] == ':') { const result = parseAnimationAlias(eventStr, errors); if (typeof result == 'function') { expressions.push(result); return; } eventStr = result; } const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/); if (match == null || match.length < 4) { errors.push(invalidExpression(eventStr)); return expressions; } const fromState = match[1]; const separator = match[2]; const toState = match[3]; expressions.push(makeLambdaFromStates(fromState, toState)); const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE; if (separator[0] == '<' && !isFullAnyStateExpr) { expressions.push(makeLambdaFromStates(toState, fromState)); } } function parseAnimationAlias(alias: string, errors: Error[]): string|TransitionMatcherFn { switch (alias) { case ':enter': return 'void => *'; case ':leave': return '* => void'; case ':increment': return (fromState: any, toState: any): boolean => parseFloat(toState) > parseFloat(fromState); case ':decrement': return (fromState: any, toState: any): boolean => parseFloat(toState) < parseFloat(fromState); default: errors.push(invalidTransitionAlias(alias)); return '* => *'; } } // DO NOT REFACTOR ... keep the follow set instantiations // with the values intact (closure compiler for some reason // removes follow-up lines that add the values outside of // the constructor... const TRUE_BOOLEAN_VALUES = new Set(['true', '1']); const FALSE_BOOLEAN_VALUES = new Set(['false', '0']); function makeLambdaFromStates(lhs: string, rhs: string): TransitionMatcherFn { const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs); const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs); return (fromState: any, toState: any): boolean => { let lhsMatch = lhs == ANY_STATE || lhs == fromState; let rhsMatch = rhs == ANY_STATE || rhs == toState; if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') { lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs); } if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') { rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs); } return lhsMatch && rhsMatch; }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateTimings, AnimationAnimateChildMetadata, AnimationAnimateMetadata, AnimationAnimateRefMetadata, AnimationGroupMetadata, AnimationKeyframesSequenceMetadata, AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationQueryMetadata, AnimationQueryOptions, AnimationReferenceMetadata, AnimationSequenceMetadata, AnimationStaggerMetadata, AnimationStateMetadata, AnimationStyleMetadata, AnimationTransitionMetadata, AnimationTriggerMetadata, AUTO_STYLE, style, ɵStyleDataMap} from '@angular/animations'; import {invalidDefinition, invalidKeyframes, invalidOffset, invalidParallelAnimation, invalidProperty, invalidStagger, invalidState, invalidStyleValue, invalidTrigger, keyframeOffsetsOutOfOrder, keyframesMissingOffsets} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {getOrSetDefaultValue} from '../render/shared'; import {convertToMap, copyObj, extractStyleParams, iteratorToArray, NG_ANIMATING_SELECTOR, NG_TRIGGER_SELECTOR, normalizeAnimationEntry, resolveTiming, SUBSTITUTION_EXPR_START, validateStyleParams, visitDslNode} from '../util'; import {pushUnrecognizedPropertiesWarning} from '../warning_helpers'; import {AnimateAst, AnimateChildAst, AnimateRefAst, Ast, DynamicTimingAst, GroupAst, KeyframesAst, QueryAst, ReferenceAst, SequenceAst, StaggerAst, StateAst, StyleAst, TimingAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationDslVisitor} from './animation_dsl_visitor'; import {parseTransitionExpr} from './animation_transition_expr'; const SELF_TOKEN = ':self'; const SELF_TOKEN_REGEX = new RegExp(`\\s*${SELF_TOKEN}\\s*,?`, 'g'); /* * [Validation] * The visitor code below will traverse the animation AST generated by the animation verb functions * (the output is a tree of objects) and attempt to perform a series of validations on the data. The * following corner-cases will be validated: * * 1. Overlap of animations * Given that a CSS property cannot be animated in more than one place at the same time, it's * important that this behavior is detected and validated. The way in which this occurs is that * each time a style property is examined, a string-map containing the property will be updated with * the start and end times for when the property is used within an animation step. * * If there are two or more parallel animations that are currently running (these are invoked by the * group()) on the same element then the validator will throw an error. Since the start/end timing * values are collected for each property then if the current animation step is animating the same * property and its timing values fall anywhere into the window of time that the property is * currently being animated within then this is what causes an error. * * 2. Timing values * The validator will validate to see if a timing value of `duration delay easing` or * `durationNumber` is valid or not. * * (note that upon validation the code below will replace the timing data with an object containing * {duration,delay,easing}. * * 3. Offset Validation * Each of the style() calls are allowed to have an offset value when placed inside of keyframes(). * Offsets within keyframes() are considered valid when: * * - No offsets are used at all * - Each style() entry contains an offset value * - Each offset is between 0 and 1 * - Each offset is greater to or equal than the previous one * * Otherwise an error will be thrown. */ export function buildAnimationAst( driver: AnimationDriver, metadata: AnimationMetadata|AnimationMetadata[], errors: Error[], warnings: string[]): Ast { return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings); } const ROOT_SELECTOR = ''; export class AnimationAstBuilderVisitor implements AnimationDslVisitor { constructor(private _driver: AnimationDriver) {} build(metadata: AnimationMetadata|AnimationMetadata[], errors: Error[], warnings: string[]): Ast { const context = new AnimationAstBuilderContext(errors); this._resetContextStyleTimingState(context); const ast = >visitDslNode(this, normalizeAnimationEntry(metadata), context); if (typeof ngDevMode === 'undefined' || ngDevMode) { if (context.unsupportedCSSPropertiesFound.size) { pushUnrecognizedPropertiesWarning( warnings, [...context.unsupportedCSSPropertiesFound.keys()], ); } } return ast; } private _resetContextStyleTimingState(context: AnimationAstBuilderContext) { context.currentQuerySelector = ROOT_SELECTOR; context.collectedStyles = new Map>(); context.collectedStyles.set(ROOT_SELECTOR, new Map()); context.currentTime = 0; } visitTrigger(metadata: AnimationTriggerMetadata, context: AnimationAstBuilderContext): TriggerAst { let queryCount = context.queryCount = 0; let depCount = context.depCount = 0; const states: StateAst[] = []; const transitions: TransitionAst[] = []; if (metadata.name.charAt(0) == '@') { context.errors.push(invalidTrigger()); } metadata.definitions.forEach(def => { this._resetContextStyleTimingState(context); if (def.type == AnimationMetadataType.State) { const stateDef = def as AnimationStateMetadata; const name = stateDef.name; name.toString().split(/\\s*,\\s*/).forEach(n => { stateDef.name = n; states.push(this.visitState(stateDef, context)); }); stateDef.name = name; } else if (def.type == AnimationMetadataType.Transition) { const transition = this.visitTransition(def as AnimationTransitionMetadata, context); queryCount += transition.queryCount; depCount += transition.depCount; transitions.push(transition); } else { context.errors.push(invalidDefinition()); } }); return { type: AnimationMetadataType.Trigger, name: metadata.name, states, transitions, queryCount, depCount, options: null }; } visitState(metadata: AnimationStateMetadata, context: AnimationAstBuilderContext): StateAst { const styleAst = this.visitStyle(metadata.styles, context); const astParams = (metadata.options && metadata.options.params) || null; if (styleAst.containsDynamicStyles) { const missingSubs = new Set(); const params = astParams || {}; styleAst.styles.forEach(style => { if (style instanceof Map) { style.forEach(value => { extractStyleParams(value).forEach(sub => { if (!params.hasOwnProperty(sub)) { missingSubs.add(sub); } }); }); } }); if (missingSubs.size) { const missingSubsArr = iteratorToArray(missingSubs.values()); context.errors.push(invalidState(metadata.name, missingSubsArr)); } } return { type: AnimationMetadataType.State, name: metadata.name, style: styleAst, options: astParams ? {params: astParams} : null }; } visitTransition(metadata: AnimationTransitionMetadata, context: AnimationAstBuilderContext): TransitionAst { context.queryCount = 0; context.depCount = 0; const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context); const matchers = parseTransitionExpr(metadata.expr, context.errors); return { type: AnimationMetadataType.Transition, matchers, animation, queryCount: context.queryCount, depCount: context.depCount, options: normalizeAnimationOptions(metadata.options) }; } visitSequence(metadata: AnimationSequenceMetadata, context: AnimationAstBuilderContext): SequenceAst { return { type: AnimationMetadataType.Sequence, steps: metadata.steps.map(s => visitDslNode(this, s, context)), options: normalizeAnimationOptions(metadata.options) }; } visitGroup(metadata: AnimationGroupMetadata, context: AnimationAstBuilderContext): GroupAst { const currentTime = context.currentTime; let furthestTime = 0; const steps = metadata.steps.map(step => { context.currentTime = currentTime; const innerAst = visitDslNode(this, step, context); furthestTime = Math.max(furthestTime, context.currentTime); return innerAst; }); context.currentTime = furthestTime; return { type: AnimationMetadataType.Group, steps, options: normalizeAnimationOptions(metadata.options) }; } visitAnimate(metadata: AnimationAnimateMetadata, context: AnimationAstBuilderContext): AnimateAst { const timingAst = constructTimingAst(metadata.timings, context.errors); context.currentAnimateTimings = timingAst; let styleAst: StyleAst|KeyframesAst; let styleMetadata: AnimationStyleMetadata|AnimationKeyframesSequenceMetadata = metadata.styles ? metadata.styles : style({}); if (styleMetadata.type == AnimationMetadataType.Keyframes) { styleAst = this.visitKeyframes(styleMetadata as AnimationKeyframesSequenceMetadata, context); } else { let styleMetadata = metadata.styles as AnimationStyleMetadata; let isEmpty = false; if (!styleMetadata) { isEmpty = true; const newStyleData: {[prop: string]: string|number} = {}; if (timingAst.easing) { newStyleData['easing'] = timingAst.easing; } styleMetadata = style(newStyleData); } context.currentTime += timingAst.duration + timingAst.delay; const _styleAst = this.visitStyle(styleMetadata, context); _styleAst.isEmptyStep = isEmpty; styleAst = _styleAst; } context.currentAnimateTimings = null; return { type: AnimationMetadataType.Animate, timings: timingAst, style: styleAst, options: null }; } visitStyle(metadata: AnimationStyleMetadata, context: AnimationAstBuilderContext): StyleAst { const ast = this._makeStyleAst(metadata, context); this._validateStyleAst(ast, context); return ast; } private _makeStyleAst(metadata: AnimationStyleMetadata, context: AnimationAstBuilderContext): StyleAst { const styles: Array<(ɵStyleDataMap | string)> = []; const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles]; for (let styleTuple of metadataStyles) { if (typeof styleTuple === 'string') { if (styleTuple === AUTO_STYLE) { styles.push(styleTuple); } else { context.errors.push(invalidStyleValue(styleTuple)); } } else { styles.push(convertToMap(styleTuple)); } } let containsDynamicStyles = false; let collectedEasing: string|null = null; styles.forEach(styleData => { if (styleData instanceof Map) { if (styleData.has('easing')) { collectedEasing = styleData.get('easing') as string; styleData.delete('easing'); } if (!containsDynamicStyles) { for (let value of styleData.values()) { if (value!.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) { containsDynamicStyles = true; break; } } } } }); return { type: AnimationMetadataType.Style, styles, easing: collectedEasing, offset: metadata.offset, containsDynamicStyles, options: null }; } private _validateStyleAst(ast: StyleAst, context: AnimationAstBuilderContext): void { const timings = context.currentAnimateTimings; let endTime = context.currentTime; let startTime = context.currentTime; if (timings && startTime > 0) { startTime -= timings.duration + timings.delay; } ast.styles.forEach(tuple => { if (typeof tuple === 'string') return; tuple.forEach((value, prop) => { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (!this._driver.validateStyleProperty(prop)) { tuple.delete(prop); context.unsupportedCSSPropertiesFound.add(prop); return; } } // This is guaranteed to have a defined Map at this querySelector location making it // safe to add the assertion here. It is set as a default empty map in prior methods. const collectedStyles = context.collectedStyles.get(context.currentQuerySelector!)!; const collectedEntry = collectedStyles.get(prop); let updateCollectedStyle = true; if (collectedEntry) { if (startTime != endTime && startTime >= collectedEntry.startTime && endTime <= collectedEntry.endTime) { context.errors.push(invalidParallelAnimation( prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime)); updateCollectedStyle = false; } // we always choose the smaller start time value since we // want to have a record of the entire animation window where // the style property is being animated in between startTime = collectedEntry.startTime; } if (updateCollectedStyle) { collectedStyles.set(prop, {startTime, endTime}); } if (context.options) { validateStyleParams(value, context.options, context.errors); } }); }); } visitKeyframes(metadata: AnimationKeyframesSequenceMetadata, context: AnimationAstBuilderContext): KeyframesAst { const ast: KeyframesAst = {type: AnimationMetadataType.Keyframes, styles: [], options: null}; if (!context.currentAnimateTimings) { context.errors.push(invalidKeyframes()); return ast; } const MAX_KEYFRAME_OFFSET = 1; let totalKeyframesWithOffsets = 0; const offsets: number[] = []; let offsetsOutOfOrder = false; let keyframesOutOfRange = false; let previousOffset: number = 0; const keyframes: StyleAst[] = metadata.steps.map(styles => { const style = this._makeStyleAst(styles, context); let offsetVal: number|null = style.offset != null ? style.offset : consumeOffset(style.styles); let offset: number = 0; if (offsetVal != null) { totalKeyframesWithOffsets++; offset = style.offset = offsetVal; } keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1; offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset; previousOffset = offset; offsets.push(offset); return style; }); if (keyframesOutOfRange) { context.errors.push(invalidOffset()); } if (offsetsOutOfOrder) { context.errors.push(keyframeOffsetsOutOfOrder()); } const length = metadata.steps.length; let generatedOffset = 0; if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) { context.errors.push(keyframesMissingOffsets()); } else if (totalKeyframesWithOffsets == 0) { generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1); } const limit = length - 1; const currentTime = context.currentTime; const currentAnimateTimings = context.currentAnimateTimings!; const animateDuration = currentAnimateTimings.duration; keyframes.forEach((kf, i) => { const offset = generatedOffset > 0 ? (i == limit ? 1 : (generatedOffset * i)) : offsets[i]; const durationUpToThisFrame = offset * animateDuration; context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame; currentAnimateTimings.duration = durationUpToThisFrame; this._validateStyleAst(kf, context); kf.offset = offset; ast.styles.push(kf); }); return ast; } visitReference(metadata: AnimationReferenceMetadata, context: AnimationAstBuilderContext): ReferenceAst { return { type: AnimationMetadataType.Reference, animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), options: normalizeAnimationOptions(metadata.options) }; } visitAnimateChild(metadata: AnimationAnimateChildMetadata, context: AnimationAstBuilderContext): AnimateChildAst { context.depCount++; return { type: AnimationMetadataType.AnimateChild, options: normalizeAnimationOptions(metadata.options) }; } visitAnimateRef(metadata: AnimationAnimateRefMetadata, context: AnimationAstBuilderContext): AnimateRefAst { return { type: AnimationMetadataType.AnimateRef, animation: this.visitReference(metadata.animation, context), options: normalizeAnimationOptions(metadata.options) }; } visitQuery(metadata: AnimationQueryMetadata, context: AnimationAstBuilderContext): QueryAst { const parentSelector = context.currentQuerySelector!; const options = (metadata.options || {}) as AnimationQueryOptions; context.queryCount++; context.currentQuery = metadata; const [selector, includeSelf] = normalizeSelector(metadata.selector); context.currentQuerySelector = parentSelector.length ? (parentSelector + ' ' + selector) : selector; getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map()); const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context); context.currentQuery = null; context.currentQuerySelector = parentSelector; return { type: AnimationMetadataType.Query, selector, limit: options.limit || 0, optional: !!options.optional, includeSelf, animation, originalSelector: metadata.selector, options: normalizeAnimationOptions(metadata.options) }; } visitStagger(metadata: AnimationStaggerMetadata, context: AnimationAstBuilderContext): StaggerAst { if (!context.currentQuery) { context.errors.push(invalidStagger()); } const timings = metadata.timings === 'full' ? {duration: 0, delay: 0, easing: 'full'} : resolveTiming(metadata.timings, context.errors, true); return { type: AnimationMetadataType.Stagger, animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context), timings, options: null }; } } function normalizeSelector(selector: string): [string, boolean] { const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false; if (hasAmpersand) { selector = selector.replace(SELF_TOKEN_REGEX, ''); } // Note: the :enter and :leave aren't normalized here since those // selectors are filled in at runtime during timeline building selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR) .replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1)) .replace(/:animating/g, NG_ANIMATING_SELECTOR); return [selector, hasAmpersand]; } function normalizeParams(obj: {[key: string]: any}|any): {[key: string]: any}|null { return obj ? copyObj(obj) : null; } export type StyleTimeTuple = { startTime: number; endTime: number; }; export class AnimationAstBuilderContext { public queryCount: number = 0; public depCount: number = 0; public currentTransition: AnimationTransitionMetadata|null = null; public currentQuery: AnimationQueryMetadata|null = null; public currentQuerySelector: string|null = null; public currentAnimateTimings: TimingAst|null = null; public currentTime: number = 0; public collectedStyles = new Map>(); public options: AnimationOptions|null = null; public unsupportedCSSPropertiesFound: Set = new Set(); constructor(public errors: Error[]) {} } type OffsetStyles = string|ɵStyleDataMap; function consumeOffset(styles: OffsetStyles|Array): number|null { if (typeof styles == 'string') return null; let offset: number|null = null; if (Array.isArray(styles)) { styles.forEach(styleTuple => { if (styleTuple instanceof Map && styleTuple.has('offset')) { const obj = styleTuple as ɵStyleDataMap; offset = parseFloat(obj.get('offset') as string); obj.delete('offset'); } }); } else if (styles instanceof Map && styles.has('offset')) { const obj = styles; offset = parseFloat(obj.get('offset') as string); obj.delete('offset'); } return offset; } function constructTimingAst(value: string|number|AnimateTimings, errors: Error[]) { if (value.hasOwnProperty('duration')) { return value as AnimateTimings; } if (typeof value == 'number') { const duration = resolveTiming(value, errors).duration; return makeTimingAst(duration, 0, ''); } const strValue = value as string; const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{'); if (isDynamic) { const ast = makeTimingAst(0, 0, '') as any; ast.dynamic = true; ast.strValue = strValue; return ast as DynamicTimingAst; } const timings = resolveTiming(strValue, errors); return makeTimingAst(timings.duration, timings.delay, timings.easing); } function normalizeAnimationOptions(options: AnimationOptions|null): AnimationOptions { if (options) { options = copyObj(options); if (options['params']) { options['params'] = normalizeParams(options['params'])!; } } else { options = {}; } return options; } function makeTimingAst(duration: number, delay: number, easing: string|null): TimingAst { return {duration, delay, easing}; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {AnimationEngineInstruction, AnimationTransitionInstructionType} from '../render/animation_engine_instruction'; export interface AnimationTimelineInstruction extends AnimationEngineInstruction { element: any; keyframes: Array<ɵStyleDataMap>; preStyleProps: string[]; postStyleProps: string[]; duration: number; delay: number; totalTime: number; easing: string|null; stretchStartingKeyframe?: boolean; subTimeline: boolean; } export function createTimelineInstruction( element: any, keyframes: Array<ɵStyleDataMap>, preStyleProps: string[], postStyleProps: string[], duration: number, delay: number, easing: string|null = null, subTimeline: boolean = false): AnimationTimelineInstruction { return { type: AnimationTransitionInstructionType.TimelineAnimation, element, keyframes, preStyleProps, postStyleProps, duration, delay, totalTime: duration + delay, easing, subTimeline }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationTimelineInstruction} from './animation_timeline_instruction'; export class ElementInstructionMap { private _map = new Map(); get(element: any): AnimationTimelineInstruction[] { return this._map.get(element) || []; } append(element: any, instructions: AnimationTimelineInstruction[]) { let existingInstructions = this._map.get(element); if (!existingInstructions) { this._map.set(element, existingInstructions = []); } existingInstructions.push(...instructions); } has(element: any): boolean { return this._map.has(element); } clear() { this._map.clear(); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimateChildOptions, AnimateTimings, AnimationMetadataType, AnimationOptions, AnimationQueryOptions, AUTO_STYLE, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {invalidQuery} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {copyStyles, interpolateParams, iteratorToArray, resolveTiming, resolveTimingValue, visitDslNode} from '../util'; import {AnimateAst, AnimateChildAst, AnimateRefAst, Ast, AstVisitor, DynamicTimingAst, GroupAst, KeyframesAst, QueryAst, ReferenceAst, SequenceAst, StaggerAst, StateAst, StyleAst, TimingAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationTimelineInstruction, createTimelineInstruction} from './animation_timeline_instruction'; import {ElementInstructionMap} from './element_instruction_map'; const ONE_FRAME_IN_MILLISECONDS = 1; const ENTER_TOKEN = ':enter'; const ENTER_TOKEN_REGEX = new RegExp(ENTER_TOKEN, 'g'); const LEAVE_TOKEN = ':leave'; const LEAVE_TOKEN_REGEX = new RegExp(LEAVE_TOKEN, 'g'); /* * The code within this file aims to generate web-animations-compatible keyframes from Angular's * animation DSL code. * * The code below will be converted from: * * ``` * sequence([ * style({ opacity: 0 }), * animate(1000, style({ opacity: 0 })) * ]) * ``` * * To: * ``` * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }] * duration = 1000 * delay = 0 * easing = '' * ``` * * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a * combination of AST traversal and merge-sort-like algorithms are used. * * [AST Traversal] * Each of the animation verbs, when executed, will return an string-map object representing what * type of action it is (style, animate, group, etc...) and the data associated with it. This means * that when functional composition mix of these functions is evaluated (like in the example above) * then it will end up producing a tree of objects representing the animation itself. * * When this animation object tree is processed by the visitor code below it will visit each of the * verb statements within the visitor. And during each visit it will build the context of the * animation keyframes by interacting with the `TimelineBuilder`. * * [TimelineBuilder] * This class is responsible for tracking the styles and building a series of keyframe objects for a * timeline between a start and end time. The builder starts off with an initial timeline and each * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a * `sequence()` then it will generate a sub timeline for each step as well as a new one after * they are complete. * * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub * timeline was created (based on one of the cases above) then the parent timeline will attempt to * merge the styles used within the sub timelines into itself (only with group() this will happen). * This happens with a merge operation (much like how the merge works in mergeSort) and it will only * copy the most recently used styles from the sub timelines into the parent timeline. This ensures * that if the styles are used later on in another phase of the animation then they will be the most * up-to-date values. * * [How Missing Styles Are Updated] * Each timeline has a `backFill` property which is responsible for filling in new styles into * already processed keyframes if a new style shows up later within the animation sequence. * * ``` * sequence([ * style({ width: 0 }), * animate(1000, style({ width: 100 })), * animate(1000, style({ width: 200 })), * animate(1000, style({ width: 300 })) * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere * else * ]) * ``` * * What is happening here is that the `height` value is added later in the sequence, but is missing * from all previous animation steps. Therefore when a keyframe is created it would also be missing * from all previous keyframes up until where it is first used. For the timeline keyframe generation * to properly fill in the style it will place the previous value (the value from the parent * timeline) or a default value of `*` into the backFill map. The `copyStyles` method in util.ts * handles propagating that backfill map to the styles object. * * When a sub-timeline is created it will have its own backFill property. This is done so that * styles present within the sub-timeline do not accidentally seep into the previous/future timeline * keyframes * * [Validation] * The code in this file is not responsible for validation. That functionality happens with within * the `AnimationValidatorVisitor` code. */ export function buildAnimationTimelines( driver: AnimationDriver, rootElement: any, ast: Ast, enterClassName: string, leaveClassName: string, startingStyles: ɵStyleDataMap = new Map(), finalStyles: ɵStyleDataMap = new Map(), options: AnimationOptions, subInstructions?: ElementInstructionMap, errors: Error[] = []): AnimationTimelineInstruction[] { return new AnimationTimelineBuilderVisitor().buildKeyframes( driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors); } export class AnimationTimelineBuilderVisitor implements AstVisitor { buildKeyframes( driver: AnimationDriver, rootElement: any, ast: Ast, enterClassName: string, leaveClassName: string, startingStyles: ɵStyleDataMap, finalStyles: ɵStyleDataMap, options: AnimationOptions, subInstructions?: ElementInstructionMap, errors: Error[] = []): AnimationTimelineInstruction[] { subInstructions = subInstructions || new ElementInstructionMap(); const context = new AnimationTimelineContext( driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []); context.options = options; const delay = options.delay ? resolveTimingValue(options.delay) : 0; context.currentTimeline.delayNextStep(delay); context.currentTimeline.setStyles([startingStyles], null, context.errors, options); visitDslNode(this, ast, context); // this checks to see if an actual animation happened const timelines = context.timelines.filter(timeline => timeline.containsAnimation()); // note: we just want to apply the final styles for the rootElement, so we do not // just apply the styles to the last timeline but the last timeline which // element is the root one (basically `*`-styles are replaced with the actual // state style values only for the root element) if (timelines.length && finalStyles.size) { let lastRootTimeline: TimelineBuilder|undefined; for (let i = timelines.length - 1; i >= 0; i--) { const timeline = timelines[i]; if (timeline.element === rootElement) { lastRootTimeline = timeline; break; } } if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) { lastRootTimeline.setStyles([finalStyles], null, context.errors, options); } } return timelines.length ? timelines.map(timeline => timeline.buildKeyframes()) : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)]; } visitTrigger(ast: TriggerAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitState(ast: StateAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitTransition(ast: TransitionAst, context: AnimationTimelineContext): any { // these values are not visited in this AST } visitAnimateChild(ast: AnimateChildAst, context: AnimationTimelineContext): any { const elementInstructions = context.subInstructions.get(context.element); if (elementInstructions) { const innerContext = context.createSubContext(ast.options); const startTime = context.currentTimeline.currentTime; const endTime = this._visitSubInstructions( elementInstructions, innerContext, innerContext.options as AnimateChildOptions); if (startTime != endTime) { // we do this on the upper context because we created a sub context for // the sub child animations context.transformIntoNewTimeline(endTime); } } context.previousNode = ast; } visitAnimateRef(ast: AnimateRefAst, context: AnimationTimelineContext): any { const innerContext = context.createSubContext(ast.options); innerContext.transformIntoNewTimeline(); this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext); this.visitReference(ast.animation, innerContext); context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime); context.previousNode = ast; } private _applyAnimationRefDelays( animationsRefsOptions: (AnimationOptions|null)[], context: AnimationTimelineContext, innerContext: AnimationTimelineContext) { for (const animationRefOptions of animationsRefsOptions) { const animationDelay = animationRefOptions?.delay; if (animationDelay) { const animationDelayValue = typeof animationDelay === 'number' ? animationDelay : resolveTimingValue(interpolateParams( animationDelay, animationRefOptions?.params ?? {}, context.errors)); innerContext.delayNextStep(animationDelayValue); } } } private _visitSubInstructions( instructions: AnimationTimelineInstruction[], context: AnimationTimelineContext, options: AnimateChildOptions): number { const startTime = context.currentTimeline.currentTime; let furthestTime = startTime; // this is a special-case for when a user wants to skip a sub // animation from being fired entirely. const duration = options.duration != null ? resolveTimingValue(options.duration) : null; const delay = options.delay != null ? resolveTimingValue(options.delay) : null; if (duration !== 0) { instructions.forEach(instruction => { const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay); furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay); }); } return furthestTime; } visitReference(ast: ReferenceAst, context: AnimationTimelineContext) { context.updateOptions(ast.options, true); visitDslNode(this, ast.animation, context); context.previousNode = ast; } visitSequence(ast: SequenceAst, context: AnimationTimelineContext) { const subContextCount = context.subContextCount; let ctx = context; const options = ast.options; if (options && (options.params || options.delay)) { ctx = context.createSubContext(options); ctx.transformIntoNewTimeline(); if (options.delay != null) { if (ctx.previousNode.type == AnimationMetadataType.Style) { ctx.currentTimeline.snapshotCurrentStyles(); ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; } const delay = resolveTimingValue(options.delay); ctx.delayNextStep(delay); } } if (ast.steps.length) { ast.steps.forEach(s => visitDslNode(this, s, ctx)); // this is here just in case the inner steps only contain or end with a style() call ctx.currentTimeline.applyStylesToKeyframe(); // this means that some animation function within the sequence // ended up creating a sub timeline (which means the current // timeline cannot overlap with the contents of the sequence) if (ctx.subContextCount > subContextCount) { ctx.transformIntoNewTimeline(); } } context.previousNode = ast; } visitGroup(ast: GroupAst, context: AnimationTimelineContext) { const innerTimelines: TimelineBuilder[] = []; let furthestTime = context.currentTimeline.currentTime; const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0; ast.steps.forEach(s => { const innerContext = context.createSubContext(ast.options); if (delay) { innerContext.delayNextStep(delay); } visitDslNode(this, s, innerContext); furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime); innerTimelines.push(innerContext.currentTimeline); }); // this operation is run after the AST loop because otherwise // if the parent timeline's collected styles were updated then // it would pass in invalid data into the new-to-be forked items innerTimelines.forEach( timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline)); context.transformIntoNewTimeline(furthestTime); context.previousNode = ast; } private _visitTiming(ast: TimingAst, context: AnimationTimelineContext): AnimateTimings { if ((ast as DynamicTimingAst).dynamic) { const strValue = (ast as DynamicTimingAst).strValue; const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue; return resolveTiming(timingValue, context.errors); } else { return {duration: ast.duration, delay: ast.delay, easing: ast.easing}; } } visitAnimate(ast: AnimateAst, context: AnimationTimelineContext) { const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context); const timeline = context.currentTimeline; if (timings.delay) { context.incrementTime(timings.delay); timeline.snapshotCurrentStyles(); } const style = ast.style; if (style.type == AnimationMetadataType.Keyframes) { this.visitKeyframes(style, context); } else { context.incrementTime(timings.duration); this.visitStyle(style as StyleAst, context); timeline.applyStylesToKeyframe(); } context.currentAnimateTimings = null; context.previousNode = ast; } visitStyle(ast: StyleAst, context: AnimationTimelineContext) { const timeline = context.currentTimeline; const timings = context.currentAnimateTimings!; // this is a special case for when a style() call // directly follows an animate() call (but not inside of an animate() call) if (!timings && timeline.hasCurrentStyleProperties()) { timeline.forwardFrame(); } const easing = (timings && timings.easing) || ast.easing; if (ast.isEmptyStep) { timeline.applyEmptyStep(easing); } else { timeline.setStyles(ast.styles, easing, context.errors, context.options); } context.previousNode = ast; } visitKeyframes(ast: KeyframesAst, context: AnimationTimelineContext) { const currentAnimateTimings = context.currentAnimateTimings!; const startTime = (context.currentTimeline!).duration; const duration = currentAnimateTimings.duration; const innerContext = context.createSubContext(); const innerTimeline = innerContext.currentTimeline; innerTimeline.easing = currentAnimateTimings.easing; ast.styles.forEach(step => { const offset: number = step.offset || 0; innerTimeline.forwardTime(offset * duration); innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options); innerTimeline.applyStylesToKeyframe(); }); // this will ensure that the parent timeline gets all the styles from // the child even if the new timeline below is not used context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline); // we do this because the window between this timeline and the sub timeline // should ensure that the styles within are exactly the same as they were before context.transformIntoNewTimeline(startTime + duration); context.previousNode = ast; } visitQuery(ast: QueryAst, context: AnimationTimelineContext) { // in the event that the first step before this is a style step we need // to ensure the styles are applied before the children are animated const startTime = context.currentTimeline.currentTime; const options = (ast.options || {}) as AnimationQueryOptions; const delay = options.delay ? resolveTimingValue(options.delay) : 0; if (delay && (context.previousNode.type === AnimationMetadataType.Style || (startTime == 0 && context.currentTimeline.hasCurrentStyleProperties()))) { context.currentTimeline.snapshotCurrentStyles(); context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; } let furthestTime = startTime; const elms = context.invokeQuery( ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors); context.currentQueryTotal = elms.length; let sameElementTimeline: TimelineBuilder|null = null; elms.forEach((element, i) => { context.currentQueryIndex = i; const innerContext = context.createSubContext(ast.options, element); if (delay) { innerContext.delayNextStep(delay); } if (element === context.element) { sameElementTimeline = innerContext.currentTimeline; } visitDslNode(this, ast.animation, innerContext); // this is here just incase the inner steps only contain or end // with a style() call (which is here to signal that this is a preparatory // call to style an element before it is animated again) innerContext.currentTimeline.applyStylesToKeyframe(); const endTime = innerContext.currentTimeline.currentTime; furthestTime = Math.max(furthestTime, endTime); }); context.currentQueryIndex = 0; context.currentQueryTotal = 0; context.transformIntoNewTimeline(furthestTime); if (sameElementTimeline) { context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline); context.currentTimeline.snapshotCurrentStyles(); } context.previousNode = ast; } visitStagger(ast: StaggerAst, context: AnimationTimelineContext) { const parentContext = context.parentContext!; const tl = context.currentTimeline; const timings = ast.timings; const duration = Math.abs(timings.duration); const maxTime = duration * (context.currentQueryTotal - 1); let delay = duration * context.currentQueryIndex; let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing; switch (staggerTransformer) { case 'reverse': delay = maxTime - delay; break; case 'full': delay = parentContext.currentStaggerTime; break; } const timeline = context.currentTimeline; if (delay) { timeline.delayNextStep(delay); } const startingTime = timeline.currentTime; visitDslNode(this, ast.animation, context); context.previousNode = ast; // time = duration + delay // the reason why this computation is so complex is because // the inner timeline may either have a delay value or a stretched // keyframe depending on if a subtimeline is not used or is used. parentContext.currentStaggerTime = (tl.currentTime - startingTime) + (tl.startTime - parentContext.currentTimeline.startTime); } } export declare type StyleAtTime = { time: number; value: string | number; }; const DEFAULT_NOOP_PREVIOUS_NODE = >{}; export class AnimationTimelineContext { public parentContext: AnimationTimelineContext|null = null; public currentTimeline: TimelineBuilder; public currentAnimateTimings: AnimateTimings|null = null; public previousNode: Ast = DEFAULT_NOOP_PREVIOUS_NODE; public subContextCount = 0; public options: AnimationOptions = {}; public currentQueryIndex: number = 0; public currentQueryTotal: number = 0; public currentStaggerTime: number = 0; constructor( private _driver: AnimationDriver, public element: any, public subInstructions: ElementInstructionMap, private _enterClassName: string, private _leaveClassName: string, public errors: Error[], public timelines: TimelineBuilder[], initialTimeline?: TimelineBuilder) { this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0); timelines.push(this.currentTimeline); } get params() { return this.options.params; } updateOptions(options: AnimationOptions|null, skipIfExists?: boolean) { if (!options) return; const newOptions = options as any; let optionsToUpdate = this.options; // NOTE: this will get patched up when other animation methods support duration overrides if (newOptions.duration != null) { (optionsToUpdate as any).duration = resolveTimingValue(newOptions.duration); } if (newOptions.delay != null) { optionsToUpdate.delay = resolveTimingValue(newOptions.delay); } const newParams = newOptions.params; if (newParams) { let paramsToUpdate: {[name: string]: any} = optionsToUpdate.params!; if (!paramsToUpdate) { paramsToUpdate = this.options.params = {}; } Object.keys(newParams).forEach(name => { if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) { paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors); } }); } } private _copyOptions() { const options: AnimationOptions = {}; if (this.options) { const oldParams = this.options.params; if (oldParams) { const params: {[name: string]: any} = options['params'] = {}; Object.keys(oldParams).forEach(name => { params[name] = oldParams[name]; }); } } return options; } createSubContext(options: AnimationOptions|null = null, element?: any, newTime?: number): AnimationTimelineContext { const target = element || this.element; const context = new AnimationTimelineContext( this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0)); context.previousNode = this.previousNode; context.currentAnimateTimings = this.currentAnimateTimings; context.options = this._copyOptions(); context.updateOptions(options); context.currentQueryIndex = this.currentQueryIndex; context.currentQueryTotal = this.currentQueryTotal; context.parentContext = this; this.subContextCount++; return context; } transformIntoNewTimeline(newTime?: number) { this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE; this.currentTimeline = this.currentTimeline.fork(this.element, newTime); this.timelines.push(this.currentTimeline); return this.currentTimeline; } appendInstructionToTimeline( instruction: AnimationTimelineInstruction, duration: number|null, delay: number|null): AnimateTimings { const updatedTimings: AnimateTimings = { duration: duration != null ? duration : instruction.duration, delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay, easing: '' }; const builder = new SubTimelineBuilder( this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe); this.timelines.push(builder); return updatedTimings; } incrementTime(time: number) { this.currentTimeline.forwardTime(this.currentTimeline.duration + time); } delayNextStep(delay: number) { // negative delays are not yet supported if (delay > 0) { this.currentTimeline.delayNextStep(delay); } } invokeQuery( selector: string, originalSelector: string, limit: number, includeSelf: boolean, optional: boolean, errors: Error[]): any[] { let results: any[] = []; if (includeSelf) { results.push(this.element); } if (selector.length > 0) { // only if :self is used then the selector can be empty selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName); selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName); const multi = limit != 1; let elements = this._driver.query(this.element, selector, multi); if (limit !== 0) { elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) : elements.slice(0, limit); } results.push(...elements); } if (!optional && results.length == 0) { errors.push(invalidQuery(originalSelector)); } return results; } } export class TimelineBuilder { public duration: number = 0; // TODO(issue/24571): remove '!'. public easing!: string|null; private _previousKeyframe: ɵStyleDataMap = new Map(); private _currentKeyframe: ɵStyleDataMap = new Map(); private _keyframes = new Map(); private _styleSummary = new Map(); private _localTimelineStyles: ɵStyleDataMap = new Map(); private _globalTimelineStyles: ɵStyleDataMap; private _pendingStyles: ɵStyleDataMap = new Map(); private _backFill: ɵStyleDataMap = new Map(); private _currentEmptyStepKeyframe: ɵStyleDataMap|null = null; constructor( private _driver: AnimationDriver, public element: any, public startTime: number, private _elementTimelineStylesLookup?: Map) { if (!this._elementTimelineStylesLookup) { this._elementTimelineStylesLookup = new Map(); } this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element)!; if (!this._globalTimelineStyles) { this._globalTimelineStyles = this._localTimelineStyles; this._elementTimelineStylesLookup.set(element, this._localTimelineStyles); } this._loadKeyframe(); } containsAnimation(): boolean { switch (this._keyframes.size) { case 0: return false; case 1: return this.hasCurrentStyleProperties(); default: return true; } } hasCurrentStyleProperties(): boolean { return this._currentKeyframe.size > 0; } get currentTime() { return this.startTime + this.duration; } delayNextStep(delay: number) { // in the event that a style() step is placed right before a stagger() // and that style() step is the very first style() value in the animation // then we need to make a copy of the keyframe [0, copy, 1] so that the delay // properly applies the style() values to work with the stagger... const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size; if (this.duration || hasPreStyleStep) { this.forwardTime(this.currentTime + delay); if (hasPreStyleStep) { this.snapshotCurrentStyles(); } } else { this.startTime += delay; } } fork(element: any, currentTime?: number): TimelineBuilder { this.applyStylesToKeyframe(); return new TimelineBuilder( this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup); } private _loadKeyframe() { if (this._currentKeyframe) { this._previousKeyframe = this._currentKeyframe; } this._currentKeyframe = this._keyframes.get(this.duration)!; if (!this._currentKeyframe) { this._currentKeyframe = new Map(); this._keyframes.set(this.duration, this._currentKeyframe); } } forwardFrame() { this.duration += ONE_FRAME_IN_MILLISECONDS; this._loadKeyframe(); } forwardTime(time: number) { this.applyStylesToKeyframe(); this.duration = time; this._loadKeyframe(); } private _updateStyle(prop: string, value: string|number) { this._localTimelineStyles.set(prop, value); this._globalTimelineStyles.set(prop, value); this._styleSummary.set(prop, {time: this.currentTime, value}); } allowOnlyTimelineStyles() { return this._currentEmptyStepKeyframe !== this._currentKeyframe; } applyEmptyStep(easing: string|null) { if (easing) { this._previousKeyframe.set('easing', easing); } // special case for animate(duration): // all missing styles are filled with a `*` value then // if any destination styles are filled in later on the same // keyframe then they will override the overridden styles // We use `_globalTimelineStyles` here because there may be // styles in previous keyframes that are not present in this timeline for (let [prop, value] of this._globalTimelineStyles) { this._backFill.set(prop, value || AUTO_STYLE); this._currentKeyframe.set(prop, AUTO_STYLE); } this._currentEmptyStepKeyframe = this._currentKeyframe; } setStyles( input: Array<(ɵStyleDataMap | string)>, easing: string|null, errors: Error[], options?: AnimationOptions) { if (easing) { this._previousKeyframe.set('easing', easing); } const params = (options && options.params) || {}; const styles = flattenStyles(input, this._globalTimelineStyles); for (let [prop, value] of styles) { const val = interpolateParams(value, params, errors); this._pendingStyles.set(prop, val); if (!this._localTimelineStyles.has(prop)) { this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE); } this._updateStyle(prop, val); } } applyStylesToKeyframe() { if (this._pendingStyles.size == 0) return; this._pendingStyles.forEach((val, prop) => { this._currentKeyframe.set(prop, val); }); this._pendingStyles.clear(); this._localTimelineStyles.forEach((val, prop) => { if (!this._currentKeyframe.has(prop)) { this._currentKeyframe.set(prop, val); } }); } snapshotCurrentStyles() { for (let [prop, val] of this._localTimelineStyles) { this._pendingStyles.set(prop, val); this._updateStyle(prop, val); } } getFinalKeyframe() { return this._keyframes.get(this.duration); } get properties() { const properties: string[] = []; for (let prop in this._currentKeyframe) { properties.push(prop); } return properties; } mergeTimelineCollectedStyles(timeline: TimelineBuilder) { timeline._styleSummary.forEach((details1, prop) => { const details0 = this._styleSummary.get(prop); if (!details0 || details1.time > details0.time) { this._updateStyle(prop, details1.value); } }); } buildKeyframes(): AnimationTimelineInstruction { this.applyStylesToKeyframe(); const preStyleProps = new Set(); const postStyleProps = new Set(); const isEmpty = this._keyframes.size === 1 && this.duration === 0; let finalKeyframes: Array<ɵStyleDataMap> = []; this._keyframes.forEach((keyframe, time) => { const finalKeyframe = copyStyles(keyframe, new Map(), this._backFill); finalKeyframe.forEach((value, prop) => { if (value === PRE_STYLE) { preStyleProps.add(prop); } else if (value === AUTO_STYLE) { postStyleProps.add(prop); } }); if (!isEmpty) { finalKeyframe.set('offset', time / this.duration); } finalKeyframes.push(finalKeyframe); }); const preProps: string[] = preStyleProps.size ? iteratorToArray(preStyleProps.values()) : []; const postProps: string[] = postStyleProps.size ? iteratorToArray(postStyleProps.values()) : []; // special case for a 0-second animation (which is designed just to place styles onscreen) if (isEmpty) { const kf0 = finalKeyframes[0]; const kf1 = new Map(kf0); kf0.set('offset', 0); kf1.set('offset', 1); finalKeyframes = [kf0, kf1]; } return createTimelineInstruction( this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false); } } class SubTimelineBuilder extends TimelineBuilder { public timings: AnimateTimings; constructor( driver: AnimationDriver, element: any, public keyframes: Array<ɵStyleDataMap>, public preStyleProps: string[], public postStyleProps: string[], timings: AnimateTimings, private _stretchStartingKeyframe: boolean = false) { super(driver, element, timings.delay); this.timings = {duration: timings.duration, delay: timings.delay, easing: timings.easing}; } override containsAnimation(): boolean { return this.keyframes.length > 1; } override buildKeyframes(): AnimationTimelineInstruction { let keyframes = this.keyframes; let {delay, duration, easing} = this.timings; if (this._stretchStartingKeyframe && delay) { const newKeyframes: Array<ɵStyleDataMap> = []; const totalTime = duration + delay; const startingGap = delay / totalTime; // the original starting keyframe now starts once the delay is done const newFirstKeyframe = copyStyles(keyframes[0]); newFirstKeyframe.set('offset', 0); newKeyframes.push(newFirstKeyframe); const oldFirstKeyframe = copyStyles(keyframes[0]); oldFirstKeyframe.set('offset', roundOffset(startingGap)); newKeyframes.push(oldFirstKeyframe); /* When the keyframe is stretched then it means that the delay before the animation starts is gone. Instead the first keyframe is placed at the start of the animation and it is then copied to where it starts when the original delay is over. This basically means nothing animates during that delay, but the styles are still rendered. For this to work the original offset values that exist in the original keyframes must be \"warped\" so that they can take the new keyframe + delay into account. delay=1000, duration=1000, keyframes = 0 .5 1 turns into delay=0, duration=2000, keyframes = 0 .33 .66 1 */ // offsets between 1 ... n -1 are all warped by the keyframe stretch const limit = keyframes.length - 1; for (let i = 1; i <= limit; i++) { let kf = copyStyles(keyframes[i]); const oldOffset = kf.get('offset') as number; const timeAtKeyframe = delay + oldOffset * duration; kf.set('offset', roundOffset(timeAtKeyframe / totalTime)); newKeyframes.push(kf); } // the new starting keyframe should be added at the start duration = totalTime; delay = 0; easing = ''; keyframes = newKeyframes; } return createTimelineInstruction( this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true); } } function roundOffset(offset: number, decimalPoints = 3): number { const mult = Math.pow(10, decimalPoints - 1); return Math.round(offset * mult) / mult; } function flattenStyles(input: Array<(ɵStyleDataMap | string)>, allStyles: ɵStyleDataMap) { const styles: ɵStyleDataMap = new Map(); let allProperties: string[]|IterableIterator; input.forEach(token => { if (token === '*') { allProperties = allProperties || allStyles.keys(); for (let prop of allProperties) { styles.set(prop, AUTO_STYLE); } } else { copyStyles(token as ɵStyleDataMap, styles); } }); return styles; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationMetadataType, AnimationOptions, ɵStyleDataMap} from '@angular/animations'; import {buildingFailed, validationFailed} from '../error_helpers'; import {AnimationDriver} from '../render/animation_driver'; import {ENTER_CLASSNAME, LEAVE_CLASSNAME, normalizeStyles} from '../util'; import {warnValidation} from '../warning_helpers'; import {Ast} from './animation_ast'; import {buildAnimationAst} from './animation_ast_builder'; import {buildAnimationTimelines} from './animation_timeline_builder'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; import {ElementInstructionMap} from './element_instruction_map'; export class Animation { private _animationAst: Ast; constructor(private _driver: AnimationDriver, input: AnimationMetadata|AnimationMetadata[]) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst(_driver, input, errors, warnings); if (errors.length) { throw validationFailed(errors); } if (warnings.length) { warnValidation(warnings); } this._animationAst = ast; } buildTimelines( element: any, startingStyles: ɵStyleDataMap|Array<ɵStyleDataMap>, destinationStyles: ɵStyleDataMap|Array<ɵStyleDataMap>, options: AnimationOptions, subInstructions?: ElementInstructionMap): AnimationTimelineInstruction[] { const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) : <ɵStyleDataMap>startingStyles; const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) : <ɵStyleDataMap>destinationStyles; const errors: any = []; subInstructions = subInstructions || new ElementInstructionMap(); const result = buildAnimationTimelines( this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors); if (errors.length) { throw buildingFailed(errors); } return result; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @publicApi */ export abstract class AnimationStyleNormalizer { abstract normalizePropertyName(propertyName: string, errors: Error[]): string; abstract normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string; } /** * @publicApi */ export class NoopAnimationStyleNormalizer { normalizePropertyName(propertyName: string, errors: Error[]): string { return propertyName; } normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string { return value; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {invalidCssUnitValue} from '../../error_helpers'; import {dashCaseToCamelCase} from '../../util'; import {AnimationStyleNormalizer} from './animation_style_normalizer'; const DIMENSIONAL_PROP_SET = new Set([ 'width', 'height', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'left', 'top', 'bottom', 'right', 'fontSize', 'outlineWidth', 'outlineOffset', 'paddingTop', 'paddingLeft', 'paddingBottom', 'paddingRight', 'marginTop', 'marginLeft', 'marginBottom', 'marginRight', 'borderRadius', 'borderWidth', 'borderTopWidth', 'borderLeftWidth', 'borderRightWidth', 'borderBottomWidth', 'textIndent', 'perspective' ]); export class WebAnimationsStyleNormalizer extends AnimationStyleNormalizer { override normalizePropertyName(propertyName: string, errors: Error[]): string { return dashCaseToCamelCase(propertyName); } override normalizeStyleValue( userProvidedProperty: string, normalizedProperty: string, value: string|number, errors: Error[]): string { let unit: string = ''; const strVal = value.toString().trim(); if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') { if (typeof value === 'number') { unit = 'px'; } else { const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/); if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) { errors.push(invalidCssUnitValue(userProvidedProperty, value)); } } } return strVal + unit; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {AnimationEngineInstruction, AnimationTransitionInstructionType} from '../render/animation_engine_instruction'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; export interface AnimationTransitionInstruction extends AnimationEngineInstruction { element: any; triggerName: string; isRemovalTransition: boolean; fromState: string; fromStyles: ɵStyleDataMap; toState: string; toStyles: ɵStyleDataMap; timelines: AnimationTimelineInstruction[]; queriedElements: any[]; preStyleProps: Map>; postStyleProps: Map>; totalTime: number; errors?: Error[]; } export function createTransitionInstruction( element: any, triggerName: string, fromState: string, toState: string, isRemovalTransition: boolean, fromStyles: ɵStyleDataMap, toStyles: ɵStyleDataMap, timelines: AnimationTimelineInstruction[], queriedElements: any[], preStyleProps: Map>, postStyleProps: Map>, totalTime: number, errors?: Error[]): AnimationTransitionInstruction { return { type: AnimationTransitionInstructionType.TransitionAnimation, element, triggerName, isRemovalTransition, fromState, fromStyles, toState, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationOptions, ɵStyleDataMap} from '@angular/animations'; import {AnimationDriver} from '../render/animation_driver'; import {getOrSetDefaultValue} from '../render/shared'; import {copyObj, interpolateParams, iteratorToArray} from '../util'; import {StyleAst, TransitionAst} from './animation_ast'; import {buildAnimationTimelines} from './animation_timeline_builder'; import {AnimationTimelineInstruction} from './animation_timeline_instruction'; import {TransitionMatcherFn} from './animation_transition_expr'; import {AnimationTransitionInstruction, createTransitionInstruction} from './animation_transition_instruction'; import {ElementInstructionMap} from './element_instruction_map'; import {AnimationStyleNormalizer} from './style_normalization/animation_style_normalizer'; const EMPTY_OBJECT = {}; export class AnimationTransitionFactory { constructor( private _triggerName: string, public ast: TransitionAst, private _stateStyles: Map) {} match(currentState: any, nextState: any, element: any, params: {[key: string]: any}): boolean { return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params); } buildStyles(stateName: string|boolean|undefined, params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { let styler = this._stateStyles.get('*'); if (stateName !== undefined) { styler = this._stateStyles.get(stateName?.toString()) || styler; } return styler ? styler.buildStyles(params, errors) : new Map(); } build( driver: AnimationDriver, element: any, currentState: any, nextState: any, enterClassName: string, leaveClassName: string, currentOptions?: AnimationOptions, nextOptions?: AnimationOptions, subInstructions?: ElementInstructionMap, skipAstBuild?: boolean): AnimationTransitionInstruction { const errors: Error[] = []; const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT; const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT; const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors); const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT; const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors); const queriedElements = new Set(); const preStyleMap = new Map>(); const postStyleMap = new Map>(); const isRemoval = nextState === 'void'; const animationOptions: AnimationOptions = { params: applyParamDefaults(nextAnimationParams, transitionAnimationParams), delay: this.ast.options?.delay, }; const timelines = skipAstBuild ? [] : buildAnimationTimelines( driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors); let totalTime = 0; timelines.forEach(tl => { totalTime = Math.max(tl.duration + tl.delay, totalTime); }); if (errors.length) { return createTransitionInstruction( element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors); } timelines.forEach(tl => { const elm = tl.element; const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set()); tl.preStyleProps.forEach(prop => preProps.add(prop)); const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set()); tl.postStyleProps.forEach(prop => postProps.add(prop)); if (elm !== element) { queriedElements.add(elm); } }); if (typeof ngDevMode === 'undefined' || ngDevMode) { checkNonAnimatableInTimelines(timelines, this._triggerName, driver); } const queriedElementsList = iteratorToArray(queriedElements.values()); return createTransitionInstruction( element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, queriedElementsList, preStyleMap, postStyleMap, totalTime); } } /** * Checks inside a set of timelines if they try to animate a css property which is not considered * animatable, in that case it prints a warning on the console. * Besides that the function doesn't have any other effect. * * Note: this check is done here after the timelines are built instead of doing on a lower level so * that we can make sure that the warning appears only once per instruction (we can aggregate here * all the issues instead of finding them separately). * * @param timelines The built timelines for the current instruction. * @param triggerName The name of the trigger for the current instruction. * @param driver Animation driver used to perform the check. * */ function checkNonAnimatableInTimelines( timelines: AnimationTimelineInstruction[], triggerName: string, driver: AnimationDriver): void { if (!driver.validateAnimatableStyleProperty) { return; } const allowedNonAnimatableProps = new Set([ // 'easing' is a utility/synthetic prop we use to represent // easing functions, it represents a property of the animation // which is not animatable but different values can be used // in different steps 'easing' ]); const invalidNonAnimatableProps = new Set(); timelines.forEach(({keyframes}) => { const nonAnimatablePropsInitialValues = new Map(); keyframes.forEach(keyframe => { const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop)); for (const [prop, value] of entriesToCheck) { if (!driver.validateAnimatableStyleProperty!(prop)) { if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) { const propInitialValue = nonAnimatablePropsInitialValues.get(prop); if (propInitialValue !== value) { invalidNonAnimatableProps.add(prop); } } else { nonAnimatablePropsInitialValues.set(prop, value); } } } }); }); if (invalidNonAnimatableProps.size > 0) { console.warn( `Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` + ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\ ' + '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)'); } } function oneOrMoreTransitionsMatch( matchFns: TransitionMatcherFn[], currentState: any, nextState: any, element: any, params: {[key: string]: any}): boolean { return matchFns.some(fn => fn(currentState, nextState, element, params)); } function applyParamDefaults(userParams: Record, defaults: Record) { const result: Record = copyObj(defaults); for (const key in userParams) { if (userParams.hasOwnProperty(key) && userParams[key] != null) { result[key] = userParams[key]; } } return result; } export class AnimationStateStyles { constructor( private styles: StyleAst, private defaultParams: {[key: string]: any}, private normalizer: AnimationStyleNormalizer) {} buildStyles(params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { const finalStyles: ɵStyleDataMap = new Map(); const combinedParams = copyObj(this.defaultParams); Object.keys(params).forEach(key => { const value = params[key]; if (value !== null) { combinedParams[key] = value; } }); this.styles.styles.forEach(value => { if (typeof value !== 'string') { value.forEach((val, prop) => { if (val) { val = interpolateParams(val, combinedParams, errors); } const normalizedProp = this.normalizer.normalizePropertyName(prop, errors); val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors); finalStyles.set(prop, val); }); } }); return finalStyles; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadataType, ɵStyleDataMap} from '@angular/animations'; import {SequenceAst, TransitionAst, TriggerAst} from './animation_ast'; import {AnimationStateStyles, AnimationTransitionFactory} from './animation_transition_factory'; import {AnimationStyleNormalizer} from './style_normalization/animation_style_normalizer'; export function buildTrigger( name: string, ast: TriggerAst, normalizer: AnimationStyleNormalizer): AnimationTrigger { return new AnimationTrigger(name, ast, normalizer); } export class AnimationTrigger { public transitionFactories: AnimationTransitionFactory[] = []; public fallbackTransition: AnimationTransitionFactory; public states = new Map(); constructor( public name: string, public ast: TriggerAst, private _normalizer: AnimationStyleNormalizer) { ast.states.forEach(ast => { const defaultParams = (ast.options && ast.options.params) || {}; this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer)); }); balanceProperties(this.states, 'true', '1'); balanceProperties(this.states, 'false', '0'); ast.transitions.forEach(ast => { this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states)); }); this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer); } get containsQueries() { return this.ast.queryCount > 0; } matchTransition(currentState: any, nextState: any, element: any, params: {[key: string]: any}): AnimationTransitionFactory|null { const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params)); return entry || null; } matchStyles(currentState: any, params: {[key: string]: any}, errors: Error[]): ɵStyleDataMap { return this.fallbackTransition.buildStyles(currentState, params, errors); } } function createFallbackTransition( triggerName: string, states: Map, normalizer: AnimationStyleNormalizer): AnimationTransitionFactory { const matchers = [(fromState: any, toState: any) => true]; const animation: SequenceAst = {type: AnimationMetadataType.Sequence, steps: [], options: null}; const transition: TransitionAst = { type: AnimationMetadataType.Transition, animation, matchers, options: null, queryCount: 0, depCount: 0 }; return new AnimationTransitionFactory(triggerName, transition, states); } function balanceProperties( stateMap: Map, key1: string, key2: string) { if (stateMap.has(key1)) { if (!stateMap.has(key2)) { stateMap.set(key2, stateMap.get(key1)!); } } else if (stateMap.has(key2)) { stateMap.set(key1, stateMap.get(key2)!); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationMetadataType, AnimationOptions, AnimationPlayer, AUTO_STYLE, ɵStyleDataMap} from '@angular/animations'; import {Ast} from '../dsl/animation_ast'; import {buildAnimationAst} from '../dsl/animation_ast_builder'; import {buildAnimationTimelines} from '../dsl/animation_timeline_builder'; import {AnimationTimelineInstruction} from '../dsl/animation_timeline_instruction'; import {ElementInstructionMap} from '../dsl/element_instruction_map'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {createAnimationFailed, missingOrDestroyedAnimation, missingPlayer, registerFailed} from '../error_helpers'; import {ENTER_CLASSNAME, LEAVE_CLASSNAME} from '../util'; import {warnRegister} from '../warning_helpers'; import {AnimationDriver} from './animation_driver'; import {getOrSetDefaultValue, listenOnPlayer, makeAnimationEvent, normalizeKeyframes, optimizeGroupPlayer} from './shared'; const EMPTY_INSTRUCTION_MAP = new ElementInstructionMap(); export class TimelineAnimationEngine { private _animations = new Map>(); private _playersById = new Map(); public players: AnimationPlayer[] = []; constructor( public bodyNode: any, private _driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) {} register(id: string, metadata: AnimationMetadata|AnimationMetadata[]) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst(this._driver, metadata, errors, warnings); if (errors.length) { throw registerFailed(errors); } else { if (warnings.length) { warnRegister(warnings); } this._animations.set(id, ast); } } private _buildPlayer( i: AnimationTimelineInstruction, preStyles: ɵStyleDataMap, postStyles?: ɵStyleDataMap): AnimationPlayer { const element = i.element; const keyframes = normalizeKeyframes( this._driver, this._normalizer, element, i.keyframes, preStyles, postStyles); return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true); } create(id: string, element: any, options: AnimationOptions = {}): AnimationPlayer { const errors: Error[] = []; const ast = this._animations.get(id); let instructions: AnimationTimelineInstruction[]; const autoStylesMap = new Map(); if (ast) { instructions = buildAnimationTimelines( this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors); instructions.forEach(inst => { const styles = getOrSetDefaultValue( autoStylesMap, inst.element, new Map()); inst.postStyleProps.forEach(prop => styles.set(prop, null)); }); } else { errors.push(missingOrDestroyedAnimation()); instructions = []; } if (errors.length) { throw createAnimationFailed(errors); } autoStylesMap.forEach((styles, element) => { styles.forEach((_, prop) => { styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE)); }); }); const players = instructions.map(i => { const styles = autoStylesMap.get(i.element); return this._buildPlayer(i, new Map(), styles); }); const player = optimizeGroupPlayer(players); this._playersById.set(id, player); player.onDestroy(() => this.destroy(id)); this.players.push(player); return player; } destroy(id: string) { const player = this._getPlayer(id); player.destroy(); this._playersById.delete(id); const index = this.players.indexOf(player); if (index >= 0) { this.players.splice(index, 1); } } private _getPlayer(id: string): AnimationPlayer { const player = this._playersById.get(id); if (!player) { throw missingPlayer(id); } return player; } listen(id: string, element: string, eventName: string, callback: (event: any) => any): () => void { // triggerName, fromState, toState are all ignored for timeline animations const baseEvent = makeAnimationEvent(element, '', '', ''); listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback); return () => {}; } command(id: string, element: any, command: string, args: any[]): void { if (command == 'register') { this.register(id, args[0] as AnimationMetadata | AnimationMetadata[]); return; } if (command == 'create') { const options = (args[0] || {}) as AnimationOptions; this.create(id, element, options); return; } const player = this._getPlayer(id); switch (command) { case 'play': player.play(); break; case 'pause': player.pause(); break; case 'reset': player.reset(); break; case 'restart': player.restart(); break; case 'finish': player.finish(); break; case 'init': player.init(); break; case 'setPosition': player.setPosition(parseFloat(args[0] as string)); break; case 'destroy': this.destroy(id); break; } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationOptions, AnimationPlayer, AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer as AnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE, ɵStyleDataMap} from '@angular/animations'; import {AnimationTimelineInstruction} from '../dsl/animation_timeline_instruction'; import {AnimationTransitionFactory} from '../dsl/animation_transition_factory'; import {AnimationTransitionInstruction} from '../dsl/animation_transition_instruction'; import {AnimationTrigger} from '../dsl/animation_trigger'; import {ElementInstructionMap} from '../dsl/element_instruction_map'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {missingEvent, missingTrigger, transitionFailed, triggerTransitionsFailed, unregisteredTrigger, unsupportedTriggerEvent} from '../error_helpers'; import {copyObj, ENTER_CLASSNAME, eraseStyles, LEAVE_CLASSNAME, NG_ANIMATING_CLASSNAME, NG_ANIMATING_SELECTOR, NG_TRIGGER_CLASSNAME, NG_TRIGGER_SELECTOR, setStyles} from '../util'; import {AnimationDriver} from './animation_driver'; import {getOrSetDefaultValue, listenOnPlayer, makeAnimationEvent, normalizeKeyframes, optimizeGroupPlayer} from './shared'; const QUEUED_CLASSNAME = 'ng-animate-queued'; const QUEUED_SELECTOR = '.ng-animate-queued'; const DISABLED_CLASSNAME = 'ng-animate-disabled'; const DISABLED_SELECTOR = '.ng-animate-disabled'; const STAR_CLASSNAME = 'ng-star-inserted'; const STAR_SELECTOR = '.ng-star-inserted'; const EMPTY_PLAYER_ARRAY: TransitionAnimationPlayer[] = []; const NULL_REMOVAL_STATE: ElementAnimationState = { namespaceId: '', setForRemoval: false, setForMove: false, hasAnimation: false, removedBeforeQueried: false }; const NULL_REMOVED_QUERIED_STATE: ElementAnimationState = { namespaceId: '', setForMove: false, setForRemoval: false, hasAnimation: false, removedBeforeQueried: true }; interface TriggerListener { name: string; phase: string; callback: (event: any) => any; } export interface QueueInstruction { element: any; triggerName: string; fromState: StateValue; toState: StateValue; transition: AnimationTransitionFactory; player: TransitionAnimationPlayer; isFallbackTransition: boolean; } export const REMOVAL_FLAG = '__ng_removed'; export interface ElementAnimationState { setForRemoval: boolean; setForMove: boolean; hasAnimation: boolean; namespaceId: string; removedBeforeQueried: boolean; previousTriggersValues?: Map; } export class StateValue { public value: string; public options: AnimationOptions; get params(): {[key: string]: any} { return this.options.params as {[key: string]: any}; } constructor(input: any, public namespaceId: string = '') { const isObj = input && input.hasOwnProperty('value'); const value = isObj ? input['value'] : input; this.value = normalizeTriggerValue(value); if (isObj) { const options = copyObj(input as any); delete options['value']; this.options = options as AnimationOptions; } else { this.options = {}; } if (!this.options.params) { this.options.params = {}; } } absorbOptions(options: AnimationOptions) { const newParams = options.params; if (newParams) { const oldParams = this.options.params!; Object.keys(newParams).forEach(prop => { if (oldParams[prop] == null) { oldParams[prop] = newParams[prop]; } }); } } } export const VOID_VALUE = 'void'; export const DEFAULT_STATE_VALUE = new StateValue(VOID_VALUE); export class AnimationTransitionNamespace { public players: TransitionAnimationPlayer[] = []; private _triggers = new Map(); private _queue: QueueInstruction[] = []; private _elementListeners = new Map(); private _hostClassName: string; constructor( public id: string, public hostElement: any, private _engine: TransitionAnimationEngine) { this._hostClassName = 'ng-tns-' + id; addClass(hostElement, this._hostClassName); } listen(element: any, name: string, phase: string, callback: (event: any) => boolean): () => any { if (!this._triggers.has(name)) { throw missingTrigger(phase, name); } if (phase == null || phase.length == 0) { throw missingEvent(name); } if (!isTriggerEventValid(phase)) { throw unsupportedTriggerEvent(phase, name); } const listeners = getOrSetDefaultValue(this._elementListeners, element, []); const data = {name, phase, callback}; listeners.push(data); const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map()); if (!triggersWithStates.has(name)) { addClass(element, NG_TRIGGER_CLASSNAME); addClass(element, NG_TRIGGER_CLASSNAME + '-' + name); triggersWithStates.set(name, DEFAULT_STATE_VALUE); } return () => { // the event listener is removed AFTER the flush has occurred such // that leave animations callbacks can fire (otherwise if the node // is removed in between then the listeners would be deregistered) this._engine.afterFlush(() => { const index = listeners.indexOf(data); if (index >= 0) { listeners.splice(index, 1); } if (!this._triggers.has(name)) { triggersWithStates.delete(name); } }); }; } register(name: string, ast: AnimationTrigger): boolean { if (this._triggers.has(name)) { // throw return false; } else { this._triggers.set(name, ast); return true; } } private _getTrigger(name: string) { const trigger = this._triggers.get(name); if (!trigger) { throw unregisteredTrigger(name); } return trigger; } trigger(element: any, triggerName: string, value: any, defaultToFallback: boolean = true): TransitionAnimationPlayer|undefined { const trigger = this._getTrigger(triggerName); const player = new TransitionAnimationPlayer(this.id, triggerName, element); let triggersWithStates = this._engine.statesByElement.get(element); if (!triggersWithStates) { addClass(element, NG_TRIGGER_CLASSNAME); addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName); this._engine.statesByElement.set(element, triggersWithStates = new Map()); } let fromState = triggersWithStates.get(triggerName); const toState = new StateValue(value, this.id); const isObj = value && value.hasOwnProperty('value'); if (!isObj && fromState) { toState.absorbOptions(fromState.options); } triggersWithStates.set(triggerName, toState); if (!fromState) { fromState = DEFAULT_STATE_VALUE; } const isRemoval = toState.value === VOID_VALUE; // normally this isn't reached by here, however, if an object expression // is passed in then it may be a new object each time. Comparing the value // is important since that will stay the same despite there being a new object. // The removal arc here is special cased because the same element is triggered // twice in the event that it contains animations on the outer/inner portions // of the host container if (!isRemoval && fromState.value === toState.value) { // this means that despite the value not changing, some inner params // have changed which means that the animation final styles need to be applied if (!objEquals(fromState.params, toState.params)) { const errors: Error[] = []; const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors); const toStyles = trigger.matchStyles(toState.value, toState.params, errors); if (errors.length) { this._engine.reportError(errors); } else { this._engine.afterFlush(() => { eraseStyles(element, fromStyles); setStyles(element, toStyles); }); } } return; } const playersOnElement: TransitionAnimationPlayer[] = getOrSetDefaultValue(this._engine.playersByElement, element, []); playersOnElement.forEach(player => { // only remove the player if it is queued on the EXACT same trigger/namespace // we only also deal with queued players here because if the animation has // started then we want to keep the player alive until the flush happens // (which is where the previousPlayers are passed into the new player) if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) { player.destroy(); } }); let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params); let isFallbackTransition = false; if (!transition) { if (!defaultToFallback) return; transition = trigger.fallbackTransition; isFallbackTransition = true; } this._engine.totalQueuedPlayers++; this._queue.push( {element, triggerName, transition, fromState, toState, player, isFallbackTransition}); if (!isFallbackTransition) { addClass(element, QUEUED_CLASSNAME); player.onStart(() => { removeClass(element, QUEUED_CLASSNAME); }); } player.onDone(() => { let index = this.players.indexOf(player); if (index >= 0) { this.players.splice(index, 1); } const players = this._engine.playersByElement.get(element); if (players) { let index = players.indexOf(player); if (index >= 0) { players.splice(index, 1); } } }); this.players.push(player); playersOnElement.push(player); return player; } deregister(name: string) { this._triggers.delete(name); this._engine.statesByElement.forEach(stateMap => stateMap.delete(name)); this._elementListeners.forEach((listeners, element) => { this._elementListeners.set(element, listeners.filter(entry => { return entry.name != name; })); }); } clearElementCache(element: any) { this._engine.statesByElement.delete(element); this._elementListeners.delete(element); const elementPlayers = this._engine.playersByElement.get(element); if (elementPlayers) { elementPlayers.forEach(player => player.destroy()); this._engine.playersByElement.delete(element); } } private _signalRemovalForInnerTriggers(rootElement: any, context: any) { const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true); // emulate a leave animation for all inner nodes within this node. // If there are no animations found for any of the nodes then clear the cache // for the element. elements.forEach(elm => { // this means that an inner remove() operation has already kicked off // the animation on this element... if (elm[REMOVAL_FLAG]) return; const namespaces = this._engine.fetchNamespacesByElement(elm); if (namespaces.size) { namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true)); } else { this.clearElementCache(elm); } }); // If the child elements were removed along with the parent, their animations might not // have completed. Clear all the elements from the cache so we don't end up with a memory leak. this._engine.afterFlushAnimationsDone( () => elements.forEach(elm => this.clearElementCache(elm))); } triggerLeaveAnimation( element: any, context: any, destroyAfterComplete?: boolean, defaultToFallback?: boolean): boolean { const triggerStates = this._engine.statesByElement.get(element); const previousTriggersValues = new Map(); if (triggerStates) { const players: TransitionAnimationPlayer[] = []; triggerStates.forEach((state, triggerName) => { previousTriggersValues.set(triggerName, state.value); // this check is here in the event that an element is removed // twice (both on the host level and the component level) if (this._triggers.has(triggerName)) { const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback); if (player) { players.push(player); } } }); if (players.length) { this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues); if (destroyAfterComplete) { optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element)); } return true; } } return false; } prepareLeaveAnimationListeners(element: any) { const listeners = this._elementListeners.get(element); const elementStates = this._engine.statesByElement.get(element); // if this statement fails then it means that the element was picked up // by an earlier flush (or there are no listeners at all to track the leave). if (listeners && elementStates) { const visitedTriggers = new Set(); listeners.forEach(listener => { const triggerName = listener.name; if (visitedTriggers.has(triggerName)) return; visitedTriggers.add(triggerName); const trigger = this._triggers.get(triggerName)!; const transition = trigger.fallbackTransition; const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE; const toState = new StateValue(VOID_VALUE); const player = new TransitionAnimationPlayer(this.id, triggerName, element); this._engine.totalQueuedPlayers++; this._queue.push({ element, triggerName, transition, fromState, toState, player, isFallbackTransition: true }); }); } } removeNode(element: any, context: any): void { const engine = this._engine; if (element.childElementCount) { this._signalRemovalForInnerTriggers(element, context); } // this means that a * => VOID animation was detected and kicked off if (this.triggerLeaveAnimation(element, context, true)) return; // find the player that is animating and make sure that the // removal is delayed until that player has completed let containsPotentialParentTransition = false; if (engine.totalAnimations) { const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : []; // when this `if statement` does not continue forward it means that // a previous animation query has selected the current element and // is animating it. In this situation want to continue forwards and // allow the element to be queued up for animation later. if (currentPlayers && currentPlayers.length) { containsPotentialParentTransition = true; } else { let parent = element; while (parent = parent.parentNode) { const triggers = engine.statesByElement.get(parent); if (triggers) { containsPotentialParentTransition = true; break; } } } } // at this stage we know that the element will either get removed // during flush or will be picked up by a parent query. Either way // we need to fire the listeners for this element when it DOES get // removed (once the query parent animation is done or after flush) this.prepareLeaveAnimationListeners(element); // whether or not a parent has an animation we need to delay the deferral of the leave // operation until we have more information (which we do after flush() has been called) if (containsPotentialParentTransition) { engine.markElementAsRemoved(this.id, element, false, context); } else { const removalFlag = element[REMOVAL_FLAG]; if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) { // we do this after the flush has occurred such // that the callbacks can be fired engine.afterFlush(() => this.clearElementCache(element)); engine.destroyInnerAnimations(element); engine._onRemovalComplete(element, context); } } } insertNode(element: any, parent: any): void { addClass(element, this._hostClassName); } drainQueuedTransitions(microtaskId: number): QueueInstruction[] { const instructions: QueueInstruction[] = []; this._queue.forEach(entry => { const player = entry.player; if (player.destroyed) return; const element = entry.element; const listeners = this._elementListeners.get(element); if (listeners) { listeners.forEach((listener: TriggerListener) => { if (listener.name == entry.triggerName) { const baseEvent = makeAnimationEvent( element, entry.triggerName, entry.fromState.value, entry.toState.value); (baseEvent as any)['_data'] = microtaskId; listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback); } }); } if (player.markedForDestroy) { this._engine.afterFlush(() => { // now we can destroy the element properly since the event listeners have // been bound to the player player.destroy(); }); } else { instructions.push(entry); } }); this._queue = []; return instructions.sort((a, b) => { // if depCount == 0 them move to front // otherwise if a contains b then move back const d0 = a.transition.ast.depCount; const d1 = b.transition.ast.depCount; if (d0 == 0 || d1 == 0) { return d0 - d1; } return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1; }); } destroy(context: any) { this.players.forEach(p => p.destroy()); this._signalRemovalForInnerTriggers(this.hostElement, context); } elementContainsData(element: any): boolean { let containsData = false; if (this._elementListeners.has(element)) containsData = true; containsData = (this._queue.find(entry => entry.element === element) ? true : false) || containsData; return containsData; } } export interface QueuedTransition { element: any; instruction: AnimationTransitionInstruction; player: TransitionAnimationPlayer; } export class TransitionAnimationEngine { public players: TransitionAnimationPlayer[] = []; public newHostElements = new Map(); public playersByElement = new Map(); public playersByQueriedElement = new Map(); public statesByElement = new Map>(); public disabledNodes = new Set(); public totalAnimations = 0; public totalQueuedPlayers = 0; private _namespaceLookup: {[id: string]: AnimationTransitionNamespace} = {}; private _namespaceList: AnimationTransitionNamespace[] = []; private _flushFns: (() => any)[] = []; private _whenQuietFns: (() => any)[] = []; public namespacesByHostElement = new Map(); public collectedEnterElements: any[] = []; public collectedLeaveElements: any[] = []; // this method is designed to be overridden by the code that uses this engine public onRemovalComplete = (element: any, context: any) => {}; /** @internal */ _onRemovalComplete(element: any, context: any) { this.onRemovalComplete(element, context); } constructor( public bodyNode: any, public driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) {} get queuedPlayers(): TransitionAnimationPlayer[] { const players: TransitionAnimationPlayer[] = []; this._namespaceList.forEach(ns => { ns.players.forEach(player => { if (player.queued) { players.push(player); } }); }); return players; } createNamespace(namespaceId: string, hostElement: any) { const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this); if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) { this._balanceNamespaceList(ns, hostElement); } else { // defer this later until flush during when the host element has // been inserted so that we know exactly where to place it in // the namespace list this.newHostElements.set(hostElement, ns); // given that this host element is a part of the animation code, it // may or may not be inserted by a parent node that is of an // animation renderer type. If this happens then we can still have // access to this item when we query for :enter nodes. If the parent // is a renderer then the set data-structure will normalize the entry this.collectEnterElement(hostElement); } return this._namespaceLookup[namespaceId] = ns; } private _balanceNamespaceList(ns: AnimationTransitionNamespace, hostElement: any) { const namespaceList = this._namespaceList; const namespacesByHostElement = this.namespacesByHostElement; const limit = namespaceList.length - 1; if (limit >= 0) { let found = false; // Find the closest ancestor with an existing namespace so we can then insert `ns` after it, // establishing a top-down ordering of namespaces in `this._namespaceList`. let ancestor = this.driver.getParentElement(hostElement); while (ancestor) { const ancestorNs = namespacesByHostElement.get(ancestor); if (ancestorNs) { // An animation namespace has been registered for this ancestor, so we insert `ns` // right after it to establish top-down ordering of animation namespaces. const index = namespaceList.indexOf(ancestorNs); namespaceList.splice(index + 1, 0, ns); found = true; break; } ancestor = this.driver.getParentElement(ancestor); } if (!found) { // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to // ensure that any existing descendants are ordered after `ns`, retaining the desired // top-down ordering. namespaceList.unshift(ns); } } else { namespaceList.push(ns); } namespacesByHostElement.set(hostElement, ns); return ns; } register(namespaceId: string, hostElement: any) { let ns = this._namespaceLookup[namespaceId]; if (!ns) { ns = this.createNamespace(namespaceId, hostElement); } return ns; } registerTrigger(namespaceId: string, name: string, trigger: AnimationTrigger) { let ns = this._namespaceLookup[namespaceId]; if (ns && ns.register(name, trigger)) { this.totalAnimations++; } } destroy(namespaceId: string, context: any) { if (!namespaceId) return; const ns = this._fetchNamespace(namespaceId); this.afterFlush(() => { this.namespacesByHostElement.delete(ns.hostElement); delete this._namespaceLookup[namespaceId]; const index = this._namespaceList.indexOf(ns); if (index >= 0) { this._namespaceList.splice(index, 1); } }); this.afterFlushAnimationsDone(() => ns.destroy(context)); } private _fetchNamespace(id: string) { return this._namespaceLookup[id]; } fetchNamespacesByElement(element: any): Set { // normally there should only be one namespace per element, however // if @triggers are placed on both the component element and then // its host element (within the component code) then there will be // two namespaces returned. We use a set here to simply deduplicate // the namespaces in case (for the reason described above) there are multiple triggers const namespaces = new Set(); const elementStates = this.statesByElement.get(element); if (elementStates) { for (let stateValue of elementStates.values()) { if (stateValue.namespaceId) { const ns = this._fetchNamespace(stateValue.namespaceId); if (ns) { namespaces.add(ns); } } } } return namespaces; } trigger(namespaceId: string, element: any, name: string, value: any): boolean { if (isElementNode(element)) { const ns = this._fetchNamespace(namespaceId); if (ns) { ns.trigger(element, name, value); return true; } } return false; } insertNode(namespaceId: string, element: any, parent: any, insertBefore: boolean): void { if (!isElementNode(element)) return; // special case for when an element is removed and reinserted (move operation) // when this occurs we do not want to use the element for deletion later const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { details.setForRemoval = false; details.setForMove = true; const index = this.collectedLeaveElements.indexOf(element); if (index >= 0) { this.collectedLeaveElements.splice(index, 1); } } // in the event that the namespaceId is blank then the caller // code does not contain any animation code in it, but it is // just being called so that the node is marked as being inserted if (namespaceId) { const ns = this._fetchNamespace(namespaceId); // This if-statement is a workaround for router issue #21947. // The router sometimes hits a race condition where while a route // is being instantiated a new navigation arrives, triggering leave // animation of DOM that has not been fully initialized, until this // is resolved, we need to handle the scenario when DOM is not in a // consistent state during the animation. if (ns) { ns.insertNode(element, parent); } } // only *directives and host elements are inserted before if (insertBefore) { this.collectEnterElement(element); } } collectEnterElement(element: any) { this.collectedEnterElements.push(element); } markElementAsDisabled(element: any, value: boolean) { if (value) { if (!this.disabledNodes.has(element)) { this.disabledNodes.add(element); addClass(element, DISABLED_CLASSNAME); } } else if (this.disabledNodes.has(element)) { this.disabledNodes.delete(element); removeClass(element, DISABLED_CLASSNAME); } } removeNode(namespaceId: string, element: any, isHostElement: boolean, context: any): void { if (isElementNode(element)) { const ns = namespaceId ? this._fetchNamespace(namespaceId) : null; if (ns) { ns.removeNode(element, context); } else { this.markElementAsRemoved(namespaceId, element, false, context); } if (isHostElement) { const hostNS = this.namespacesByHostElement.get(element); if (hostNS && hostNS.id !== namespaceId) { hostNS.removeNode(element, context); } } } else { this._onRemovalComplete(element, context); } } markElementAsRemoved( namespaceId: string, element: any, hasAnimation?: boolean, context?: any, previousTriggersValues?: Map) { this.collectedLeaveElements.push(element); element[REMOVAL_FLAG] = { namespaceId, setForRemoval: context, hasAnimation, removedBeforeQueried: false, previousTriggersValues }; } listen( namespaceId: string, element: any, name: string, phase: string, callback: (event: any) => boolean): () => any { if (isElementNode(element)) { return this._fetchNamespace(namespaceId).listen(element, name, phase, callback); } return () => {}; } private _buildInstruction( entry: QueueInstruction, subTimelines: ElementInstructionMap, enterClassName: string, leaveClassName: string, skipBuildAst?: boolean) { return entry.transition.build( this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst); } destroyInnerAnimations(containerElement: any) { let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true); elements.forEach(element => this.destroyActiveAnimationsForElement(element)); if (this.playersByQueriedElement.size == 0) return; elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true); elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element)); } destroyActiveAnimationsForElement(element: any) { const players = this.playersByElement.get(element); if (players) { players.forEach(player => { // special case for when an element is set for destruction, but hasn't started. // in this situation we want to delay the destruction until the flush occurs // so that any event listeners attached to the player are triggered. if (player.queued) { player.markedForDestroy = true; } else { player.destroy(); } }); } } finishActiveQueriedAnimationOnElement(element: any) { const players = this.playersByQueriedElement.get(element); if (players) { players.forEach(player => player.finish()); } } whenRenderingDone(): Promise { return new Promise(resolve => { if (this.players.length) { return optimizeGroupPlayer(this.players).onDone(() => resolve()); } else { resolve(); } }); } processLeaveNode(element: any) { const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { // this will prevent it from removing it twice element[REMOVAL_FLAG] = NULL_REMOVAL_STATE; if (details.namespaceId) { this.destroyInnerAnimations(element); const ns = this._fetchNamespace(details.namespaceId); if (ns) { ns.clearElementCache(element); } } this._onRemovalComplete(element, details.setForRemoval); } if (element.classList?.contains(DISABLED_CLASSNAME)) { this.markElementAsDisabled(element, false); } this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => { this.markElementAsDisabled(node, false); }); } flush(microtaskId: number = -1) { let players: AnimationPlayer[] = []; if (this.newHostElements.size) { this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element)); this.newHostElements.clear(); } if (this.totalAnimations && this.collectedEnterElements.length) { for (let i = 0; i < this.collectedEnterElements.length; i++) { const elm = this.collectedEnterElements[i]; addClass(elm, STAR_CLASSNAME); } } if (this._namespaceList.length && (this.totalQueuedPlayers || this.collectedLeaveElements.length)) { const cleanupFns: Function[] = []; try { players = this._flushAnimations(cleanupFns, microtaskId); } finally { for (let i = 0; i < cleanupFns.length; i++) { cleanupFns[i](); } } } else { for (let i = 0; i < this.collectedLeaveElements.length; i++) { const element = this.collectedLeaveElements[i]; this.processLeaveNode(element); } } this.totalQueuedPlayers = 0; this.collectedEnterElements.length = 0; this.collectedLeaveElements.length = 0; this._flushFns.forEach(fn => fn()); this._flushFns = []; if (this._whenQuietFns.length) { // we move these over to a variable so that // if any new callbacks are registered in another // flush they do not populate the existing set const quietFns = this._whenQuietFns; this._whenQuietFns = []; if (players.length) { optimizeGroupPlayer(players).onDone(() => { quietFns.forEach(fn => fn()); }); } else { quietFns.forEach(fn => fn()); } } } reportError(errors: Error[]) { throw triggerTransitionsFailed(errors); } private _flushAnimations(cleanupFns: Function[], microtaskId: number): TransitionAnimationPlayer[] { const subTimelines = new ElementInstructionMap(); const skippedPlayers: TransitionAnimationPlayer[] = []; const skippedPlayersMap = new Map(); const queuedInstructions: QueuedTransition[] = []; const queriedElements = new Map(); const allPreStyleElements = new Map>(); const allPostStyleElements = new Map>(); const disabledElementsSet = new Set(); this.disabledNodes.forEach(node => { disabledElementsSet.add(node); const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true); for (let i = 0; i < nodesThatAreDisabled.length; i++) { disabledElementsSet.add(nodesThatAreDisabled[i]); } }); const bodyNode = this.bodyNode; const allTriggerElements = Array.from(this.statesByElement.keys()); const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements); // this must occur before the instructions are built below such that // the :enter queries match the elements (since the timeline queries // are fired during instruction building). const enterNodeMapIds = new Map(); let i = 0; enterNodeMap.forEach((nodes, root) => { const className = ENTER_CLASSNAME + i++; enterNodeMapIds.set(root, className); nodes.forEach(node => addClass(node, className)); }); const allLeaveNodes: any[] = []; const mergedLeaveNodes = new Set(); const leaveNodesWithoutAnimations = new Set(); for (let i = 0; i < this.collectedLeaveElements.length; i++) { const element = this.collectedLeaveElements[i]; const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) { allLeaveNodes.push(element); mergedLeaveNodes.add(element); if (details.hasAnimation) { this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm)); } else { leaveNodesWithoutAnimations.add(element); } } } const leaveNodeMapIds = new Map(); const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes)); leaveNodeMap.forEach((nodes, root) => { const className = LEAVE_CLASSNAME + i++; leaveNodeMapIds.set(root, className); nodes.forEach(node => addClass(node, className)); }); cleanupFns.push(() => { enterNodeMap.forEach((nodes, root) => { const className = enterNodeMapIds.get(root)!; nodes.forEach(node => removeClass(node, className)); }); leaveNodeMap.forEach((nodes, root) => { const className = leaveNodeMapIds.get(root)!; nodes.forEach(node => removeClass(node, className)); }); allLeaveNodes.forEach(element => { this.processLeaveNode(element); }); }); const allPlayers: TransitionAnimationPlayer[] = []; const erroneousTransitions: AnimationTransitionInstruction[] = []; for (let i = this._namespaceList.length - 1; i >= 0; i--) { const ns = this._namespaceList[i]; ns.drainQueuedTransitions(microtaskId).forEach(entry => { const player = entry.player; const element = entry.element; allPlayers.push(player); if (this.collectedEnterElements.length) { const details = element[REMOVAL_FLAG] as ElementAnimationState; // animations for move operations (elements being removed and reinserted, // e.g. when the order of an *ngFor list changes) are currently not supported if (details && details.setForMove) { if (details.previousTriggersValues && details.previousTriggersValues.has(entry.triggerName)) { const previousValue = details.previousTriggersValues.get(entry.triggerName) as string; // we need to restore the previous trigger value since the element has // only been moved and hasn't actually left the DOM const triggersWithStates = this.statesByElement.get(entry.element); if (triggersWithStates && triggersWithStates.has(entry.triggerName)) { const state = triggersWithStates.get(entry.triggerName)!; state.value = previousValue; triggersWithStates.set(entry.triggerName, state); } } player.destroy(); return; } } const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element); const leaveClassName = leaveNodeMapIds.get(element)!; const enterClassName = enterNodeMapIds.get(element)!; const instruction = this._buildInstruction( entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned)!; if (instruction.errors && instruction.errors.length) { erroneousTransitions.push(instruction); return; } // even though the element may not be in the DOM, it may still // be added at a later point (due to the mechanics of content // projection and/or dynamic component insertion) therefore it's // important to still style the element. if (nodeIsOrphaned) { player.onStart(() => eraseStyles(element, instruction.fromStyles)); player.onDestroy(() => setStyles(element, instruction.toStyles)); skippedPlayers.push(player); return; } // if an unmatched transition is queued and ready to go // then it SHOULD NOT render an animation and cancel the // previously running animations. if (entry.isFallbackTransition) { player.onStart(() => eraseStyles(element, instruction.fromStyles)); player.onDestroy(() => setStyles(element, instruction.toStyles)); skippedPlayers.push(player); return; } // this means that if a parent animation uses this animation as a sub-trigger // then it will instruct the timeline builder not to add a player delay, but // instead stretch the first keyframe gap until the animation starts. This is // important in order to prevent extra initialization styles from being // required by the user for the animation. const timelines: AnimationTimelineInstruction[] = []; instruction.timelines.forEach(tl => { tl.stretchStartingKeyframe = true; if (!this.disabledNodes.has(tl.element)) { timelines.push(tl); } }); instruction.timelines = timelines; subTimelines.append(element, instruction.timelines); const tuple = {instruction, player, element}; queuedInstructions.push(tuple); instruction.queriedElements.forEach( element => getOrSetDefaultValue(queriedElements, element, []).push(player)); instruction.preStyleProps.forEach((stringMap, element) => { if (stringMap.size) { let setVal: Set = allPreStyleElements.get(element)!; if (!setVal) { allPreStyleElements.set(element, setVal = new Set()); } stringMap.forEach((_, prop) => setVal.add(prop)); } }); instruction.postStyleProps.forEach((stringMap, element) => { let setVal: Set = allPostStyleElements.get(element)!; if (!setVal) { allPostStyleElements.set(element, setVal = new Set()); } stringMap.forEach((_, prop) => setVal.add(prop)); }); }); } if (erroneousTransitions.length) { const errors: Error[] = []; erroneousTransitions.forEach(instruction => { errors.push(transitionFailed(instruction.triggerName, instruction.errors!)); }); allPlayers.forEach(player => player.destroy()); this.reportError(errors); } const allPreviousPlayersMap = new Map(); // this map tells us which element in the DOM tree is contained by // which animation. Further down this map will get populated once // the players are built and in doing so we can use it to efficiently // figure out if a sub player is skipped due to a parent player having priority. const animationElementMap = new Map(); queuedInstructions.forEach(entry => { const element = entry.element; if (subTimelines.has(element)) { animationElementMap.set(element, element); this._beforeAnimationBuild( entry.player.namespaceId, entry.instruction, allPreviousPlayersMap); } }); skippedPlayers.forEach(player => { const element = player.element; const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null); previousPlayers.forEach(prevPlayer => { getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer); prevPlayer.destroy(); }); }); // this is a special case for nodes that will be removed either by // having their own leave animations or by being queried in a container // that will be removed once a parent animation is complete. The idea // here is that * styles must be identical to ! styles because of // backwards compatibility (* is also filled in by default in many places). // Otherwise * styles will return an empty value or \"auto\" since the element // passed to getComputedStyle will not be visible (since * === destination) const replaceNodes = allLeaveNodes.filter(node => { return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements); }); // POST STAGE: fill the * styles const postStylesMap = new Map(); const allLeaveQueriedNodes = cloakAndComputeStyles( postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE); allLeaveQueriedNodes.forEach(node => { if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) { replaceNodes.push(node); } }); // PRE STAGE: fill the ! styles const preStylesMap = new Map(); enterNodeMap.forEach((nodes, root) => { cloakAndComputeStyles( preStylesMap, this.driver, new Set(nodes), allPreStyleElements, PRE_STYLE); }); replaceNodes.forEach(node => { const post = postStylesMap.get(node); const pre = preStylesMap.get(node); postStylesMap.set( node, new Map([...Array.from(post?.entries() ?? []), ...Array.from(pre?.entries() ?? [])])); }); const rootPlayers: TransitionAnimationPlayer[] = []; const subPlayers: TransitionAnimationPlayer[] = []; const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {}; queuedInstructions.forEach(entry => { const {element, player, instruction} = entry; // this means that it was never consumed by a parent animation which // means that it is independent and therefore should be set for animation if (subTimelines.has(element)) { if (disabledElementsSet.has(element)) { player.onDestroy(() => setStyles(element, instruction.toStyles)); player.disabled = true; player.overrideTotalTime(instruction.totalTime); skippedPlayers.push(player); return; } // this will flow up the DOM and query the map to figure out // if a parent animation has priority over it. In the situation // that a parent is detected then it will cancel the loop. If // nothing is detected, or it takes a few hops to find a parent, // then it will fill in the missing nodes and signal them as having // a detected parent (or a NO_PARENT value via a special constant). let parentWithAnimation: any = NO_PARENT_ANIMATION_ELEMENT_DETECTED; if (animationElementMap.size > 1) { let elm = element; const parentsToAdd: any[] = []; while (elm = elm.parentNode) { const detectedParent = animationElementMap.get(elm); if (detectedParent) { parentWithAnimation = detectedParent; break; } parentsToAdd.push(elm); } parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation)); } const innerPlayer = this._buildAnimation( player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap); player.setRealPlayer(innerPlayer); if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) { rootPlayers.push(player); } else { const parentPlayers = this.playersByElement.get(parentWithAnimation); if (parentPlayers && parentPlayers.length) { player.parentPlayer = optimizeGroupPlayer(parentPlayers); } skippedPlayers.push(player); } } else { eraseStyles(element, instruction.fromStyles); player.onDestroy(() => setStyles(element, instruction.toStyles)); // there still might be a ancestor player animating this // element therefore we will still add it as a sub player // even if its animation may be disabled subPlayers.push(player); if (disabledElementsSet.has(element)) { skippedPlayers.push(player); } } }); // find all of the sub players' corresponding inner animation players subPlayers.forEach(player => { // even if no players are found for a sub animation it // will still complete itself after the next tick since it's Noop const playersForElement = skippedPlayersMap.get(player.element); if (playersForElement && playersForElement.length) { const innerPlayer = optimizeGroupPlayer(playersForElement); player.setRealPlayer(innerPlayer); } }); // the reason why we don't actually play the animation is // because all that a skipped player is designed to do is to // fire the start/done transition callback events skippedPlayers.forEach(player => { if (player.parentPlayer) { player.syncPlayerEvents(player.parentPlayer); } else { player.destroy(); } }); // run through all of the queued removals and see if they // were picked up by a query. If not then perform the removal // operation right away unless a parent animation is ongoing. for (let i = 0; i < allLeaveNodes.length; i++) { const element = allLeaveNodes[i]; const details = element[REMOVAL_FLAG] as ElementAnimationState; removeClass(element, LEAVE_CLASSNAME); // this means the element has a removal animation that is being // taken care of and therefore the inner elements will hang around // until that animation is over (or the parent queried animation) if (details && details.hasAnimation) continue; let players: TransitionAnimationPlayer[] = []; // if this element is queried or if it contains queried children // then we want for the element not to be removed from the page // until the queried animations have finished if (queriedElements.size) { let queriedPlayerResults = queriedElements.get(element); if (queriedPlayerResults && queriedPlayerResults.length) { players.push(...queriedPlayerResults); } let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true); for (let j = 0; j < queriedInnerElements.length; j++) { let queriedPlayers = queriedElements.get(queriedInnerElements[j]); if (queriedPlayers && queriedPlayers.length) { players.push(...queriedPlayers); } } } const activePlayers = players.filter(p => !p.destroyed); if (activePlayers.length) { removeNodesAfterAnimationDone(this, element, activePlayers); } else { this.processLeaveNode(element); } } // this is required so the cleanup method doesn't remove them allLeaveNodes.length = 0; rootPlayers.forEach(player => { this.players.push(player); player.onDone(() => { player.destroy(); const index = this.players.indexOf(player); this.players.splice(index, 1); }); player.play(); }); return rootPlayers; } elementContainsData(namespaceId: string, element: any) { let containsData = false; const details = element[REMOVAL_FLAG] as ElementAnimationState; if (details && details.setForRemoval) containsData = true; if (this.playersByElement.has(element)) containsData = true; if (this.playersByQueriedElement.has(element)) containsData = true; if (this.statesByElement.has(element)) containsData = true; return this._fetchNamespace(namespaceId).elementContainsData(element) || containsData; } afterFlush(callback: () => any) { this._flushFns.push(callback); } afterFlushAnimationsDone(callback: () => any) { this._whenQuietFns.push(callback); } private _getPreviousPlayers( element: string, isQueriedElement: boolean, namespaceId?: string, triggerName?: string, toStateValue?: any): TransitionAnimationPlayer[] { let players: TransitionAnimationPlayer[] = []; if (isQueriedElement) { const queriedElementPlayers = this.playersByQueriedElement.get(element); if (queriedElementPlayers) { players = queriedElementPlayers; } } else { const elementPlayers = this.playersByElement.get(element); if (elementPlayers) { const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE; elementPlayers.forEach(player => { if (player.queued) return; if (!isRemovalAnimation && player.triggerName != triggerName) return; players.push(player); }); } } if (namespaceId || triggerName) { players = players.filter(player => { if (namespaceId && namespaceId != player.namespaceId) return false; if (triggerName && triggerName != player.triggerName) return false; return true; }); } return players; } private _beforeAnimationBuild( namespaceId: string, instruction: AnimationTransitionInstruction, allPreviousPlayersMap: Map) { const triggerName = instruction.triggerName; const rootElement = instruction.element; // when a removal animation occurs, ALL previous players are collected // and destroyed (even if they are outside of the current namespace) const targetNameSpaceId: string|undefined = instruction.isRemovalTransition ? undefined : namespaceId; const targetTriggerName: string|undefined = instruction.isRemovalTransition ? undefined : triggerName; for (const timelineInstruction of instruction.timelines) { const element = timelineInstruction.element; const isQueriedElement = element !== rootElement; const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []); const previousPlayers = this._getPreviousPlayers( element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState); previousPlayers.forEach(player => { const realPlayer = (player as TransitionAnimationPlayer).getRealPlayer() as any; if (realPlayer.beforeDestroy) { realPlayer.beforeDestroy(); } player.destroy(); players.push(player); }); } // this needs to be done so that the PRE/POST styles can be // computed properly without interfering with the previous animation eraseStyles(rootElement, instruction.fromStyles); } private _buildAnimation( namespaceId: string, instruction: AnimationTransitionInstruction, allPreviousPlayersMap: Map, skippedPlayersMap: Map, preStylesMap: Map, postStylesMap: Map): AnimationPlayer { const triggerName = instruction.triggerName; const rootElement = instruction.element; // we first run this so that the previous animation player // data can be passed into the successive animation players const allQueriedPlayers: TransitionAnimationPlayer[] = []; const allConsumedElements = new Set(); const allSubElements = new Set(); const allNewPlayers = instruction.timelines.map(timelineInstruction => { const element = timelineInstruction.element; allConsumedElements.add(element); // FIXME (matsko): make sure to-be-removed animations are removed properly const details = element[REMOVAL_FLAG]; if (details && details.removedBeforeQueried) return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay); const isQueriedElement = element !== rootElement; const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY) .map(p => p.getRealPlayer())) .filter(p => { // the `element` is not apart of the AnimationPlayer definition, but // Mock/WebAnimations // use the element within their implementation. This will be added in Angular5 to // AnimationPlayer const pp = p as any; return pp.element ? pp.element === element : false; }); const preStyles = preStylesMap.get(element); const postStyles = postStylesMap.get(element); const keyframes = normalizeKeyframes( this.driver, this._normalizer, element, timelineInstruction.keyframes, preStyles, postStyles); const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers); // this means that this particular player belongs to a sub trigger. It is // important that we match this player up with the corresponding (@trigger.listener) if (timelineInstruction.subTimeline && skippedPlayersMap) { allSubElements.add(element); } if (isQueriedElement) { const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element); wrappedPlayer.setRealPlayer(player); allQueriedPlayers.push(wrappedPlayer); } return player; }); allQueriedPlayers.forEach(player => { getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player); player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player)); }); allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME)); const player = optimizeGroupPlayer(allNewPlayers); player.onDestroy(() => { allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME)); setStyles(rootElement, instruction.toStyles); }); // this basically makes all of the callbacks for sub element animations // be dependent on the upper players for when they finish allSubElements.forEach(element => { getOrSetDefaultValue(skippedPlayersMap, element, []).push(player); }); return player; } private _buildPlayer( instruction: AnimationTimelineInstruction, keyframes: Array<ɵStyleDataMap>, previousPlayers: AnimationPlayer[]): AnimationPlayer { if (keyframes.length > 0) { return this.driver.animate( instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers); } // special case for when an empty transition|definition is provided // ... there is no point in rendering an empty animation return new NoopAnimationPlayer(instruction.duration, instruction.delay); } } export class TransitionAnimationPlayer implements AnimationPlayer { private _player: AnimationPlayer = new NoopAnimationPlayer(); private _containsRealPlayer = false; private _queuedCallbacks = new Map any)[]>(); public readonly destroyed = false; // TODO(issue/24571): remove '!'. public parentPlayer!: AnimationPlayer; public markedForDestroy: boolean = false; public disabled = false; readonly queued: boolean = true; public readonly totalTime: number = 0; constructor(public namespaceId: string, public triggerName: string, public element: any) {} setRealPlayer(player: AnimationPlayer) { if (this._containsRealPlayer) return; this._player = player; this._queuedCallbacks.forEach((callbacks, phase) => { callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback)); }); this._queuedCallbacks.clear(); this._containsRealPlayer = true; this.overrideTotalTime(player.totalTime); (this as {queued: boolean}).queued = false; } getRealPlayer() { return this._player; } overrideTotalTime(totalTime: number) { (this as any).totalTime = totalTime; } syncPlayerEvents(player: AnimationPlayer) { const p = this._player as any; if (p.triggerCallback) { player.onStart(() => p.triggerCallback!('start')); } player.onDone(() => this.finish()); player.onDestroy(() => this.destroy()); } private _queueEvent(name: string, callback: (event: any) => any): void { getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback); } onDone(fn: () => void): void { if (this.queued) { this._queueEvent('done', fn); } this._player.onDone(fn); } onStart(fn: () => void): void { if (this.queued) { this._queueEvent('start', fn); } this._player.onStart(fn); } onDestroy(fn: () => void): void { if (this.queued) { this._queueEvent('destroy', fn); } this._player.onDestroy(fn); } init(): void { this._player.init(); } hasStarted(): boolean { return this.queued ? false : this._player.hasStarted(); } play(): void { !this.queued && this._player.play(); } pause(): void { !this.queued && this._player.pause(); } restart(): void { !this.queued && this._player.restart(); } finish(): void { this._player.finish(); } destroy(): void { (this as {destroyed: boolean}).destroyed = true; this._player.destroy(); } reset(): void { !this.queued && this._player.reset(); } setPosition(p: any): void { if (!this.queued) { this._player.setPosition(p); } } getPosition(): number { return this.queued ? 0 : this._player.getPosition(); } /** @internal */ triggerCallback(phaseName: string): void { const p = this._player as any; if (p.triggerCallback) { p.triggerCallback(phaseName); } } } function deleteOrUnsetInMap(map: Map, key: T, value: V) { let currentValues = map.get(key); if (currentValues) { if (currentValues.length) { const index = currentValues.indexOf(value); currentValues.splice(index, 1); } if (currentValues.length == 0) { map.delete(key); } } return currentValues; } function normalizeTriggerValue(value: any): any { // we use `!= null` here because it's the most simple // way to test against a \"falsy\" value without mixing // in empty strings or a zero value. DO NOT OPTIMIZE. return value != null ? value : null; } function isElementNode(node: any) { return node && node['nodeType'] === 1; } function isTriggerEventValid(eventName: string): boolean { return eventName == 'start' || eventName == 'done'; } function cloakElement(element: any, value?: string) { const oldValue = element.style.display; element.style.display = value != null ? value : 'none'; return oldValue; } function cloakAndComputeStyles( valuesMap: Map, driver: AnimationDriver, elements: Set, elementPropsMap: Map>, defaultStyle: string): any[] { const cloakVals: string[] = []; elements.forEach(element => cloakVals.push(cloakElement(element))); const failedElements: any[] = []; elementPropsMap.forEach((props: Set, element: any) => { const styles: ɵStyleDataMap = new Map(); props.forEach(prop => { const value = driver.computeStyle(element, prop, defaultStyle); styles.set(prop, value); // there is no easy way to detect this because a sub element could be removed // by a parent animation element being detached. if (!value || value.length == 0) { element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE; failedElements.push(element); } }); valuesMap.set(element, styles); }); // we use a index variable here since Set.forEach(a, i) does not return // an index value for the closure (but instead just the value) let i = 0; elements.forEach(element => cloakElement(element, cloakVals[i++])); return failedElements; } /* Since the Angular renderer code will return a collection of inserted nodes in all areas of a DOM tree, it's up to this algorithm to figure out which nodes are roots for each animation @trigger. By placing each inserted node into a Set and traversing upwards, it is possible to find the @trigger elements and well any direct *star insertion nodes, if a @trigger root is found then the enter element is placed into the Map[@trigger] spot. */ function buildRootMap(roots: any[], nodes: any[]): Map { const rootMap = new Map(); roots.forEach(root => rootMap.set(root, [])); if (nodes.length == 0) return rootMap; const NULL_NODE = 1; const nodeSet = new Set(nodes); const localRootMap = new Map(); function getRoot(node: any): any { if (!node) return NULL_NODE; let root = localRootMap.get(node); if (root) return root; const parent = node.parentNode; if (rootMap.has(parent)) { // ngIf inside @trigger root = parent; } else if (nodeSet.has(parent)) { // ngIf inside ngIf root = NULL_NODE; } else { // recurse upwards root = getRoot(parent); } localRootMap.set(node, root); return root; } nodes.forEach(node => { const root = getRoot(node); if (root !== NULL_NODE) { rootMap.get(root)!.push(node); } }); return rootMap; } function addClass(element: any, className: string) { element.classList?.add(className); } function removeClass(element: any, className: string) { element.classList?.remove(className); } function removeNodesAfterAnimationDone( engine: TransitionAnimationEngine, element: any, players: AnimationPlayer[]) { optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element)); } function flattenGroupPlayers(players: AnimationPlayer[]): AnimationPlayer[] { const finalPlayers: AnimationPlayer[] = []; _flattenGroupPlayersRecur(players, finalPlayers); return finalPlayers; } function _flattenGroupPlayersRecur(players: AnimationPlayer[], finalPlayers: AnimationPlayer[]) { for (let i = 0; i < players.length; i++) { const player = players[i]; if (player instanceof AnimationGroupPlayer) { _flattenGroupPlayersRecur(player.players, finalPlayers); } else { finalPlayers.push(player); } } } function objEquals(a: {[key: string]: any}, b: {[key: string]: any}): boolean { const k1 = Object.keys(a); const k2 = Object.keys(b); if (k1.length != k2.length) return false; for (let i = 0; i < k1.length; i++) { const prop = k1[i]; if (!b.hasOwnProperty(prop) || a[prop] !== b[prop]) return false; } return true; } function replacePostStylesAsPre( element: any, allPreStyleElements: Map>, allPostStyleElements: Map>): boolean { const postEntry = allPostStyleElements.get(element); if (!postEntry) return false; let preEntry = allPreStyleElements.get(element); if (preEntry) { postEntry.forEach(data => preEntry!.add(data)); } else { allPreStyleElements.set(element, postEntry); } allPostStyleElements.delete(element); return true; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationMetadata, AnimationPlayer, AnimationTriggerMetadata} from '@angular/animations'; import {TriggerAst} from '../dsl/animation_ast'; import {buildAnimationAst} from '../dsl/animation_ast_builder'; import {AnimationTrigger, buildTrigger} from '../dsl/animation_trigger'; import {AnimationStyleNormalizer} from '../dsl/style_normalization/animation_style_normalizer'; import {triggerBuildFailed} from '../error_helpers'; import {warnTriggerBuild} from '../warning_helpers'; import {AnimationDriver} from './animation_driver'; import {parseTimelineCommand} from './shared'; import {TimelineAnimationEngine} from './timeline_animation_engine'; import {TransitionAnimationEngine} from './transition_animation_engine'; export class AnimationEngine { private _transitionEngine: TransitionAnimationEngine; private _timelineEngine: TimelineAnimationEngine; private _triggerCache: {[key: string]: AnimationTrigger} = {}; // this method is designed to be overridden by the code that uses this engine public onRemovalComplete = (element: any, context: any) => {}; constructor( private bodyNode: any, private _driver: AnimationDriver, private _normalizer: AnimationStyleNormalizer) { this._transitionEngine = new TransitionAnimationEngine(bodyNode, _driver, _normalizer); this._timelineEngine = new TimelineAnimationEngine(bodyNode, _driver, _normalizer); this._transitionEngine.onRemovalComplete = (element: any, context: any) => this.onRemovalComplete(element, context); } registerTrigger( componentId: string, namespaceId: string, hostElement: any, name: string, metadata: AnimationTriggerMetadata): void { const cacheKey = componentId + '-' + name; let trigger = this._triggerCache[cacheKey]; if (!trigger) { const errors: Error[] = []; const warnings: string[] = []; const ast = buildAnimationAst( this._driver, metadata as AnimationMetadata, errors, warnings) as TriggerAst; if (errors.length) { throw triggerBuildFailed(name, errors); } if (warnings.length) { warnTriggerBuild(name, warnings); } trigger = buildTrigger(name, ast, this._normalizer); this._triggerCache[cacheKey] = trigger; } this._transitionEngine.registerTrigger(namespaceId, name, trigger); } register(namespaceId: string, hostElement: any) { this._transitionEngine.register(namespaceId, hostElement); } destroy(namespaceId: string, context: any) { this._transitionEngine.destroy(namespaceId, context); } onInsert(namespaceId: string, element: any, parent: any, insertBefore: boolean): void { this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore); } onRemove(namespaceId: string, element: any, context: any, isHostElement?: boolean): void { this._transitionEngine.removeNode(namespaceId, element, isHostElement || false, context); } disableAnimations(element: any, disable: boolean) { this._transitionEngine.markElementAsDisabled(element, disable); } process(namespaceId: string, element: any, property: string, value: any) { if (property.charAt(0) == '@') { const [id, action] = parseTimelineCommand(property); const args = value as any[]; this._timelineEngine.command(id, element, action, args); } else { this._transitionEngine.trigger(namespaceId, element, property, value); } } listen( namespaceId: string, element: any, eventName: string, eventPhase: string, callback: (event: any) => any): () => any { // @@listen if (eventName.charAt(0) == '@') { const [id, action] = parseTimelineCommand(eventName); return this._timelineEngine.listen(id, element, action, callback); } return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback); } flush(microtaskId: number = -1): void { this._transitionEngine.flush(microtaskId); } get players(): AnimationPlayer[] { return (this._transitionEngine.players as AnimationPlayer[]) .concat(this._timelineEngine.players as AnimationPlayer[]); } whenRenderingDone(): Promise { return this._transitionEngine.whenRenderingDone(); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ɵStyleDataMap} from '@angular/animations'; import {eraseStyles, setStyles} from '../util'; /** * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are * detected. * * In CSS there exist properties that cannot be animated within a keyframe animation * (whether it be via CSS keyframes or web-animations) and the animation implementation * will ignore them. This function is designed to detect those special cased styles and * return a container that will be executed at the start and end of the animation. * * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null` */ export function packageNonAnimatableStyles( element: any, styles: ɵStyleDataMap|Array<ɵStyleDataMap>): SpecialCasedStyles|null { let startStyles: ɵStyleDataMap|null = null; let endStyles: ɵStyleDataMap|null = null; if (Array.isArray(styles) && styles.length) { startStyles = filterNonAnimatableStyles(styles[0]); if (styles.length > 1) { endStyles = filterNonAnimatableStyles(styles[styles.length - 1]); } } else if (styles instanceof Map) { startStyles = filterNonAnimatableStyles(styles); } return (startStyles || endStyles) ? new SpecialCasedStyles(element, startStyles, endStyles) : null; } /** * Designed to be executed during a keyframe-based animation to apply any special-cased styles. * * When started (when the `start()` method is run) then the provided `startStyles` * will be applied. When finished (when the `finish()` method is called) the * `endStyles` will be applied as well any any starting styles. Finally when * `destroy()` is called then all styles will be removed. */ export class SpecialCasedStyles { static initialStylesByElement = (/* @__PURE__ */ new WeakMap()); private _state = SpecialCasedStylesState.Pending; private _initialStyles!: ɵStyleDataMap; constructor( private _element: any, private _startStyles: ɵStyleDataMap|null, private _endStyles: ɵStyleDataMap|null) { let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element); if (!initialStyles) { SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map()); } this._initialStyles = initialStyles; } start() { if (this._state < SpecialCasedStylesState.Started) { if (this._startStyles) { setStyles(this._element, this._startStyles, this._initialStyles); } this._state = SpecialCasedStylesState.Started; } } finish() { this.start(); if (this._state < SpecialCasedStylesState.Finished) { setStyles(this._element, this._initialStyles); if (this._endStyles) { setStyles(this._element, this._endStyles); this._endStyles = null; } this._state = SpecialCasedStylesState.Started; } } destroy() { this.finish(); if (this._state < SpecialCasedStylesState.Destroyed) { SpecialCasedStyles.initialStylesByElement.delete(this._element); if (this._startStyles) { eraseStyles(this._element, this._startStyles); this._endStyles = null; } if (this._endStyles) { eraseStyles(this._element, this._endStyles); this._endStyles = null; } setStyles(this._element, this._initialStyles); this._state = SpecialCasedStylesState.Destroyed; } } } /** * An enum of states reflective of what the status of `SpecialCasedStyles` is. * * Depending on how `SpecialCasedStyles` is interacted with, the start and end * styles may not be applied in the same way. This enum ensures that if and when * the ending styles are applied then the starting styles are applied. It is * also used to reflect what the current status of the special cased styles are * which helps prevent the starting/ending styles not be applied twice. It is * also used to cleanup the styles once `SpecialCasedStyles` is destroyed. */ const enum SpecialCasedStylesState { Pending = 0, Started = 1, Finished = 2, Destroyed = 3, } function filterNonAnimatableStyles(styles: ɵStyleDataMap): ɵStyleDataMap|null { let result: ɵStyleDataMap|null = null; styles.forEach((val, prop) => { if (isNonAnimatableStyle(prop)) { result = result || new Map(); result.set(prop, val); } }); return result; } function isNonAnimatableStyle(prop: string) { return prop === 'display' || prop === 'position'; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {computeStyle} from '../../util'; import {SpecialCasedStyles} from '../special_cased_styles'; import {DOMAnimation} from './dom_animation'; export class WebAnimationsPlayer implements AnimationPlayer { private _onDoneFns: Function[] = []; private _onStartFns: Function[] = []; private _onDestroyFns: Function[] = []; private _duration: number; private _delay: number; private _initialized = false; private _finished = false; private _started = false; private _destroyed = false; private _finalKeyframe?: ɵStyleDataMap; // the following original fns are persistent copies of the _onStartFns and _onDoneFns // and are used to reset the fns to their original values upon reset() // (since the _onStartFns and _onDoneFns get deleted after they are called) private _originalOnDoneFns: Function[] = []; private _originalOnStartFns: Function[] = []; // TODO(issue/24571): remove '!'. public readonly domPlayer!: DOMAnimation; public time = 0; public parentPlayer: AnimationPlayer|null = null; public currentSnapshot: ɵStyleDataMap = new Map(); constructor( public element: any, public keyframes: Array<ɵStyleDataMap>, public options: {[key: string]: string|number}, private _specialStyles?: SpecialCasedStyles|null) { this._duration = options['duration']; this._delay = options['delay'] || 0; this.time = this._duration + this._delay; } private _onFinish() { if (!this._finished) { this._finished = true; this._onDoneFns.forEach(fn => fn()); this._onDoneFns = []; } } init(): void { this._buildPlayer(); this._preparePlayerBeforeStart(); } private _buildPlayer(): void { if (this._initialized) return; this._initialized = true; const keyframes = this.keyframes; (this as {domPlayer: DOMAnimation}).domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options); this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map(); this.domPlayer.addEventListener('finish', () => this._onFinish()); } private _preparePlayerBeforeStart() { // this is required so that the player doesn't start to animate right away if (this._delay) { this._resetDomPlayerState(); } else { this.domPlayer.pause(); } } private _convertKeyframesToObject(keyframes: Array<ɵStyleDataMap>): any[] { const kfs: any[] = []; keyframes.forEach(frame => { kfs.push(Object.fromEntries(frame)); }); return kfs; } /** @internal */ _triggerWebAnimation(element: any, keyframes: Array<ɵStyleDataMap>, options: any): DOMAnimation { // jscompiler doesn't seem to know animate is a native property because it's not fully // supported yet across common browsers (we polyfill it for Edge/Safari) [CL #143630929] return element['animate'](this._convertKeyframesToObject(keyframes), options) as DOMAnimation; } onStart(fn: () => void): void { this._originalOnStartFns.push(fn); this._onStartFns.push(fn); } onDone(fn: () => void): void { this._originalOnDoneFns.push(fn); this._onDoneFns.push(fn); } onDestroy(fn: () => void): void { this._onDestroyFns.push(fn); } play(): void { this._buildPlayer(); if (!this.hasStarted()) { this._onStartFns.forEach(fn => fn()); this._onStartFns = []; this._started = true; if (this._specialStyles) { this._specialStyles.start(); } } this.domPlayer.play(); } pause(): void { this.init(); this.domPlayer.pause(); } finish(): void { this.init(); if (this._specialStyles) { this._specialStyles.finish(); } this._onFinish(); this.domPlayer.finish(); } reset(): void { this._resetDomPlayerState(); this._destroyed = false; this._finished = false; this._started = false; this._onStartFns = this._originalOnStartFns; this._onDoneFns = this._originalOnDoneFns; } private _resetDomPlayerState() { if (this.domPlayer) { this.domPlayer.cancel(); } } restart(): void { this.reset(); this.play(); } hasStarted(): boolean { return this._started; } destroy(): void { if (!this._destroyed) { this._destroyed = true; this._resetDomPlayerState(); this._onFinish(); if (this._specialStyles) { this._specialStyles.destroy(); } this._onDestroyFns.forEach(fn => fn()); this._onDestroyFns = []; } } setPosition(p: number): void { if (this.domPlayer === undefined) { this.init(); } this.domPlayer.currentTime = p * this.time; } getPosition(): number { return this.domPlayer.currentTime / this.time; } get totalTime(): number { return this._delay + this._duration; } beforeDestroy() { const styles: ɵStyleDataMap = new Map(); if (this.hasStarted()) { // note: this code is invoked only when the `play` function was called prior to this // (thus `hasStarted` returns true), this implies that the code that initializes // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here const finalKeyframe = this._finalKeyframe!; finalKeyframe.forEach((val, prop) => { if (prop !== 'offset') { styles.set(prop, this._finished ? val : computeStyle(this.element, prop)); } }); } this.currentSnapshot = styles; } /** @internal */ triggerCallback(phaseName: string): void { const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns; methods.forEach(fn => fn()); methods.length = 0; } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {AnimationPlayer, ɵStyleDataMap} from '@angular/animations'; import {allowPreviousPlayerStylesMerge, balancePreviousStylesIntoKeyframes, camelCaseToDashCase, copyStyles, normalizeKeyframes} from '../../util'; import {AnimationDriver} from '../animation_driver'; import {containsElement, getParentElement, invokeQuery, validateStyleProperty, validateWebAnimatableStyleProperty} from '../shared'; import {packageNonAnimatableStyles} from '../special_cased_styles'; import {WebAnimationsPlayer} from './web_animations_player'; export class WebAnimationsDriver implements AnimationDriver { validateStyleProperty(prop: string): boolean { // Perform actual validation in dev mode only, in prod mode this check is a noop. if (typeof ngDevMode === 'undefined' || ngDevMode) { return validateStyleProperty(prop); } return true; } validateAnimatableStyleProperty(prop: string): boolean { // Perform actual validation in dev mode only, in prod mode this check is a noop. if (typeof ngDevMode === 'undefined' || ngDevMode) { const cssProp = camelCaseToDashCase(prop); return validateWebAnimatableStyleProperty(cssProp); } return true; } matchesElement(_element: any, _selector: string): boolean { // This method is deprecated and no longer in use so we return false. return false; } containsElement(elm1: any, elm2: any): boolean { return containsElement(elm1, elm2); } getParentElement(element: unknown): unknown { return getParentElement(element); } query(element: any, selector: string, multi: boolean): any[] { return invokeQuery(element, selector, multi); } computeStyle(element: any, prop: string, defaultValue?: string): string { return (window.getComputedStyle(element) as any)[prop] as string; } animate( element: any, keyframes: Array>, duration: number, delay: number, easing: string, previousPlayers: AnimationPlayer[] = []): AnimationPlayer { const fill = delay == 0 ? 'both' : 'forwards'; const playerOptions: {[key: string]: string|number} = {duration, delay, fill}; // we check for this to avoid having a null|undefined value be present // for the easing (which results in an error for certain browsers #9752) if (easing) { playerOptions['easing'] = easing; } const previousStyles: ɵStyleDataMap = new Map(); const previousWebAnimationPlayers = previousPlayers.filter( player => player instanceof WebAnimationsPlayer); if (allowPreviousPlayerStylesMerge(duration, delay)) { previousWebAnimationPlayers.forEach(player => { player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val)); }); } let _keyframes = normalizeKeyframes(keyframes).map(styles => copyStyles(styles)); _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles); const specialStyles = packageNonAnimatableStyles(element, _keyframes); return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all animation APIs of the animation browser package. */ export {AnimationDriver} from './render/animation_driver'; export * from './private_export'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/browser'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":["RuntimeError","normalizeKeyframes","PRE_STYLE","AnimationGroupPlayer"],"mappings":";;;;;;;;;;AAYA,MAAM,UAAU,GAAG,OAAO,CAAC;AAErB,SAAU,kBAAkB,CAAC,GAAkB,EAAA;AACnD,IAAA,OAAO,IAAIA,aAAY,CAEnB,IAAA,8CAAA,SAAS,IAAI,CAAA,2BAAA,EAA8B,GAAG,CAAA,aAAA,CAAe,CAAC,CAAC;AACrE,CAAC;SAEe,iBAAiB,GAAA;IAC/B,OAAO,IAAIA,aAAY,CAAA,IAAA,6CAEnB,SAAS,IAAI,kEAAkE,CAAC,CAAC;AACvF,CAAC;SAEe,kBAAkB,GAAA;IACh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AE,CAAC;AAChD,QAAA,MAAM,2BAA2B,GAA0B,eAAe,CAAC,MAAM,CAC7E,MAAM,IAAI,MAAM,YAAY,mBAAmB,CAAC,CAAC;AACrD,QAAA,IAAI,8BAA8B,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE;AACnD,YAAA,2BAA2B,CAAC,OAAO,CAAC,MAAM,IAAG;gBAC3C,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;AAC/E,aAAC,CAAC,CAAC;AACJ,SAAA;AAED,QAAA,IAAI,UAAU,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QACjF,UAAU,GAAG,kCAAkC,CAAC,OAAO,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;QACrF,MAAM,aAAa,GAAG,0BAA0B,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QACtE,OAAO,IAAI,mBAAmB,CAAC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;KACnF;AACF;;ACxED;;;;AAIG;;ACJH;;;;AAIG;;ACJH;;ACRA;;AAEG;;;;"} -------------------- SECTION 26 -------------------- {"version":3,"file":"upgrade.mjs","sources":["../../../../../../packages/router/upgrade/src/upgrade.ts","../../../../../../packages/router/upgrade/public_api.ts","../../../../../../packages/router/upgrade/index.ts","../../../../../../packages/router/upgrade/upgrade.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location} from '@angular/common'; import {APP_BOOTSTRAP_LISTENER, ComponentRef, InjectionToken} from '@angular/core'; import {Router, ɵRestoredState as RestoredState} from '@angular/router'; import {UpgradeModule} from '@angular/upgrade/static'; /** * Creates an initializer that sets up `ngRoute` integration * along with setting up the Angular router. * * @usageNotes * * * @NgModule({ * imports: [ * RouterModule.forRoot(SOME_ROUTES), * UpgradeModule * ], * providers: [ * RouterUpgradeInitializer * ] * }) * export class AppModule { * ngDoBootstrap() {} * } * * * @publicApi */ export const RouterUpgradeInitializer = { provide: APP_BOOTSTRAP_LISTENER, multi: true, useFactory: locationSyncBootstrapListener as (ngUpgrade: UpgradeModule) => () => void, deps: [UpgradeModule] }; /** * @internal */ export function locationSyncBootstrapListener(ngUpgrade: UpgradeModule) { return () => { setUpLocationSync(ngUpgrade); }; } /** * Sets up a location change listener to trigger `history.pushState`. * Works around the problem that `onPopState` does not trigger `history.pushState`. * Must be called *after* calling `UpgradeModule.bootstrap`. * * @param ngUpgrade The upgrade NgModule. * @param urlType The location strategy. * @see `HashLocationStrategy` * @see `PathLocationStrategy` * * @publicApi */ export function setUpLocationSync(ngUpgrade: UpgradeModule, urlType: 'path'|'hash' = 'path') { if (!ngUpgrade.$injector) { throw new Error(` RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called. Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap. `); } const router: Router = ngUpgrade.injector.get(Router); const location: Location = ngUpgrade.injector.get(Location); ngUpgrade.$injector.get('$rootScope') .$on( '$locationChangeStart', (event: any, newUrl: string, oldUrl: string, newState?: {[k: string]: unknown}|RestoredState, oldState?: {[k: string]: unknown}|RestoredState) => { // Navigations coming from Angular router have a navigationId state // property. Don't trigger Angular router navigation again if it is // caused by a URL change from the current Angular router // navigation. const currentNavigationId = router.getCurrentNavigation()?.id; const newStateNavigationId = newState?.navigationId; if (newStateNavigationId !== undefined && newStateNavigationId === currentNavigationId) { return; } let url; if (urlType === 'path') { url = resolveUrl(newUrl); } else if (urlType === 'hash') { // Remove the first hash from the URL const hashIdx = newUrl.indexOf('#'); url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1)); } else { throw 'Invalid URLType passed to setUpLocationSync: ' + urlType; } const path = location.normalize(url.pathname); router.navigateByUrl(path + url.search + url.hash); }); } /** * Normalizes and parses a URL. * * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of * the application document. * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related * properties are all populated to reflect the normalized URL. * * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.) * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL * and assigning it again. This correctly populates all properties. * * See * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33 * for more info. */ let anchor: HTMLAnchorElement|undefined; function resolveUrl(url: string): {pathname: string, search: string, hash: string} { if (!anchor) { anchor = document.createElement('a'); } anchor.setAttribute('href', url); anchor.setAttribute('href', anchor.href); return { // IE does not start `pathname` with `/` like other browsers. pathname: `/${anchor.pathname.replace(/^\\//, '')}`, search: anchor.search, hash: anchor.hash }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/upgrade'; // This file only reexports content of the `src` folder. Keep it that way. ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACU,MAAA,wBAAwB,GAAG;AACtC,IAAA,OAAO,EAAE,sBAAsB;AAC/B,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,UAAU,EAAE,6BAAyE;IACrF,IAAI,EAAE,CAAC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AC,GAAG,MAAM,CAAC,SAAS,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC;AAChF,SAAA;AAAM,aAAA;YACL,MAAM,+CAA+C,GAAG,OAAO,CAAC;AACjE,SAAA;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC9C,QAAA,MAAM,CAAC,aAAa,CAAC,IAAI,GAAG,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;AACrD,KAAC,CAAC,CAAC;AACb,CAAC;AAED;;;;;;;;;;;;;;;;;AAiBG;AACH,IAAI,MAAmC,CAAC;AACxC,SAAS,UAAU,CAAC,GAAW,EAAA;IAC7B,IAAI,CAAC,MAAM,EAAE;AACX,QAAA,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AACtC,KAAA;AAED,IAAA,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;IAEzC,OAAO;;AAEL,QAAA,QAAQ,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAE,CAAA;QAClD,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,IAAI,EAAE,MAAM,CAAC,IAAI;KAClB,CAAC;AACJ;;ACpIA;;;;AAIG;AAGH;;ACPA;;ACRA;;AAEG;;;;"} -------------------- SECTION 27 -------------------- {"version":3,"file":"upgrade.mjs","sources":["../../../../../../packages/router/upgrade/src/upgrade.ts","../../../../../../packages/router/upgrade/public_api.ts","../../../../../../packages/router/upgrade/index.ts","../../../../../../packages/router/upgrade/upgrade.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location} from '@angular/common'; import {APP_BOOTSTRAP_LISTENER, ComponentRef, InjectionToken} from '@angular/core'; import {Router, ɵRestoredState as RestoredState} from '@angular/router'; import {UpgradeModule} from '@angular/upgrade/static'; /** * Creates an initializer that sets up `ngRoute` integration * along with setting up the Angular router. * * @usageNotes * * * @NgModule({ * imports: [ * RouterModule.forRoot(SOME_ROUTES), * UpgradeModule * ], * providers: [ * RouterUpgradeInitializer * ] * }) * export class AppModule { * ngDoBootstrap() {} * } * * * @publicApi */ export const RouterUpgradeInitializer = { provide: APP_BOOTSTRAP_LISTENER, multi: true, useFactory: locationSyncBootstrapListener as (ngUpgrade: UpgradeModule) => () => void, deps: [UpgradeModule] }; /** * @internal */ export function locationSyncBootstrapListener(ngUpgrade: UpgradeModule) { return () => { setUpLocationSync(ngUpgrade); }; } /** * Sets up a location change listener to trigger `history.pushState`. * Works around the problem that `onPopState` does not trigger `history.pushState`. * Must be called *after* calling `UpgradeModule.bootstrap`. * * @param ngUpgrade The upgrade NgModule. * @param urlType The location strategy. * @see `HashLocationStrategy` * @see `PathLocationStrategy` * * @publicApi */ export function setUpLocationSync(ngUpgrade: UpgradeModule, urlType: 'path'|'hash' = 'path') { if (!ngUpgrade.$injector) { throw new Error(` RouterUpgradeInitializer can be used only after UpgradeModule.bootstrap has been called. Remove RouterUpgradeInitializer and call setUpLocationSync after UpgradeModule.bootstrap. `); } const router: Router = ngUpgrade.injector.get(Router); const location: Location = ngUpgrade.injector.get(Location); ngUpgrade.$injector.get('$rootScope') .$on( '$locationChangeStart', (event: any, newUrl: string, oldUrl: string, newState?: {[k: string]: unknown}|RestoredState, oldState?: {[k: string]: unknown}|RestoredState) => { // Navigations coming from Angular router have a navigationId state // property. Don't trigger Angular router navigation again if it is // caused by a URL change from the current Angular router // navigation. const currentNavigationId = router.getCurrentNavigation()?.id; const newStateNavigationId = newState?.navigationId; if (newStateNavigationId !== undefined && newStateNavigationId === currentNavigationId) { return; } let url; if (urlType === 'path') { url = resolveUrl(newUrl); } else if (urlType === 'hash') { // Remove the first hash from the URL const hashIdx = newUrl.indexOf('#'); url = resolveUrl(newUrl.substring(0, hashIdx) + newUrl.substring(hashIdx + 1)); } else { throw 'Invalid URLType passed to setUpLocationSync: ' + urlType; } const path = location.normalize(url.pathname); router.navigateByUrl(path + url.search + url.hash); }); } /** * Normalizes and parses a URL. * * - Normalizing means that a relative URL will be resolved into an absolute URL in the context of * the application document. * - Parsing means that the anchor's `protocol`, `hostname`, `port`, `pathname` and related * properties are all populated to reflect the normalized URL. * * While this approach has wide compatibility, it doesn't work as expected on IE. On IE, normalizing * happens similar to other browsers, but the parsed components will not be set. (E.g. if you assign * `a.href = 'foo'`, then `a.protocol`, `a.host`, etc. will not be correctly updated.) * We work around that by performing the parsing in a 2nd step by taking a previously normalized URL * and assigning it again. This correctly populates all properties. * * See * https://github.com/angular/angular.js/blob/2c7400e7d07b0f6cec1817dab40b9250ce8ebce6/src/ng/urlUtils.js#L26-L33 * for more info. */ let anchor: HTMLAnchorElement|undefined; function resolveUrl(url: string): {pathname: string, search: string, hash: string} { if (!anchor) { anchor = document.createElement('a'); } anchor.setAttribute('href', url); anchor.setAttribute('href', anchor.href); return { // IE does not start `pathname` with `/` like other browsers. pathname: `/${anchor.pathname.replace(/^\\//, '')}`, search: anchor.search, hash: anchor.hash }; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/upgrade'; // This file only reexports content of the `src` folder. Keep it that way. ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;A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ACpIA;;;;AAIG;AAGH;;ACPA;;ACRA;;AAEG;;;;"} -------------------- SECTION 28 -------------------- Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * -------------------- SECTION 29 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../../packages/common/http/testing/src/api.ts","../../../../../../../packages/common/http/testing/src/request.ts","../../../../../../../packages/common/http/testing/src/backend.ts","../../../../../../../packages/common/http/testing/src/provider.ts","../../../../../../../packages/common/http/testing/src/module.ts","../../../../../../../packages/common/http/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpRequest} from '@angular/common/http'; import {TestRequest} from './request'; /** * Defines a matcher for requests based on URL, method, or both. * * @publicApi */ export interface RequestMatch { method?: string; url?: string; } /** * Controller to be injected into tests, that allows for mocking and flushing * of requests. * * @publicApi */ export abstract class HttpTestingController { /** * Search for requests that match the given parameter, without any expectations. */ abstract match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[]; /** * Expect that a single request has been made which matches the given URL, and return its * mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(url: string, description?: string): TestRequest; /** * Expect that a single request has been made which matches the given parameters, and return * its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(params: RequestMatch, description?: string): TestRequest; /** * Expect that a single request has been made which matches the given predicate function, and * return its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(matchFn: ((req: HttpRequest) => boolean), description?: string): TestRequest; /** * Expect that a single request has been made which matches the given condition, and return * its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne( match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): TestRequest; /** * Expect that no requests have been made which match the given URL. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(url: string, description?: string): void; /** * Expect that no requests have been made which match the given parameters. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(params: RequestMatch, description?: string): void; /** * Expect that no requests have been made which match the given predicate function. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(matchFn: ((req: HttpRequest) => boolean), description?: string): void; /** * Expect that no requests have been made which match the given condition. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone( match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): void; /** * Verify that no unmatched requests are outstanding. * * If any requests are outstanding, fail with an error message indicating which requests were not * handled. * * If `ignoreCancelled` is not set (the default), `verify()` will also fail if cancelled requests * were not explicitly matched. */ abstract verify(opts?: {ignoreCancelled?: boolean}): void; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpErrorResponse, HttpEvent, HttpHeaders, HttpRequest, HttpResponse, HttpStatusCode} from '@angular/common/http'; import {Observer} from 'rxjs'; /** * Type that describes options that can be used to create an error * in `TestRequest`. */ type TestRequestErrorOptions = { headers?: HttpHeaders|{[name: string]: string | string[]}, status?: number, statusText?: string, }; /** * A mock requests that was received and is ready to be answered. * * This interface allows access to the underlying `HttpRequest`, and allows * responding with `HttpEvent`s or `HttpErrorResponse`s. * * @publicApi */ export class TestRequest { /** * Whether the request was cancelled after it was sent. */ get cancelled(): boolean { return this._cancelled; } /** * @internal set by `HttpClientTestingBackend` */ _cancelled = false; constructor(public request: HttpRequest, private observer: Observer>) {} /** * Resolve the request by returning a body plus additional HTTP information (such as response * headers) if provided. * If the request specifies an expected body type, the body is converted into the requested type. * Otherwise, the body is converted to `JSON` by default. * * Both successful and unsuccessful responses can be delivered via `flush()`. */ flush( body: ArrayBuffer|Blob|boolean|string|number|Object|(boolean|string|number|Object|null)[]| null, opts: { headers?: HttpHeaders|{[name: string]: string | string[]}, status?: number, statusText?: string, } = {}): void { if (this.cancelled) { throw new Error(`Cannot flush a cancelled request.`); } const url = this.request.urlWithParams; const headers = (opts.headers instanceof HttpHeaders) ? opts.headers : new HttpHeaders(opts.headers); body = _maybeConvertBody(this.request.responseType, body); let statusText: string|undefined = opts.statusText; let status: number = opts.status !== undefined ? opts.status : HttpStatusCode.Ok; if (opts.status === undefined) { if (body === null) { status = HttpStatusCode.NoContent; statusText = statusText || 'No Content'; } else { statusText = statusText || 'OK'; } } if (statusText === undefined) { throw new Error('statusText is required when setting a custom status.'); } if (status >= 200 && status < 300) { this.observer.next(new HttpResponse({body, headers, status, statusText, url})); this.observer.complete(); } else { this.observer.error(new HttpErrorResponse({error: body, headers, status, statusText, url})); } } /** * Resolve the request by returning an `ErrorEvent` (e.g. simulating a network failure). * @deprecated Http requests never emit an `ErrorEvent`. Please specify a `ProgressEvent`. */ error(error: ErrorEvent, opts?: TestRequestErrorOptions): void; /** * Resolve the request by returning an `ProgressEvent` (e.g. simulating a network failure). */ error(error: ProgressEvent, opts?: TestRequestErrorOptions): void; error(error: ProgressEvent|ErrorEvent, opts: TestRequestErrorOptions = {}): void { if (this.cancelled) { throw new Error(`Cannot return an error for a cancelled request.`); } if (opts.status && opts.status >= 200 && opts.status < 300) { throw new Error(`error() called with a successful status.`); } const headers = (opts.headers instanceof HttpHeaders) ? opts.headers : new HttpHeaders(opts.headers); this.observer.error(new HttpErrorResponse({ error, headers, status: opts.status || 0, statusText: opts.statusText || '', url: this.request.urlWithParams, })); } /** * Deliver an arbitrary `HttpEvent` (such as a progress event) on the response stream for this * request. */ event(event: HttpEvent): void { if (this.cancelled) { throw new Error(`Cannot send events to a cancelled request.`); } this.observer.next(event); } } /** * Helper function to convert a response body to an ArrayBuffer. */ function _toArrayBufferBody(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): ArrayBuffer { if (typeof ArrayBuffer === 'undefined') { throw new Error('ArrayBuffer responses are not supported on this platform.'); } if (body instanceof ArrayBuffer) { return body; } throw new Error('Automatic conversion to ArrayBuffer is not supported for response type.'); } /** * Helper function to convert a response body to a Blob. */ function _toBlob(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): Blob { if (typeof Blob === 'undefined') { throw new Error('Blob responses are not supported on this platform.'); } if (body instanceof Blob) { return body; } if (ArrayBuffer && body instanceof ArrayBuffer) { return new Blob([body]); } throw new Error('Automatic conversion to Blob is not supported for response type.'); } /** * Helper function to convert a response body to JSON data. */ function _toJsonBody( body: ArrayBuffer|Blob|boolean|string|number|Object| (boolean | string | number | Object | null)[], format: string = 'JSON'): Object|string|number|(Object | string | number)[] { if (typeof ArrayBuffer !== 'undefined' && body instanceof ArrayBuffer) { throw new Error(`Automatic conversion to ${format} is not supported for ArrayBuffers.`); } if (typeof Blob !== 'undefined' && body instanceof Blob) { throw new Error(`Automatic conversion to ${format} is not supported for Blobs.`); } if (typeof body === 'string' || typeof body === 'number' || typeof body === 'object' || typeof body === 'boolean' || Array.isArray(body)) { return body; } throw new Error(`Automatic conversion to ${format} is not supported for response type.`); } /** * Helper function to convert a response body to a string. */ function _toTextBody(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): string { if (typeof body === 'string') { return body; } if (typeof ArrayBuffer !== 'undefined' && body instanceof ArrayBuffer) { throw new Error('Automatic conversion to text is not supported for ArrayBuffers.'); } if (typeof Blob !== 'undefined' && body instanceof Blob) { throw new Error('Automatic conversion to text is not supported for Blobs.'); } return JSON.stringify(_toJsonBody(body, 'text')); } /** * Convert a response body to the requested type. */ function _maybeConvertBody( responseType: string, body: ArrayBuffer|Blob|string|number|Object|(string | number | Object | null)[]| null): ArrayBuffer|Blob|string|number|Object|(string | number | Object | null)[]|null { if (body === null) { return null; } switch (responseType) { case 'arraybuffer': return _toArrayBufferBody(body); case 'blob': return _toBlob(body); case 'json': return _toJsonBody(body); case 'text': return _toTextBody(body); default: throw new Error(`Unsupported responseType: ${responseType}`); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpBackend, HttpEvent, HttpEventType, HttpRequest} from '@angular/common/http'; import {Injectable} from '@angular/core'; import {Observable, Observer} from 'rxjs'; import {HttpTestingController, RequestMatch} from './api'; import {TestRequest} from './request'; /** * A testing backend for `HttpClient` which both acts as an `HttpBackend` * and as the `HttpTestingController`. * * `HttpClientTestingBackend` works by keeping a list of all open requests. * As requests come in, they're added to the list. Users can assert that specific * requests were made and then flush them. In the end, a verify() method asserts * that no unexpected requests were made. * * */ @Injectable() export class HttpClientTestingBackend implements HttpBackend, HttpTestingController { /** * List of pending requests which have not yet been expected. */ private open: TestRequest[] = []; /** * Handle an incoming request by queueing it in the list of open requests. */ handle(req: HttpRequest): Observable> { return new Observable((observer: Observer) => { const testReq = new TestRequest(req, observer); this.open.push(testReq); observer.next({type: HttpEventType.Sent} as HttpEvent); return () => { testReq._cancelled = true; }; }); } /** * Helper function to search for requests in the list of open requests. */ private _match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[] { if (typeof match === 'string') { return this.open.filter(testReq => testReq.request.urlWithParams === match); } else if (typeof match === 'function') { return this.open.filter(testReq => match(testReq.request)); } else { return this.open.filter( testReq => (!match.method || testReq.request.method === match.method.toUpperCase()) && (!match.url || testReq.request.urlWithParams === match.url)); } } /** * Search for requests in the list of open requests, and return all that match * without asserting anything about the number of matches. */ match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[] { const results = this._match(match); results.forEach(result => { const index = this.open.indexOf(result); if (index !== -1) { this.open.splice(index, 1); } }); return results; } /** * Expect that a single outstanding request matches the given matcher, and return * it. * * Requests returned through this API will no longer be in the list of open requests, * and thus will not match twice. */ expectOne(match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): TestRequest { description = description || this.descriptionFromMatcher(match); const matches = this.match(match); if (matches.length > 1) { throw new Error(`Expected one matching request for criteria \"${description}\", found ${ matches.length} requests.`); } if (matches.length === 0) { let message = `Expected one matching request for criteria \"${description}\", found none.`; if (this.open.length > 0) { // Show the methods and URLs of open requests in the error, for convenience. const requests = this.open.map(describeRequest).join(', '); message += ` Requests received are: ${requests}.`; } throw new Error(message); } return matches[0]; } /** * Expect that no outstanding requests match the given matcher, and throw an error * if any do. */ expectNone(match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): void { description = description || this.descriptionFromMatcher(match); const matches = this.match(match); if (matches.length > 0) { throw new Error(`Expected zero matching requests for criteria \"${description}\", found ${ matches.length}.`); } } /** * Validate that there are no outstanding requests. */ verify(opts: {ignoreCancelled?: boolean} = {}): void { let open = this.open; // It's possible that some requests may be cancelled, and this is expected. // The user can ask to ignore open requests which have been cancelled. if (opts.ignoreCancelled) { open = open.filter(testReq => !testReq.cancelled); } if (open.length > 0) { // Show the methods and URLs of open requests in the error, for convenience. const requests = open.map(describeRequest).join(', '); throw new Error(`Expected no open requests, found ${open.length}: ${requests}`); } } private descriptionFromMatcher(matcher: string|RequestMatch| ((req: HttpRequest) => boolean)): string { if (typeof matcher === 'string') { return `Match URL: ${matcher}`; } else if (typeof matcher === 'object') { const method = matcher.method || '(any)'; const url = matcher.url || '(any)'; return `Match method: ${method}, URL: ${url}`; } else { return `Match by function: ${matcher.name}`; } } } function describeRequest(testRequest: TestRequest): string { const url = testRequest.request.urlWithParams; const method = testRequest.request.method; return `${method} ${url}`; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpBackend, HttpClientModule} from '@angular/common/http'; import {NgModule, Provider} from '@angular/core'; import {HttpTestingController} from './api'; import {HttpClientTestingBackend} from './backend'; export function provideHttpClientTesting(): Provider[] { return [ HttpClientTestingBackend, {provide: HttpBackend, useExisting: HttpClientTestingBackend}, {provide: HttpTestingController, useExisting: HttpClientTestingBackend}, ]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpClientModule} from '@angular/common/http'; import {NgModule} from '@angular/core'; import {provideHttpClientTesting} from './provider'; /** * Configures `HttpClientTestingBackend` as the `HttpBackend` used by `HttpClient`. * * Inject `HttpTestingController` to expect and flush requests in your tests. * * @publicApi */ @NgModule({ imports: [ HttpClientModule, ], providers: [ provideHttpClientTesting(), ], }) export class HttpClientTestingModule { } ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AAsBA;;;;;AAKG;MACmB,qBAAqB,CAAA;AAwF1C;;AC/FD;;;;;;;AAOG;MACU,WAAW,CAAA;AACtB;;AAEG;AACH,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IAOD,WAAmB,CAAA,OAAyB,EAAU,QAAkC,EAAA;AAArE,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;AAAU,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAA0B;AALxF;;AAEG;AACH,QAAA,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;KAEyE;AAE5F;;;;;;;AAOG;AACH,IAAA,KAAK,CACD,IACI,EACJ,IAAA,GAII,EAAE,EAAA;QACR,IAAI,IAAI,CAAC,SAAS,EAAE;AAClB,YAAA,MAAM,IAAI,KAAK,CAAC,CAAA,iCAAA,CAAmC,CAAC,CAAC;AACtD,SAAA;AACD,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;QACvC,MAAM,OAAO,GACT,CAAC,IAAI,CAAC,OAAO,YAAY,WAAW,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzF,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAC1D,QAAA,IAAI,UAAU,GAAqB,IAAI,CAAC,UAAU,CAAC;AACnD,QAAA,IAAI,MAAM,GAAW,IAAI,CAAC,MAAM,KAAK,SAAS,GA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AuB,EAAA,UAAA,EAAA,CAAA;kBARnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,gBAAgB;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAE;AACT,wBAAA,wBAAwB,EAAE;AAC3B,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"} -------------------- SECTION 30 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../../packages/common/http/testing/src/api.ts","../../../../../../../packages/common/http/testing/src/request.ts","../../../../../../../packages/common/http/testing/src/backend.ts","../../../../../../../packages/common/http/testing/src/provider.ts","../../../../../../../packages/common/http/testing/src/module.ts","../../../../../../../packages/common/http/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpRequest} from '@angular/common/http'; import {TestRequest} from './request'; /** * Defines a matcher for requests based on URL, method, or both. * * @publicApi */ export interface RequestMatch { method?: string; url?: string; } /** * Controller to be injected into tests, that allows for mocking and flushing * of requests. * * @publicApi */ export abstract class HttpTestingController { /** * Search for requests that match the given parameter, without any expectations. */ abstract match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[]; /** * Expect that a single request has been made which matches the given URL, and return its * mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(url: string, description?: string): TestRequest; /** * Expect that a single request has been made which matches the given parameters, and return * its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(params: RequestMatch, description?: string): TestRequest; /** * Expect that a single request has been made which matches the given predicate function, and * return its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne(matchFn: ((req: HttpRequest) => boolean), description?: string): TestRequest; /** * Expect that a single request has been made which matches the given condition, and return * its mock. * * If no such request has been made, or more than one such request has been made, fail with an * error message including the given request description, if any. */ abstract expectOne( match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): TestRequest; /** * Expect that no requests have been made which match the given URL. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(url: string, description?: string): void; /** * Expect that no requests have been made which match the given parameters. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(params: RequestMatch, description?: string): void; /** * Expect that no requests have been made which match the given predicate function. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone(matchFn: ((req: HttpRequest) => boolean), description?: string): void; /** * Expect that no requests have been made which match the given condition. * * If a matching request has been made, fail with an error message including the given request * description, if any. */ abstract expectNone( match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): void; /** * Verify that no unmatched requests are outstanding. * * If any requests are outstanding, fail with an error message indicating which requests were not * handled. * * If `ignoreCancelled` is not set (the default), `verify()` will also fail if cancelled requests * were not explicitly matched. */ abstract verify(opts?: {ignoreCancelled?: boolean}): void; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpErrorResponse, HttpEvent, HttpHeaders, HttpRequest, HttpResponse, HttpStatusCode} from '@angular/common/http'; import {Observer} from 'rxjs'; /** * Type that describes options that can be used to create an error * in `TestRequest`. */ type TestRequestErrorOptions = { headers?: HttpHeaders|{[name: string]: string | string[]}, status?: number, statusText?: string, }; /** * A mock requests that was received and is ready to be answered. * * This interface allows access to the underlying `HttpRequest`, and allows * responding with `HttpEvent`s or `HttpErrorResponse`s. * * @publicApi */ export class TestRequest { /** * Whether the request was cancelled after it was sent. */ get cancelled(): boolean { return this._cancelled; } /** * @internal set by `HttpClientTestingBackend` */ _cancelled = false; constructor(public request: HttpRequest, private observer: Observer>) {} /** * Resolve the request by returning a body plus additional HTTP information (such as response * headers) if provided. * If the request specifies an expected body type, the body is converted into the requested type. * Otherwise, the body is converted to `JSON` by default. * * Both successful and unsuccessful responses can be delivered via `flush()`. */ flush( body: ArrayBuffer|Blob|boolean|string|number|Object|(boolean|string|number|Object|null)[]| null, opts: { headers?: HttpHeaders|{[name: string]: string | string[]}, status?: number, statusText?: string, } = {}): void { if (this.cancelled) { throw new Error(`Cannot flush a cancelled request.`); } const url = this.request.urlWithParams; const headers = (opts.headers instanceof HttpHeaders) ? opts.headers : new HttpHeaders(opts.headers); body = _maybeConvertBody(this.request.responseType, body); let statusText: string|undefined = opts.statusText; let status: number = opts.status !== undefined ? opts.status : HttpStatusCode.Ok; if (opts.status === undefined) { if (body === null) { status = HttpStatusCode.NoContent; statusText = statusText || 'No Content'; } else { statusText = statusText || 'OK'; } } if (statusText === undefined) { throw new Error('statusText is required when setting a custom status.'); } if (status >= 200 && status < 300) { this.observer.next(new HttpResponse({body, headers, status, statusText, url})); this.observer.complete(); } else { this.observer.error(new HttpErrorResponse({error: body, headers, status, statusText, url})); } } /** * Resolve the request by returning an `ErrorEvent` (e.g. simulating a network failure). * @deprecated Http requests never emit an `ErrorEvent`. Please specify a `ProgressEvent`. */ error(error: ErrorEvent, opts?: TestRequestErrorOptions): void; /** * Resolve the request by returning an `ProgressEvent` (e.g. simulating a network failure). */ error(error: ProgressEvent, opts?: TestRequestErrorOptions): void; error(error: ProgressEvent|ErrorEvent, opts: TestRequestErrorOptions = {}): void { if (this.cancelled) { throw new Error(`Cannot return an error for a cancelled request.`); } if (opts.status && opts.status >= 200 && opts.status < 300) { throw new Error(`error() called with a successful status.`); } const headers = (opts.headers instanceof HttpHeaders) ? opts.headers : new HttpHeaders(opts.headers); this.observer.error(new HttpErrorResponse({ error, headers, status: opts.status || 0, statusText: opts.statusText || '', url: this.request.urlWithParams, })); } /** * Deliver an arbitrary `HttpEvent` (such as a progress event) on the response stream for this * request. */ event(event: HttpEvent): void { if (this.cancelled) { throw new Error(`Cannot send events to a cancelled request.`); } this.observer.next(event); } } /** * Helper function to convert a response body to an ArrayBuffer. */ function _toArrayBufferBody(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): ArrayBuffer { if (typeof ArrayBuffer === 'undefined') { throw new Error('ArrayBuffer responses are not supported on this platform.'); } if (body instanceof ArrayBuffer) { return body; } throw new Error('Automatic conversion to ArrayBuffer is not supported for response type.'); } /** * Helper function to convert a response body to a Blob. */ function _toBlob(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): Blob { if (typeof Blob === 'undefined') { throw new Error('Blob responses are not supported on this platform.'); } if (body instanceof Blob) { return body; } if (ArrayBuffer && body instanceof ArrayBuffer) { return new Blob([body]); } throw new Error('Automatic conversion to Blob is not supported for response type.'); } /** * Helper function to convert a response body to JSON data. */ function _toJsonBody( body: ArrayBuffer|Blob|boolean|string|number|Object| (boolean | string | number | Object | null)[], format: string = 'JSON'): Object|string|number|(Object | string | number)[] { if (typeof ArrayBuffer !== 'undefined' && body instanceof ArrayBuffer) { throw new Error(`Automatic conversion to ${format} is not supported for ArrayBuffers.`); } if (typeof Blob !== 'undefined' && body instanceof Blob) { throw new Error(`Automatic conversion to ${format} is not supported for Blobs.`); } if (typeof body === 'string' || typeof body === 'number' || typeof body === 'object' || typeof body === 'boolean' || Array.isArray(body)) { return body; } throw new Error(`Automatic conversion to ${format} is not supported for response type.`); } /** * Helper function to convert a response body to a string. */ function _toTextBody(body: ArrayBuffer|Blob|string|number|Object| (string | number | Object | null)[]): string { if (typeof body === 'string') { return body; } if (typeof ArrayBuffer !== 'undefined' && body instanceof ArrayBuffer) { throw new Error('Automatic conversion to text is not supported for ArrayBuffers.'); } if (typeof Blob !== 'undefined' && body instanceof Blob) { throw new Error('Automatic conversion to text is not supported for Blobs.'); } return JSON.stringify(_toJsonBody(body, 'text')); } /** * Convert a response body to the requested type. */ function _maybeConvertBody( responseType: string, body: ArrayBuffer|Blob|string|number|Object|(string | number | Object | null)[]| null): ArrayBuffer|Blob|string|number|Object|(string | number | Object | null)[]|null { if (body === null) { return null; } switch (responseType) { case 'arraybuffer': return _toArrayBufferBody(body); case 'blob': return _toBlob(body); case 'json': return _toJsonBody(body); case 'text': return _toTextBody(body); default: throw new Error(`Unsupported responseType: ${responseType}`); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpBackend, HttpEvent, HttpEventType, HttpRequest} from '@angular/common/http'; import {Injectable} from '@angular/core'; import {Observable, Observer} from 'rxjs'; import {HttpTestingController, RequestMatch} from './api'; import {TestRequest} from './request'; /** * A testing backend for `HttpClient` which both acts as an `HttpBackend` * and as the `HttpTestingController`. * * `HttpClientTestingBackend` works by keeping a list of all open requests. * As requests come in, they're added to the list. Users can assert that specific * requests were made and then flush them. In the end, a verify() method asserts * that no unexpected requests were made. * * */ @Injectable() export class HttpClientTestingBackend implements HttpBackend, HttpTestingController { /** * List of pending requests which have not yet been expected. */ private open: TestRequest[] = []; /** * Handle an incoming request by queueing it in the list of open requests. */ handle(req: HttpRequest): Observable> { return new Observable((observer: Observer) => { const testReq = new TestRequest(req, observer); this.open.push(testReq); observer.next({type: HttpEventType.Sent} as HttpEvent); return () => { testReq._cancelled = true; }; }); } /** * Helper function to search for requests in the list of open requests. */ private _match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[] { if (typeof match === 'string') { return this.open.filter(testReq => testReq.request.urlWithParams === match); } else if (typeof match === 'function') { return this.open.filter(testReq => match(testReq.request)); } else { return this.open.filter( testReq => (!match.method || testReq.request.method === match.method.toUpperCase()) && (!match.url || testReq.request.urlWithParams === match.url)); } } /** * Search for requests in the list of open requests, and return all that match * without asserting anything about the number of matches. */ match(match: string|RequestMatch|((req: HttpRequest) => boolean)): TestRequest[] { const results = this._match(match); results.forEach(result => { const index = this.open.indexOf(result); if (index !== -1) { this.open.splice(index, 1); } }); return results; } /** * Expect that a single outstanding request matches the given matcher, and return * it. * * Requests returned through this API will no longer be in the list of open requests, * and thus will not match twice. */ expectOne(match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): TestRequest { description = description || this.descriptionFromMatcher(match); const matches = this.match(match); if (matches.length > 1) { throw new Error(`Expected one matching request for criteria \"${description}\", found ${ matches.length} requests.`); } if (matches.length === 0) { let message = `Expected one matching request for criteria \"${description}\", found none.`; if (this.open.length > 0) { // Show the methods and URLs of open requests in the error, for convenience. const requests = this.open.map(describeRequest).join(', '); message += ` Requests received are: ${requests}.`; } throw new Error(message); } return matches[0]; } /** * Expect that no outstanding requests match the given matcher, and throw an error * if any do. */ expectNone(match: string|RequestMatch|((req: HttpRequest) => boolean), description?: string): void { description = description || this.descriptionFromMatcher(match); const matches = this.match(match); if (matches.length > 0) { throw new Error(`Expected zero matching requests for criteria \"${description}\", found ${ matches.length}.`); } } /** * Validate that there are no outstanding requests. */ verify(opts: {ignoreCancelled?: boolean} = {}): void { let open = this.open; // It's possible that some requests may be cancelled, and this is expected. // The user can ask to ignore open requests which have been cancelled. if (opts.ignoreCancelled) { open = open.filter(testReq => !testReq.cancelled); } if (open.length > 0) { // Show the methods and URLs of open requests in the error, for convenience. const requests = open.map(describeRequest).join(', '); throw new Error(`Expected no open requests, found ${open.length}: ${requests}`); } } private descriptionFromMatcher(matcher: string|RequestMatch| ((req: HttpRequest) => boolean)): string { if (typeof matcher === 'string') { return `Match URL: ${matcher}`; } else if (typeof matcher === 'object') { const method = matcher.method || '(any)'; const url = matcher.url || '(any)'; return `Match method: ${method}, URL: ${url}`; } else { return `Match by function: ${matcher.name}`; } } } function describeRequest(testRequest: TestRequest): string { const url = testRequest.request.urlWithParams; const method = testRequest.request.method; return `${method} ${url}`; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpBackend, HttpClientModule} from '@angular/common/http'; import {NgModule, Provider} from '@angular/core'; import {HttpTestingController} from './api'; import {HttpClientTestingBackend} from './backend'; export function provideHttpClientTesting(): Provider[] { return [ HttpClientTestingBackend, {provide: HttpBackend, useExisting: HttpClientTestingBackend}, {provide: HttpTestingController, useExisting: HttpClientTestingBackend}, ]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpClientModule} from '@angular/common/http'; import {NgModule} from '@angular/core'; import {provideHttpClientTesting} from './provider'; /** * Configures `HttpClientTestingBackend` as the `HttpBackend` used by `HttpClient`. * * Inject `HttpTestingController` to expect and flush requests in your tests. * * @publicApi */ @NgModule({ imports: [ HttpClientModule, ], providers: [ provideHttpClientTesting(), ], }) export class HttpClientTestingModule { } ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AAsBA;;;;;AAKG;MACmB,qBAAqB,CAAA;AAwF1C;;AC/FD;;;;;;;AAOG;MACU,WAAW,CAAA;AACtB;;AAEG;AACH,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;KACxB;IAOD,WAAmB,CAAA,OAAyB,EAAU,QAAkC,EAAA;QAArE,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;QAAU,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAA0B;AALxF;;AAEG;QACH,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;KAEyE;AAE5F;;;;;;;AAOG;AACH,IAAA,KAAK,CACD,IACI,EACJ,IAAA,GAII,EAAE,EAAA;QACR,IAAI,IAAI,CAAC,SAAS,EAAE;AAClB,YAAA,MAAM,IAAI,KAAK,CAAC,CAAA,iCAAA,CAAmC,CAAC,CAAC;AACtD,SAAA;AACD,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;QACvC,MAAM,OAAO,GACT,CAAC,IAAI,CAAC,OAAO,YAAY,WAAW,IAAI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzF,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAC1D,QAAA,IAAI,UAAU,GAAqB,IA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AE;AAC3B,KAAA,EAAA,OAAA,EAAA,CAJC,gBAAgB,CAAA,EAAA,CAAA,CAAA;sGAMP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBARnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,gBAAgB;AACjB,qBAAA;AACD,oBAAA,SAAS,EAAE;AACT,wBAAA,wBAAwB,EAAE;AAC3B,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"} -------------------- SECTION 31 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/common/src/location/util.ts","../../../../../../packages/common/testing/src/location_mock.ts","../../../../../../packages/common/testing/src/mock_location_strategy.ts","../../../../../../packages/common/testing/src/mock_platform_location.ts","../../../../../../packages/common/testing/src/provide_location_mocks.ts","../../../../../../packages/common/testing/src/testing.ts","../../../../../../packages/common/testing/public_api.ts","../../../../../../packages/common/testing/index.ts","../../../../../../packages/common/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Joins two parts of a URL with a slash if needed. * * @param start URL string * @param end URL string * * * @returns The joined URL string. */ export function joinWithSlash(start: string, end: string): string { if (start.length == 0) { return end; } if (end.length == 0) { return start; } let slashes = 0; if (start.endsWith('/')) { slashes++; } if (end.startsWith('/')) { slashes++; } if (slashes == 2) { return start + end.substring(1); } if (slashes == 1) { return start + end; } return start + '/' + end; } /** * Removes a trailing slash from a URL string if needed. * Looks for the first occurrence of either `#`, `?`, or the end of the * line as `/` characters and removes the trailing slash if one exists. * * @param url URL string. * * @returns The URL string, modified if needed. */ export function stripTrailingSlash(url: string): string { const match = url.match(/#|\\?|$/); const pathEndIdx = match && match.index || url.length; const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0); return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx); } /** * Normalizes URL parameters by prepending with `?` if needed. * * @param params String of URL parameters. * * @returns The normalized URL parameters string. */ export function normalizeQueryParams(params: string): string { return params && params[0] !== '?' ? '?' + params : params; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location, LocationStrategy} from '@angular/common'; import {EventEmitter, Injectable} from '@angular/core'; import {SubscriptionLike} from 'rxjs'; import {normalizeQueryParams} from '../../src/location/util'; /** * A spy for {@link Location} that allows tests to fire simulated location events. * * @publicApi */ @Injectable() export class SpyLocation implements Location { urlChanges: string[] = []; private _history: LocationState[] = [new LocationState('', '', null)]; private _historyIndex: number = 0; /** @internal */ _subject: EventEmitter = new EventEmitter(); /** @internal */ _basePath: string = ''; /** @internal */ _locationStrategy: LocationStrategy = null!; /** @internal */ _urlChangeListeners: ((url: string, state: unknown) => void)[] = []; /** @internal */ _urlChangeSubscription: SubscriptionLike|null = null; ngOnDestroy(): void { this._urlChangeSubscription?.unsubscribe(); this._urlChangeListeners = []; } setInitialPath(url: string) { this._history[this._historyIndex].path = url; } setBaseHref(url: string) { this._basePath = url; } path(): string { return this._history[this._historyIndex].path; } getState(): unknown { return this._history[this._historyIndex].state; } isCurrentPathEqualTo(path: string, query: string = ''): boolean { const givenPath = path.endsWith('/') ? path.substring(0, path.length - 1) : path; const currPath = this.path().endsWith('/') ? this.path().substring(0, this.path().length - 1) : this.path(); return currPath == givenPath + (query.length > 0 ? ('?' + query) : ''); } simulateUrlPop(pathname: string) { this._subject.emit({'url': pathname, 'pop': true, 'type': 'popstate'}); } simulateHashChange(pathname: string) { const path = this.prepareExternalUrl(pathname); this.pushHistory(path, '', null); this.urlChanges.push('hash: ' + pathname); // the browser will automatically fire popstate event before each `hashchange` event, so we need // to simulate it. this._subject.emit({'url': pathname, 'pop': true, 'type': 'popstate'}); this._subject.emit({'url': pathname, 'pop': true, 'type': 'hashchange'}); } prepareExternalUrl(url: string): string { if (url.length > 0 && !url.startsWith('/')) { url = '/' + url; } return this._basePath + url; } go(path: string, query: string = '', state: any = null) { path = this.prepareExternalUrl(path); this.pushHistory(path, query, state); const locationState = this._history[this._historyIndex - 1]; if (locationState.path == path && locationState.query == query) { return; } const url = path + (query.length > 0 ? ('?' + query) : ''); this.urlChanges.push(url); this._notifyUrlChangeListeners(path + normalizeQueryParams(query), state); } replaceState(path: string, query: string = '', state: any = null) { path = this.prepareExternalUrl(path); const history = this._history[this._historyIndex]; history.state = state; if (history.path == path && history.query == query) { return; } history.path = path; history.query = query; const url = path + (query.length > 0 ? ('?' + query) : ''); this.urlChanges.push('replace: ' + url); this._notifyUrlChangeListeners(path + normalizeQueryParams(query), state); } forward() { if (this._historyIndex < (this._history.length - 1)) { this._historyIndex++; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } back() { if (this._historyIndex > 0) { this._historyIndex--; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } historyGo(relativePosition: number = 0): void { const nextPageIndex = this._historyIndex + relativePosition; if (nextPageIndex >= 0 && nextPageIndex < this._history.length) { this._historyIndex = nextPageIndex; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction { this._urlChangeListeners.push(fn); if (!this._urlChangeSubscription) { this._urlChangeSubscription = this.subscribe(v => { this._notifyUrlChangeListeners(v.url, v.state); }); } return () => { const fnIndex = this._urlChangeListeners.indexOf(fn); this._urlChangeListeners.splice(fnIndex, 1); if (this._urlChangeListeners.length === 0) { this._urlChangeSubscription?.unsubscribe(); this._urlChangeSubscription = null; } }; } /** @internal */ _notifyUrlChangeListeners(url: string = '', state: unknown) { this._urlChangeListeners.forEach(fn => fn(url, state)); } subscribe( onNext: (value: any) => void, onThrow?: ((error: any) => void)|null, onReturn?: (() => void)|null): SubscriptionLike { return this._subject.subscribe({next: onNext, error: onThrow, complete: onReturn}); } normalize(url: string): string { return null!; } private pushHistory(path: string, query: string, state: any) { if (this._historyIndex > 0) { this._history.splice(this._historyIndex + 1); } this._history.push(new LocationState(path, query, state)); this._historyIndex = this._history.length - 1; } } class LocationState { constructor(public path: string, public query: string, public state: any) {} } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {LocationStrategy} from '@angular/common'; import {EventEmitter, Injectable} from '@angular/core'; /** * A mock implementation of {@link LocationStrategy} that allows tests to fire simulated * location events. * * @publicApi */ @Injectable() export class MockLocationStrategy extends LocationStrategy { internalBaseHref: string = '/'; internalPath: string = '/'; internalTitle: string = ''; urlChanges: string[] = []; /** @internal */ _subject: EventEmitter = new EventEmitter(); private stateChanges: any[] = []; constructor() { super(); } simulatePopState(url: string): void { this.internalPath = url; this._subject.emit(new _MockPopStateEvent(this.path())); } path(includeHash: boolean = false): string { return this.internalPath; } prepareExternalUrl(internal: string): string { if (internal.startsWith('/') && this.internalBaseHref.endsWith('/')) { return this.internalBaseHref + internal.substring(1); } return this.internalBaseHref + internal; } pushState(ctx: any, title: string, path: string, query: string): void { // Add state change to changes array this.stateChanges.push(ctx); this.internalTitle = title; const url = path + (query.length > 0 ? ('?' + query) : ''); this.internalPath = url; const externalUrl = this.prepareExternalUrl(url); this.urlChanges.push(externalUrl); } replaceState(ctx: any, title: string, path: string, query: string): void { // Reset the last index of stateChanges to the ctx (state) object this.stateChanges[(this.stateChanges.length || 1) - 1] = ctx; this.internalTitle = title; const url = path + (query.length > 0 ? ('?' + query) : ''); this.internalPath = url; const externalUrl = this.prepareExternalUrl(url); this.urlChanges.push('replace: ' + externalUrl); } onPopState(fn: (value: any) => void): void { this._subject.subscribe({next: fn}); } getBaseHref(): string { return this.internalBaseHref; } back(): void { if (this.urlChanges.length > 0) { this.urlChanges.pop(); this.stateChanges.pop(); const nextUrl = this.urlChanges.length > 0 ? this.urlChanges[this.urlChanges.length - 1] : ''; this.simulatePopState(nextUrl); } } forward(): void { throw 'not implemented'; } getState(): unknown { return this.stateChanges[(this.stateChanges.length || 1) - 1]; } } class _MockPopStateEvent { pop: boolean = true; type: string = 'popstate'; constructor(public newUrl: string) {} } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {LocationChangeEvent, LocationChangeListener, PlatformLocation} from '@angular/common'; import {Inject, Injectable, InjectionToken, Optional} from '@angular/core'; import {Subject} from 'rxjs'; /** * Parser from https://tools.ietf.org/html/rfc3986#appendix-B * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))? * 12 3 4 5 6 7 8 9 * * Example: http://www.ics.uci.edu/pub/ietf/uri/#Related * * Results in: * * $1 = http: * $2 = http * $3 = //www.ics.uci.edu * $4 = www.ics.uci.edu * $5 = /pub/ietf/uri/ * $6 = * $7 = * $8 = #Related * $9 = Related */ const urlParse = /^(([^:\\/?#]+):)?(\\/\\/([^\\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/; function parseUrl(urlStr: string, baseHref: string) { const verifyProtocol = /^((http[s]?|ftp):\\/\\/)/; let serverBase: string|undefined; // URL class requires full URL. If the URL string doesn't start with protocol, we need to add // an arbitrary base URL which can be removed afterward. if (!verifyProtocol.test(urlStr)) { serverBase = 'http://empty.com/'; } let parsedUrl: { protocol: string, hostname: string, port: string, pathname: string, search: string, hash: string }; try { parsedUrl = new URL(urlStr, serverBase); } catch (e) { const result = urlParse.exec(serverBase || '' + urlStr); if (!result) { throw new Error(`Invalid URL: ${urlStr} with base: ${baseHref}`); } const hostSplit = result[4].split(':'); parsedUrl = { protocol: result[1], hostname: hostSplit[0], port: hostSplit[1] || '', pathname: result[5], search: result[6], hash: result[8], }; } if (parsedUrl.pathname && parsedUrl.pathname.indexOf(baseHref) === 0) { parsedUrl.pathname = parsedUrl.pathname.substring(baseHref.length); } return { hostname: !serverBase && parsedUrl.hostname || '', protocol: !serverBase && parsedUrl.protocol || '', port: !serverBase && parsedUrl.port || '', pathname: parsedUrl.pathname || '/', search: parsedUrl.search || '', hash: parsedUrl.hash || '', }; } /** * Mock platform location config * * @publicApi */ export interface MockPlatformLocationConfig { startUrl?: string; appBaseHref?: string; } /** * Provider for mock platform location config * * @publicApi */ export const MOCK_PLATFORM_LOCATION_CONFIG = new InjectionToken('MOCK_PLATFORM_LOCATION_CONFIG'); /** * Mock implementation of URL state. * * @publicApi */ @Injectable() export class MockPlatformLocation implements PlatformLocation { private baseHref: string = ''; private hashUpdate = new Subject(); private popStateSubject = new Subject(); private urlChangeIndex: number = 0; private urlChanges: { hostname: string, protocol: string, port: string, pathname: string, search: string, hash: string, state: unknown }[] = [{hostname: '', protocol: '', port: '', pathname: '/', search: '', hash: '', state: null}]; constructor(@Inject(MOCK_PLATFORM_LOCATION_CONFIG) @Optional() config?: MockPlatformLocationConfig) { if (config) { this.baseHref = config.appBaseHref || ''; const parsedChanges = this.parseChanges(null, config.startUrl || 'http://_empty_/', this.baseHref); this.urlChanges[0] = {...parsedChanges}; } } get hostname() { return this.urlChanges[this.urlChangeIndex].hostname; } get protocol() { return this.urlChanges[this.urlChangeIndex].protocol; } get port() { return this.urlChanges[this.urlChangeIndex].port; } get pathname() { return this.urlChanges[this.urlChangeIndex].pathname; } get search() { return this.urlChanges[this.urlChangeIndex].search; } get hash() { return this.urlChanges[this.urlChangeIndex].hash; } get state() { return this.urlChanges[this.urlChangeIndex].state; } getBaseHrefFromDOM(): string { return this.baseHref; } onPopState(fn: LocationChangeListener): VoidFunction { const subscription = this.popStateSubject.subscribe(fn); return () => subscription.unsubscribe(); } onHashChange(fn: LocationChangeListener): VoidFunction { const subscription = this.hashUpdate.subscribe(fn); return () => subscription.unsubscribe(); } get href(): string { let url = `${this.protocol}//${this.hostname}${this.port ? ':' + this.port : ''}`; url += `${this.pathname === '/' ? '' : this.pathname}${this.search}${this.hash}`; return url; } get url(): string { return `${this.pathname}${this.search}${this.hash}`; } private parseChanges(state: unknown, url: string, baseHref: string = '') { // When the `history.state` value is stored, it is always copied. state = JSON.parse(JSON.stringify(state)); return {...parseUrl(url, baseHref), state}; } replaceState(state: any, title: string, newUrl: string): void { const {pathname, search, state: parsedState, hash} = this.parseChanges(state, newUrl); this.urlChanges[this.urlChangeIndex] = {...this.urlChanges[this.urlChangeIndex], pathname, search, hash, state: parsedState}; } pushState(state: any, title: string, newUrl: string): void { const {pathname, search, state: parsedState, hash} = this.parseChanges(state, newUrl); if (this.urlChangeIndex > 0) { this.urlChanges.splice(this.urlChangeIndex + 1); } this.urlChanges.push( {...this.urlChanges[this.urlChangeIndex], pathname, search, hash, state: parsedState}); this.urlChangeIndex = this.urlChanges.length - 1; } forward(): void { const oldUrl = this.url; const oldHash = this.hash; if (this.urlChangeIndex < this.urlChanges.length) { this.urlChangeIndex++; } this.emitEvents(oldHash, oldUrl); } back(): void { const oldUrl = this.url; const oldHash = this.hash; if (this.urlChangeIndex > 0) { this.urlChangeIndex--; } this.emitEvents(oldHash, oldUrl); } historyGo(relativePosition: number = 0): void { const oldUrl = this.url; const oldHash = this.hash; const nextPageIndex = this.urlChangeIndex + relativePosition; if (nextPageIndex >= 0 && nextPageIndex < this.urlChanges.length) { this.urlChangeIndex = nextPageIndex; } this.emitEvents(oldHash, oldUrl); } getState(): unknown { return this.state; } /** * Browsers are inconsistent in when they fire events and perform the state updates * The most easiest thing to do in our mock is synchronous and that happens to match * Firefox and Chrome, at least somewhat closely * * https://github.com/WICG/navigation-api#watching-for-navigations * https://docs.google.com/document/d/1Pdve-DJ1JCGilj9Yqf5HxRJyBKSel5owgOvUJqTauwU/edit#heading=h.3ye4v71wsz94 * popstate is always sent before hashchange: * https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event#when_popstate_is_sent */ private emitEvents(oldHash: string, oldUrl: string) { this.popStateSubject.next( {type: 'popstate', state: this.getState(), oldUrl, newUrl: this.url} as LocationChangeEvent); if (oldHash !== this.hash) { this.hashUpdate.next( {type: 'hashchange', state: null, oldUrl, newUrl: this.url} as LocationChangeEvent); } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location, LocationStrategy} from '@angular/common'; import {Provider} from '@angular/core'; import {SpyLocation} from './location_mock'; import {MockLocationStrategy} from './mock_location_strategy'; /** * Returns mock providers for the `Location` and `LocationStrategy` classes. * The mocks are helpful in tests to fire simulated location events. * * @publicApi */ export function provideLocationMocks(): Provider[] { return [ {provide: Location, useClass: SpyLocation}, {provide: LocationStrategy, useClass: MockLocationStrategy}, ]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of the common/testing package. */ export {SpyLocation} from './location_mock'; export {MockLocationStrategy} from './mock_location_strategy'; export {MOCK_PLATFORM_LOCATION_CONFIG, MockPlatformLocation, MockPlatformLocationConfig} from './mock_platform_location'; export {provideLocationMocks} from './provide_location_mocks'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; // This file only reexports content of the `src` folder. Keep it that way. ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AASA;;;;;;;;AAQG;AACa,SAAA,aAAa,CAAC,KAAa,EAAE,GAAW,EAAA;AACtD,IAAA,IAAI,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE;AACrB,QAAA,OAAO,GAAG,CAAC;AACZ,KAAA;AACD,IAAA,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,EAA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ACjBA;;;;AAIG;;ACJH;;;;AAIG;AAGH;;ACPA;;ACRA;;AAEG;;;;"} -------------------- SECTION 32 -------------------- {"version":3,"file":"testing.mjs","sources":["../../../../../../packages/common/src/location/util.ts","../../../../../../packages/common/testing/src/location_mock.ts","../../../../../../packages/common/testing/src/mock_location_strategy.ts","../../../../../../packages/common/testing/src/mock_platform_location.ts","../../../../../../packages/common/testing/src/provide_location_mocks.ts","../../../../../../packages/common/testing/src/testing.ts","../../../../../../packages/common/testing/public_api.ts","../../../../../../packages/common/testing/index.ts","../../../../../../packages/common/testing/testing.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * Joins two parts of a URL with a slash if needed. * * @param start URL string * @param end URL string * * * @returns The joined URL string. */ export function joinWithSlash(start: string, end: string): string { if (start.length == 0) { return end; } if (end.length == 0) { return start; } let slashes = 0; if (start.endsWith('/')) { slashes++; } if (end.startsWith('/')) { slashes++; } if (slashes == 2) { return start + end.substring(1); } if (slashes == 1) { return start + end; } return start + '/' + end; } /** * Removes a trailing slash from a URL string if needed. * Looks for the first occurrence of either `#`, `?`, or the end of the * line as `/` characters and removes the trailing slash if one exists. * * @param url URL string. * * @returns The URL string, modified if needed. */ export function stripTrailingSlash(url: string): string { const match = url.match(/#|\\?|$/); const pathEndIdx = match && match.index || url.length; const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0); return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx); } /** * Normalizes URL parameters by prepending with `?` if needed. * * @param params String of URL parameters. * * @returns The normalized URL parameters string. */ export function normalizeQueryParams(params: string): string { return params && params[0] !== '?' ? '?' + params : params; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location, LocationStrategy} from '@angular/common'; import {EventEmitter, Injectable} from '@angular/core'; import {SubscriptionLike} from 'rxjs'; import {normalizeQueryParams} from '../../src/location/util'; /** * A spy for {@link Location} that allows tests to fire simulated location events. * * @publicApi */ @Injectable() export class SpyLocation implements Location { urlChanges: string[] = []; private _history: LocationState[] = [new LocationState('', '', null)]; private _historyIndex: number = 0; /** @internal */ _subject: EventEmitter = new EventEmitter(); /** @internal */ _basePath: string = ''; /** @internal */ _locationStrategy: LocationStrategy = null!; /** @internal */ _urlChangeListeners: ((url: string, state: unknown) => void)[] = []; /** @internal */ _urlChangeSubscription: SubscriptionLike|null = null; ngOnDestroy(): void { this._urlChangeSubscription?.unsubscribe(); this._urlChangeListeners = []; } setInitialPath(url: string) { this._history[this._historyIndex].path = url; } setBaseHref(url: string) { this._basePath = url; } path(): string { return this._history[this._historyIndex].path; } getState(): unknown { return this._history[this._historyIndex].state; } isCurrentPathEqualTo(path: string, query: string = ''): boolean { const givenPath = path.endsWith('/') ? path.substring(0, path.length - 1) : path; const currPath = this.path().endsWith('/') ? this.path().substring(0, this.path().length - 1) : this.path(); return currPath == givenPath + (query.length > 0 ? ('?' + query) : ''); } simulateUrlPop(pathname: string) { this._subject.emit({'url': pathname, 'pop': true, 'type': 'popstate'}); } simulateHashChange(pathname: string) { const path = this.prepareExternalUrl(pathname); this.pushHistory(path, '', null); this.urlChanges.push('hash: ' + pathname); // the browser will automatically fire popstate event before each `hashchange` event, so we need // to simulate it. this._subject.emit({'url': pathname, 'pop': true, 'type': 'popstate'}); this._subject.emit({'url': pathname, 'pop': true, 'type': 'hashchange'}); } prepareExternalUrl(url: string): string { if (url.length > 0 && !url.startsWith('/')) { url = '/' + url; } return this._basePath + url; } go(path: string, query: string = '', state: any = null) { path = this.prepareExternalUrl(path); this.pushHistory(path, query, state); const locationState = this._history[this._historyIndex - 1]; if (locationState.path == path && locationState.query == query) { return; } const url = path + (query.length > 0 ? ('?' + query) : ''); this.urlChanges.push(url); this._notifyUrlChangeListeners(path + normalizeQueryParams(query), state); } replaceState(path: string, query: string = '', state: any = null) { path = this.prepareExternalUrl(path); const history = this._history[this._historyIndex]; history.state = state; if (history.path == path && history.query == query) { return; } history.path = path; history.query = query; const url = path + (query.length > 0 ? ('?' + query) : ''); this.urlChanges.push('replace: ' + url); this._notifyUrlChangeListeners(path + normalizeQueryParams(query), state); } forward() { if (this._historyIndex < (this._history.length - 1)) { this._historyIndex++; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } back() { if (this._historyIndex > 0) { this._historyIndex--; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } historyGo(relativePosition: number = 0): void { const nextPageIndex = this._historyIndex + relativePosition; if (nextPageIndex >= 0 && nextPageIndex < this._history.length) { this._historyIndex = nextPageIndex; this._subject.emit( {'url': this.path(), 'state': this.getState(), 'pop': true, 'type': 'popstate'}); } } onUrlChange(fn: (url: string, state: unknown) => void): VoidFunction { this._urlChangeListeners.push(fn); if (!this._urlChangeSubscription) { this._urlChangeSubscription = this.subscribe(v => { this._notifyUrlChangeListeners(v.url, v.state); }); } return () => { const fnIndex = this._urlChangeListeners.indexOf(fn); this._urlChangeListeners.splice(fnIndex, 1); if (this._urlChangeListeners.length === 0) { this._urlChangeSubscription?.unsubscribe(); this._urlChangeSubscription = null; } }; } /** @internal */ _notifyUrlChangeListeners(url: string = '', state: unknown) { this._urlChangeListeners.forEach(fn => fn(url, state)); } subscribe( onNext: (value: any) => void, onThrow?: ((error: any) => void)|null, onReturn?: (() => void)|null): SubscriptionLike { return this._subject.subscribe({next: onNext, error: onThrow, complete: onReturn}); } normalize(url: string): string { return null!; } private pushHistory(path: string, query: string, state: any) { if (this._historyIndex > 0) { this._history.splice(this._historyIndex + 1); } this._history.push(new LocationState(path, query, state)); this._historyIndex = this._history.length - 1; } } class LocationState { constructor(public path: string, public query: string, public state: any) {} } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {LocationStrategy} from '@angular/common'; import {EventEmitter, Injectable} from '@angular/core'; /** * A mock implementation of {@link LocationStrategy} that allows tests to fire simulated * location events. * * @publicApi */ @Injectable() export class MockLocationStrategy extends LocationStrategy { internalBaseHref: string = '/'; internalPath: string = '/'; internalTitle: string = ''; urlChanges: string[] = []; /** @internal */ _subject: EventEmitter = new EventEmitter(); private stateChanges: any[] = []; constructor() { super(); } simulatePopState(url: string): void { this.internalPath = url; this._subject.emit(new _MockPopStateEvent(this.path())); } path(includeHash: boolean = false): string { return this.internalPath; } prepareExternalUrl(internal: string): string { if (internal.startsWith('/') && this.internalBaseHref.endsWith('/')) { return this.internalBaseHref + internal.substring(1); } return this.internalBaseHref + internal; } pushState(ctx: any, title: string, path: string, query: string): void { // Add state change to changes array this.stateChanges.push(ctx); this.internalTitle = title; const url = path + (query.length > 0 ? ('?' + query) : ''); this.internalPath = url; const externalUrl = this.prepareExternalUrl(url); this.urlChanges.push(externalUrl); } replaceState(ctx: any, title: string, path: string, query: string): void { // Reset the last index of stateChanges to the ctx (state) object this.stateChanges[(this.stateChanges.length || 1) - 1] = ctx; this.internalTitle = title; const url = path + (query.length > 0 ? ('?' + query) : ''); this.internalPath = url; const externalUrl = this.prepareExternalUrl(url); this.urlChanges.push('replace: ' + externalUrl); } onPopState(fn: (value: any) => void): void { this._subject.subscribe({next: fn}); } getBaseHref(): string { return this.internalBaseHref; } back(): void { if (this.urlChanges.length > 0) { this.urlChanges.pop(); this.stateChanges.pop(); const nextUrl = this.urlChanges.length > 0 ? this.urlChanges[this.urlChanges.length - 1] : ''; this.simulatePopState(nextUrl); } } forward(): void { throw 'not implemented'; } getState(): unknown { return this.stateChanges[(this.stateChanges.length || 1) - 1]; } } class _MockPopStateEvent { pop: boolean = true; type: string = 'popstate'; constructor(public newUrl: string) {} } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {LocationChangeEvent, LocationChangeListener, PlatformLocation} from '@angular/common'; import {Inject, Injectable, InjectionToken, Optional} from '@angular/core'; import {Subject} from 'rxjs'; /** * Parser from https://tools.ietf.org/html/rfc3986#appendix-B * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))? * 12 3 4 5 6 7 8 9 * * Example: http://www.ics.uci.edu/pub/ietf/uri/#Related * * Results in: * * $1 = http: * $2 = http * $3 = //www.ics.uci.edu * $4 = www.ics.uci.edu * $5 = /pub/ietf/uri/ * $6 = * $7 = * $8 = #Related * $9 = Related */ const urlParse = /^(([^:\\/?#]+):)?(\\/\\/([^\\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?/; function parseUrl(urlStr: string, baseHref: string) { const verifyProtocol = /^((http[s]?|ftp):\\/\\/)/; let serverBase: string|undefined; // URL class requires full URL. If the URL string doesn't start with protocol, we need to add // an arbitrary base URL which can be removed afterward. if (!verifyProtocol.test(urlStr)) { serverBase = 'http://empty.com/'; } let parsedUrl: { protocol: string, hostname: string, port: string, pathname: string, search: string, hash: string }; try { parsedUrl = new URL(urlStr, serverBase); } catch (e) { const result = urlParse.exec(serverBase || '' + urlStr); if (!result) { throw new Error(`Invalid URL: ${urlStr} with base: ${baseHref}`); } const hostSplit = result[4].split(':'); parsedUrl = { protocol: result[1], hostname: hostSplit[0], port: hostSplit[1] || '', pathname: result[5], search: result[6], hash: result[8], }; } if (parsedUrl.pathname && parsedUrl.pathname.indexOf(baseHref) === 0) { parsedUrl.pathname = parsedUrl.pathname.substring(baseHref.length); } return { hostname: !serverBase && parsedUrl.hostname || '', protocol: !serverBase && parsedUrl.protocol || '', port: !serverBase && parsedUrl.port || '', pathname: parsedUrl.pathname || '/', search: parsedUrl.search || '', hash: parsedUrl.hash || '', }; } /** * Mock platform location config * * @publicApi */ export interface MockPlatformLocationConfig { startUrl?: string; appBaseHref?: string; } /** * Provider for mock platform location config * * @publicApi */ export const MOCK_PLATFORM_LOCATION_CONFIG = new InjectionToken('MOCK_PLATFORM_LOCATION_CONFIG'); /** * Mock implementation of URL state. * * @publicApi */ @Injectable() export class MockPlatformLocation implements PlatformLocation { private baseHref: string = ''; private hashUpdate = new Subject(); private popStateSubject = new Subject(); private urlChangeIndex: number = 0; private urlChanges: { hostname: string, protocol: string, port: string, pathname: string, search: string, hash: string, state: unknown }[] = [{hostname: '', protocol: '', port: '', pathname: '/', search: '', hash: '', state: null}]; constructor(@Inject(MOCK_PLATFORM_LOCATION_CONFIG) @Optional() config?: MockPlatformLocationConfig) { if (config) { this.baseHref = config.appBaseHref || ''; const parsedChanges = this.parseChanges(null, config.startUrl || 'http://_empty_/', this.baseHref); this.urlChanges[0] = {...parsedChanges}; } } get hostname() { return this.urlChanges[this.urlChangeIndex].hostname; } get protocol() { return this.urlChanges[this.urlChangeIndex].protocol; } get port() { return this.urlChanges[this.urlChangeIndex].port; } get pathname() { return this.urlChanges[this.urlChangeIndex].pathname; } get search() { return this.urlChanges[this.urlChangeIndex].search; } get hash() { return this.urlChanges[this.urlChangeIndex].hash; } get state() { return this.urlChanges[this.urlChangeIndex].state; } getBaseHrefFromDOM(): string { return this.baseHref; } onPopState(fn: LocationChangeListener): VoidFunction { const subscription = this.popStateSubject.subscribe(fn); return () => subscription.unsubscribe(); } onHashChange(fn: LocationChangeListener): VoidFunction { const subscription = this.hashUpdate.subscribe(fn); return () => subscription.unsubscribe(); } get href(): string { let url = `${this.protocol}//${this.hostname}${this.port ? ':' + this.port : ''}`; url += `${this.pathname === '/' ? '' : this.pathname}${this.search}${this.hash}`; return url; } get url(): string { return `${this.pathname}${this.search}${this.hash}`; } private parseChanges(state: unknown, url: string, baseHref: string = '') { // When the `history.state` value is stored, it is always copied. state = JSON.parse(JSON.stringify(state)); return {...parseUrl(url, baseHref), state}; } replaceState(state: any, title: string, newUrl: string): void { const {pathname, search, state: parsedState, hash} = this.parseChanges(state, newUrl); this.urlChanges[this.urlChangeIndex] = {...this.urlChanges[this.urlChangeIndex], pathname, search, hash, state: parsedState}; } pushState(state: any, title: string, newUrl: string): void { const {pathname, search, state: parsedState, hash} = this.parseChanges(state, newUrl); if (this.urlChangeIndex > 0) { this.urlChanges.splice(this.urlChangeIndex + 1); } this.urlChanges.push( {...this.urlChanges[this.urlChangeIndex], pathname, search, hash, state: parsedState}); this.urlChangeIndex = this.urlChanges.length - 1; } forward(): void { const oldUrl = this.url; const oldHash = this.hash; if (this.urlChangeIndex < this.urlChanges.length) { this.urlChangeIndex++; } this.emitEvents(oldHash, oldUrl); } back(): void { const oldUrl = this.url; const oldHash = this.hash; if (this.urlChangeIndex > 0) { this.urlChangeIndex--; } this.emitEvents(oldHash, oldUrl); } historyGo(relativePosition: number = 0): void { const oldUrl = this.url; const oldHash = this.hash; const nextPageIndex = this.urlChangeIndex + relativePosition; if (nextPageIndex >= 0 && nextPageIndex < this.urlChanges.length) { this.urlChangeIndex = nextPageIndex; } this.emitEvents(oldHash, oldUrl); } getState(): unknown { return this.state; } /** * Browsers are inconsistent in when they fire events and perform the state updates * The most easiest thing to do in our mock is synchronous and that happens to match * Firefox and Chrome, at least somewhat closely * * https://github.com/WICG/navigation-api#watching-for-navigations * https://docs.google.com/document/d/1Pdve-DJ1JCGilj9Yqf5HxRJyBKSel5owgOvUJqTauwU/edit#heading=h.3ye4v71wsz94 * popstate is always sent before hashchange: * https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event#when_popstate_is_sent */ private emitEvents(oldHash: string, oldUrl: string) { this.popStateSubject.next( {type: 'popstate', state: this.getState(), oldUrl, newUrl: this.url} as LocationChangeEvent); if (oldHash !== this.hash) { this.hashUpdate.next( {type: 'hashchange', state: null, oldUrl, newUrl: this.url} as LocationChangeEvent); } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Location, LocationStrategy} from '@angular/common'; import {Provider} from '@angular/core'; import {SpyLocation} from './location_mock'; import {MockLocationStrategy} from './mock_location_strategy'; /** * Returns mock providers for the `Location` and `LocationStrategy` classes. * The mocks are helpful in tests to fire simulated location events. * * @publicApi */ export function provideLocationMocks(): Provider[] { return [ {provide: Location, useClass: SpyLocation}, {provide: LocationStrategy, useClass: MockLocationStrategy}, ]; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of the common/testing package. */ export {SpyLocation} from './location_mock'; export {MockLocationStrategy} from './mock_location_strategy'; export {MOCK_PLATFORM_LOCATION_CONFIG, MockPlatformLocation, MockPlatformLocationConfig} from './mock_platform_location'; export {provideLocationMocks} from './provide_location_mocks'; ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @module * @description * Entry point for all public APIs of this package. */ export * from './src/testing'; // This file only reexports content of the `src` folder. Keep it that way. ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // This file is not used to build this module. It is only used during editing // by the TypeScript language service and during build for verification. `ngc` // replaces this file with production index.ts when it rewrites private symbol // names. export * from './public_api'; ","/** * Generated bundle index. Do not edit. */ export * from './index'; "],"names":[],"mappings":";;;;;;;;;;;AASA;;;;;;;;AAQG;AACa,SAAA,aAAa,CAAC,KAAa,EAAE,GAAW,EAAA;AACtD,IAAA,IAAI,KAAK,CAAC,MAAM,IAAI,CAAC,EAAE;AACrB,QAAA,OAAO,GAAG,CAAC;AACZ,KAAA;AACD,IAAA,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE;AACnB,QAAA,OAAO,KAAK,CAAC;AACd,KAAA;IACD,IAAI,OAAO,GAAG,CAAC,CAAC;AAChB,IAAA,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AACvB,QAAA,OAAO,EAAE,CAAC;AACX,KAAA;AACD,IAAA,IAAI,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;AACvB,QAA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AC,6BAA6B,CAAA;;8BAAG,QAAQ;;;;ACzG9D;;;;;AAKG;SACa,oBAAoB,GAAA;IAClC,OAAO;AACL,QAAA,EAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAC;AAC1C,QAAA,EAAC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,oBAAoB,EAAC;KAC5D,CAAC;AACJ;;ACjBA;;;;AAIG;;ACJH;;;;AAIG;AAGH;;ACPA;;ACRA;;AAEG;;;;"} -------------------- SECTION 33 -------------------- {"version":3,"file":"http.mjs","sources":["../../../../../../packages/common/http/src/backend.ts","../../../../../../packages/common/http/src/headers.ts","../../../../../../packages/common/http/src/params.ts","../../../../../../packages/common/http/src/context.ts","../../../../../../packages/common/http/src/request.ts","../../../../../../packages/common/http/src/response.ts","../../../../../../packages/common/http/src/client.ts","../../../../../../packages/common/http/src/interceptor.ts","../../../../../../packages/common/http/src/jsonp.ts","../../../../../../packages/common/http/src/xhr.ts","../../../../../../packages/common/http/src/xsrf.ts","../../../../../../packages/common/http/src/provider.ts","../../../../../../packages/common/http/src/module.ts","../../../../../../packages/common/http/public_api.ts","../../../../../../packages/common/http/index.ts","../../../../../../packages/common/http/http.ts"],"sourcesContent":["/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Observable} from 'rxjs'; import {HttpRequest} from './request'; import {HttpEvent} from './response'; /** * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a * `HttpResponse`. * * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the * `HttpBackend`. * * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain. * * @publicApi */ export abstract class HttpHandler { abstract handle(req: HttpRequest): Observable>; } /** * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend. * * Interceptors sit between the `HttpClient` interface and the `HttpBackend`. * * When injected, `HttpBackend` dispatches requests directly to the backend, without going * through the interceptor chain. * * @publicApi */ export abstract class HttpBackend implements HttpHandler { abstract handle(req: HttpRequest): Observable>; } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ interface Update { name: string; value?: string|string[]; op: 'a'|'s'|'d'; } /** * Represents the header configuration options for an HTTP request. * Instances are immutable. Modifying methods return a cloned * instance with the change. The original object is never changed. * * @publicApi */ export class HttpHeaders { /** * Internal map of lowercase header names to values. */ // TODO(issue/24571): remove '!'. private headers!: Map; /** * Internal map of lowercased header names to the normalized * form of the name (the form seen first). */ private normalizedNames: Map = new Map(); /** * Complete the lazy initialization of this object (needed before reading). */ private lazyInit!: HttpHeaders|Function|null; /** * Queued updates to be materialized the next initialization. */ private lazyUpdate: Update[]|null = null; /** Constructs a new HTTP header object with the given values.*/ constructor(headers?: string|{[name: string]: string | string[]}) { if (!headers) { this.headers = new Map(); } else if (typeof headers === 'string') { this.lazyInit = () => { this.headers = new Map(); headers.split('\ ').forEach(line => { const index = line.indexOf(':'); if (index > 0) { const name = line.slice(0, index); const key = name.toLowerCase(); const value = line.slice(index + 1).trim(); this.maybeSetNormalizedName(name, key); if (this.headers.has(key)) { this.headers.get(key)!.push(value); } else { this.headers.set(key, [value]); } } }); }; } else { this.lazyInit = () => { if (typeof ngDevMode === 'undefined' || ngDevMode) { assertValidHeaders(headers); } this.headers = new Map(); Object.keys(headers).forEach(name => { let values: string|string[] = headers[name]; const key = name.toLowerCase(); if (typeof values === 'string') { values = [values]; } if (values.length > 0) { this.headers.set(key, values); this.maybeSetNormalizedName(name, key); } }); }; } } /** * Checks for existence of a given header. * * @param name The header name to check for existence. * * @returns True if the header exists, false otherwise. */ has(name: string): boolean { this.init(); return this.headers.has(name.toLowerCase()); } /** * Retrieves the first value of a given header. * * @param name The header name. * * @returns The value string if the header exists, null otherwise */ get(name: string): string|null { this.init(); const values = this.headers.get(name.toLowerCase()); return values && values.length > 0 ? values[0] : null; } /** * Retrieves the names of the headers. * * @returns A list of header names. */ keys(): string[] { this.init(); return Array.from(this.normalizedNames.values()); } /** * Retrieves a list of values for a given header. * * @param name The header name from which to retrieve values. * * @returns A string of values if the header exists, null otherwise. */ getAll(name: string): string[]|null { this.init(); return this.headers.get(name.toLowerCase()) || null; } /** * Appends a new value to the existing set of values for a header * and returns them in a clone of the original instance. * * @param name The header name for which to append the values. * @param value The value to append. * * @returns A clone of the HTTP headers object with the value appended to the given header. */ append(name: string, value: string|string[]): HttpHeaders { return this.clone({name, value, op: 'a'}); } /** * Sets or modifies a value for a given header in a clone of the original instance. * If the header already exists, its value is replaced with the given value * in the returned object. * * @param name The header name. * @param value The value or values to set or override for the given header. * * @returns A clone of the HTTP headers object with the newly set header value. */ set(name: string, value: string|string[]): HttpHeaders { return this.clone({name, value, op: 's'}); } /** * Deletes values for a given header in a clone of the original instance. * * @param name The header name. * @param value The value or values to delete for the given header. * * @returns A clone of the HTTP headers object with the given value deleted. */ delete(name: string, value?: string|string[]): HttpHeaders { return this.clone({name, value, op: 'd'}); } private maybeSetNormalizedName(name: string, lcName: string): void { if (!this.normalizedNames.has(lcName)) { this.normalizedNames.set(lcName, name); } } private init(): void { if (!!this.lazyInit) { if (this.lazyInit instanceof HttpHeaders) { this.copyFrom(this.lazyInit); } else { this.lazyInit(); } this.lazyInit = null; if (!!this.lazyUpdate) { this.lazyUpdate.forEach(update => this.applyUpdate(update)); this.lazyUpdate = null; } } } private copyFrom(other: HttpHeaders) { other.init(); Array.from(other.headers.keys()).forEach(key => { this.headers.set(key, other.headers.get(key)!); this.normalizedNames.set(key, other.normalizedNames.get(key)!); }); } private clone(update: Update): HttpHeaders { const clone = new HttpHeaders(); clone.lazyInit = (!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this; clone.lazyUpdate = (this.lazyUpdate || []).concat([update]); return clone; } private applyUpdate(update: Update): void { const key = update.name.toLowerCase(); switch (update.op) { case 'a': case 's': let value = update.value!; if (typeof value === 'string') { value = [value]; } if (value.length === 0) { return; } this.maybeSetNormalizedName(update.name, key); const base = (update.op === 'a' ? this.headers.get(key) : undefined) || []; base.push(...value); this.headers.set(key, base); break; case 'd': const toDelete = update.value as string | undefined; if (!toDelete) { this.headers.delete(key); this.normalizedNames.delete(key); } else { let existing = this.headers.get(key); if (!existing) { return; } existing = existing.filter(value => toDelete.indexOf(value) === -1); if (existing.length === 0) { this.headers.delete(key); this.normalizedNames.delete(key); } else { this.headers.set(key, existing); } } break; } } /** * @internal */ forEach(fn: (name: string, values: string[]) => void) { this.init(); Array.from(this.normalizedNames.keys()) .forEach(key => fn(this.normalizedNames.get(key)!, this.headers.get(key)!)); } } /** * Verifies that the headers object has the right shape: the values * must be either strings or arrays. Throws an error if an invalid * header value is present. */ function assertValidHeaders(headers: Record): asserts headers is Record { for (const [key, value] of Object.entries(headers)) { if (typeof value !== 'string' && !Array.isArray(value)) { throw new Error( `Unexpected value of the \\`${key}\\` header provided. ` + `Expecting either a string or an array, but got: \\`${value}\\`.`); } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A codec for encoding and decoding parameters in URLs. * * Used by `HttpParams`. * * @publicApi **/ export interface HttpParameterCodec { encodeKey(key: string): string; encodeValue(value: string): string; decodeKey(key: string): string; decodeValue(value: string): string; } /** * Provides encoding and decoding of URL parameter and query-string values. * * Serializes and parses URL parameter keys and values to encode and decode them. * If you pass URL query parameters without encoding, * the query parameters can be misinterpreted at the receiving end. * * * @publicApi */ export class HttpUrlEncodingCodec implements HttpParameterCodec { /** * Encodes a key name for a URL parameter or query-string. * @param key The key name. * @returns The encoded key name. */ encodeKey(key: string): string { return standardEncoding(key); } /** * Encodes the value of a URL parameter or query-string. * @param value The value. * @returns The encoded value. */ encodeValue(value: string): string { return standardEncoding(value); } /** * Decodes an encoded URL parameter or query-string key. * @param key The encoded key name. * @returns The decoded key name. */ decodeKey(key: string): string { return decodeURIComponent(key); } /** * Decodes an encoded URL parameter or query-string value. * @param value The encoded value. * @returns The decoded value. */ decodeValue(value: string) { return decodeURIComponent(value); } } function paramParser(rawParams: string, codec: HttpParameterCodec): Map { const map = new Map(); if (rawParams.length > 0) { // The `window.location.search` can be used while creating an instance of the `HttpParams` class // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search` // may start with the `?` char, so we strip it if it's present. const params: string[] = rawParams.replace(/^\\?/, '').split('&'); params.forEach((param: string) => { const eqIdx = param.indexOf('='); const [key, val]: string[] = eqIdx == -1 ? [codec.decodeKey(param), ''] : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))]; const list = map.get(key) || []; list.push(val); map.set(key, list); }); } return map; } /** * Encode input string with standard encodeURIComponent and then un-encode specific characters. */ const STANDARD_ENCODING_REGEX = /%(\\d[a-f0-9])/gi; const STANDARD_ENCODING_REPLACEMENTS: {[x: string]: string} = { '40': '@', '3A': ':', '24': '$', '2C': ',', '3B': ';', '3D': '=', '3F': '?', '2F': '/', }; function standardEncoding(v: string): string { return encodeURIComponent(v).replace( STANDARD_ENCODING_REGEX, (s, t) => STANDARD_ENCODING_REPLACEMENTS[t] ?? s); } function valueToString(value: string|number|boolean): string { return `${value}`; } interface Update { param: string; value?: string|number|boolean; op: 'a'|'d'|'s'; } /** * Options used to construct an `HttpParams` instance. * * @publicApi */ export interface HttpParamsOptions { /** * String representation of the HTTP parameters in URL-query-string format. * Mutually exclusive with `fromObject`. */ fromString?: string; /** Object map of the HTTP parameters. Mutually exclusive with `fromString`. */ fromObject?: {[param: string]: string|number|boolean|ReadonlyArray}; /** Encoding codec used to parse and serialize the parameters. */ encoder?: HttpParameterCodec; } /** * An HTTP request/response body that represents serialized parameters, * per the MIME type `application/x-www-form-urlencoded`. * * This class is immutable; all mutation operations return a new instance. * * @publicApi */ export class HttpParams { private map: Map|null; private encoder: HttpParameterCodec; private updates: Update[]|null = null; private cloneFrom: HttpParams|null = null; constructor(options: HttpParamsOptions = {} as HttpParamsOptions) { this.encoder = options.encoder || new HttpUrlEncodingCodec(); if (!!options.fromString) { if (!!options.fromObject) { throw new Error(`Cannot specify both fromString and fromObject.`); } this.map = paramParser(options.fromString, this.encoder); } else if (!!options.fromObject) { this.map = new Map(); Object.keys(options.fromObject).forEach(key => { const value = (options.fromObject as any)[key]; // convert the values to strings const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)]; this.map!.set(key, values); }); } else { this.map = null; } } /** * Reports whether the body includes one or more values for a given parameter. * @param param The parameter name. * @returns True if the parameter has one or more values, * false if it has no value or is not present. */ has(param: string): boolean { this.init(); return this.map!.has(param); } /** * Retrieves the first value for a parameter. * @param param The parameter name. * @returns The first value of the given parameter, * or `null` if the parameter is not present. */ get(param: string): string|null { this.init(); const res = this.map!.get(param); return !!res ? res[0] : null; } /** * Retrieves all values for a parameter. * @param param The parameter name. * @returns All values in a string array, * or `null` if the parameter not present. */ getAll(param: string): string[]|null { this.init(); return this.map!.get(param) || null; } /** * Retrieves all the parameters for this body. * @returns The parameter names in a string array. */ keys(): string[] { this.init(); return Array.from(this.map!.keys()); } /** * Appends a new value to existing values for a parameter. * @param param The parameter name. * @param value The new value to add. * @return A new body with the appended value. */ append(param: string, value: string|number|boolean): HttpParams { return this.clone({param, value, op: 'a'}); } /** * Constructs a new body with appended values for the given parameter name. * @param params parameters and values * @return A new body with the new value. */ appendAll(params: {[param: string]: string|number|boolean|ReadonlyArray}): HttpParams { const updates: Update[] = []; Object.keys(params).forEach(param => { const value = params[param]; if (Array.isArray(value)) { value.forEach(_value => { updates.push({param, value: _value, op: 'a'}); }); } else { updates.push({param, value: value as (string | number | boolean), op: 'a'}); } }); return this.clone(updates); } /** * Replaces the value for a parameter. * @param param The parameter name. * @param value The new value. * @return A new body with the new value. */ set(param: string, value: string|number|boolean): HttpParams { return this.clone({param, value, op: 's'}); } /** * Removes a given value or all values from a parameter. * @param param The parameter name. * @param value The value to remove, if provided. * @return A new body with the given value removed, or with all values * removed if no value is specified. */ delete(param: string, value?: string|number|boolean): HttpParams { return this.clone({param, value, op: 'd'}); } /** * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are * separated by `&`s. */ toString(): string { this.init(); return this.keys() .map(key => { const eKey = this.encoder.encodeKey(key); // `a: ['1']` produces `'a=1'` // `b: []` produces `''` // `c: ['1', '2']` produces `'c=1&c=2'` return this.map!.get(key)!.map(value => eKey + '=' + this.encoder.encodeValue(value)) .join('&'); }) // filter out empty values because `b: []` produces `''` // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't .filter(param => param !== '') .join('&'); } private clone(update: Update|Update[]): HttpParams { const clone = new HttpParams({encoder: this.encoder} as HttpParamsOptions); clone.cloneFrom = this.cloneFrom || this; clone.updates = (this.updates || []).concat(update); return clone; } private init() { if (this.map === null) { this.map = new Map(); } if (this.cloneFrom !== null) { this.cloneFrom.init(); this.cloneFrom.keys().forEach(key => this.map!.set(key, this.cloneFrom!.map!.get(key)!)); this.updates!.forEach(update => { switch (update.op) { case 'a': case 's': const base = (update.op === 'a' ? this.map!.get(update.param) : undefined) || []; base.push(valueToString(update.value!)); this.map!.set(update.param, base); break; case 'd': if (update.value !== undefined) { let base = this.map!.get(update.param) || []; const idx = base.indexOf(valueToString(update.value)); if (idx !== -1) { base.splice(idx, 1); } if (base.length > 0) { this.map!.set(update.param, base); } else { this.map!.delete(update.param); } } else { this.map!.delete(update.param); break; } } }); this.cloneFrom = this.updates = null; } } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * A token used to manipulate and access values stored in `HttpContext`. * * @publicApi */ export class HttpContextToken { constructor(public readonly defaultValue: () => T) {} } /** * Http context stores arbitrary user defined values and ensures type safety without * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash. * * This context is mutable and is shared between cloned requests unless explicitly specified. * * @usageNotes * * ### Usage Example * * ```typescript * // inside cache.interceptors.ts * export const IS_CACHE_ENABLED = new HttpContextToken(() => false); * * export class CacheInterceptor implements HttpInterceptor { * * intercept(req: HttpRequest, delegate: HttpHandler): Observable> { * if (req.context.get(IS_CACHE_ENABLED) === true) { * return ...; * } * return delegate.handle(req); * } * } * * // inside a service * * this.httpClient.get('/api/weather', { * context: new HttpContext().set(IS_CACHE_ENABLED, true) * }).subscribe(...); * ``` * * @publicApi */ export class HttpContext { private readonly map = new Map, unknown>(); /** * Store a value in the context. If a value is already present it will be overwritten. * * @param token The reference to an instance of `HttpContextToken`. * @param value The value to store. * * @returns A reference to itself for easy chaining. */ set(token: HttpContextToken, value: T): HttpContext { this.map.set(token, value); return this; } /** * Retrieve the value associated with the given token. * * @param token The reference to an instance of `HttpContextToken`. * * @returns The stored value or default if one is defined. */ get(token: HttpContextToken): T { if (!this.map.has(token)) { this.map.set(token, token.defaultValue()); } return this.map.get(token) as T; } /** * Delete the value associated with the given token. * * @param token The reference to an instance of `HttpContextToken`. * * @returns A reference to itself for easy chaining. */ delete(token: HttpContextToken): HttpContext { this.map.delete(token); return this; } /** * Checks for existence of a given token. * * @param token The reference to an instance of `HttpContextToken`. * * @returns True if the token exists, false otherwise. */ has(token: HttpContextToken): boolean { return this.map.has(token); } /** * @returns a list of tokens currently stored in the context. */ keys(): IterableIterator> { return this.map.keys(); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpContext} from './context'; import {HttpHeaders} from './headers'; import {HttpParams} from './params'; /** * Construction interface for `HttpRequest`s. * * All values are optional and will override default values if provided. */ interface HttpRequestInit { headers?: HttpHeaders; context?: HttpContext; reportProgress?: boolean; params?: HttpParams; responseType?: 'arraybuffer'|'blob'|'json'|'text'; withCredentials?: boolean; } /** * Determine whether the given HTTP method may include a body. */ function mightHaveBody(method: string): boolean { switch (method) { case 'DELETE': case 'GET': case 'HEAD': case 'OPTIONS': case 'JSONP': return false; default: return true; } } /** * Safely assert whether the given value is an ArrayBuffer. * * In some execution environments ArrayBuffer is not defined. */ function isArrayBuffer(value: any): value is ArrayBuffer { return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer; } /** * Safely assert whether the given value is a Blob. * * In some execution environments Blob is not defined. */ function isBlob(value: any): value is Blob { return typeof Blob !== 'undefined' && value instanceof Blob; } /** * Safely assert whether the given value is a FormData instance. * * In some execution environments FormData is not defined. */ function isFormData(value: any): value is FormData { return typeof FormData !== 'undefined' && value instanceof FormData; } /** * Safely assert whether the given value is a URLSearchParams instance. * * In some execution environments URLSearchParams is not defined. */ function isUrlSearchParams(value: any): value is URLSearchParams { return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams; } /** * An outgoing HTTP request with an optional typed body. * * `HttpRequest` represents an outgoing request, including URL, method, * headers, body, and other request configuration options. Instances should be * assumed to be immutable. To modify a `HttpRequest`, the `clone` * method should be used. * * @publicApi */ export class HttpRequest { /** * The request body, or `null` if one isn't set. * * Bodies are not enforced to be immutable, as they can include a reference to any * user-defined data type. However, interceptors should take care to preserve * idempotence by treating them as such. */ readonly body: T|null = null; /** * Outgoing headers for this request. */ // TODO(issue/24571): remove '!'. readonly headers!: HttpHeaders; /** * Shared and mutable context that can be used by interceptors */ readonly context!: HttpContext; /** * Whether this request should be made in a way that exposes progress events. * * Progress events are expensive (change detection runs on each event) and so * they should only be requested if the consumer intends to monitor them. */ readonly reportProgress: boolean = false; /** * Whether this request should be sent with outgoing credentials (cookies). */ readonly withCredentials: boolean = false; /** * The expected response type of the server. * * This is used to parse the response appropriately before returning it to * the requestee. */ readonly responseType: 'arraybuffer'|'blob'|'json'|'text' = 'json'; /** * The outgoing HTTP request method. */ readonly method: string; /** * Outgoing URL parameters. * * To pass a string representation of HTTP parameters in the URL-query-string format, * the `HttpParamsOptions`' `fromString` may be used. For example: * * ``` * new HttpParams({fromString: 'angular=awesome'}) * ``` */ // TODO(issue/24571): remove '!'. readonly params!: HttpParams; /** * The outgoing URL with all URL parameters set. */ readonly urlWithParams: string; constructor(method: 'DELETE'|'GET'|'HEAD'|'JSONP'|'OPTIONS', url: string, init?: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }); constructor(method: 'POST'|'PUT'|'PATCH', url: string, body: T|null, init?: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }); constructor(method: string, url: string, body: T|null, init?: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }); constructor( method: string, readonly url: string, third?: T|{ headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }|null, fourth?: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }) { this.method = method.toUpperCase(); // Next, need to figure out which argument holds the HttpRequestInit // options, if any. let options: HttpRequestInit|undefined; // Check whether a body argument is expected. The only valid way to omit // the body argument is to use a known no-body method like GET. if (mightHaveBody(this.method) || !!fourth) { // Body is the third argument, options are the fourth. this.body = (third !== undefined) ? third as T : null; options = fourth; } else { // No body required, options are the third argument. The body stays null. options = third as HttpRequestInit; } // If options have been passed, interpret them. if (options) { // Normalize reportProgress and withCredentials. this.reportProgress = !!options.reportProgress; this.withCredentials = !!options.withCredentials; // Override default response type of 'json' if one is provided. if (!!options.responseType) { this.responseType = options.responseType; } // Override headers if they're provided. if (!!options.headers) { this.headers = options.headers; } if (!!options.context) { this.context = options.context; } if (!!options.params) { this.params = options.params; } } // If no headers have been passed in, construct a new HttpHeaders instance. if (!this.headers) { this.headers = new HttpHeaders(); } // If no context have been passed in, construct a new HttpContext instance. if (!this.context) { this.context = new HttpContext(); } // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance. if (!this.params) { this.params = new HttpParams(); this.urlWithParams = url; } else { // Encode the parameters to a string in preparation for inclusion in the URL. const params = this.params.toString(); if (params.length === 0) { // No parameters, the visible URL is just the URL given at creation time. this.urlWithParams = url; } else { // Does the URL already have query parameters? Look for '?'. const qIdx = url.indexOf('?'); // There are 3 cases to handle: // 1) No existing parameters -> append '?' followed by params. // 2) '?' exists and is followed by existing query string -> // append '&' followed by params. // 3) '?' exists at the end of the url -> append params directly. // This basically amounts to determining the character, if any, with // which to join the URL and parameters. const sep: string = qIdx === -1 ? '?' : (qIdx < url.length - 1 ? '&' : ''); this.urlWithParams = url + sep + params; } } } /** * Transform the free-form body into a serialized format suitable for * transmission to the server. */ serializeBody(): ArrayBuffer|Blob|FormData|string|null { // If no body is present, no need to serialize it. if (this.body === null) { return null; } // Check whether the body is already in a serialized form. If so, // it can just be returned directly. if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) || isUrlSearchParams(this.body) || typeof this.body === 'string') { return this.body; } // Check whether the body is an instance of HttpUrlEncodedParams. if (this.body instanceof HttpParams) { return this.body.toString(); } // Check whether the body is an object or array, and serialize with JSON if so. if (typeof this.body === 'object' || typeof this.body === 'boolean' || Array.isArray(this.body)) { return JSON.stringify(this.body); } // Fall back on toString() for everything else. return (this.body as any).toString(); } /** * Examine the body and attempt to infer an appropriate MIME type * for it. * * If no such type can be inferred, this method will return `null`. */ detectContentTypeHeader(): string|null { // An empty body has no content type. if (this.body === null) { return null; } // FormData bodies rely on the browser's content type assignment. if (isFormData(this.body)) { return null; } // Blobs usually have their own content type. If it doesn't, then // no type can be inferred. if (isBlob(this.body)) { return this.body.type || null; } // Array buffers have unknown contents and thus no type can be inferred. if (isArrayBuffer(this.body)) { return null; } // Technically, strings could be a form of JSON data, but it's safe enough // to assume they're plain strings. if (typeof this.body === 'string') { return 'text/plain'; } // `HttpUrlEncodedParams` has its own content-type. if (this.body instanceof HttpParams) { return 'application/x-www-form-urlencoded;charset=UTF-8'; } // Arrays, objects, boolean and numbers will be encoded as JSON. if (typeof this.body === 'object' || typeof this.body === 'number' || typeof this.body === 'boolean') { return 'application/json'; } // No type could be inferred. return null; } clone(): HttpRequest; clone(update: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, body?: T|null, method?: string, url?: string, setHeaders?: {[name: string]: string|string[]}, setParams?: {[param: string]: string}, }): HttpRequest; clone(update: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, body?: V|null, method?: string, url?: string, setHeaders?: {[name: string]: string|string[]}, setParams?: {[param: string]: string}, }): HttpRequest; clone(update: { headers?: HttpHeaders, context?: HttpContext, reportProgress?: boolean, params?: HttpParams, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, body?: any|null, method?: string, url?: string, setHeaders?: {[name: string]: string|string[]}, setParams?: {[param: string]: string}; } = {}): HttpRequest { // For method, url, and responseType, take the current value unless // it is overridden in the update hash. const method = update.method || this.method; const url = update.url || this.url; const responseType = update.responseType || this.responseType; // The body is somewhat special - a `null` value in update.body means // whatever current body is present is being overridden with an empty // body, whereas an `undefined` value in update.body implies no // override. const body = (update.body !== undefined) ? update.body : this.body; // Carefully handle the boolean options to differentiate between // `false` and `undefined` in the update args. const withCredentials = (update.withCredentials !== undefined) ? update.withCredentials : this.withCredentials; const reportProgress = (update.reportProgress !== undefined) ? update.reportProgress : this.reportProgress; // Headers and params may be appended to if `setHeaders` or // `setParams` are used. let headers = update.headers || this.headers; let params = update.params || this.params; // Pass on context if needed const context = update.context ?? this.context; // Check whether the caller has asked to add headers. if (update.setHeaders !== undefined) { // Set every requested header. headers = Object.keys(update.setHeaders) .reduce((headers, name) => headers.set(name, update.setHeaders![name]), headers); } // Check whether the caller has asked to set params. if (update.setParams) { // Set every requested param. params = Object.keys(update.setParams) .reduce((params, param) => params.set(param, update.setParams![param]), params); } // Finally, construct the new HttpRequest using the pieces from above. return new HttpRequest(method, url, body, { params, headers, context, reportProgress, responseType, withCredentials, }); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {HttpHeaders} from './headers'; /** * Type enumeration for the different kinds of `HttpEvent`. * * @publicApi */ export enum HttpEventType { /** * The request was sent out over the wire. */ Sent, /** * An upload progress event was received. */ UploadProgress, /** * The response status code and headers were received. */ ResponseHeader, /** * A download progress event was received. */ DownloadProgress, /** * The full response including the body was received. */ Response, /** * A custom event from an interceptor or a backend. */ User, } /** * Base interface for progress events. * * @publicApi */ export interface HttpProgressEvent { /** * Progress event type is either upload or download. */ type: HttpEventType.DownloadProgress|HttpEventType.UploadProgress; /** * Number of bytes uploaded or downloaded. */ loaded: number; /** * Total number of bytes to upload or download. Depending on the request or * response, this may not be computable and thus may not be present. */ total?: number; } /** * A download progress event. * * @publicApi */ export interface HttpDownloadProgressEvent extends HttpProgressEvent { type: HttpEventType.DownloadProgress; /** * The partial response body as downloaded so far. * * Only present if the responseType was `text`. */ partialText?: string; } /** * An upload progress event. * * @publicApi */ export interface HttpUploadProgressEvent extends HttpProgressEvent { type: HttpEventType.UploadProgress; } /** * An event indicating that the request was sent to the server. Useful * when a request may be retried multiple times, to distinguish between * retries on the final event stream. * * @publicApi */ export interface HttpSentEvent { type: HttpEventType.Sent; } /** * A user-defined event. * * Grouping all custom events under this type ensures they will be handled * and forwarded by all implementations of interceptors. * * @publicApi */ export interface HttpUserEvent { type: HttpEventType.User; } /** * An error that represents a failed attempt to JSON.parse text coming back * from the server. * * It bundles the Error object with the actual response body that failed to parse. * * */ export interface HttpJsonParseError { error: Error; text: string; } /** * Union type for all possible events on the response stream. * * Typed according to the expected type of the response. * * @publicApi */ export type HttpEvent = HttpSentEvent|HttpHeaderResponse|HttpResponse|HttpProgressEvent|HttpUserEvent; /** * Base class for both `HttpResponse` and `HttpHeaderResponse`. * * @publicApi */ export abstract class HttpResponseBase { /** * All response headers. */ readonly headers: HttpHeaders; /** * Response status code. */ readonly status: number; /** * Textual description of response status code, defaults to OK. * * Do not depend on this. */ readonly statusText: string; /** * URL of the resource retrieved, or null if not available. */ readonly url: string|null; /** * Whether the status code falls in the 2xx range. */ readonly ok: boolean; /** * Type of the response, narrowed to either the full response or the header. */ // TODO(issue/24571): remove '!'. readonly type!: HttpEventType.Response|HttpEventType.ResponseHeader; /** * Super-constructor for all responses. * * The single parameter accepted is an initialization hash. Any properties * of the response passed there will override the default values. */ constructor( init: { headers?: HttpHeaders, status?: number, statusText?: string, url?: string, }, defaultStatus: number = HttpStatusCode.Ok, defaultStatusText: string = 'OK') { // If the hash has values passed, use them to initialize the response. // Otherwise use the default values. this.headers = init.headers || new HttpHeaders(); this.status = init.status !== undefined ? init.status : defaultStatus; this.statusText = init.statusText || defaultStatusText; this.url = init.url || null; // Cache the ok value to avoid defining a getter. this.ok = this.status >= 200 && this.status < 300; } } /** * A partial HTTP response which only includes the status and header data, * but no response body. * * `HttpHeaderResponse` is a `HttpEvent` available on the response * event stream, only when progress events are requested. * * @publicApi */ export class HttpHeaderResponse extends HttpResponseBase { /** * Create a new `HttpHeaderResponse` with the given parameters. */ constructor(init: { headers?: HttpHeaders, status?: number, statusText?: string, url?: string, } = {}) { super(init); } override readonly type: HttpEventType.ResponseHeader = HttpEventType.ResponseHeader; /** * Copy this `HttpHeaderResponse`, overriding its contents with the * given parameter hash. */ clone(update: {headers?: HttpHeaders; status?: number; statusText?: string; url?: string;} = {}): HttpHeaderResponse { // Perform a straightforward initialization of the new HttpHeaderResponse, // overriding the current parameters with new ones if given. return new HttpHeaderResponse({ headers: update.headers || this.headers, status: update.status !== undefined ? update.status : this.status, statusText: update.statusText || this.statusText, url: update.url || this.url || undefined, }); } } /** * A full HTTP response, including a typed response body (which may be `null` * if one was not returned). * * `HttpResponse` is a `HttpEvent` available on the response event * stream. * * @publicApi */ export class HttpResponse extends HttpResponseBase { /** * The response body, or `null` if one was not returned. */ readonly body: T|null; /** * Construct a new `HttpResponse`. */ constructor(init: { body?: T|null, headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}) { super(init); this.body = init.body !== undefined ? init.body : null; } override readonly type: HttpEventType.Response = HttpEventType.Response; clone(): HttpResponse; clone(update: {headers?: HttpHeaders; status?: number; statusText?: string; url?: string;}): HttpResponse; clone(update: { body?: V|null, headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }): HttpResponse; clone(update: { body?: any|null; headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}): HttpResponse { return new HttpResponse({ body: (update.body !== undefined) ? update.body : this.body, headers: update.headers || this.headers, status: (update.status !== undefined) ? update.status : this.status, statusText: update.statusText || this.statusText, url: update.url || this.url || undefined, }); } } /** * A response that represents an error or failure, either from a * non-successful HTTP status, an error while executing the request, * or some other failure which occurred during the parsing of the response. * * Any error returned on the `Observable` response stream will be * wrapped in an `HttpErrorResponse` to provide additional context about * the state of the HTTP layer when the error occurred. The error property * will contain either a wrapped Error object or the error response returned * from the server. * * @publicApi */ export class HttpErrorResponse extends HttpResponseBase implements Error { readonly name = 'HttpErrorResponse'; readonly message: string; readonly error: any|null; /** * Errors are never okay, even when the status code is in the 2xx success range. */ override readonly ok = false; constructor(init: { error?: any; headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }) { // Initialize with a default status of 0 / Unknown Error. super(init, 0, 'Unknown Error'); // If the response was successful, then this was a parse error. Otherwise, it was // a protocol-level failure of some sort. Either the request failed in transit // or the server returned an unsuccessful status code. if (this.status >= 200 && this.status < 300) { this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`; } else { this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${ init.statusText}`; } this.error = init.error || null; } } /** * Http status codes. * As per https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml * @publicApi */ export const enum HttpStatusCode { Continue = 100, SwitchingProtocols = 101, Processing = 102, EarlyHints = 103, Ok = 200, Created = 201, Accepted = 202, NonAuthoritativeInformation = 203, NoContent = 204, ResetContent = 205, PartialContent = 206, MultiStatus = 207, AlreadyReported = 208, ImUsed = 226, MultipleChoices = 300, MovedPermanently = 301, Found = 302, SeeOther = 303, NotModified = 304, UseProxy = 305, Unused = 306, TemporaryRedirect = 307, PermanentRedirect = 308, BadRequest = 400, Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, NotAcceptable = 406, ProxyAuthenticationRequired = 407, RequestTimeout = 408, Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412, PayloadTooLarge = 413, UriTooLong = 414, UnsupportedMediaType = 415, RangeNotSatisfiable = 416, ExpectationFailed = 417, ImATeapot = 418, MisdirectedRequest = 421, UnprocessableEntity = 422, Locked = 423, FailedDependency = 424, TooEarly = 425, UpgradeRequired = 426, PreconditionRequired = 428, TooManyRequests = 429, RequestHeaderFieldsTooLarge = 431, UnavailableForLegalReasons = 451, InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505, VariantAlsoNegotiates = 506, InsufficientStorage = 507, LoopDetected = 508, NotExtended = 510, NetworkAuthenticationRequired = 511 } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Injectable} from '@angular/core'; import {Observable, of} from 'rxjs'; import {concatMap, filter, map} from 'rxjs/operators'; import {HttpHandler} from './backend'; import {HttpContext} from './context'; import {HttpHeaders} from './headers'; import {HttpParams, HttpParamsOptions} from './params'; import {HttpRequest} from './request'; import {HttpEvent, HttpResponse} from './response'; /** * Constructs an instance of `HttpRequestOptions` from a source `HttpMethodOptions` and * the given `body`. This function clones the object and adds the body. * * Note that the `responseType` *options* value is a String that identifies the * single data type of the response. * A single overload version of the method handles each response type. * The value of `responseType` cannot be a union, as the combined signature could imply. * */ function addBody( options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }, body: T|null): any { return { body, headers: options.headers, context: options.context, observe: options.observe, params: options.params, reportProgress: options.reportProgress, responseType: options.responseType, withCredentials: options.withCredentials, }; } /** * Performs HTTP requests. * This service is available as an injectable class, with methods to perform HTTP requests. * Each request method has multiple signatures, and the return type varies based on * the signature that is called (mainly the values of `observe` and `responseType`). * * Note that the `responseType` *options* value is a String that identifies the * single data type of the response. * A single overload version of the method handles each response type. * The value of `responseType` cannot be a union, as the combined signature could imply. * * @usageNotes * Sample HTTP requests for the [Tour of Heroes](/tutorial/tour-of-heroes/toh-pt0) application. * * ### HTTP Request Example * * ``` * // GET heroes whose name contains search term * searchHeroes(term: string): observable{ * * const params = new HttpParams({fromString: 'name=term'}); * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params}); * } * ``` * * Alternatively, the parameter string can be used without invoking HttpParams * by directly joining to the URL. * ``` * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'}); * ``` * * * ### JSONP Example * ``` * requestJsonp(url, callback = 'callback') { * return this.httpClient.jsonp(this.heroesURL, callback); * } * ``` * * ### PATCH Example * ``` * // PATCH one of the heroes' name * patchHero (id: number, heroName: string): Observable<{}> { * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42 * return this.httpClient.patch(url, {name: heroName}, httpOptions) * .pipe(catchError(this.handleError('patchHero'))); * } * ``` * * @see [HTTP Guide](guide/http) * @see [HTTP Request](api/common/http/HttpRequest) * * @publicApi */ @Injectable() export class HttpClient { constructor(private handler: HttpHandler) {} /** * Sends an `HttpRequest` and returns a stream of `HttpEvent`s. * * @return An `Observable` of the response, with the response body as a stream of `HttpEvent`s. */ request(req: HttpRequest): Observable>; /** * Constructs a request that interprets the body as an `ArrayBuffer` and returns the response in * an `ArrayBuffer`. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a request that interprets the body as a blob and returns * the response as a blob. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type `Blob`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a request that interprets the body as a text string and * returns a string value. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type string. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a request that interprets the body as an `ArrayBuffer` and returns the * the full event stream. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as an array of `HttpEvent`s for * the request. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, observe: 'events', reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a request that interprets the body as a `Blob` and returns * the full event stream. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body of type `Blob`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a text string and returns the full event * stream. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body of type string. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a JavaScript object and returns the full * event stream. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body of type `Object`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, reportProgress?: boolean, observe: 'events', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a JavaScript object and returns the full * event stream. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body of type `R`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, reportProgress?: boolean, observe: 'events', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as an `ArrayBuffer` * and returns the full `HttpResponse`. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body as an `ArrayBuffer`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a `Blob` and returns the full `HttpResponse`. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of type `Blob`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a text stream and returns the full * `HttpResponse`. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the HTTP response, with the response body of type string. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a JavaScript object and returns the full * `HttpResponse`. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse`, * with the response body of type `Object`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, reportProgress?: boolean, observe: 'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a JavaScript object and returns * the full `HttpResponse` with the response body in the requested type. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse`, with the response body of type `R`. */ request(method: string, url: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, reportProgress?: boolean, observe: 'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a request which interprets the body as a JavaScript object and returns the full * `HttpResponse` as a JavaScript object. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of type `Object`. */ request(method: string, url: string, options?: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', reportProgress?: boolean, withCredentials?: boolean, }): Observable; /** * Constructs a request which interprets the body as a JavaScript object * with the response body of the requested type. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of type `R`. */ request(method: string, url: string, options?: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, responseType?: 'json', reportProgress?: boolean, withCredentials?: boolean, }): Observable; /** * Constructs a request where response type and requested observable are not known statically. * * @param method The HTTP method. * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the requested response, with body of type `any`. */ request(method: string, url: string, options?: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, observe?: 'body'|'events'|'response', reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, }): Observable; /** * Constructs an observable for a generic HTTP request that, when subscribed, * fires the request through the chain of registered interceptors and on to the * server. * * You can pass an `HttpRequest` directly as the only parameter. In this case, * the call returns an observable of the raw `HttpEvent` stream. * * Alternatively you can pass an HTTP method as the first parameter, * a URL string as the second, and an options hash containing the request body as the third. * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the * type of returned observable. * * The `responseType` value determines how a successful response body is parsed. * * If `responseType` is the default `json`, you can pass a type interface for the resulting * object as a type parameter to the call. * * The `observe` value determines the return type, according to what you are interested in * observing. * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including * progress events by default. * * An `observe` value of response returns an observable of `HttpResponse`, * where the `T` parameter depends on the `responseType` and any optionally provided type * parameter. * * An `observe` value of body returns an observable of `` with the same `T` body type. * */ request(first: string|HttpRequest, url?: string, options: { body?: any, headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { let req: HttpRequest; // First, check whether the primary argument is an instance of `HttpRequest`. if (first instanceof HttpRequest) { // It is. The other arguments must be undefined (per the signatures) and can be // ignored. req = first; } else { // It's a string, so it represents a URL. Construct a request based on it, // and incorporate the remaining arguments (assuming `GET` unless a method is // provided. // Figure out the headers. let headers: HttpHeaders|undefined = undefined; if (options.headers instanceof HttpHeaders) { headers = options.headers; } else { headers = new HttpHeaders(options.headers); } // Sort out parameters. let params: HttpParams|undefined = undefined; if (!!options.params) { if (options.params instanceof HttpParams) { params = options.params; } else { params = new HttpParams({fromObject: options.params} as HttpParamsOptions); } } // Construct the request. req = new HttpRequest(first, url!, (options.body !== undefined ? options.body : null), { headers, context: options.context, params, reportProgress: options.reportProgress, // By default, JSON is assumed to be returned for all calls. responseType: options.responseType || 'json', withCredentials: options.withCredentials, }); } // Start with an Observable.of() the initial request, and run the handler (which // includes all interceptors) inside a concatMap(). This way, the handler runs // inside an Observable chain, which causes interceptors to be re-run on every // subscription (this also makes retries re-run the handler, including interceptors). const events$: Observable> = of(req).pipe(concatMap((req: HttpRequest) => this.handler.handle(req))); // If coming via the API signature which accepts a previously constructed HttpRequest, // the only option is to get the event stream. Otherwise, return the event stream if // that is what was requested. if (first instanceof HttpRequest || options.observe === 'events') { return events$; } // The requested stream contains either the full response or the body. In either // case, the first step is to filter the event stream to extract a stream of // responses(s). const res$: Observable> = >>events$.pipe( filter((event: HttpEvent) => event instanceof HttpResponse)); // Decide which stream to return. switch (options.observe || 'body') { case 'body': // The requested stream is the body. Map the response stream to the response // body. This could be done more simply, but a misbehaving interceptor might // transform the response body into a different format and ignore the requested // responseType. Guard against this by validating that the response is of the // requested type. switch (req.responseType) { case 'arraybuffer': return res$.pipe(map((res: HttpResponse) => { // Validate that the body is an ArrayBuffer. if (res.body !== null && !(res.body instanceof ArrayBuffer)) { throw new Error('Response is not an ArrayBuffer.'); } return res.body; })); case 'blob': return res$.pipe(map((res: HttpResponse) => { // Validate that the body is a Blob. if (res.body !== null && !(res.body instanceof Blob)) { throw new Error('Response is not a Blob.'); } return res.body; })); case 'text': return res$.pipe(map((res: HttpResponse) => { // Validate that the body is a string. if (res.body !== null && typeof res.body !== 'string') { throw new Error('Response is not a string.'); } return res.body; })); case 'json': default: // No validation needed for JSON responses, as they can be of any type. return res$.pipe(map((res: HttpResponse) => res.body)); } case 'response': // The response stream was requested directly, so return it. return res$; default: // Guard against new future observe types being added. throw new Error(`Unreachable: unhandled observe type ${options.observe}}`); } } /** * Constructs a `DELETE` request that interprets the body as an `ArrayBuffer` * and returns the response as an `ArrayBuffer`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response body as an `ArrayBuffer`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, body?: any|null, }): Observable; /** * Constructs a `DELETE` request that interprets the body as a `Blob` and returns * the response as a `Blob`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response body as a `Blob`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, body?: any|null, }): Observable; /** * Constructs a `DELETE` request that interprets the body as a text string and returns * a string. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type string. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, body?: any|null, }): Observable; /** * Constructs a `DELETE` request that interprets the body as an `ArrayBuffer` * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with response body as an `ArrayBuffer`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, body?: any|null }): Observable>; /** * Constructs a `DELETE` request that interprets the body as a `Blob` * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all the `HttpEvent`s for the request, with the response body as a * `Blob`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as a text string * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, with the response * body of type string. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, with response body of * type `Object`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE`request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all the `HttpEvent`s for the request, with a response * body in the requested type. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | (string | number | boolean)[]}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as an `ArrayBuffer` and returns * the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse`, with the response body as an `ArrayBuffer`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as a `Blob` and returns the full * `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of type `Blob`. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as a text stream and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse`, with the response body of type string. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request the interprets the body as a JavaScript object and returns * the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of type `Object`. * */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with the response body of the requested type. */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable>; /** * Constructs a `DELETE` request that interprets the body as JSON and * returns the response body as an object parsed from JSON. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type `Object`. */ delete(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable; /** * Constructs a DELETE request that interprets the body as JSON and returns * the response in a given type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with response body in the requested type. */ delete(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, body?: any|null, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `DELETE` request to execute on the server. See the individual overloads for * details on the return type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * */ delete(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, body?: any|null, } = {}): Observable { return this.request('DELETE', url, options as any); } /** * Constructs a `GET` request that interprets the body as an `ArrayBuffer` and returns the * response in an `ArrayBuffer`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a `GET` request that interprets the body as a `Blob` * and returns the response as a `Blob`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as a `Blob`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a `GET` request that interprets the body as a text string * and returns the response as a string value. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type string. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a `GET` request that interprets the body as an `ArrayBuffer` and returns * the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, with the response * body as an `ArrayBuffer`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as a `Blob` and * returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as a `Blob`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as a text string and returns * the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type string. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type `Object`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as JSON and returns the full * event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with a response body in the requested type. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as an `ArrayBuffer` and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as an `ArrayBuffer`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as a `Blob` and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a `Blob`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as a text stream and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body of type string. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as JSON and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse`, * with the response body of type `Object`. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as JSON and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the full `HttpResponse` for the request, * with a response body in the requested type. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `GET` request that interprets the body as JSON and * returns the response body as an object parsed from JSON. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * * @return An `Observable` of the response body as a JavaScript object. */ get(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs a `GET` request that interprets the body as JSON and returns * the response body in a given type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse`, with a response body in the requested type. */ get(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `GET` request to execute on the server. See the individual overloads for * details on the return type. */ get(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('GET', url, options as any); } /** * Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and * returns the response as an `ArrayBuffer`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a `HEAD` request that interprets the body as a `Blob` and returns * the response as a `Blob`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as a `Blob`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a `HEAD` request that interprets the body as a text string and returns the response * as a string value. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body of type string. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as an `ArrayBuffer`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as a `Blob` and * returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as a `Blob`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as a text string * and returns the full event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, with the response body of type * string. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as JSON * and returns the full HTTP event stream. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of all `HttpEvent`s for the request, with a response body of * type `Object`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as JSON and * returns the full event stream. * * @return An `Observable` of all the `HttpEvent`s for the request, * with a response body in the requested type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` * and returns the full HTTP response. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as an `ArrayBuffer`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as a `Blob` and returns * the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a blob. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as text stream * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body of type string. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as JSON and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body of type `Object`. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body of the requested type. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `HEAD` request that interprets the body as JSON and * returns the response body as an object parsed from JSON. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the response, with the response body as an object parsed from JSON. */ head(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs a `HEAD` request that interprets the body as JSON and returns * the response in a given type. * * @param url The endpoint URL. * @param options The HTTP options to send with the request. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body of the given type. */ head(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `HEAD` request to execute on the server. The `HEAD` method returns * meta information about the resource without transferring the * resource itself. See the individual overloads for * details on the return type. */ head(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('HEAD', url, options as any); } /** * Constructs a `JSONP` request for the given URL and name of the callback parameter. * * @param url The resource URL. * @param callbackParam The callback function name. * * @return An `Observable` of the response object, with response body as an object. */ jsonp(url: string, callbackParam: string): Observable; /** * Constructs a `JSONP` request for the given URL and name of the callback parameter. * * @param url The resource URL. * @param callbackParam The callback function name. * * You must install a suitable interceptor, such as one provided by `HttpClientJsonpModule`. * If no such interceptor is reached, * then the `JSONP` request can be rejected by the configured backend. * * @return An `Observable` of the response object, with response body in the requested type. */ jsonp(url: string, callbackParam: string): Observable; /** * Constructs an `Observable` that, when subscribed, causes a request with the special method * `JSONP` to be dispatched via the interceptor pipeline. * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain * API endpoints that don't support newer, * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol. * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the * requests even if the API endpoint is not located on the same domain (origin) as the client-side * application making the request. * The endpoint API must support JSONP callback for JSONP requests to work. * The resource API returns the JSON response wrapped in a callback function. * You can pass the callback function name as one of the query parameters. * Note that JSONP requests can only be used with `GET` requests. * * @param url The resource URL. * @param callbackParam The callback function name. * */ jsonp(url: string, callbackParam: string): Observable { return this.request('JSONP', url, { params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'), observe: 'body', responseType: 'json', }); } /** * Constructs an `OPTIONS` request that interprets the body as an * `ArrayBuffer` and returns the response as an `ArrayBuffer`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns * the response as a `Blob`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as a `Blob`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs an `OPTIONS` request that interprets the body as a text string and * returns a string value. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the response, with the response body of type string. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer` * and returns the full event stream. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as an `ArrayBuffer`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as a `Blob` and * returns the full event stream. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as a `Blob`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as a text string * and returns the full event stream. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, * with the response body of type string. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request with the response * body of type `Object`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as JSON and * returns the full event stream. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, * with a response body in the requested type. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer` * and returns the full HTTP response. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as an `ArrayBuffer`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as a `Blob` * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a `Blob`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as text stream * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body of type string. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body of type `Object`. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as JSON and * returns the full `HttpResponse`. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body in the requested type. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs an `OPTIONS` request that interprets the body as JSON and returns the * response body as an object parsed from JSON. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as an object parsed from JSON. */ options(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an `OPTIONS` request that interprets the body as JSON and returns the * response in a given type. * * @param url The endpoint URL. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse`, with a response body of the given type. */ options(url: string, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an `Observable` that, when subscribed, causes the configured * `OPTIONS` request to execute on the server. This method allows the client * to determine the supported HTTP methods and other capabilities of an endpoint, * without implying a resource action. See the individual overloads for * details on the return type. */ options(url: string, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('OPTIONS', url, options as any); } /** * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and returns * the response as an `ArrayBuffer`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a `PATCH` request that interprets the body as a `Blob` and returns the response * as a `Blob`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as a `Blob`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a `PATCH` request that interprets the body as a text string and * returns the response as a string value. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the response, with a response body of type string. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and * returns the full event stream. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, * with the response body as an `ArrayBuffer`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as a `Blob` * and returns the full event stream. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, with the * response body as `Blob`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as a text string and * returns the full event stream. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, with a * response body of type string. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, * with a response body of type `Object`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as JSON * and returns the full event stream. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of all the `HttpEvent`s for the request, * with a response body in the requested type. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as an `ArrayBuffer`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as a `Blob` and returns the full * `HttpResponse`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a `Blob`. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as a text stream and returns the * full `HttpResponse`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body of type string. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body in the requested type. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body in the given type. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PATCH` request that interprets the body as JSON and * returns the response body as an object parsed from JSON. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as an object parsed from JSON. */ patch(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs a `PATCH` request that interprets the body as JSON * and returns the response in a given type. * * @param url The endpoint URL. * @param body The resources to edit. * @param options HTTP options. * * @return An `Observable` of the `HttpResponse` for the request, * with a response body in the given type. */ patch(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `PATCH` request to execute on the server. See the individual overloads for * details on the return type. */ patch(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('PATCH', url, addBody(options, body)); } /** * Constructs a `POST` request that interprets the body as an `ArrayBuffer` and returns * an `ArrayBuffer`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options. * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a `POST` request that interprets the body as a `Blob` and returns the * response as a `Blob`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the response, with the response body as a `Blob`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a `POST` request that interprets the body as a text string and * returns the response as a string value. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the response, with a response body of type string. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a `POST` request that interprets the body as an `ArrayBuffer` and * returns the full event stream. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as an `ArrayBuffer`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as a `Blob` * and returns the response in an observable of the full event stream. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, with the response body as `Blob`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as a text string and returns the full * event stream. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with a response body of type string. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a POST request that interprets the body as JSON and returns the full * event stream. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with a response body of type `Object`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a POST request that interprets the body as JSON and returns the full * event stream. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with a response body in the requested type. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a POST request that interprets the body as an `ArrayBuffer` * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with the response body as an * `ArrayBuffer`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as a `Blob` and returns the full * `HttpResponse`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a `Blob`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as a text stream and returns * the full `HttpResponse`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, * with a response body of type string. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as JSON * and returns the full `HttpResponse`. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with a response body of type * `Object`. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as JSON and returns the * full `HttpResponse`. * * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with a response body in the * requested type. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `POST` request that interprets the body as JSON * and returns the response body as an object parsed from JSON. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the response, with the response body as an object parsed from JSON. */ post(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs a `POST` request that interprets the body as JSON * and returns an observable of the response. * * @param url The endpoint URL. * @param body The content to replace with. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with a response body in the * requested type. */ post(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `POST` request to execute on the server. The server responds with the location of * the replaced resource. See the individual overloads for * details on the return type. */ post(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('POST', url, addBody(options, body)); } /** * Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and returns the * response as an `ArrayBuffer`. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the response, with the response body as an `ArrayBuffer`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable; /** * Constructs a `PUT` request that interprets the body as a `Blob` and returns * the response as a `Blob`. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the response, with the response body as a `Blob`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable; /** * Constructs a `PUT` request that interprets the body as a text string and * returns the response as a string value. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the response, with a response body of type string. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable; /** * Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and * returns the full event stream. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as an `ArrayBuffer`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as a `Blob` and returns the full event * stream. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with the response body as a `Blob`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as a text string and returns the full event * stream. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, with a response body * of type string. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as JSON and returns the full * event stream. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, with a response body of * type `Object`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as JSON and returns the * full event stream. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of all `HttpEvent`s for the request, * with a response body in the requested type. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'events', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as an * `ArrayBuffer` and returns an observable of the full HTTP response. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with the response body as an * `ArrayBuffer`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'arraybuffer', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as a `Blob` and returns the * full HTTP response. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, * with the response body as a `Blob`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'blob', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as a text stream and returns the * full HTTP response. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with a response body of type * string. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType: 'text', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as JSON and returns the full * HTTP response. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, with a response body * of type 'Object`. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as an instance of the requested type and * returns the full HTTP response. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the `HttpResponse` for the request, * with a response body in the requested type. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, observe: 'response', context?: HttpContext, params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable>; /** * Constructs a `PUT` request that interprets the body as JSON * and returns an observable of JavaScript object. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the response as a JavaScript object. */ put(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs a `PUT` request that interprets the body as an instance of the requested type * and returns an observable of the requested type. * * @param url The endpoint URL. * @param body The resources to add/update. * @param options HTTP options * * @return An `Observable` of the requested type. */ put(url: string, body: any|null, options?: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'json', withCredentials?: boolean, }): Observable; /** * Constructs an observable that, when subscribed, causes the configured * `PUT` request to execute on the server. The `PUT` method replaces an existing resource * with a new set of values. * See the individual overloads for details on the return type. */ put(url: string, body: any|null, options: { headers?: HttpHeaders|{[header: string]: string | string[]}, context?: HttpContext, observe?: 'body'|'events'|'response', params?: HttpParams| {[param: string]: string | number | boolean | ReadonlyArray}, reportProgress?: boolean, responseType?: 'arraybuffer'|'blob'|'json'|'text', withCredentials?: boolean, } = {}): Observable { return this.request('PUT', url, addBody(options, body)); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {EnvironmentInjector, inject, Injectable, InjectionToken} from '@angular/core'; import {Observable} from 'rxjs'; import {HttpBackend, HttpHandler} from './backend'; import {HttpRequest} from './request'; import {HttpEvent} from './response'; /** * Intercepts and handles an `HttpRequest` or `HttpResponse`. * * Most interceptors transform the outgoing request before passing it to the * next interceptor in the chain, by calling `next.handle(transformedReq)`. * An interceptor may transform the * response event stream as well, by applying additional RxJS operators on the stream * returned by `next.handle()`. * * More rarely, an interceptor may handle the request entirely, * and compose a new event stream instead of invoking `next.handle()`. This is an * acceptable behavior, but keep in mind that further interceptors will be skipped entirely. * * It is also rare but valid for an interceptor to return multiple responses on the * event stream for a single request. * * @publicApi * * @see [HTTP Guide](guide/http#intercepting-requests-and-responses) * * @usageNotes * * To use the same instance of `HttpInterceptors` for the entire app, import the `HttpClientModule` * only in your `AppModule`, and add the interceptors to the root application injector. * If you import `HttpClientModule` multiple times across different modules (for example, in lazy * loading modules), each import creates a new copy of the `HttpClientModule`, which overwrites the * interceptors provided in the root module. */ export interface HttpInterceptor { /** * Identifies and handles a given HTTP request. * @param req The outgoing request object to handle. * @param next The next interceptor in the chain, or the backend * if no interceptors remain in the chain. * @returns An observable of the event stream. */ intercept(req: HttpRequest, next: HttpHandler): Observable>; } /** * Represents the next interceptor in an interceptor chain, or the real backend if there are no * further interceptors. * * Most interceptors will delegate to this function, and either modify the outgoing request or the * response when it arrives. Within the scope of the current request, however, this function may be * called any number of times, for any number of downstream requests. Such downstream requests need * not be to the same URL or even the same origin as the current request. It is also valid to not * call the downstream handler at all, and process the current request entirely within the * interceptor. * * This function should only be called within the scope of the request that's currently being * intercepted. Once that request is complete, this downstream handler function should not be * called. * * @publicApi * * @see [HTTP Guide](guide/http#intercepting-requests-and-responses) */ export type HttpHandlerFn = (req: HttpRequest) => Observable>; /** * An interceptor for HTTP requests made via `HttpClient`. * * `HttpInterceptorFn`s are middleware functions which `HttpClient` calls when a request is made. * These functions have the opportunity to modify the outgoing request or any response that comes * back, as well as block, redirect, or otherwise change the request or response semantics. * * An `HttpHandlerFn` representing the next interceptor (or the backend which will make a real HTTP * request) is provided. Most interceptors will delegate to this function, but that is not required * (see `HttpHandlerFn` for more details). * * `HttpInterceptorFn`s have access to `inject()` via the `EnvironmentInjector` from which they were * configured. */ export type HttpInterceptorFn = (req: HttpRequest, next: HttpHandlerFn) => Observable>; /** * Function which invokes an HTTP interceptor chain. * * Each interceptor in the interceptor chain is turned into a `ChainedInterceptorFn` which closes * over the rest of the chain (represented by another `ChainedInterceptorFn`). The last such * function in the chain will instead delegate to the `finalHandlerFn`, which is passed down when * the chain is invoked. * * This pattern allows for a chain of many interceptors to be composed and wrapped in a single * `HttpInterceptorFn`, which is a useful abstraction for including different kinds of interceptors * (e.g. legacy class-based interceptors) in the same chain. */ type ChainedInterceptorFn = (req: HttpRequest, finalHandlerFn: HttpHandlerFn) => Observable>; function interceptorChainEndFn( req: HttpRequest, finalHandlerFn: HttpHandlerFn): Observable> { return finalHandlerFn(req); } /** * Constructs a `ChainedInterceptorFn` which adapts a legacy `HttpInterceptor` to the * `ChainedInterceptorFn` interface. */ function adaptLegacyInterceptorToChain( chainTailFn: ChainedInterceptorFn, interceptor: HttpInterceptor): ChainedInterceptorFn { return (initialRequest, finalHandlerFn) => interceptor.intercept(initialRequest, { handle: (downstreamRequest) => chainTailFn(downstreamRequest, finalHandlerFn), }); } /** * Constructs a `ChainedInterceptorFn` which wraps and invokes a functional interceptor in the given * injector. */ function chainedInterceptorFn( chainTailFn: ChainedInterceptorFn, interceptorFn: HttpInterceptorFn, injector: EnvironmentInjector): ChainedInterceptorFn { // clang-format off return (initialRequest, finalHandlerFn) => injector.runInContext(() => interceptorFn( initialRequest, downstreamRequest => chainTailFn(downstreamRequest, finalHandlerFn) ) ); // clang-format on } /** * A multi-provider token that represents the array of registered * `HttpInterceptor` objects. * * @publicApi */ export const HTTP_INTERCEPTORS = new InjectionToken('HTTP_INTERCEPTORS'); /** * A multi-provided token of `HttpInterceptorFn`s. */ export const HTTP_INTERCEPTOR_FNS = new InjectionToken('HTTP_INTERCEPTOR_FNS'); /** * Creates an `HttpInterceptorFn` which lazily initializes an interceptor chain from the legacy * class-based interceptors and runs the request through it. */ export function legacyInterceptorFnFactory(): HttpInterceptorFn { let chain: ChainedInterceptorFn|null = null; return (req, handler) => { if (chain === null) { const interceptors = inject(HTTP_INTERCEPTORS, {optional: true}) ?? []; // Note: interceptors are wrapped right-to-left so that final execution order is // left-to-right. That is, if `interceptors` is the array `[a, b, c]`, we want to // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside // out. chain = interceptors.reduceRight( adaptLegacyInterceptorToChain, interceptorChainEndFn as ChainedInterceptorFn); } return chain(req, handler); }; } @Injectable() export class HttpInterceptorHandler extends HttpHandler { private chain: ChainedInterceptorFn|null = null; constructor(private backend: HttpBackend, private injector: EnvironmentInjector) { super(); } override handle(initialRequest: HttpRequest): Observable> { if (this.chain === null) { const dedupedInterceptorFns = Array.from(new Set(this.injector.get(HTTP_INTERCEPTOR_FNS))); // Note: interceptors are wrapped right-to-left so that final execution order is // left-to-right. That is, if `dedupedInterceptorFns` is the array `[a, b, c]`, we want to // produce a chain that is conceptually `c(b(a(end)))`, which we build from the inside // out. this.chain = dedupedInterceptorFns.reduceRight( (nextSequencedFn, interceptorFn) => chainedInterceptorFn(nextSequencedFn, interceptorFn, this.injector), interceptorChainEndFn as ChainedInterceptorFn); } return this.chain(initialRequest, downstreamRequest => this.backend.handle(downstreamRequest)); } } ","/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {DOCUMENT} from '@angular/common'; import {EnvironmentInjector, Inject, inject, Injectable} from '@angular/core'; import {Observable, Observer} from 'rxjs'; import {HttpBackend, HttpHandler} from './backend'; import {HttpHandlerFn} from './interceptor'; import {HttpRequest} from './request'; import {HttpErrorResponse, HttpEvent, HttpEventType, HttpResponse, HttpStatusCode} from './response'; // Every request made through JSONP needs a callback name that's unique across the // whole page. Each request is assigned an id and the callback name is constructed // from that. The next id to be assigned is tracked in a global variable here that // is shared among all applications on the page. let nextRequestId: number = 0; /** * When a pending